Skip to main content

Module escalate

Module escalate 

Source
Expand description

Escalation — turn a delegate failure into a typed decision the orchestrator can act on (retry once, try a fallback agent, escalate to the human).

Structs§

EscalationPolicy
Caller-supplied policy controlling how failures are handled.

Enums§

EscalationOutcome
What should happen after a delegate call returns.

Functions§

run_with_escalation
Run a delegate against the registry, honouring policy. AgentResults with non-success status are counted as failures (e.g. subprocess delegates surface exit != 0 via Failed rather than Err).