REA magefile notes (unofficial)

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

magefile.go pins Go-based build-target identity. In REA 6.7.x, treat selected target names as Evidence beside archive/package routes — without inventing APIs.

Mental model

  1. Authorize the magefile.go (+ artifacts you hold).
  2. Quote selected target names you actually see (redact secrets).
  3. Task cousin → rea-taskfile-yml; release cousin → rea-goreleaser.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. Do not invent a Mage API REA never called.

Minimal path

# authorized magefile.go (+ artifact you hold)
# quote selected Mage target pins into case notes (redact secrets)
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_magefile .

Compare

ArtifactHonest posture
magefile.go targetsGo build-target identity facts
Taskfile cousinrea-taskfile-yml
GoReleaser cousinrea-goreleaser
Evidence binderrea-evidence-explained

Scope we will not cover

  • No inventing inspect_magefile / automatic mage runs.
  • No credential theft from targets or env.
  • No pirate redistribution of paid artifacts.
  • No crack framing via Mage targets.

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

FAQ

What does this page cover?

It zooms on magefile.go target pins as Evidence — not a Mage tutorial, and not an invented REA product API.

Is there inspect_magefile in 6.7.0?

Not assumed. Quote targets you actually open, then use documented package/archive lanes. Do not invent inspect_magefile.

Does REA run mage or steal secrets from magefiles?

No. Local trees only. Redact secrets in targets; do not treat REA as a build runner.

Mage vs Taskfile / GoReleaser?

Label Evidence by the file present. Keep this Mage lane separate from rea-taskfile-yml and rea-goreleaser.

npm version checked?

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

Sources