StateTransition
Explicit finite-state machine governance
Mechanism
Finite State Machine. A Transition is defined as T: S x Event -> S. Only valid transitions allowed. Current State determines available actions.
Invariants
- Only declared transitions are permitted; an event with no transition from the current State is refused, not improvised.
- The available actions are a function of the current State alone.
Failure modes
- Undeclared event: an event arrives that the machine has no transition for, and a caller treats the refusal as a failure of the event rather than of the model.
- Unreachable state: a state is declared with no transition leading to it.
Where this came from
—
Builds on
- State references
- Transition references
Used by
- LatticeCommit references
- StateAudit references
- TaskLifecycle composes_with
Identity
- Ref:
StateTransition#bdc0 - Hash: sema:StateTransition#mh:SHA-256:bdc0c1988a26e15a4e90bb79b214e4bebe630bc53f758ca67c6e1148aa802686
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository