REA Buck2 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
Buck2 / BUCK pins Buck target identity. In REA 6.7.x, treat selected target names as Evidence beside archive/package routes — complementing rea-buck2-toml without inventing APIs.
Mental model
- Authorize the Buck2 / BUCK configs (+ artifacts you hold).
- Quote selected target / rule pins you actually see (redact secrets).
- TOML cousin → rea-buck2-toml; Bazel cousin → rea-bazel-buildfile.
- Bind absolute paths honestly → rea-absolute-paths.
- Do not invent a Buck2 API REA never called.
Minimal path
# authorized Buck2 / BUCK (+ 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_buck2 .
Compare
| Artifact | Honest posture |
|---|---|
| Buck2 / BUCK targets | Buck target identity facts |
| buck2-toml cousin | rea-buck2-toml |
| Bazel cousin | rea-bazel-buildfile |
| Evidence binder | rea-evidence-explained |
Scope we will not cover
- No inventing
inspect_buck2/ automatic buck2 runs. - No credential theft from macros or secrets.
- No pirate redistribution of paid artifacts.
- No crack framing via Buck2 targets.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-buck2-toml?
rea-buck2-toml zooms on Buck2 TOML config identity. This page orients Buck2 / BUCK target Evidence habits — it does not overwrite that page.
Is there inspect_buck2 in 6.7.0?
Not assumed. Quote targets you actually open, then use documented package/archive lanes. Do not invent inspect_buck2.
Does REA run buck2 or steal secrets from BUCK files?
No. Local trees only. Redact secrets; do not treat REA as a build runner.
Buck2 vs Bazel / Earthly?
Label Evidence by the file present. Keep this Buck2 lane separate from rea-bazel-buildfile and rea-earthly.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).