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 routes — complementing rea-docker-compose-lock.
Mental model
- Authorize the Earthfile (+ local artifacts you hold).
- Quote selected target names and FROM/build pins you actually see.
- Compose cousin → rea-docker-compose-lock; justfile → rea-justfile; Makefile → rea-makefile-deps.
- SBOM cousin → rea-sbom-notes.
- Do not invent an Earthly API graph REA never called.
Minimal path
# authorized Earthfile (+ artifact you hold)
# quote selected target/FROM pins into case notes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_earthfile .
Compare
| Artifact | Honest posture |
|---|---|
| Earthfile targets | Target identity facts |
| Compose cousin | rea-docker-compose-lock |
| justfile cousin | rea-justfile |
| Makefile cousin | rea-makefile-deps |
Scope we will not cover
- No inventing
inspect_earthfile/ automatic Earthly runners. - No registry credential theft.
- No pirate redistribution of paid images.
- No crack framing via Earthfiles.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-docker-compose-lock / rea-justfile?
rea-docker-compose-lock covers Compose service pins; rea-justfile covers just recipes. This page zooms on Earthfile target identity — it does not overwrite those pages.
Is there inspect_earthfile in 6.7.0?
Not assumed. Quote target names / FROM pins you actually open. Do not invent inspect_earthfile.
Does REA run Earthly / steal registry tokens?
No. Local trees only. No credential theft.
Earthfile vs Makefile?
See rea-makefile-deps — label Evidence by the file present.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).