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:
@@ -72,7 +72,7 @@
|
||||
"config.toml": "a34316b9ac61a620",
|
||||
"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",
|
||||
@@ -240,7 +240,7 @@
|
||||
"gsd-core/workflows/cleanup.md": "b990139192ab7c08",
|
||||
"gsd-core/workflows/code-review-fix.md": "3311f5fa61f8a90b",
|
||||
"gsd-core/workflows/code-review.md": "937aeabfff8963b3",
|
||||
"gsd-core/workflows/complete-milestone.md": "d203f68731d9d325",
|
||||
"gsd-core/workflows/complete-milestone.md": "c0eab93d97dd298e",
|
||||
"gsd-core/workflows/debug.md": "e8367cffd3dfa758",
|
||||
"gsd-core/workflows/diagnose-issues.md": "b6766f3830f5b130",
|
||||
"gsd-core/workflows/discovery-phase.md": "71a4b78ff876a854",
|
||||
@@ -278,7 +278,7 @@
|
||||
"gsd-core/workflows/help.md": "08e1349950c5602a",
|
||||
"gsd-core/workflows/help/modes/brief.md": "becceb85b25dca89",
|
||||
"gsd-core/workflows/help/modes/default.md": "18c7dc50066f5cd6",
|
||||
"gsd-core/workflows/help/modes/full.md": "9fec66a5a4eb8389",
|
||||
"gsd-core/workflows/help/modes/full.md": "072c20fe275d54df",
|
||||
"gsd-core/workflows/help/modes/topic.md": "fc6697bdb47df8b3",
|
||||
"gsd-core/workflows/import.md": "8b8c3a25526c0d41",
|
||||
"gsd-core/workflows/inbox.md": "61b8b10e7a74b2e9",
|
||||
@@ -291,7 +291,7 @@
|
||||
"gsd-core/workflows/map-codebase.md": "320d5bfc9df29013",
|
||||
"gsd-core/workflows/milestone-summary.md": "121ecb40504caf10",
|
||||
"gsd-core/workflows/mvp-phase.md": "9a9b8b58d59a893f",
|
||||
"gsd-core/workflows/new-milestone.md": "923f10697d743555",
|
||||
"gsd-core/workflows/new-milestone.md": "e7329ba10b6d8182",
|
||||
"gsd-core/workflows/new-project.md": "f69c90cee1d7952d",
|
||||
"gsd-core/workflows/new-workspace.md": "cc9660e79d5ba7b4",
|
||||
"gsd-core/workflows/next.md": "ede3f6183e513000",
|
||||
|
||||
Reference in New Issue
Block a user