From 9e5a9e873d120db3e21cbd2d6288173baf8f8e33 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 29 Aug 2026 06:02:25 +0000 Subject: [PATCH] docs(devx): correct the stale collector claim on the js-comment-mask entry The `@objectstack/cli` entry's rationale still claimed in the present tense that this gate did NOT demand the js-comment-mask declaration, and that a relative import specifier escaping the package is not one of the spellings its literal collector knows. #10452 made both false: the collector reads escaping relative specifiers and resolves them, so the pair is demanded rather than volunteered. Comment-only. Four other sites in the same file (#10452 at the client entry, the translation.zod.ts entry, the dogfood ledger trio, and the filing note four lines below this one) already describe the post-#10452 truth; this aligns the one residue with them and keeps the history the neighbouring sites carry. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01CPrUz21stTFhJRUirdc4yw --- scripts/cross-package-test-inputs.mjs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/scripts/cross-package-test-inputs.mjs b/scripts/cross-package-test-inputs.mjs index e5d5da0476..2e9b124ca6 100644 --- a/scripts/cross-package-test-inputs.mjs +++ b/scripts/cross-package-test-inputs.mjs @@ -253,9 +253,16 @@ export const CROSS_PACKAGE_TEST_INPUTS = { // adopting #9367's conversion) and // src/commands/serve-audit-registration.contract.test.ts (#9863) both import // `maskComments` from it to separate code from prose in the boot paths they - // scan. This gate did NOT demand the declaration -- its literal collector - // recognises path-shaped reads, and a relative import specifier that escapes - // the package is not one of the spellings it knows. Declared by hand because + // scan. This gate did NOT demand the declaration WHEN THIS ENTRY WAS + // WRITTEN -- its literal collector recognised path-shaped reads, and a + // relative import specifier that escapes the package was not one of the + // spellings it knew. It IS one now: #10452 taught the collector to read + // escaping relative specifiers and to RESOLVE them, so this pair is a + // declaration the gate DEMANDS, not a hand-maintained courtesy. Measured on + // the four entries #12932 added below -- one escaping import each and + // nothing else that escapes -- this gate went red on every one of them + // until the pair was declared, naming the repo-relative path the specifier + // resolves to and the test that imports it. Declared by hand FIRST because // the coupling is real whatever the collector saw: those scans' verdicts are // a function of this module's masking behaviour, so a change to it has to // re-run cli's suite. The undetected-import spelling is filed separately as