version: v2 modules: - path: . lint: use: - STANDARD breaking: use: - PACKAGE # Two intentional wire breaks, both widening an id-shaped field from int64 to # string in place, on the same field numbers and names. The PocketBase # migration moved the event-capture contract's record ids to PocketBase's # string record ids: CapturedEvent, Mapping, Binding, RecordDispatchRequest, # EnqueueBindingTaskRequest, Task.binding_id and the Id-bearing # request/response messages. Separately, EventsSinceRequest.since_id now # carries the opaque "|" resume cursor instead of a rowid. # # The State Store contract's two halves ship from this repository together, so # they cannot be versioned apart. Only the type rule is relaxed, and only in # this file: every other FILE breaking rule still applies here, so a rename, # a renumber or a removal is still caught, and no other contract is affected. # # A third, deliberate break removes the superseded unary ListCaptures and # ListUndispatchedCaptures RPCs and the unused Binding.secret field (number # and name reserved). Nothing outside this repository speaks the contract. # # Control-plane requests stopped naming their org or raw audit records: the # State Store derives the org from the caller, so those fields are removed # (numbers and names reserved). # # Message.budget_key went with the webhook chat channel (number and name # reserved). An older channel extension that still sets it is ignored. # # Personas were removed: ChatService.SetPersona, its messages and the # snapshot's persona fields (numbers and names reserved). The gateway's only # clients ship from this repository. # # The control plane's field-level Audit RPC and its AuditEntry, AuditRequest # and AuditResponse messages were removed in favour of the unified feed in # state/v1/audit.proto. The State Store and every client ship together, so # this is a deliberate break with no compatibility window. ignore_only: FIELD_SAME_TYPE: - state/v1 RPC_NO_DELETE: - state/v1 - controlplane/v1/controlplane.proto - gateway/v1/chat.proto MESSAGE_NO_DELETE: - state/v1 - controlplane/v1/controlplane.proto - gateway/v1/chat.proto # breaking.use is PACKAGE, so a deleted message is reported by the # package-scoped form of the rule; MESSAGE_NO_DELETE itself only covers # CSR and FILE scopes. PACKAGE_MESSAGE_NO_DELETE: - controlplane/v1/controlplane.proto FIELD_NO_DELETE: - state/v1 - controlplane/v1/controlplane.proto - gateway/v1/chat.proto