Epic: #76 · Phase 3 of 6
Goal
Add the workflow/loop skills that give Matrix Coder its "system feel" — orchestration layers that drive the roles in loops and fan-outs. These pair with Phase-2 Kanban so long-running loops are observable live.
Depends on
Phase 1 (roles to orchestrate). Strongly benefits from Phase 2 (Kanban visibility of iterations/branches).
Scope / Deliverables
- Ralph loop — repeat
executor → verify until verification passes (bounded, with stop criteria).
- autopilot — full autonomous chain
plan → executor → test → review → verify from one ask.
- ultrawork — parallel high-throughput fan-out of roles across files/topics (maps to Kanban child cards).
- ultraqa —
test → verify → fix cycle until the goal is met.
- Each workflow emits the shared output contract and (when Phase 2 is present) writes parent/iteration/branch Kanban cards.
Ships when
A user can run an end-to-end autonomous coding loop (e.g. autopilot or Ralph) that self-corrects via verify and is observable on Switch UI.
References
#76 runtime/user-flow comments; chaining diagram.
Attribution
Ralph, ultrawork, ultraqa, autopilot adapt OMC (MIT) — per-skill attribution.
Revisions (post advisory review)
- No built-in loop primitive.
delegate_task runs a child to completion and returns a summary. Ralph/ultrawork/ultraqa are MC-implemented orchestration loops over repeated delegate_task calls in harness.py, not wrappers over an existing feature.
- Watch the caps: per-subagent
iteration_budget=None (tools/delegate_tool.py:1136) and spawn-depth default 2 (_get_max_spawn_depth) must not cap a loop prematurely.
- Wire cancellation: honor
interrupt_subagent (tools/delegate_tool.py:188); add stop/cancel semantics to acceptance criteria.
Epic: #76 · Phase 3 of 6
Goal
Add the workflow/loop skills that give Matrix Coder its "system feel" — orchestration layers that drive the roles in loops and fan-outs. These pair with Phase-2 Kanban so long-running loops are observable live.
Depends on
Phase 1 (roles to orchestrate). Strongly benefits from Phase 2 (Kanban visibility of iterations/branches).
Scope / Deliverables
executor → verifyuntil verification passes (bounded, with stop criteria).plan → executor → test → review → verifyfrom one ask.test → verify → fixcycle until the goal is met.Ships when
A user can run an end-to-end autonomous coding loop (e.g. autopilot or Ralph) that self-corrects via verify and is observable on Switch UI.
References
#76 runtime/user-flow comments; chaining diagram.
Attribution
Ralph, ultrawork, ultraqa, autopilot adapt OMC (MIT) — per-skill attribution.
Revisions (post advisory review)
delegate_taskruns a child to completion and returns a summary. Ralph/ultrawork/ultraqa are MC-implemented orchestration loops over repeateddelegate_taskcalls inharness.py, not wrappers over an existing feature.iteration_budget=None(tools/delegate_tool.py:1136) and spawn-depth default 2 (_get_max_spawn_depth) must not cap a loop prematurely.interrupt_subagent(tools/delegate_tool.py:188); add stop/cancel semantics to acceptance criteria.