Orchestrator
The orchestrator is the planning logic that reads the sprint, analyzes dependencies, and decides which tasks to launch. It is not a special agent — it is a set of rules.
Principle
Section titled “Principle”Tasks without dependencies start immediately. Tasks with dependencies wait for their prerequisites to complete.
It works like a Makefile or a CI pipeline: a directed acyclic graph (DAG) of tasks.
The 4-phase lifecycle
Section titled “The 4-phase lifecycle”Every task follows 4 phases:
Phase 1 — Bootstrap
Section titled “Phase 1 — Bootstrap”The agent loads context: manifest, memory, rules, board, and the issue.
Phase 2 — Execute
Section titled “Phase 2 — Execute”The agent applies the assigned skill (main + auxiliary) to produce its output.
Phase 3 — Verify
Section titled “Phase 3 — Verify”The agent checks its own work: tests pass, no security violations, code follows rules, self-review done.
Phase 4 — Close
Section titled “Phase 4 — Close”Update issue frontmatter, move the issue file, update BOARD.md, write to memory if learning occurred.
Event-driven execution
Section titled “Event-driven execution”The orchestrator does not work in rigid waves. As soon as a task has all its dependencies completed, it starts:
ISS-0001 (no depends) → starts immediatelyISS-0001 done → ISS-0002 unblocked → startsISS-0002 done → ISS-0003 AND ISS-0004 unblocked → start in parallelISS-0004 done → ISS-0005 unblocked → starts (without waiting for ISS-0003)Quality gates
Section titled “Quality gates”| Transition | Gate | Who validates |
|---|---|---|
| in-progress → review | Tests pass, self-review done, CI green | Agent |
| review → done | Code review approved | Human |
| Sprint completion | All quality criteria met | Human |
Orchestrator rules
Section titled “Orchestrator rules”- Never launch a task whose dependencies are not completed
- Launch as soon as ready — no artificial waves
- One main skill per task, with optional auxiliary skills
- The human validates quality gates
- When in doubt, ask — a blocked agent asks rather than guessing
- The YAML frontmatter is the source of truth
- Security is a default auxiliary skill for non-documentation tasks