REA Buf notes (unofficial)
Buf trees (buf.yaml / buf.lock / lint / breaking pins) record Protobuf toolchain identity. In REA 6.7.x, treat selected module and lint labels as Evidence beside archive/package routes — complementing protolint / Spectral / golangci-lint cousins without inventing APIs. Distinct from rea-protolint (toolchain ≠ single linter) and rea-spectral (Protobuf ≠ OpenAPI). Preferred free backup from batch121 note — KEEP.
Mental model
- Authorize the Buf config tree (+ packaged charts you hold).
- Quote selected identity labels you actually see (never paste secrets/tokens).
- Cousins → protolint · spectral · golangci-lint · yamllint.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_bufAPI REA never called.
Minimal path
# authorized Buf buf.yaml / lint-breaking pins (+ charts you hold)
# quote selected identity labels into case notes (never live secrets)
# cousins → peer lanes above
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_buf .
Compare
| Artifact | Honest posture |
|---|---|
| module / lint / breaking pins | Buf stack identity facts |
| Peer | rea-protolint |
| Peer | rea-spectral |
| Not this | rea-golangci-lint (Go meta-linter zoom) |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote selected module paths, lint rule groups, and breaking-change pins only — enough for most Evidence binders.
- BSR tokens and private module credentials are secrets — record key names only.
- Keep Buf stack identity distinct from protolint / Spectral trees in case notes.
- Chart image tag pins are identity Evidence — label them separately from cousin pages.
- Select keys are useful inventory — quote them without inventing REA helpers for live Buf runs.
Scope we will not cover
- No inventing
inspect_buf/ automatic runs against foreign repos. - No credential theft from BSR tokens or private module credentials.
- No pirate redistribution of proprietary Buf trees.
- No crack framing via Buf pins.
- No cookbooks that weaken Protobuf policy on foreign accounts.
- No using Buf as an unauthorized module-recon guide against repos you do not own.
Honest limits
RepoRead documents config literacy — how authorized Buf trees relate to Evidence — not a full Protobuf toolchain course. Prefer upstream Buf docs; use rea-protolint for pure lint peers. When REA 6.7.0 has no dedicated helper, quote the pins you opened and stay on documented archive/package lanes.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-protolint / rea-spectral / rea-golangci-lint / rea-yamllint?
rea-protolint covers protolint. rea-spectral covers Spectral. rea-golangci-lint covers golangci-lint. rea-yamllint covers yamllint. This page zooms on Buf Protobuf toolchain stack identity — it does not overwrite those pages.
Is there inspect_buf in 6.7.0?
Not assumed. Quote buf.yaml / buf.lock / lint / breaking pins you actually open, then use documented package/archive lanes. Do not invent inspect_buf.
Does REA call Buf APIs or steal tokens?
No. Local trees only. Redact BSR tokens and private module credentials; do not treat REA as a Buf runner. No credential theft.
How should I label Evidence vs cousin trees?
Label Evidence by the file present. Keep Buf stack identity separate from rea-protolint (toolchain ≠ single linter) and rea-spectral.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).