Structural invariants over a completely folded ledger prefix.
Event transition rules belong to ExGAM.GovernedAct.Fold. These checks
cover relationships that require the complete prefix: every admitted
Decision has one Act, every Act has a coherent dispatch/reservation state,
restriction indexes are acyclic, and logical Meter owners remain complete.
Summary
Functions
Validates relationships that cannot be closed over a single event.
Checks a batch applied by the fold to an already verified prefix.
Functions
@spec validate(ExGAM.GovernedAct.State.t()) :: :ok | {:error, term()}
Validates relationships that cannot be closed over a single event.
Checks a batch applied by the fold to an already verified prefix.
Ordinary execution only changes relationships belonging to the touched Acts. Validate those with the same predicates as full replay. Governance changes still take the exhaustive path because they can change global ownership and lineage. This is not a validator for an arbitrary caller-supplied State.