Files
archie/proto/buf.yaml
T
sam a971947c39 refactor(state)!: split StateStoreService into per-domain services
One gRPC service per domain in state.v1 (tasks, executions, accounts, identities, packages, captures, bindings, access, orgs, alerts and so on), each with its own server type in staterpc. RPC and message names and numbers are unchanged.
2026-10-25 19:54:27 +11:00

55 lines
2.2 KiB
YAML

version: v2
modules:
- path: .
lint:
use:
- STANDARD
breaking:
use:
- PACKAGE
# StateStoreService split into one service per domain in state.v1; its RPCs
# and messages kept their names and numbers. A package-level deletion
# cannot be path-ignored.
except:
- PACKAGE_SERVICE_NO_DELETE
# 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 "<at>|<row id>" 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.
ignore_only:
FIELD_SAME_TYPE:
- state/v1
RPC_NO_DELETE:
- state/v1
- gateway/v1/chat.proto
MESSAGE_NO_DELETE:
- state/v1
- gateway/v1/chat.proto
FIELD_NO_DELETE:
- state/v1
- controlplane/v1/controlplane.proto
- gateway/v1/chat.proto