Research / architecture

Current research

CA-A1 — state machines

Type: architecture Updated: 2026-10-05 Scale: cross-jurisdictional Path: ../architecture/STATE-MACHINES.md

architecturestate-machines

State machines

CA-A1 architecture record. Updated: 2026-10-05. Explicit allowed/invalid transitions for the canonical objects. Every transition records: actor · institutional authority · timestamp · reason · provenance. An invalid transition is rejected at the record layer — it cannot be written; an attempted write outside the machine produces a flagged divergence event (see AUTHORITY-MODEL), never a silent correction.

Assembly lifecycle (CA-OBJ-003, cycle state)

draft → authorised → recruiting → selected → active → completed → follow-up → closed
TransitionAuthorityNotes
draft→authorisedestablishment/commission authorityremit may still be pending for member-set-agenda models
authorised→recruitingoperational (delegated admin)invitation campaign opens
recruiting→selectedwitnessed SelectionRun refonly via sealed run — never manual
selected→activeseating authorityonboarding complete for quorum cohort
active→completeddeclared conclusion rule (sessions done / report adopted)
completed→follow-upresponse obligation activeobligations outlive the cycle
follow-up→closedreview authorityobligations discharged, lapsed or declared abandoned

Exceptional transitions: authorised→closed (cycle cancelled before recruiting — requires authority + reason); recruiting→authorised (recruitment suspended, e.g. funding); any→closed on institutional dissolution (Brussels evidence: permanence-by-ordonnance can stall). Invalid: recruiting→active (skipping witnessed selection); closed→* (terminal); backwards moves (corrections are new versions/events).

Selection specification (CA-OBJ-008)

draft → review → authorised → locked → executed → retired/superseded
TransitionAuthorityNotes
draft→reviewspec editor submits
review→authorisedauthorising instrument refthe governance act — required before any run
authorised→lockedceremony openslock precedes run; prevents modification
locked→executedwitnessed run completes
*→supersededauthorising instrumentnew version authorised; old preserved
*→retiredauthorising instrumentwithdrawn without replacement

Invalid: any edit to authorised/locked/executed content — amendments are new versions; executed→draft; unauthorised review→authorised. A spec must never be edited silently after authorisation — version chain only.

Membership lifecycle (CA-OBJ-012)

Defined in MEMBERSHIP-LIFECYCLE.md; state set:

invited → responded → eligible / ineligible → selected → seated → completed
                          ↑                      ↓         ↓
                          │                   reserve    withdrawn / removed
                          └──────────────────────┘      replaced

Recommendation lifecycle (CA-OBJ-021 + 020)

draft → deliberating → closed → published → responded → implementation-tracking

Invalid: edit of closed text; closed→draft; responded without a Response object.

Response lifecycle (CA-OBJ-025)

pending → submitted → accepted / partially-accepted / rejected / modified / deferred → implementation-tracking
   └── overdue (derived) → no-response (declared state)

Invalid: pending→accepted (no submitted response); deletion of a no-response record; back-dating received_at.

Invariant summary

ObjectTerminal statesImmutability point
Cycleclosedclosure archives the cycle record
Specretired / supersededcontent frozen at authorised
Membershipcompleted / withdrawn / removed / replacedtransition history append-only
Recommendationimplementation-tracking (lifecycle continues on response chain)text at closed
Responseimplementation-tracking / closed-outresponse text at submitted