# Buf

Preserve Protobuf compatibility

Lint schema definitions and compare changes against a released schema with an explicit breaking-change policy. Review field-number reuse and incompatible wire changes.

Category: Compatibility
Languages: Protocol Buffers

## Standard evidence

Rubric v1 · 4/8 verified · 4 unknown · 0 contrary · reviewed 2026-11-28

- **Definition** (verified) — Buf defines compatibility categories for generated clients, wire encodings and JSON. A field change can be safe at one level and breaking at another. Reviewed 2026-11-28. [Cited source](https://buf.build/docs/breaking/rules/)
- **Measurement** (verified) — buf breaking compares the current schema with an explicit previous input and reports violations of the selected breaking-change rules. Reviewed 2026-11-28. [Cited source](https://buf.build/docs/breaking/usage/)
- **Conformance** (unknown) — No reviewed evidence is recorded for this dimension.
  - What would demonstrate a violation? [Contribute evidence](https://github.com/seikika/seikika/issues/new?title=Evidence+review+%C2%B7+Buf+%C2%B7+Conformance&body=Practice%3A+buf%0ACriterion%3A+conformance+%28rubric+v1%29%0AWhat+would+demonstrate+a+violation%3F%0A%0APublished+judgment%3A+unknown%0ANo+reviewed+evidence+is+recorded+for+this+dimension.%0A%0AProposed+judgment+and+rationale%3A%0A%0APublic+source+or+reproduction+%28include+version%2C+inputs+and+observed+result%29%3A)
- **CI enforcement** (verified) — The documented Buf Action runs breaking-change detection for pull requests, using a comparison target so an incompatible schema can fail the check. Reviewed 2026-11-28. [Cited source](https://buf.build/docs/bsr/ci-cd/github-actions/)
- **Getting started** (verified) — The quick start uses the Buf CLI and a sample schema to introduce a breaking change, run the comparison and inspect the reported incompatibility. Reviewed 2026-11-28. [Cited source](https://buf.build/docs/breaking/quickstart/)
- **Real-world adoption** (unknown) — No reviewed evidence is recorded for this dimension.
  - Has another team put it to work? [Contribute evidence](https://github.com/seikika/seikika/issues/new?title=Evidence+review+%C2%B7+Buf+%C2%B7+Real-world+adoption&body=Practice%3A+buf%0ACriterion%3A+adoption+%28rubric+v1%29%0AHas+another+team+put+it+to+work%3F%0A%0APublished+judgment%3A+unknown%0ANo+reviewed+evidence+is+recorded+for+this+dimension.%0A%0AProposed+judgment+and+rationale%3A%0A%0APublic+source+or+reproduction+%28include+version%2C+inputs+and+observed+result%29%3A)
- **Agent guidance** (unknown) — No reviewed evidence is recorded for this dimension.
  - Can an agent act on a specific finding? [Contribute evidence](https://github.com/seikika/seikika/issues/new?title=Evidence+review+%C2%B7+Buf+%C2%B7+Agent+guidance&body=Practice%3A+buf%0ACriterion%3A+guidance+%28rubric+v1%29%0ACan+an+agent+act+on+a+specific+finding%3F%0A%0APublished+judgment%3A+unknown%0ANo+reviewed+evidence+is+recorded+for+this+dimension.%0A%0AProposed+judgment+and+rationale%3A%0A%0APublic+source+or+reproduction+%28include+version%2C+inputs+and+observed+result%29%3A)
- **Agent portability** (unknown) — No reviewed evidence is recorded for this dimension.
  - Does the practice work in two agent harnesses? [Contribute evidence](https://github.com/seikika/seikika/issues/new?title=Evidence+review+%C2%B7+Buf+%C2%B7+Agent+portability&body=Practice%3A+buf%0ACriterion%3A+portability+%28rubric+v1%29%0ADoes+the+practice+work+in+two+agent+harnesses%3F%0A%0APublished+judgment%3A+unknown%0ANo+reviewed+evidence+is+recorded+for+this+dimension.%0A%0AProposed+judgment+and+rationale%3A%0A%0APublic+source+or+reproduction+%28include+version%2C+inputs+and+observed+result%29%3A)

## Adoption

Use Buf in this repository to meet this standard: Preserve Protobuf compatibility. Lint schema definitions and compare changes against a released schema with an explicit breaking-change policy. Review field-number reuse and incompatible wire changes. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.

Seikika package: no verified installation is listed.

## References

- [Tool documentation](https://buf.build/docs/)
- [Agent skill](/skills/buf/SKILL.md)
