REA pants.toml notes (unofficial)

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

pants.toml pins Pants backend/option identity. In REA 6.7.x, treat selected backends and options as Evidence beside archive/package routes — complementing rea-bazel-lock.

Mental model

  1. Authorize the pants.toml (+ artifacts you hold).
  2. Quote selected backends, options, and source roots you actually see.
  3. Bazel cousin → rea-bazel-lock; Buck2 cousin → rea-buck2-toml; mise cousin → rea-mise-toml.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. Do not invent a Pants-graph API REA never called.

Minimal path

# authorized pants.toml (+ artifact you hold)
# quote selected backends/options into case notes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_pants .

Compare

ArtifactHonest posture
pants.tomlBackend/option identity facts
Bazel cousinrea-bazel-lock
Buck2 cousinrea-buck2-toml
Evidence binderrea-evidence-explained

Scope we will not cover

  • No inventing inspect_pants / automatic Pants execution graphs.
  • No credential theft from Pants env secrets.
  • No pirate redistribution of paid artifacts.
  • No crack framing via build backends.

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

FAQ

How is this different from rea-bazel-lock?

rea-bazel-lock covers Bazel module pins. This page zooms on pants.toml option/backend identity as Evidence — it does not overwrite that page.

Is there inspect_pants in 6.7.0?

Not assumed. Quote backends/options you actually open, then use documented package/archive lanes. Do not invent inspect_pants.

Does REA execute Pants goals or steal secrets from them?

No. Local trees only. Do not treat REA as a Pants runner; redact secrets in Evidence.

pants.toml vs Buck2 vs mise?

Label Evidence by the file present — see rea-buck2-toml and rea-mise-toml.

npm version checked?

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

Sources