---
name: buf
description: "Use when adopting Buf to assess this standard: Preserve Protobuf compatibility"
---

# Apply Buf

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

## Procedure

1. Inspect the repository configuration and identify the files or targets covered by Buf.
2. 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.
3. Record the tool version, configuration, scope and findings. Explain any checks that could not run.
4. Use the same invocation after changes and compare the evidence against the baseline.

Refer to [the upstream documentation](https://buf.build/docs/) for configuration and prerequisites.
