Files
msd-core/.changeset/lucky-newts-squeak.md
Tom Boucher 077028584f fix(#3036): accept non-numeric-leading phase ids in roadmap.analyze (#3117)
* fix(#3036): accept non-numeric-leading phase ids in roadmap.analyze

roadmap.analyze's phase-heading discovery and checklist discovery regexes
required a digit-first id (\d+...). A project using letter-prefixed ids
(e.g. B7, P0.3-2) got phase_count: 0, current_phase: null, next_phase:
null — even though get-phase and execute-phase resolved the same ids fine.

Widened all three regex sites (phasePattern, checklistPattern, nextHeader
section boundary) to accept an optional leading letter prefix
([A-Za-z]?\d+...). Existing numeric-leading ids are unchanged.

* chore(#3036): backfill changeset PR number 3117

---------

Co-authored-by: sim <sim@local>
2026-08-06 08:07:24 -04:00

394 B

type, pr
type pr
Fixed 3117

roadmap.analyze now discovers non-numeric-leading phase ids — the phase-heading and checklist discovery regexes required a digit-first id (e.g. 07), so a project using letter-prefixed ids (e.g. B7) got phase_count: 0 even though get-phase/execute-phase resolved the same ids fine. The regexes now accept an optional leading letter prefix. (#3036)