-
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
coreChanges to core libraryChanges to core library
Milestone
Description
Summary
Replace the current_milestone integer pointer with active_gsd_milestone string (GSD milestone ID). Add resolveActiveMilestoneIndex() in state.cjs for backward-compatible resolution. Update all consumers: milestone.md, next.md, status.md, run.md.
Backward Compatibility
- If
current_milestoneexists andactive_gsd_milestonedoes not: usecurrent_milestone - 1as 0-based index (legacy) - If
active_gsd_milestoneexists: find matchinggsd_milestone_idin milestones array - If neither: return -1 (error state)
Files
lib/state.cjs— add resolveActiveMilestoneIndex(), update module.exportscommands/milestone.md— replace current_milestone reads/writes with resolveActiveMilestoneIndex + active_gsd_milestonecommands/next.md— update milestone resolutioncommands/status.md— update milestone resolution, add GSD milestone displaycommands/run.md— update milestone context lookup
GSD Route
gsd:plan-phase
Depends On
- A4 (gsd_milestone_id field must exist on milestones)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
coreChanges to core libraryChanges to core library