Workflow engine
The workflow engine owns long-running work and keeps it recoverable.
Durable runs
- Row-locked stepper so only one executor advances a run at a time.
- Lease and heartbeat liveness for crash recovery.
- Workflow state stored in the local database instead of ephemeral prompts.
- Lifecycle metadata for run state, workspace paths, branch names, and cleanup.
Step catalog
Common step kinds include:
agent_runpeer_reviewapprovefan_outbranchrouteretry_wrapwait_eventwait_timergithub_prgithub_pr_wait_merged
Safety behavior
Retries, waits, fan-out, and approvals are deterministic engine behavior. Agents can suggest what should happen next, but the server records and validates the transition.