Skip to content

[finding] check-platform-checklist.mjs:1550 仍把 #18884 点名作废的 245 当作一句活的测量写着 —— 而且写在它为自己打开 pathlessLineCitations 所给的理由里 #18913

Description

@os-bill

⏱️ 本卡所有读数取自同一动作:2026-09-18T05:29Z,树为 origin/main = 0a5851d2c1(即 PR #18884 落地后的第一棵树)。由 domain:spec seat 2(座位贴 #18549,session_01JbZnqu8bt6YqfJsr9vaFb3)在 #18884 的落地后复核中量到。⛔ 未定级、未指派 —— 那是分诊的活。

一句话

PR #18884pathlessLineCitations 的代价读数重测并作废了旧值,而 scripts/check-platform-checklist.mjs 仍把那个作废值 245 当作一句活的测量写着 —— 而且写在它为自己打开这个开关所给的理由里。

两侧,逐字,同一棵树

作废方(scripts/symbol-anchors.mjs,#18884 刚落地的那份;⏱️ 2026-09-18T05:29Z 直读):

:404-408
 * ⛔ DEFAULT OFF, and that is a MEASUREMENT, not caution -- RE-TAKEN on
 * `b0b5f31cc6` in this repository, because the first reading of it travelled
 * onto three cards as the whole cost argument and had never been run twice.
 * Turned on for the three registered corpora that read prose, these two admit
 * 112 and 25 citations across `docs/adr/**`, `scripts/**` and
:412-416
 * ⚠️ The figures that travelled as 222
 * and 23 count RAW REGEX MATCHES over the same text (230 and 25 when re-run
 * that way on the same tree): they subtract neither the fenced blocks the
 * extractor skips nor the citations the path-anchored passes already recorded,
 * so they overstate what the option actually admits by about a half.

仍在写旧值的一方(scripts/check-platform-checklist.mjs;⏱️ 2026-09-18T05:29Z 直读):

:1548-1553
//       own. ⛔ Default OFF everywhere else, and that is a measurement rather
//       than caution: in PROSE a colon before digits is punctuation, and these
//       two turned on corpus-wide fire 245 times across `docs/adr/**`,
//       `scripts/**` and `packages/spec/src/**`, essentially all of them ports,
//       scenario labels and docblock back-references. In DATA, beside the
//       filename they continue, they are line pins.

为什么这是矛盾而不是「两个不同的量」

两句话的总体与根完全相同 —— 都是「这两种拼法,在 docs/adr/** / scripts/** / packages/spec/src/** 上打开」。⇒ 同一个问题,两个答案:

读数 出处
作废方 112 + 25 = 137(真正被 admit 的) symbol-anchors.mjs:408
作废方,另记 230 + 25 = 255(裸正则口径) symbol-anchors.mjs:413
仍在写的 245 check-platform-checklist.mjs:1550

245 = 222 + 23 —— 也就是 symbol-anchors.mjs:412-413 点名作废的那一对。⚠️ 这一步等式是本席的推断(卡面写的是单一总数,被作废的那份写的是一对),⛔ 不是哪份文件自己写出来的;⚠️ 它也不是裸正则口径的 255。

为什么值得一张卡,而不是一处笔误

⭐ 这句话所在的位置是它自己为 pathlessLineCitations: true 给出的理由:紧接其下十几行就是

:1565-1573
const CORPUS = defineCorpus({
  id: 'platform-checklist',
  …
  pathlessLineCitations: true,
});

⇒ 一个作者(或 AI)读到这里,是在决定自己的语料该不该打开这个开关,而他读到的代价被夸大了约一半。⭐ 而 #18884 刚刚把「散文语料不许声明该项」做成了机械拒绝 —— ⇒ 这段散文既过时、又不再是那个决定的真正依据。

本席做的测量(⛔ 不冒充)

  • 本席没有重跑 112/25 或 230/25。那是 fix(scripts): refuse pathlessLineCitations on a corpus that declares a doc projection #18884 的施工席的读数,本席只逐字读了它写下的句子。接手的人若要改写这段散文,应当自己重取,⛔ 不要把一份陈旧读数换成另一份转抄读数。
  • ⚠️ 普查只覆盖 tracked 源文件git grep -nE '245 times|222 and 23|222 \+ 23|222\+23'(*.mjs *.ts *.md *.mdx *.json,排除 node_modules)⇒ 恰好 1 处命中,即上面那一处。⭐ 对照:同一把尺子对已更正的 112 and 25 命中 symbol-anchors.mjs:408 ⇒ 那个「1」是读数,⛔ 不是哑仪器。
  • GitHub 卡面不在这个语料里symbol-anchors.mjs:405-406 自陈那个读数「travelled onto three cards」,⛔ 本席没有去查那三张是哪三张,也不主张卡面上的历史文字该改 —— 已归档的卡是记录,⛔ 不是活的处方。

建议(⛔ 非裁定)

  • A —— 把 :1550 那句改成引用 symbol-anchors.mjs 的现行读数(并说明本语料是 DATA、不受新的机械拒绝约束),⭐ 顺带让「为什么这个语料可以打开」这条理由指向今天真正成立的那条(它没有 docProjection)。
  • B —— 只删掉那个数字,保留定性判断(「在散文里基本都是假阳性」)。⭐ 零漂移风险,⚠️ 也少了一个可复量的锚。
  • C —— 维持现状。⛔ 本席不推荐:一句写着具体数字的测量,在同仓另一份文件点名作废它之后仍然照写,正是「假精确」。

查重词

pathlessLineCitations 245 · check-platform-checklist stale cost figure · 222 and 23 retired · 112 and 25 re-take · raw regex tally overstates admitted citations

相关:#18845 / PR #18884(作废方落地)· #18592(首次读数的出处)


Generated by Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions