REA Fabric fabfile notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

Fabric (fabfile.py, fabric.yaml / config, @task modules) pins SSH-oriented task-runner identity. In REA 6.7.x, treat selected task names / host labels / group names as Evidence beside archive/package routes — complementing cousins without inventing APIs.

Mental model

  1. Authorize the Fabric project tree (+ packaged fabfile artifacts you hold).
  2. Quote selected task names, host/group labels, and config keys you actually see (never paste keys).
  3. Cousins → invoke-tasks · ansible-playbook · salt-state · makefile.
  4. Bind absolute paths honestly → rea-evidence-explained.
  5. Do not invent a inspect_fabric_fabfile API REA never called.

Minimal path

# authorized fabfile.py / fabric.yaml (+ artifact you hold)
# quote selected task names / host labels / roles into case notes
# cousins → peer Invoke / Ansible / Salt / Make lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_fabric_fabfile .

Compare

ArtifactHonest posture
Fabric fabfileSSH task-runner identity facts
Invoke peerrea-invoke-tasks
Ansible peerrea-ansible-playbook
Evidence binderrea-evidence-explained

Config literacy notes (authorized trees)

  • Quote task function names and @hosts / group labels — enough for most Evidence binders.
  • Connection URLs and key paths often embed secrets — record scheme/label only.
  • Fabric 2.x config (fabric.yaml) vs classic fabfiles — label which style the tree uses.
  • Keep Fabric distinct from Invoke (local-first) and Ansible playbooks in case notes.
  • Gateway / bastion pins are useful — quote host labels, never private keys.
  • Do not invent REA helpers for fab / fabric execution against live fleets.

Scope we will not cover

  • No inventing inspect_fabric_fabfile / automatic attacks against foreign hosts.
  • No credential theft from SSH keys, bastion tokens, or sudo passwords in fabfiles.
  • No pirate redistribution of proprietary ops trees.
  • No crack framing via Fabric pins.
  • No cookbooks that weaken SSH auth on foreign deployments.

Honest limits

RepoRead documents config literacy — how authorized Fabric trees relate to Evidence — not a full Fabric course. Prefer upstream Fabric docs for connections and configuration. When REA 6.7.0 has no dedicated helper, quote the pins you opened and stay on documented archive/package lanes.

RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.

FAQ

How is this different from rea-invoke-tasks / rea-ansible-playbook / rea-salt-state?

rea-invoke-tasks covers Invoke; rea-ansible-playbook covers Ansible; rea-salt-state covers Salt. This page zooms on Fabric fabfile identity — it does not overwrite those pages.

Is there inspect_fabric_fabfile in 6.7.0?

Not assumed. Quote task names / host labels / role names you actually open, then use documented package/archive lanes. Do not invent inspect_fabric_fabfile.

Does REA connect over SSH or steal credentials?

No. Local trees only. Redact hostnames with bastion tokens and key paths; do not treat REA as a Fabric runner. No credential theft.

How should I label Evidence vs other remote-exec configs?

Label Evidence by the file present. Keep Fabric separate from rea-invoke-tasks, rea-ansible-playbook, and rea-salt-state.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources