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/package routes — redact secrets; do not invent APIs.

Mental model

  1. Authorize the Earthfile (+ artifacts you hold).
  2. Quote selected target / FROM / SAVE pins you actually see (redact secrets).
  3. Dagger cousin → rea-dagger-pipeline; Bazel cousin → rea-bazel-buildfile.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. 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

ArtifactHonest posture
Earthfile targetsEarthly target identity facts
Dagger cousinrea-dagger-pipeline
Bazel cousinrea-bazel-buildfile
Evidence binderrea-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).

Sources