Fixes phase number handling to support all formats: integers (12), decimals (12.1), letter-suffix (12A), and hybrids (12A.1). Changes: - normalizePhaseName() now handles letter+decimal format - New comparePhaseNum() helper for correct sort order - All directory .sort() calls use comparePhaseNum instead of parseFloat - All phase-matching regexes updated with [A-Z]? for letter support - cmdPhaseComplete uses comparePhaseNum for next-phase detection - Export comparePhaseNum and normalizePhaseName for unit testing - 14 new unit tests for comparePhaseNum (8) and normalizePhaseName (6) Sort order: 12 → 12.1 → 12.2 → 12A → 12A.1 → 12A.2 → 12B → 13 Fixes #621 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
88 KiB
88 KiB