You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
implementation: dispatch independent plan phases in parallel by default #5764
Routing: human-gated, work-class: structural. The direction is decided (interview ledger Q35), and the parent #5763 is closed with per-phase Sonnet routing in place. But the change reverses a standing invariant of the dispatch contract that both the planning and implementation plugins rely on, and it changes what agents do unattended without being asked. That is a C4 contract change: it needs an approved plan and a human merge, not autonomous pickup.
Basis: verified, plugins/implementation/skills/implement-dispatch/SKILL.md:29 states that waves never span phases and caps a wave at 3 to 5 rows; the fence-composition rule (line 82) and the one-git-writer-per-worktree rule (line 19) are scoped to one phase's rows, so cross-phase waves need those rules restated for rows from different phases.
Basis: verified, the planning side already gates agent teams on the environment enabling them and falls back to sub-agents or sequential (plugins/planning/skills/plan/SKILL.md:77, plugins/planning/skills/plan/context/plan-template.md:402,410). The second acceptance criterion is therefore mostly met on the planning side and needs carrying through to dispatch.
Agent Brief
Type: Feature Summary: When an approved plan marks phases as independent, dispatch them together in one wave by default.
Current behavior:
The dispatcher runs one phase at a time. Rows within a phase run in waves up to the wave cap; rows from different phases never share a wave, even when the plan's Execution shape says the phases are independent.
Desired behavior:
Phases the plan's Execution shape marks independent of each other (no dependency edge, disjoint file sets) dispatch in one wave without the user asking, still bounded by the wave cap, --wave-cap, and the operator cap option.
Fence composition, the one-git-writer rule, the frontier-tier wave rule, and per-phase verification and commits hold across rows drawn from different phases.
An agent team is used only when the plan routes a phase to one and the user's settings enable agent teams; otherwise sub-agent workers.
The one-worker pilot before a fan-out wider than about 4 stays.
Acceptance criteria:
A plan with two independent phases dispatches both phases' rows in one wave, with mutually disjoint fences.
A plan with dependent phases still runs them in order.
With agent teams disabled, no phase is routed to a team.
Each phase still gets its own fresh-context verification before it is marked done.
/implementation:implement-dispatch now dispatches phases that the approved plan's Execution shape puts in one parallel wave together, by default. Fences, one writer per worktree, the cap, the pilot and the frontier-tier rule count every row in the wave. Each phase keeps its own gate, phase-verifier and commit.
A phase routed to an agent team runs as one only when agent teams are enabled for the session. Otherwise it falls back to sub-agent workers, and sub-agent rows are dispatched without a name.
There is one eval case per acceptance criterion.
Verification: scripts/affected-tests.sh --base origin/main --run passed. markdownlint, validate-plugins, the changelog-fragment checks and the skill-quality checks were clean. I did not run model-graded evals.
Left for a human: this is a structural (C4) change, so it needs review and a human merge. The PR body lists the defaults I chose where the brief left gaps. The needs-human label is still on this issue for Kyle to clear.
Next step: Review the draft PR; decisions for Kyle are listed in its body. Mark it ready once Kyle agrees (that starts the CI test and review lanes), then drive CI green.
Where a branch is listed it is pushed, so it can be taken over as is. A draft PR shows a red ci-status by design until it is marked ready.
Activity
docs(upstream): answer "What a task costs on Opus 5.5" with routing, …
kyle-sexton commentedon Oct 4, 2026
This was generated by AI during triage.
Routing: human-gated,
work-class: structural. The direction is decided (interview ledger Q35), and the parent #5763 is closed with per-phase Sonnet routing in place. But the change reverses a standing invariant of the dispatch contract that both the planning and implementation plugins rely on, and it changes what agents do unattended without being asked. That is a C4 contract change: it needs an approved plan and a human merge, not autonomous pickup.Basis: verified, plugins/implementation/skills/implement-dispatch/SKILL.md:29 states that waves never span phases and caps a wave at 3 to 5 rows; the fence-composition rule (line 82) and the one-git-writer-per-worktree rule (line 19) are scoped to one phase's rows, so cross-phase waves need those rules restated for rows from different phases.
Basis: verified, the planning side already gates agent teams on the environment enabling them and falls back to sub-agents or sequential (plugins/planning/skills/plan/SKILL.md:77, plugins/planning/skills/plan/context/plan-template.md:402,410). The second acceptance criterion is therefore mostly met on the planning side and needs carrying through to dispatch.
Agent Brief
Type: Feature
Summary: When an approved plan marks phases as independent, dispatch them together in one wave by default.
Current behavior:
The dispatcher runs one phase at a time. Rows within a phase run in waves up to the wave cap; rows from different phases never share a wave, even when the plan's Execution shape says the phases are independent.
Desired behavior:
--wave-cap, and the operator cap option.Acceptance criteria:
Out of scope:
Priority: medium (kept as labelled).
kyle-sexton commentedon Oct 11, 2026
Draft PR opened: #7045 (branch
feat/5764-parallel-independent-phases).What changed:
/implementation:implement-dispatchnow dispatches phases that the approved plan's Execution shape puts in one parallel wave together, by default. Fences, one writer per worktree, the cap, the pilot and the frontier-tier rule count every row in the wave. Each phase keeps its own gate,phase-verifierand commit.name.Verification:
scripts/affected-tests.sh --base origin/main --runpassed. markdownlint, validate-plugins, the changelog-fragment checks and the skill-quality checks were clean. I did not run model-graded evals.Left for a human: this is a structural (C4) change, so it needs review and a human merge. The PR body lists the defaults I chose where the brief left gaps. The
needs-humanlabel is still on this issue for Kyle to clear.Generated by Claude Code
kyle-sexton commentedon Oct 11, 2026
Handoff note for whoever picks this up next. The overnight Claude run has stopped, and Kyle is moving issue work to Cursor.
feat/5764-parallel-independent-phasesWhere a branch is listed it is pushed, so it can be taken over as is. A draft PR shows a red
ci-statusby design until it is marked ready.Generated by Claude Code