pub enum ReducerEvent {
Show 17 variants
InputPlanDeclared {
plan: InputPlan,
},
Start {
input: Value,
},
AuthorizationGranted {
semantics_digest: String,
},
AuthorizationDenied,
AuthorizationRevoked,
CommandClaimed {
command_id: String,
attempt_token: String,
},
CommandStarted {
command_id: String,
attempt_token: String,
},
CommandSucceeded {
command_id: String,
attempt_token: String,
output: Value,
},
CommandFailed {
command_id: String,
attempt_token: String,
class: FailureClass,
code: String,
},
AssistantEffectFailed {
command_id: String,
attempt_token: String,
class: FailureClass,
code: String,
},
AssistantDriveFailed {
code: String,
},
CallbackDecision {
state_id: String,
state_visit: u64,
decision: CallbackDecisionKind,
},
RetryRequested {
command_id: String,
},
CancelRequested,
CancellationAcknowledged {
command_id: String,
attempt_token: String,
},
CancellationUnknown {
command_id: String,
attempt_token: String,
},
FallbackIssued {
failed_command_id: String,
next_ordinal: u8,
locator: Value,
from_value_id: String,
to_value_id: String,
reason: String,
attempts: u8,
},
}Variants§
InputPlanDeclared
The run’s declared causal input plan, before anything runs. A run that never declares one keeps the safe default; a plan that declares an adapter version this build does not project is refused, so a stored version can never be silently read as a different one.
Start
AuthorizationGranted
AuthorizationDenied
AuthorizationRevoked
CommandClaimed
CommandStarted
CommandSucceeded
CommandFailed
AssistantEffectFailed
Assistant-owned Graph effects never enter the generic implicit retry, fallback, or failure-transition path. The originating Assistant turn receives this durable terminal outcome and may choose what to do next.
AssistantDriveFailed
A drive-level failure has unknown effect position, so the Assistant Graph settles in-doubt without duplicating or guessing an effect.
CallbackDecision
The master agent’s decision for the oldest pending callback wait. The
declared callback edge is only taken (advance), the completed state
re-entered (return), or the run terminated (terminate) after this
run input arrives; the wait itself is durable.