Internal architecture of the Governed Act Model runtime.
This namespace contains the deterministic side of Spectre.GAM. It turns a verified, append-only Domain history into disposable state and rejects any history that could not have been produced by the model. It performs no I/O and owns no authority outside the facts present in that history.
The main path is:
Ledger entries
|
v
Spectre.GAM.Domain.Event canonical event grammar
|
v
Spectre.GAM.GovernedAct.Fold ordering and transition router
|-- Transition.* one semantic lifecycle per module
|-- Batch atomic cross-event invariants
`-- Completeness whole-prefix invariants
|
v
Spectre.GAM.GovernedAct.State disposable read model
|-- Index typed access to folded records
|-- DispatchState live/terminal world-boundary queries
|-- MeterState conserved-balance transitions
`-- View read-only facts for kernel and hostSpectre.GAM.Domain.Projection is the live replay driver. Spectre.GAM.Audit is an
independent export driver; both use the same pure fold so the semantic rules
cannot drift. Spectre.GAM.Kernel evaluates a Candidate from immutable views,
while Spectre.GAM.Domain.Sequencer alone orders and appends the resulting batch.
Small shared invariants sit beside the fold rather than inside either
driver. Class is the closed metadata table for runtime-reserved classes;
Emergency fixes the narrow exceptional-Mandate constraints;
Execution owns their completion boundary without resolving host routes;
Materialization derives the canonical event suffix of an intrinsic Act for
both the commit path and batch validation;
Admission.Binding is the single Decision-to-Act field correspondence; and
Spectre.GAM.Attempt.Binding fixes the identity of the world-side Attempt.
Transition families
Transition.Foundationestablishes Genesis and revisable host facts.Transition.Authorityreplays Mandate issue, restriction and revocation.Transition.Scopebinds authenticated contexts to durable Scopes.Transition.Informationhandles Evidence, presentation, disclosure and erasure lineage.Transition.Admissionindependently revalidates Decision and Act records; itsDecision,ActandPresentationproof modules keep each binding explicit.Transition.Executioncovers dispatch, Attempt and Outcome boundaries.Transition.Outcomeshares Outcome history and attestation rules with live observation planning.Transition.Dutyroutes obligation events;Opening,DisposalandMeterprove each causal phase independently.
Host adapters remain outside this namespace. They may supply input, clocks,
persistence or execution, but adapter callbacks never bypass Admission or
mutate State directly.