Expand description
Intent lifecycle state machine — enforces valid transitions.
Proposed → Authorized → InProgress → Completed │ │ → Failed │ └─→ Blocked → InProgress └─→ (rejected) → Failed
Enums§
- Lifecycle
Error - Errors from lifecycle transitions.
Functions§
- is_
valid_ transition - Check if a lifecycle transition is valid.
- transition
- Transition an intent lifecycle to a new status. Validates the transition and enforces requirements (e.g., resolution for terminal states).