REA Bazel BUILD notes (unofficial)
BUILD / BUILD.bazel pins Bazel rule/target identity. In REA 6.7.x, treat selected rule names as Evidence beside archive/package routes — complementing rea-bazel-notes and rea-bazel-lock without inventing APIs.
Mental model
- Authorize the BUILD / BUILD.bazel (+ artifacts you hold).
- Quote selected rule / target / name pins you actually see (redact secrets).
- Notes cousin → rea-bazel-notes; Buck2 cousin → rea-buck2.
- Bind absolute paths honestly → rea-absolute-paths.
- Do not invent a Bazel BUILD API REA never called.
Minimal path
# authorized BUILD or BUILD.bazel (+ artifact you hold)
# quote selected rule/target pins into case notes (redact secrets)
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_bazel_buildfile .
Compare
| Artifact | Honest posture |
|---|---|
BUILD / BUILD.bazel | Bazel rule/target identity facts |
| bazel-notes cousin | rea-bazel-notes |
| Buck2 cousin | rea-buck2 |
| Evidence binder | rea-evidence-explained |
Scope we will not cover
- No inventing
inspect_bazel_buildfile/ automatic bazel runs. - No credential theft from macros or workspace secrets.
- No pirate redistribution of paid artifacts.
- No crack framing via Bazel targets.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-bazel-notes / rea-bazel-lock?
Those pages cover Bazel orientation and lock identity. This page zooms on BUILD / BUILD.bazel rule/target pins as Evidence — it does not overwrite those pages.
Is there inspect_bazel_buildfile in 6.7.0?
Not assumed. Quote rules/targets you actually open, then use documented package/archive lanes. Do not invent inspect_bazel_buildfile.
Does REA run bazel or steal secrets from BUILD files?
No. Local trees only. Redact secrets; do not treat REA as a build runner.
Bazel vs Buck2 / Meson?
Label Evidence by the file present. Keep this BUILD lane separate from rea-buck2 and rea-meson-build.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).