Skip to content

Matrix Coder Phase 3 — Workflow / loop skills (Ralph, autopilot, ultrawork, ultraqa) #115

Description

@Interstellar-code

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).
  • ultraqatest → 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions