Expand description
Core tick loop phases.
The engine ticks every ~10 seconds. Each tick runs six sequential phases:
- Poll tmux for finished sessions
- Recover stuck in-progress tasks
- Route and dispatch:
- 3a. Route new tasks to agents
- 3b. Dispatch routed tasks (spawn agents)
- Unblock parents whose children are all done
- Run cron job scheduler