REA Earthfile notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
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

  1. Authorize the Earthfile (+ local artifacts you hold).
  2. Quote selected target names and FROM/build pins you actually see.
  3. Compose cousin → rea-docker-compose-lock; justfile → rea-justfile; Makefile → rea-makefile-deps.
  4. SBOM cousin → rea-sbom-notes.
  5. 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

ArtifactHonest posture
Earthfile targetsTarget identity facts
Compose cousinrea-docker-compose-lock
justfile cousinrea-justfile
Makefile cousinrea-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).

Sources