Skip to content

Commit deeb94d

Browse files
committed
fix(scripts): stop restating a void corpus-wide tally in the platform checklist's pathlessLineCitations rationale
The entry justifying `pathlessLineCitations: true` on this corpus carried a corpus-wide count of what the two path-less spellings admit. That figure was a raw-regex tally, and the re-take living beside the grammar named it void: it subtracted neither the fenced blocks the extractor skips nor the citations the path-anchored passes had already recorded. Replace the restated digit with a bounded transfer: the qualitative claim stays here, the reading stays with the grammar that admits the spellings, cited as a resolvable symbol anchor that `check:scripts-symbol-anchors` resolves on every PR. Also state the reason this corpus may opt in that is live today -- the registration-time refusal of the option to any corpus declaring a `docProjection`, which this one does not. Claude-Session: https://claude.ai/code/session_01AmH9bKvGoLjiY86Q4Z3og2 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 16cb493 commit deeb94d

1 file changed

Lines changed: 28 additions & 6 deletions

File tree

‎scripts/check-platform-checklist.mjs‎

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1531,7 +1531,7 @@ function selfTestLineCitationBinding() {
15311531
// * how a citation is WRITTEN and which documents are swept — corpus data,
15321532
// and that is what was widened.
15331533
//
1534-
// Two declarations this corpus needed and the core did not have:
1534+
// Three declarations this corpus needed and the core did not have:
15351535
//
15361536
// `unspannedAnchors: true` Every citation here lives inside a JSON string
15371537
// value, where a backtick is payload rather than a code span. Measured
@@ -1546,11 +1546,33 @@ function selfTestLineCitationBinding() {
15461546
// :202` — and an `L` pin beside it. Both carry NO path of their own, and
15471547
// both were the last thing this file still detected with a grammar of its
15481548
// own. ⛔ Default OFF everywhere else, and that is a measurement rather
1549-
// than caution: in PROSE a colon before digits is punctuation, and these
1550-
// two turned on corpus-wide fire 245 times across `docs/adr/**`,
1551-
// `scripts/**` and `packages/spec/src/**`, essentially all of them ports,
1552-
// scenario labels and docblock back-references. In DATA, beside the
1553-
// filename they continue, they are line pins.
1549+
// than caution: in PROSE a colon before digits is punctuation, so the two
1550+
// spellings turned on there admit ports, scenario labels and docblock
1551+
// back-references, and in the PROJECTED corpora that population was
1552+
// re-measured to buy unjudged residual and NOT ONE finding an author
1553+
// could act on. In DATA, beside the filename they continue, they are
1554+
// line pins.
1555+
//
1556+
// ⛔ That measurement is CITED from here and no longer RESTATED here
1557+
// (#18913). The corpus-wide tally this entry used to carry was a
1558+
// RAW-REGEX count, and the re-take named it void: it subtracted neither
1559+
// the fenced blocks the extractor skips nor the citations the
1560+
// path-anchored passes had already recorded, so it overstated what the
1561+
// option admits by about a half. ⭐ Retyping the corrected figure here
1562+
// would rot the same way, because a reading is a count plus the tree it
1563+
// was taken against and this entry never carried a tree — so the reading
1564+
// stays with the grammar that admits the two spellings,
1565+
// `scripts/symbol-anchors.mjs#PATHLESS_COLON_CITATION`, where the re-take
1566+
// names its own tree. That anchor is resolved on every PR by
1567+
// `check:scripts-symbol-anchors`; a digit is gated by nothing. Re-take it
1568+
// THERE.
1569+
//
1570+
// ⭐ And what makes THIS declaration legal is not a cost reading at all:
1571+
// `scripts/symbol-anchors.mjs#defineCorpus` REFUSES the option to any
1572+
// corpus declaring a `docProjection` (#18845), at registration. A
1573+
// projection is a corpus saying its judged text is authored PROSE; this
1574+
// one declares none and sweeps its documents raw. That test is
1575+
// mechanical, and this registration passes it.
15541576
//
15551577
// The dotted `#Outer.member` form this ledger's grammar carried is now the
15561578
// shared grammar's, and `sweepCorpus` requires EVERY segment to resolve — the

0 commit comments

Comments
 (0)