Follow-up to #1919 (archive-then-remove core). Closes the remaining #1871 acceptance criteria so phase history is preserved across the full milestone lifecycle, not just at phases.clear: - #2 src/milestone.cts + src/phases-command-router.cts: extract shared archivePhaseDirectories() helper; add cmdPhasesArchive (the previously half-wired phases.archive alias now routes instead of erroring Unknown). - #4 gsd-tools.cjs + src/milestone.cts: milestone complete archives phase dirs by default (--no-archive-phases opts out; --archive-phases is now a harmless no-op). complete-milestone.md updated to drop the redundant manual Yes/Skip archive prompt. - #3 gsd-core/workflows/new-milestone.md: §6 stages the archive move + source removal (git add .planning/milestones/ .planning/phases/) in the same commit as the milestone start, so the archive lands atomically — no orphaned uncommitted deletions, no un-archived dirs inherited. - docs/CLI-TOOLS.md (+ ja/zh/ko/pt) + help/modes/full.md: flag accuracy. - tests: phases archive command (#2) + milestone complete default archive / --no-archive-phases opt-out (#4). Goldens + workflow size baseline refreshed. Closes #1871
This commit is contained in:
@@ -106,7 +106,7 @@
|
||||
"commands/gsd-workstreams.md": "884b6c8d648422c7",
|
||||
"gsd-core/VERSION": "ef0deccd81a6723c",
|
||||
"gsd-core/bin/check-latest-version.cjs": "e4a224058c8f4d74",
|
||||
"gsd-core/bin/gsd-tools.cjs": "74594e8bf36e5580",
|
||||
"gsd-core/bin/gsd-tools.cjs": "43e6c5810defe512",
|
||||
"gsd-core/bin/gsd_run": "62d9b647ede212e6",
|
||||
"gsd-core/bin/shared/config-defaults.manifest.json": "517e6a7c1e9f4f16",
|
||||
"gsd-core/bin/shared/config-schema.manifest.json": "7d398e94c44e5268",
|
||||
@@ -274,7 +274,7 @@
|
||||
"gsd-core/workflows/cleanup.md": "5cf0772521c192a4",
|
||||
"gsd-core/workflows/code-review-fix.md": "b442c670f8c1fe93",
|
||||
"gsd-core/workflows/code-review.md": "1bfa3bf542e30c5e",
|
||||
"gsd-core/workflows/complete-milestone.md": "8a4cfb41a4de5a99",
|
||||
"gsd-core/workflows/complete-milestone.md": "337d177126f1bd67",
|
||||
"gsd-core/workflows/debug.md": "da62e7a62c113b29",
|
||||
"gsd-core/workflows/diagnose-issues.md": "690c523df07f2ea7",
|
||||
"gsd-core/workflows/discovery-phase.md": "3ba7cfb89fb1e761",
|
||||
@@ -312,7 +312,7 @@
|
||||
"gsd-core/workflows/help.md": "5d040504b9ab35e3",
|
||||
"gsd-core/workflows/help/modes/brief.md": "5fe077fbbdb5d9f7",
|
||||
"gsd-core/workflows/help/modes/default.md": "cc8ef97de634c995",
|
||||
"gsd-core/workflows/help/modes/full.md": "1e95876d570df64b",
|
||||
"gsd-core/workflows/help/modes/full.md": "de202c9910773a1d",
|
||||
"gsd-core/workflows/help/modes/topic.md": "d7c60d488810fbd6",
|
||||
"gsd-core/workflows/import.md": "97861d522319d56e",
|
||||
"gsd-core/workflows/inbox.md": "437f981ef9ae7b26",
|
||||
@@ -325,7 +325,7 @@
|
||||
"gsd-core/workflows/map-codebase.md": "582bddef590de9c6",
|
||||
"gsd-core/workflows/milestone-summary.md": "f956783f7d063963",
|
||||
"gsd-core/workflows/mvp-phase.md": "bfa668107be972ed",
|
||||
"gsd-core/workflows/new-milestone.md": "6d07ca2fc7aec3a4",
|
||||
"gsd-core/workflows/new-milestone.md": "23d2135a555e95df",
|
||||
"gsd-core/workflows/new-project.md": "2fa5ddc0fe749b28",
|
||||
"gsd-core/workflows/new-workspace.md": "fdd63a9adf030cb1",
|
||||
"gsd-core/workflows/next.md": "48bd4b5d54f0d1f8",
|
||||
|
||||
Reference in New Issue
Block a user