From 5d44196e8014ad23bac48dd348c21c779c8dae21 Mon Sep 17 00:00:00 2001 From: garrytan Date: Sat, 3 Oct 2026 02:05:57 +0000 Subject: [PATCH] chore: constants comment names the /ship documentation dispatch, not a stale step number --- scripts/resolvers/constants.ts | 4 ++-- test/instruction-facts.test.ts | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/scripts/resolvers/constants.ts b/scripts/resolvers/constants.ts index 300536810..b605ec263 100644 --- a/scripts/resolvers/constants.ts +++ b/scripts/resolvers/constants.ts @@ -158,8 +158,8 @@ Branch on the echoed \`CODEX_MODE\`: } /** - * Canonical foreground-dispatch guidance (#497 → #2440 → third recurrence at - * /ship Step 18). Claude Code v2.1.198 made Agent-tool subagents run in the + * Canonical foreground-dispatch guidance (#497 → #2440 → a third recurrence at + * a /ship documentation dispatch). Claude Code v2.1.198 made Agent-tool subagents run in the * BACKGROUND by default; a synchronous dispatch site must pass the flag * explicitly or the parent waits on output that never arrives. Rendered via * {{FOREGROUND_DISPATCH_NOTE}} in section templates; resolver sites may diff --git a/test/instruction-facts.test.ts b/test/instruction-facts.test.ts index e91977ec6..898b4b790 100644 --- a/test/instruction-facts.test.ts +++ b/test/instruction-facts.test.ts @@ -90,10 +90,6 @@ describe('CLAUDE.md facts match the code that owns them', () => { // it is exempt from title checks but must still match its reference. const SHIP_STEP_REFERENCES: Array<{ file: string; step: string; title?: string; historical?: string }> = [ { file: 'document-release/sections/release-body.md.tmpl', step: '14', title: 'TODOS.md' }, - { - file: 'scripts/resolvers/constants.ts', step: '18', - historical: 'source comment recording where the third foreground-dispatch recurrence happened (#2440 class); the documentation dispatch now lives at /ship Step 14.5, so this is incident history, not an instruction', - }, ]; const SHIP_REFERENCE = /\/ship`?(?:'s)? Step (\d+(?:\.\d+)?)\b/g;