Overview
Thin helpers around XState. The library is a dependency of @saflib/workflows today — step machines compile to XState actors internally. Workflow authors use defineWorkflow / step machines, not XState APIs directly.
Current use
| Area | Status |
|---|---|
| Developer workflows | XState runs under the hood in @saflib/workflows; likely to be replaced or hidden in a future workflow-tool iteration |
| Backend product processes | Intended pattern (persisted snapshots, resumed by http/grpc/cron) — no saflib example yet |
This package may shrink or go away if workflows drop XState. Do not build new features on it unless you are experimenting with raw XState machines.