Data-only proposal for disposing of one exact Duty opening.
for_duty/4 pins the cause and opening digest and names supporting Evidence
and any requested Meter resolution. Construction neither closes the Duty nor
authorizes that resolution. Submit through Spectre.GAM.dispose_duty/4; the
kernel validates the disposition route, independence where required, and
mechanical closing conditions before committing an Act.
Ratification, repudiation or accepting loss never rewrites the original cause.
Summary
Functions
Returns the portable disposition data bound into the Candidate's material.
Wraps the proposal for a Candidate; only a governed Act can dispose of the Duty.
Identifies choices requiring discretionary authority rather than a mechanically met condition.
Builds a disposition bound to the exact current opening of an open Duty.
Restores only the exact canonical representation, preserving scalar types and bindings.
Decodes the closed duty-disposition consequence without accepting additional commands.
Validates a disposition proposal's data, not its authorization or supporting Evidence.
Types
@type kind() ::
:condition_met | :ratify | :repudiate | :compensate | :assign | :accept_loss
@type meter_resolution() :: :none | :settle | :release
Functions
Returns the portable disposition data bound into the Candidate's material.
Wraps the proposal for a Candidate; only a governed Act can dispose of the Duty.
Identifies choices requiring discretionary authority rather than a mechanically met condition.
@spec for_duty(Spectre.GAM.Duty.t(), kind(), [String.t()], meter_resolution()) :: {:ok, t()} | {:error, term()}
Builds a disposition bound to the exact current opening of an open Duty.
Restores only the exact canonical representation, preserving scalar types and bindings.
Decodes the closed duty-disposition consequence without accepting additional commands.
Validates a disposition proposal's data, not its authorization or supporting Evidence.