A six-step agent run as an explicit state machine. Every transition is checkpointed to localStorage, so a crash loses nothing but memory.
Run controls
The run parks at the approval gate. Approve it, reject it, let days pass, or kill the process mid-wait and restart: the checkpoint is the source of truth.
State machine
No run yet.
Workflow log
Log is empty. Start a run.
What this proves
Durability is a storage decision: if the state is not in the checkpoint, it does not survive the crash.
Human gates are just states. A three-day approval wait costs the same as a three-second one: one row in storage.
Restart is rehydration, not recovery magic: read the last checkpoint, rebuild the machine, resume the transition loop.
Simulated model, real harness. Built from Suraj Sharma's agentic AI engineering roadmap.