REA Invoke tasks notes (unofficial)

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

Invoke (tasks.py, task collections, @task modules) pins Python task-runner identity. In REA 6.7.x, treat selected task names / collection labels / option names as Evidence beside archive/package routes — complementing cousins without inventing APIs.

Mental model

  1. Authorize the Invoke project tree (+ packaged tasks modules you hold).
  2. Quote selected task names, namespaces, and option keys you actually see (never paste secrets).
  3. Cousins → fabric-fabfile · ansible-playbook · makefile · justfile.
  4. Bind absolute paths honestly → rea-evidence-explained.
  5. Do not invent a inspect_invoke_tasks API REA never called.

Minimal path

# authorized tasks.py / invoke collection modules (+ artifact you hold)
# quote selected task names / namespaces / options into case notes
# cousins → peer Fabric / Ansible / Make / Just lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_invoke_tasks .

Compare

ArtifactHonest posture
Invoke tasks.pyPython task-runner identity facts
Fabric peerrea-fabric-fabfile
Ansible peerrea-ansible-playbook
Evidence binderrea-evidence-explained

Config literacy notes (authorized trees)

  • Quote @task names and collection namespaces — enough for most Evidence binders.
  • Env vars and SSH config inside tasks often embed secrets — record variable names only.
  • invoke --list style inventories are useful in labs — quote names, not live host dumps.
  • Keep Invoke distinct from Fabric fabfiles and Ansible playbooks in case notes.
  • Namespace packages (tasks/ packages) are still Invoke identity — label the entry module.
  • Pre/post task hooks — quote hook names when present; do not invent REA helpers for invoke run.

Scope we will not cover

  • No inventing inspect_invoke_tasks / automatic attacks against foreign hosts.
  • No credential theft from SSH URLs, API tokens, or env files inside tasks.
  • No pirate redistribution of proprietary deployment trees.
  • No crack framing via Invoke pins.
  • No cookbooks that weaken remote auth on foreign deployments.

Honest limits

RepoRead documents config literacy — how authorized Invoke trees relate to Evidence — not a full Invoke course. Prefer upstream Invoke docs for collections 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-fabric-fabfile / rea-ansible-playbook / rea-makefile?

rea-fabric-fabfile covers Fabric; rea-ansible-playbook covers Ansible; rea-makefile covers Make. This page zooms on Invoke tasks.py identity — it does not overwrite those pages.

Is there inspect_invoke_tasks in 6.7.0?

Not assumed. Quote task names / collection labels / decorator pins you actually open, then use documented package/archive lanes. Do not invent inspect_invoke_tasks.

Does REA connect to remote hosts or steal credentials?

No. Local trees only. Redact SSH URLs with tokens and env secrets in task bodies; do not treat REA as an Invoke runner. No credential theft.

How should I label Evidence vs other task-runner configs?

Label Evidence by the file present. Keep Invoke separate from rea-fabric-fabfile, rea-makefile, and rea-justfile.

npm version checked?

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

Sources