Purpose: Create historical record of shipped version, archive milestone artifacts (roadmap + requirements), and prepare for next milestone.
Output: Milestone archived (roadmap + requirements), PROJECT.md evolved, git tagged.
- @/Volumes/Main/GitHub/vibecoding/skills/.opencode/gsd-core/workflows/complete-milestone.md (main workflow)
- @/Volumes/Main/GitHub/vibecoding/skills/.opencode/gsd-core/templates/milestone-archive.md (archive template)
User input:
- Version: {{version}} (e.g., "1.0", "1.1", "2.0")
Follow complete-milestone.md workflow:
Check for audit:
- Look for
.planning/v{{version}}-MILESTONE-AUDIT.md
- If missing or stale: recommend
/gsd-audit-milestone first
- If audit status is
gaps_found: recommend closing the gaps inline
(the audit output already enumerates them — insert closure phases
via /gsd-phase --insert <N> plus the standard
discuss/plan/execute chain) before proceeding.
- If audit status is
passed: proceed to step 1
## Pre-flight Check
{If no v{{version}}-MILESTONE-AUDIT.md:}
⚠ No milestone audit found. Run `/gsd-audit-milestone` first to verify
requirements coverage, cross-phase integration, and E2E flows.
{If audit has gaps:}
⚠ Milestone audit found gaps. The audit output already enumerates the
unsatisfied requirements, cross-phase issues, and broken flows — insert
a closure phase per gap with `/gsd-phase --insert <N>` and run the
standard `/gsd-discuss-phase` → `/gsd-plan-phase` → `/gsd-execute-phase`
chain. Or proceed anyway to accept the gaps as tech debt.
{If audit passed:}
✓ Milestone audit passed. Proceeding with completion.
Verify readiness:
- Check all phases in milestone have completed plans (SUMMARY.md exists)
- Present milestone scope and stats
- Wait for confirmation
Gather stats:
- Count phases, plans, tasks
- Calculate git range, file changes, LOC
- Extract timeline from git log
- Present summary, confirm
Extract accomplishments:
- Read all phase SUMMARY.md files in milestone range
- Extract 4-6 key accomplishments
- Present for approval
Archive milestone:
- Create
.planning/milestones/v{{version}}-ROADMAP.md
- Extract full phase details from ROADMAP.md
- Fill milestone-archive.md template
- Update ROADMAP.md to one-line summary with link
Archive requirements:
- Create
.planning/milestones/v{{version}}-REQUIREMENTS.md
- Mark all v1 requirements as complete (checkboxes checked)
- Note requirement outcomes (validated, adjusted, dropped)
- Delete
.planning/REQUIREMENTS.md (fresh one created for next milestone)
Update PROJECT.md:
- Add "Current State" section with shipped version
- Add "Next Milestone Goals" section
- Archive previous content in
<details> (if v1.1+)
Commit and tag:
- Stage: MILESTONES.md, PROJECT.md, ROADMAP.md, STATE.md, archive files
- Commit:
chore: archive v{{version}} milestone
- Tag:
git tag -a v{{version}} -m "[milestone summary]"
- Ask about pushing tag
Offer next steps:
/gsd-new-milestone — start next milestone (questioning → research → requirements → roadmap)
- Milestone archived to
.planning/milestones/v{{version}}-ROADMAP.md
- Requirements archived to
.planning/milestones/v{{version}}-REQUIREMENTS.md
.planning/REQUIREMENTS.md deleted (fresh for next milestone)
- ROADMAP.md collapsed to one-line entry
- PROJECT.md updated with current state
- Git tag v{{version}} created (if
git.create_tag enabled)
- Commit successful
- User knows next steps (including need for fresh requirements)
- Load workflow first: Read complete-milestone.md before executing
- Verify completion: All phases must have SUMMARY.md files
- User confirmation: Wait for approval at verification gates
- Archive before deleting: Always create archive files before updating/deleting originals
- One-line summary: Collapsed milestone in ROADMAP.md should be single line with link
- Context efficiency: Archive keeps ROADMAP.md and REQUIREMENTS.md constant size per milestone
- Fresh requirements: Next milestone starts with
/gsd-new-milestone which includes requirements definition
1---2name: gsd-complete-milestone3description: Archive completed milestone and prepare for next version4---56<objective>7Mark milestone {{version}} complete, archive to milestones/, and update ROADMAP.md and REQUIREMENTS.md.89Purpose: Create historical record of shipped version, archive milestone artifacts (roadmap + requirements), and prepare for next milestone.10Output: Milestone archived (roadmap + requirements), PROJECT.md evolved, git tagged.11</objective>1213<execution_context>14**Load these files NOW (before proceeding):**1516- @/Volumes/Main/GitHub/vibecoding/skills/.opencode/gsd-core/workflows/complete-milestone.md (main workflow)17- @/Volumes/Main/GitHub/vibecoding/skills/.opencode/gsd-core/templates/milestone-archive.md (archive template)18 </execution_context>1920<context>21**Project files:**22- `.planning/ROADMAP.md`23- `.planning/REQUIREMENTS.md`24- `.planning/STATE.md`25- `.planning/PROJECT.md`2627**User input:**2829- Version: {{version}} (e.g., "1.0", "1.1", "2.0")30 </context>3132<process>3334**Follow complete-milestone.md workflow:**35360. **Check for audit:**3738 - Look for `.planning/v{{version}}-MILESTONE-AUDIT.md`39 - If missing or stale: recommend `/gsd-audit-milestone` first40 - If audit status is `gaps_found`: recommend closing the gaps inline41 (the audit output already enumerates them — insert closure phases42 via `/gsd-phase --insert <N>` plus the standard43 discuss/plan/execute chain) before proceeding.44 - If audit status is `passed`: proceed to step 14546 ```markdown47 ## Pre-flight Check4849 {If no v{{version}}-MILESTONE-AUDIT.md:}50 ⚠ No milestone audit found. Run `/gsd-audit-milestone` first to verify51 requirements coverage, cross-phase integration, and E2E flows.5253 {If audit has gaps:}54 ⚠ Milestone audit found gaps. The audit output already enumerates the55 unsatisfied requirements, cross-phase issues, and broken flows — insert56 a closure phase per gap with `/gsd-phase --insert <N>` and run the57 standard `/gsd-discuss-phase` → `/gsd-plan-phase` → `/gsd-execute-phase`58 chain. Or proceed anyway to accept the gaps as tech debt.5960 {If audit passed:}61 ✓ Milestone audit passed. Proceeding with completion.62 ```63641. **Verify readiness:**6566 - Check all phases in milestone have completed plans (SUMMARY.md exists)67 - Present milestone scope and stats68 - Wait for confirmation69702. **Gather stats:**7172 - Count phases, plans, tasks73 - Calculate git range, file changes, LOC74 - Extract timeline from git log75 - Present summary, confirm76773. **Extract accomplishments:**7879 - Read all phase SUMMARY.md files in milestone range80 - Extract 4-6 key accomplishments81 - Present for approval82834. **Archive milestone:**8485 - Create `.planning/milestones/v{{version}}-ROADMAP.md`86 - Extract full phase details from ROADMAP.md87 - Fill milestone-archive.md template88 - Update ROADMAP.md to one-line summary with link89905. **Archive requirements:**9192 - Create `.planning/milestones/v{{version}}-REQUIREMENTS.md`93 - Mark all v1 requirements as complete (checkboxes checked)94 - Note requirement outcomes (validated, adjusted, dropped)95 - Delete `.planning/REQUIREMENTS.md` (fresh one created for next milestone)96976. **Update PROJECT.md:**9899 - Add "Current State" section with shipped version100 - Add "Next Milestone Goals" section101 - Archive previous content in `<details>` (if v1.1+)1021037. **Commit and tag:**104105 - Stage: MILESTONES.md, PROJECT.md, ROADMAP.md, STATE.md, archive files106 - Commit: `chore: archive v{{version}} milestone`107 - Tag: `git tag -a v{{version}} -m "[milestone summary]"`108 - Ask about pushing tag1091108. **Offer next steps:**111 - `/gsd-new-milestone` — start next milestone (questioning → research → requirements → roadmap)112113</process>114115<success_criteria>116117- Milestone archived to `.planning/milestones/v{{version}}-ROADMAP.md`118- Requirements archived to `.planning/milestones/v{{version}}-REQUIREMENTS.md`119- `.planning/REQUIREMENTS.md` deleted (fresh for next milestone)120- ROADMAP.md collapsed to one-line entry121- PROJECT.md updated with current state122- Git tag v{{version}} created (if `git.create_tag` enabled)123- Commit successful124- User knows next steps (including need for fresh requirements)125 </success_criteria>126127<critical_rules>128129- **Load workflow first:** Read complete-milestone.md before executing130- **Verify completion:** All phases must have SUMMARY.md files131- **User confirmation:** Wait for approval at verification gates132- **Archive before deleting:** Always create archive files before updating/deleting originals133- **One-line summary:** Collapsed milestone in ROADMAP.md should be single line with link134- **Context efficiency:** Archive keeps ROADMAP.md and REQUIREMENTS.md constant size per milestone135- **Fresh requirements:** Next milestone starts with `/gsd-new-milestone` which includes requirements definition136 </critical_rules>