CHANGELOG promotion was a manual operator step that was never run, so 463 fragments for work already shipped in <=1.3.1 accumulated in .changeset/. Their notes were already hand-curated into the dated [1.2.0]/[1.3.0]/[1.3.1] CHANGELOG sections (#690 backfill, PR #694). Rendering them now would duplicate and mis-attribute shipped work. Move them to .changeset/archived/ (read non-recursively by all changeset tooling, so never rendered), keeping only the 3 genuinely-unreleased fragments at the top level. Prep for wiring `render` into the release finalize job (#690 follow-up). Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
776 B
776 B
type, pr
| type | pr |
|---|---|
| Enhancement | 3262 |
Shared scanPhasePlans() helper extracted from four divergent copies (k014) — state.cjs (3 copies), roadmap.cjs, and init.cjs each maintained their own plan-scan loop with subtly different regex shapes; divergence caused the plan-count drift that triggered #3257. All four call sites now delegate to bin/lib/plan-scan.cjs:scanPhasePlans(phaseDir) which returns { planCount, summaryCount, completed, hasNestedPlans, planFiles, summaryFiles }. The canonical helper adopts roadmap.cjs's broader isPlanFile (matching the extended 5-PLAN-01-setup.md layout gsd-plan-phase writes), adds the -PLAN-\d+ nested-file variant init.cjs missed, and widens OUTLINE/pre-bounce exclusions to cover both flat and nested forms. (#3262)