test(3094): switch stale-progress assertion to structured token check
This commit is contained in:
5
.changeset/fix-3094-progress-stale-assumptions.md
Normal file
5
.changeset/fix-3094-progress-stale-assumptions.md
Normal 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.
|
||||||
@@ -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', () => {
|
test('progress.md pre-planning guidance uses /gsd-discuss-phase instead', () => {
|
||||||
const content = read('get-shit-done/workflows/progress.md');
|
const content = read('get-shit-done/workflows/progress.md');
|
||||||
assert.ok(
|
const tokens = extractSlashCommandTokens(content);
|
||||||
/\/gsd-discuss-phase/.test(content),
|
assert.equal(
|
||||||
|
tokens.has('/gsd-discuss-phase'),
|
||||||
|
true,
|
||||||
'progress.md should route pre-planning assumption checks via /gsd-discuss-phase'
|
'progress.md should route pre-planning assumption checks via /gsd-discuss-phase'
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user