work-milestone
Installation
SKILL.md
/work-milestone
Execute a groomed milestone. Reads the dispatch plan produced by /groom-milestone, creates an integration branch, spawns parallel kage-bunshin sessions (independent claude -p processes) per wave — each in its own worktree with full orchestrator capabilities (Agent tool, all MCP servers). Sequentially merges their branches and lands the integration branch to main when all waves complete.
Entry Conditions
- Milestone number provided as argument
- Dispatch plan exists and readable via
dispatch_read(milestone_number=N) - All items in dispatch plan are groomed (
groomed: true) - Backlog MCP and SAM MCP responding
- Clean git state on main (if dirty, run
plugins/development-harness/scripts/prepare_clean_worktree.sh {integration-branch}and accept/reject the stash prompt)
Run /groom-milestone {N} first if the dispatch plan is missing or stale.
Main Workflow
The diagram's plan queries and ledger-row outcome checks apply to items with SAM plans. For items without one, use the text-only branch of Agent Result Handling in place of those checks for outcomes and unresolved scope; keep the milestone setup, execution and merge gates.