Real statecharts, not flat FSMs
Hierarchical (compound) states, parallel regions, and deep/shallow history — the Harel model, inspired by SCXML and XState v5, expressed idiomatically in Go generics.
See the concepts
Hierarchical, parallel, deterministic, persistable. The full Harel statechart feature set — with zero dependencies.