From 5b63ba6ea982d12f8c2efb672a430b58be6482cb Mon Sep 17 00:00:00 2001 From: Tom Boucher Date: Mon, 4 May 2026 23:27:38 -0400 Subject: [PATCH] test(3094): switch stale-progress assertion to structured token check --- .changeset/fix-3094-progress-stale-assumptions.md | 5 +++++ tests/bug-3042-3044-research-flag-and-stale-refs.test.cjs | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .changeset/fix-3094-progress-stale-assumptions.md diff --git a/.changeset/fix-3094-progress-stale-assumptions.md b/.changeset/fix-3094-progress-stale-assumptions.md new file mode 100644 index 000000000..317103a92 --- /dev/null +++ b/.changeset/fix-3094-progress-stale-assumptions.md @@ -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. \ No newline at end of file diff --git a/tests/bug-3042-3044-research-flag-and-stale-refs.test.cjs b/tests/bug-3042-3044-research-flag-and-stale-refs.test.cjs index 36f7b93f6..1455bbe4f 100644 --- a/tests/bug-3042-3044-research-flag-and-stale-refs.test.cjs +++ b/tests/bug-3042-3044-research-flag-and-stale-refs.test.cjs @@ -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' ); });