REA Earthfile notes (unofficial)
For legal, authorized and educational use only. Only analyze software you own or have written permission to examine. This page is not the official REA documentation.
Quick answer
Earthfile pins Earthly target identity. In REA 6.7.x, treat selected targets as Evidence beside archive/package routes — redact secrets; do not invent APIs.
Mental model
- Authorize the Earthfile (+ artifacts you hold).
- Quote selected target / FROM / SAVE pins you actually see (redact secrets).
- Dagger cousin → rea-dagger-pipeline; Bazel cousin → rea-bazel-buildfile.
- Bind absolute paths honestly → rea-absolute-paths.
- Do not invent an Earthly API REA never called.
Minimal path
# authorized Earthfile (+ artifact you hold)
# quote selected target pins into case notes (redact secrets)
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_earthly .
Compare
| Artifact | Honest posture |
|---|---|
| Earthfile targets | Earthly target identity facts |
| Dagger cousin | rea-dagger-pipeline |
| Bazel cousin | rea-bazel-buildfile |
| Evidence binder | rea-evidence-explained |
Scope we will not cover
- No inventing
inspect_earthly/ automatic earthly runs. - No credential theft from ARG/ENV/secrets.
- No pirate redistribution of paid artifacts.
- No crack framing via Earthfile targets.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
What does this page cover?
It zooms on Earthfile target pins as Evidence — not an Earthly tutorial, and not an invented REA product API.
Is there inspect_earthly in 6.7.0?
Not assumed. Quote targets you actually open, then use documented package/archive lanes. Do not invent inspect_earthly.
Does REA run earthly or steal secrets from Earthfiles?
No. Local trees only. Redact secrets/ARG/ENV; do not treat REA as a build runner.
Earthly vs Dagger / Bazel?
Label Evidence by the file present. Keep this Earthfile lane separate from rea-dagger-pipeline and rea-bazel-buildfile.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).