Git worktrees enable working on multiple TDD cycles simultaneously without switching branches.
1
2
3
4
5
6
7
8
9
10
11
# Start a cycle (creates branch + issue)
just cycle-start 1 1 A happy-path
# Create worktree for another cycle
just cycle-worktree 1 2 B validation
# List active worktrees
just worktrees
# Remove worktree when done
just cycle-worktree-remove 1 2
1
2
3
4
5
projects/
├── SEA™/ # Main repo (usually on dev)
├── SEA-p1-c1/ # Worktree for Phase 1, Cycle 1
├── SEA-p1-c2/ # Worktree for Phase 1, Cycle 2
└── SEA-p1-c3/ # Worktree for Phase 1, Cycle 3
Maximum 3 cycles in parallel to maintain:
Waves define execution order based on agent id length:
| Wave | Agent IDs | Execute |
|---|---|---|
| 1 | A, B, C |
Parallel (up to 3) |
| 2 | AA, BB |
After Wave 1 complete |
| 3 | AAA, BBB |
After Wave 2 complete |
When creating plans, AI agents should: