Parallelization Plan — {{project_name}}
Generated by
/bmad-planning-orchestrator:bmad-parallel-planIntent: {{intent}} (Create / Update / Validate) Date: {{date}} • Max parallel: {{max_parallel}} • Waves: {{wave_count}}
This plan turns the ready-for-dev backlog into conflict-free concurrent waves. Each story gets an isolated git worktree branch with a disjoint file scope. Waves run in order; inside a wave, stories run concurrently. This is a plan — your external dev tools create the worktrees, run the agents, merge, review, and open the PR. This plugin does none of that.
Inputs
| Input | Source |
|---|---|
| Story backlog | {{stories_dir}} (status: ready-for-dev+) |
| Sprint status | {{status_file}} |
| Architecture (semantic boundaries) | {{architecture_file}} |
| Dependency graph | {{graph_file}} |
| Waves | {{waves_file}} |
Shared / cross-cutting modules (semantic-conflict sources): {{shared_modules}}
Waves
<!-- Repeat this block per wave. -->Wave {{N}} — base branch {{base_branch}}
Run these stories concurrently, each in its own isolated worktree:
| Story | Slug | Worktree branch | Disjoint file scope |
|---|---|---|---|
| {{id}} | {{slug}} | {{branch}} |
{{scope_paths}} |
| ... | ... | ... | ... |
Why these can co-run: pairwise file-disjoint, no shared-module overlap, and every prerequisite landed in an earlier wave.
Merge sequence (ascending story id):
- Merge
{{branch_lowest_id}}->integration/wave-{{N}} - Merge next id ->
integration/wave-{{N}} - ... (continue in ascending id order)
- Integration review checkpoint on
integration/wave-{{N}}— verify the combined result (the only place a hidden same-wave semantic interaction would surface). - Open PR:
integration/wave-{{N}}->main. - Wave {{N_plus_1}} branches off the merged
main.
Merge order rationale
- Branches in a wave are file-disjoint, so they merge without textual conflict; the ascending-id order is for predictable, reproducible review, growing the integration branch from the most foundational change outward.
- One reviewed PR per wave (
integration/wave-N -> main) keepsmaingreen instead of racing N independent PRs. - Each wave starts from a known-good
main, so later waves automatically inherit earlier waves' changes and their prerequisites hold.
Deferred / blocked stories
These ready stories are not wave-eligible and were excluded. Resolve with the
/bmad-planning-orchestrator:bmad-epics-and-stories before re-planning.
| Story | Reason |
|---|---|
| {{deferred_id}} | {{deferred_reason}} |
Most common reason: no Owned File/Module Scope declared — without an explicit path list a story cannot be proven conflict-free, so it is held back rather than guessed at.
Handoff
For each wave, hand your dev tool: the worktree branch names, each story's file scope, and this merge sequence. The story files themselves remain the authoritative context objects; their Acceptance Criteria, Dev Notes, and Testing sections are LOCKED and must not be edited during implementation.
Part of the BMAD Planning & Orchestrator plugin — a Claude Code harness for the BMAD Method by the BMAD Code Organization (https://github.com/bmad-code-org/BMAD-METHOD). Implements the spirit of
bmad-parallel-plan. All methodology credit belongs to the BMAD Code Organization.