Pure construction of the atomic Admission payload set.
Despite its name, this module does not append to a ledger. It converts a
validated Decision and its optional Act into ordered Spectre.GAM.Domain.Event
payloads for a sequencer to commit atomically. A Decision is always first;
only an admitted Decision may carry an Act.
Executor-mediated Acts add dispatch_ready. Execution mode comes from the
frozen executor route, not from an effect-row dimension: a protected read or
disclosure may need an executor without declaring attempt. Ledger-internal
governed consequences finish at Admission and cannot enter the Grant path.
Summary
Functions
Builds the ordered event payloads for one Admission transaction.
Types
@type payload() :: map()
Functions
@spec payloads( Spectre.GAM.Domain.Projection.t(), Spectre.GAM.Decision.t(), Spectre.GAM.Act.t() | nil ) :: {:ok, [payload()]} | {:error, term()}
Builds the ordered event payloads for one Admission transaction.