The Delivery domain's seats leave mesh-contracts for mesh-delivery-contracts: the 13 definitions, the registry part, the four registry clients, the checker's generated packages (ADR 0636 §5; ADR 0634; issue 1966)
Claude-Session: https://claude.ai/code/session_01NcbgfFSnn24M3GcqttoU7i
This commit is contained in:
@@ -8,7 +8,7 @@ implements its contract, and no holder's code lives here.
|
||||
## Where a seat's code goes
|
||||
|
||||
- **The definition**, written by hand: `seats/<seat>/seat.json`, its fixtures in `seats/<seat>/fixtures/`, and the
|
||||
parts several seats include whole in `parts/` (the four registry seats' verbs and events are `parts/registry.json`).
|
||||
parts several seats include whole in `parts/` (none here now: the registry seats' part is mesh-delivery-contracts').
|
||||
mesh-sdk's `seatdef` is the one reader of the format; the indexer and the generators use it.
|
||||
- **A state**, in the definition's `states` (ADR 0608 §1, ADR 0634 §6): `{name, template, writer, key-forms, history,
|
||||
max-age-days, description}`. `template` is one of ADR 0595's six (`state`, `events`, `work-queue`, `log`, `objects`,
|
||||
@@ -27,7 +27,7 @@ implements its contract, and no holder's code lives here.
|
||||
- **A seat's client**, written by hand: `go/clients/<seat without hyphens>client`, a Go module of its own, only where
|
||||
two or more callers share logic over the seat (ADR 0625 §4, ADR 0627 §1): operator-channel's (checking an ask,
|
||||
its digest, a warrant's, and an asking module's keeping of its asks), node-engine's (checking compose-candidate's ask
|
||||
and answer) and the four registry seats' (publishing a file in parts). A client imports its own seat's contract and mesh-sdk's runtime, never another seat's client, and names
|
||||
and answer). A client imports its own seat's contract and mesh-sdk's runtime, never another seat's client, and names
|
||||
no module's subject or tool.
|
||||
- **Not here**: the value layouts of seats not yet defined whole (they stay in mesh-sdk until their domain moves,
|
||||
ADR 0625 §9), and a role only one module could ever play (that module's own tools and events, ADR 0625 §8).
|
||||
|
||||
Reference in New Issue
Block a user