When the final milestone completed with no queued follow-up, stopAuto() tore down the worktree with preserveBranch: true but never called mergeMilestoneToMain(). All work stayed on the milestone branch, unmerged to main. Add merge logic to the "all milestones complete" path in dispatchNextUnit(), mirroring the existing merge handling in the single-milestone-complete path. Handles both worktree isolation and branch isolation modes. |
||
|---|---|---|
| .. | ||
| agents | ||
| extensions | ||
| skills | ||
| GSD-WORKFLOW.md | ||