REA Buf notes (unofficial)

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

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

  1. Authorize the Buf config tree (+ packaged charts you hold).
  2. Quote selected identity labels you actually see (never paste secrets/tokens).
  3. Cousins → protolint · spectral · golangci-lint · yamllint.
  4. Bind absolute paths honestly → rea-evidence-explained.
  5. Do not invent a inspect_buf API 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

ArtifactHonest posture
module / lint / breaking pinsBuf stack identity facts
Peerrea-protolint
Peerrea-spectral
Not thisrea-golangci-lint (Go meta-linter zoom)
Evidence binderrea-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).

Sources