chore: constants comment names the /ship documentation dispatch, not a stale step number

This commit is contained in:
garrytan committed 2026-10-03 02:05:57 +00:00
1 parent 39e670035a
commit 5d44196e80
2 files changed
+2 -6

No files matched your search

+2 -2
View File
@@ -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
-4
View File
@@ -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;