Files

81 lines
3.4 KiB
YAML

version: v2
modules:
- path: .
lint:
use:
- STANDARD
breaking:
use:
- PACKAGE
# One-off: the external-harness contracts were deleted with Kit support
# (harness.v1, state.v1 HarnessSecretService, gateway.v1 TaskToolsService).
# A package or service deletion cannot be path-ignored. Drop this once main
# carries the deletion.
except:
- PACKAGE_NO_DELETE
- 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.
#
# 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.
#
# ForgeService.ParseWebhook and its event messages were removed with the
# file-configured forge webhook receiver; forge webhooks arrive through event
# capture. The forge extensions drop the RPC in the same change.
#
# ChatService's session-store RPCs (SaveSession, ListSessions, SaveMessages,
# SearchMessages and the rest) were removed: no client ever called them.
ignore_only:
FIELD_SAME_TYPE:
- state/v1
RPC_NO_DELETE:
- state/v1
- controlplane/v1/controlplane.proto
- gateway/v1/chat.proto
- forge/v1/forge.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
- forge/v1/forge.proto
- gateway/v1/chat.proto
- gateway/v1/task_tools.proto
- state/v1/harness_secret.proto
FIELD_NO_DELETE:
- state/v1
- controlplane/v1/controlplane.proto
- gateway/v1/chat.proto