Skip to content

mgw:project should support extending completed projects #55

@snipcodeit

Description

@snipcodeit

Problem

When all milestones in a project are complete, running /mgw:project exits with "Project already initialized." The only documented way to add new milestones is to delete .mgw/ entirely and re-initialize, losing all local tracking history (cross-refs, completed archives, config).

Expected Behavior

/mgw:project should detect when all milestones are complete and offer to extend the project with new milestones instead of blocking:

  • Preserve existing project.json data (completed milestones, cross-refs, config)
  • Append new milestones to the milestones[] array
  • Set current_milestone to the first new milestone
  • Reuse the existing GitHub Projects v2 board instead of creating a new one
  • Continue phase numbering from where the last milestone left off (e.g., if v5.0 ended at Phase 42, new milestones start at Phase 43)

Scope

  • Modify project.md step verify_repo to detect "all milestones done" state
  • Add extend flow: gather inputs → generate → append to project.json
  • Update create_project_board to reuse existing board when project.project_board exists
  • Update write_project_json to merge instead of overwrite

Related

  • Phase numbering continuation (#TBD)
  • Project history awareness for template generation (#TBD)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions