# Buf module configuration for the Stable gRPC schema. # # Buf owns lint and breaking-change policy for src/main/proto; protoc (the Gradle protobuf plugin in # build.gradle) owns compilation. CI runs both `buf lint` and `buf breaking` from this directory — # see the `grpc-proto-buf` job in .github/workflows/ci-quality-gates.yml. # # cd src/platforms/grpc/grpc-contract # buf lint # buf breaking --against '#subdir=src/platforms/grpc/grpc-contract' # # No dependencies: the only imports are protoc's own well-known types (google/protobuf/*.proto). version: v2 modules: - path: src/main/proto lint: use: - STANDARD breaking: # FILE, not WIRE or WIRE_JSON. Wire compatibility alone would let a field rename or a Java package # move through as "compatible" while every generated consumer stops compiling. use: - FILE