- • Step 1 Plan — review summary, inputs, context
- • Step 2 Route — DAG graph preview + agent hints
- • Step 3 Schedule — run-now or cron trigger
- • Step 4 Confirm — final review before POST
- • DAG executor runs nodes in topological order
- • Emits node_started / node_output / node_completed
- • Projector writes node_runs rows after each event
- • Approval nodes pause execution waiting for user
- • use-workflow-events hook opens EventSource
- • Each SSE chunk updates Zustand run state
- • Node badges flip: pending → running → done
- • Output bodies expandable per node