Generic strongly-typed Finite State Machine with anonymous guards and actions.
The @quatrain/state-machine package provides a declarative engine to model and transition states inside Quatrain applications. It supports two main operational dimensions:
WorkflowStateMachine): Event-driven transitions typically mapping a linear lifecycle (e.g. forward-only progress without backtracking).ConformanceStateMachine): Rule-driven evaluation that classifies an observed object's status (e.g. conforming, degraded, or ko) by running guard predicates over its data context.BaseStateMachine properties to support standard extension paths.