test(3094): switch stale-progress assertion to structured token check

This commit is contained in:
Tom Boucher
2026-05-04 23:27:38 -04:00
parent a54dda3837
commit 5b63ba6ea9
2 changed files with 9 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
---
type: Fixed
pr: 3111
---
**Progress routing command guidance remains canonical** — pre-planning assumption checks in progress routing now consistently assert and document `/gsd-discuss-phase` as the replacement path, with tests enforcing structured slash-command token checks.

View File

@@ -315,8 +315,10 @@ describe('bug #3094: progress routing does not reference removed /gsd-list-phase
test('progress.md pre-planning guidance uses /gsd-discuss-phase instead', () => {
const content = read('get-shit-done/workflows/progress.md');
assert.ok(
/\/gsd-discuss-phase/.test(content),
const tokens = extractSlashCommandTokens(content);
assert.equal(
tokens.has('/gsd-discuss-phase'),
true,
'progress.md should route pre-planning assumption checks via /gsd-discuss-phase'
);
});