Expand description
Finite State Machines for workflow run and step lifecycles.
Instead of ad-hoc can_transition_to() checks scattered across the codebase,
these FSMs provide typed events, explicit transition tables, and a history
of transitions for observability.
§Architecture
Structs§
- RunFsm
- Finite state machine for a workflow run.
- StepFsm
- Finite state machine for a workflow step.
- Transition
- A recorded state transition.
- Transition
Error - Error returned when a transition is not allowed.