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 ExGAM.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(ExGAM.Domain.Projection.t(), ExGAM.Decision.t(), ExGAM.Act.t() | nil) :: {:ok, [payload()]} | {:error, term()}
Builds the ordered event payloads for one Admission transaction.