diff --git a/scripts/docs-audit/affected-docs.mjs b/scripts/docs-audit/affected-docs.mjs index 60ab693ca6..cabdeb3b38 100644 --- a/scripts/docs-audit/affected-docs.mjs +++ b/scripts/docs-audit/affected-docs.mjs @@ -3814,12 +3814,35 @@ function selfTest() { // from would leave the pin watching a door nobody uses any more. check('declLead', 'and the KEY anchor is spelled once too — no call site restates it', 'affected-docs.mjs', 0, (ownSource.match(/declLead\([^\n]*?(?:\\b|\(\? m[2]); + check('declLead', 'and all eight pass their key as a LITERAL — a computed one drops out of the list below unseen', 'affected-docs.mjs', + 8, passedKeys.length); check('declLead', 'every key spelling a call site passes comes back ANCHORED', 'declLead', - String.raw`(? declLead(k)).join(' | ')); + String.raw`(? declLead(k)).join(' | ')); // …and BEHAVIOURALLY the allowlist is a strict TIGHTENING of BOTH anchors it has replaced, // which is the invariant the population pricing rests on. Swept rather than argued, and // swept against the anchor it ACTUALLY replaces (#11710's lookbehind) as well as against the