From 7b34c3e7bd425e50572fe2113fefb5000d4656aa Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 6 Sep 2026 03:45:06 +0000 Subject: [PATCH] fix(scripts): attribute the ci-cd-pipeline ledger's ci.yml control count to objectui#6400 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The version-claim ledger's `content/docs/guide/ci-cd-pipeline.md :: Node 22.x` entry (and its matching docblock bullet) said "28 mentions of ci.yml" as a control count for the sibling pin test, with no unit and no attribution. objectui#7034 found the file today holds 29 by occurrence count (`grep -o 'ci\.yml' | wc -l`). Re-measured: `grep -c 'ci\.yml'` (matching lines) still reads 28 today, matching what PR #6450 measured with the same command when it fixed objectui#6400 (its body shows `grep -c 'ci\.yml' ... -> 28 (control)`). So 28 was a line count from the moment it was written, not a drifted occurrence count — the ambiguity was the missing unit, not staleness. Disposition B per objectui#7034's triage: attribute the count to objectui#6400's cut and state its unit (lines, not occurrences), per the policy this file's own header already states for counts recording what a change measured when it landed. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_013uAaxiwgYDybsTNV9xwa1M --- scripts/__tests__/doc-version-claims.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/__tests__/doc-version-claims.test.ts b/scripts/__tests__/doc-version-claims.test.ts index 1ff035b3ae..3b9b9ce4d6 100644 --- a/scripts/__tests__/doc-version-claims.test.ts +++ b/scripts/__tests__/doc-version-claims.test.ts @@ -413,7 +413,8 @@ import { fileURLToPath } from 'node:url'; * 20 `corepack enable` steps across 14 files. A non-zero second reading, so this is * not a grep that found nothing and was read as agreement.) * - The PIN TEST. `ci-cd-pipeline-doc.test.ts` contains no `node-version` and no `22` - * whatsoever (control, same file, same sweep: 28 mentions of `ci.yml`). It pins the + * whatsoever (control, same file, same sweep: 28 LINES matching `ci.yml`, as of + * objectui#6400 - not an occurrence count, which reads one higher). It pins the * PAGE; it does not pin this LINE. The second half was true of the file it named and * false of the claim it excused, which is why it read as reassurance for months. * @@ -1036,7 +1037,7 @@ const KNOWN_CLAIMS: KnownClaim[] = [ claim: 'Node 22.x', kind: 'anchored', workflowVersionKey: 'node-version', - why: "The Node this repository's CI runs, anchored on the node-version declarations in .github/workflows and ASSERTED against them by the workflow-version assertion below (objectui#6400) rather than restated here. Both halves of the reason this replaces were false by the time anyone read them: it named a declaration count the tree had since doubled, in a spelling one lane does not use, and it credited this page's own pin test with covering the line - ci-cd-pipeline-doc.test.ts contains no node-version and no 22 at all (control, same file: 28 mentions of ci.yml). Nothing re-measured either half, which is the whole reason the count moved into a run.", + why: "The Node this repository's CI runs, anchored on the node-version declarations in .github/workflows and ASSERTED against them by the workflow-version assertion below (objectui#6400) rather than restated here. Both halves of the reason this replaces were false by the time anyone read them: it named a declaration count the tree had since doubled, in a spelling one lane does not use, and it credited this page's own pin test with covering the line - ci-cd-pipeline-doc.test.ts contains no node-version and no 22 at all (control, same file: 28 lines matching ci.yml, as of objectui#6400 - not an occurrence count, which reads one higher). Nothing re-measured either half, which is the whole reason the count moved into a run.", }, { file: 'content/docs/guide/layout.md',