refactor: unify milestone flow, remove deprecated commands

Consolidate /gsd:new-milestone to mirror /gsd:new-project:
- questioning → research (optional) → requirements → roadmap

BREAKING CHANGES:
- Remove /gsd:discuss-milestone (consolidated into new-milestone)
- Remove /gsd:create-roadmap (integrated into project/milestone flows)
- Remove /gsd:define-requirements (integrated into project/milestone flows)
- Remove /gsd:research-project (integrated into project/milestone flows)

Deleted files:
- commands/gsd/{discuss-milestone,create-roadmap,define-requirements,research-project}.md
- get-shit-done/workflows/{discuss-milestone,create-roadmap,define-requirements}.md
- get-shit-done/templates/milestone-context.md

Updated references in:
- progress.md, complete-milestone.md, help.md
- complete-milestone workflow, continuation-format.md
- questioning.md, requirements.md template, SUMMARY.md template
- gsd-project-researcher.md, gsd-roadmapper.md
- README.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Lex Christopherson
2026-01-17 00:28:41 -06:00
parent 54f2d5600b
commit c54071ccb8
21 changed files with 736 additions and 2199 deletions

View File

@@ -1,93 +0,0 @@
# Milestone Context Template
Template for `.planning/MILESTONE-CONTEXT.md` - temporary handoff file from discuss-milestone to create-milestone.
**Purpose:** Persist milestone discussion context so `/clear` can be used between commands. This file is consumed by `/gsd:new-milestone` and deleted after the milestone is created.
---
## File Template
```markdown
# Milestone Context
**Generated:** [date]
**Status:** Ready for /gsd:new-milestone
<features>
## Features to Build
[Features identified during discussion - the substance of this milestone]
- **[Feature 1]**: [description]
- **[Feature 2]**: [description]
- **[Feature 3]**: [description]
</features>
<scope>
## Scope
**Suggested name:** v[X.Y] [Theme Name]
**Estimated phases:** [N]
**Focus:** [One sentence theme/focus]
</scope>
<phase_mapping>
## Phase Mapping
[How features map to phases - rough breakdown]
- Phase [N]: [Feature/goal]
- Phase [N+1]: [Feature/goal]
- Phase [N+2]: [Feature/goal]
</phase_mapping>
<constraints>
## Constraints
[Any constraints or boundaries mentioned during discussion]
- [Constraint 1]
- [Constraint 2]
</constraints>
<notes>
## Additional Context
[Anything else captured during discussion that informs the milestone]
</notes>
---
*This file is temporary. It will be deleted after /gsd:new-milestone creates the milestone.*
```
<guidelines>
**This is a handoff artifact, not permanent documentation.**
The file exists only to pass context from `discuss-milestone` to `create-milestone` across a `/clear` boundary.
**Lifecycle:**
1. `/gsd:discuss-milestone` creates this file at end of discussion
2. User runs `/clear` (safe now - context is persisted)
3. `/gsd:new-milestone` reads this file
4. `/gsd:new-milestone` uses context to populate milestone
5. `/gsd:new-milestone` deletes this file after successful creation
**Content should include:**
- Features identified (the core of what to build)
- Suggested milestone name/theme
- Rough phase mapping
- Any constraints or scope boundaries
- Notes from discussion
**Content should NOT include:**
- Technical analysis (that comes during phase research)
- Detailed phase specifications (create-milestone handles that)
- Implementation details
</guidelines>

View File

@@ -52,7 +52,7 @@ Explicitly excluded. Documented to prevent scope creep.
## Traceability
Which phases cover which requirements. Updated by create-roadmap.
Which phases cover which requirements. Updated during roadmap creation.
| Requirement | Phase | Status |
|-------------|-------|--------|
@@ -97,9 +97,9 @@ Which phases cover which requirements. Updated by create-roadmap.
- Anti-features from research belong here with warnings
**Traceability:**
- Empty initially, populated by create-roadmap
- Empty initially, populated during roadmap creation
- Each requirement maps to exactly one phase
- Unmapped requirements = roadmap gap (error in create-roadmap)
- Unmapped requirements = roadmap gap
**Status Values:**
- Pending: Not started

View File

@@ -151,7 +151,7 @@ Phases with standard patterns (skip research-phase):
**Implications for Roadmap:**
- This is the most important section
- Directly informs create-roadmap workflow
- Directly informs roadmap creation
- Be explicit about phase suggestions and rationale
- Include research flags for each suggested phase
@@ -162,9 +162,9 @@ Phases with standard patterns (skip research-phase):
- MEDIUM = community consensus, multiple sources agree
- LOW = single source or inference
**Integration with create-roadmap:**
- This file is loaded as @context in create-roadmap
**Integration with roadmap creation:**
- This file is loaded as context during roadmap creation
- Phase suggestions here become starting point for roadmap
- Research flags inform detect_research_needs step
- Research flags inform phase planning
</guidelines>