Skip to main content

Module lifecycle

Module lifecycle 

Source
Expand description

Intent lifecycle state machine — enforces valid transitions.

Proposed → Authorized → InProgress → Completed │ │ → Failed │ └─→ Blocked → InProgress └─→ (rejected) → Failed

Enums§

LifecycleError
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).