Found while implementing #6400 (moving the Node 22.x entries' hand-written declaration count out of their why string and into an assertion). Deliberately not fixed there: #6400's PR derives the node-version set from .github/workflows and asserts the doc literal against it; this entry's anchor is a different source (the root packageManager field, plus a count of corepack enable steps), so covering it needs a second derivation rather than one more field on an existing one. Filing so the number is recorded rather than carried.
The entries
scripts/__tests__/doc-version-claims.test.ts, KNOWN_CLAIMS — two entries, same anchor, same sentence:
{file: 'content/docs/guide/building-crud-app.md',claim: 'pnpm 10.x',kind: 'anchored',why: 'Anchored on the root packageManager field, pnpm@10.31.0: 17 corepack enable steps across 12 workflow files mean the pnpm that installs and builds these packages in CI is the one that field names. ...',},(content/docs/guide/quick-start.md :: pnpm 10.x carries the same anchor by reference — "Same anchor as the building-crud-app.md pnpm entry above" — so it inherits the number without restating it.)
Measured on c8ea8af9c (origin/main at 2026-08-26T00:47Z)
$ grep -rn 'corepack enable' .github/workflows/ | wc -l
20
$ grep -rl 'corepack enable' .github/workflows/ | wc -l
14
$ grep -n 'packageManager' package.json
7: "packageManager": "pnpm@10.31.0",
So the sentence says 17 steps across 12 files; the tree has 20 across 14. The half of the anchor that is a field (pnpm@10.31.0) is still exactly right — the half that is a count has drifted, in the four days since #6307 wrote it.
Control, same sweep: 28 node-version declarations across 23 files (non-zero, so the grep root and the workflow directory are both real — this is not a scan that found nothing and reported agreement).
Why this is the same class as #6400 and still a separate card
Identical shape: an anchored entry with no machine-checked field, whose whole strength is a why string a reviewer re-runs. A count in that string is a measurement frozen at the moment someone typed it, and nothing re-takes it. #6400 records the general lesson; this is another site of it.
It is a separate card because the fix is different. #6400's workflowVersionKey names a GitHub-Actions key and compares the doc's major against the majors that key declares. pnpm 10.x is not declared by any such key — the pnpm CI runs comes from corepack enable reading the root packageManager field, so the derivation is "parse packageManager from the root manifest, compare its major against the doc literal", with the corepack count being evidence that the field is what CI uses rather than the anchor itself.
Two dispositions:
B is the direction the file's header argues for whenever an anchor is machine-readable, and this one is — packageManager is a single unambiguous string in one file, which is a stronger anchor than the 28-declaration set #6400 had to reduce to a unanimous major. Worth noting for triage: B here is smaller than B was there.
Related: #6400 (the Node 22.x entries, same file, same class, node-version anchor).
Found while implementing #6400 (moving the
Node 22.xentries' hand-written declaration count out of theirwhystring and into an assertion). Deliberately not fixed there: #6400's PR derives thenode-versionset from.github/workflowsand asserts the doc literal against it; this entry's anchor is a different source (the rootpackageManagerfield, plus a count ofcorepack enablesteps), so covering it needs a second derivation rather than one more field on an existing one. Filing so the number is recorded rather than carried.The entries
scripts/__tests__/doc-version-claims.test.ts,KNOWN_CLAIMS— two entries, same anchor, same sentence:(
content/docs/guide/quick-start.md :: pnpm 10.xcarries the same anchor by reference — "Same anchor as the building-crud-app.md pnpm entry above" — so it inherits the number without restating it.)Measured on
c8ea8af9c(origin/main at 2026-08-26T00:47Z)So the sentence says 17 steps across 12 files; the tree has 20 across 14. The half of the anchor that is a field (
pnpm@10.31.0) is still exactly right — the half that is a count has drifted, in the four days since #6307 wrote it.Control, same sweep: 28
node-versiondeclarations across 23 files (non-zero, so the grep root and the workflow directory are both real — this is not a scan that found nothing and reported agreement).Why this is the same class as #6400 and still a separate card
Identical shape: an
anchoredentry with no machine-checked field, whose whole strength is awhystring a reviewer re-runs. A count in that string is a measurement frozen at the moment someone typed it, and nothing re-takes it. #6400 records the general lesson; this is another site of it.It is a separate card because the fix is different. #6400's
workflowVersionKeynames a GitHub-Actions key and compares the doc's major against the majors that key declares.pnpm 10.xis not declared by any such key — the pnpm CI runs comes fromcorepack enablereading the rootpackageManagerfield, so the derivation is "parsepackageManagerfrom the root manifest, compare its major against the doc literal", with the corepack count being evidence that the field is what CI uses rather than the anchor itself.Two dispositions:
packageManagerfield as the named anchor. Cheapest, and the count was never the anchor: it was the argument for why the field is the anchor. That argument does not need a live number to stand.ci-cd-pipeline.md :: Node 22.xreason states 14node-versiondeclarations; the tree has 27 #6400 did fornode-version: readpackageManagerfrom the rootpackage.json, compare its major against the doc literal. Reuses finding(gate): the version-claim ledger'sci-cd-pipeline.md :: Node 22.xreason states 14node-versiondeclarations; the tree has 27 #6400'smajorOfand its claim-tail parser; needs a new field (amanifestVersionField, or similar) because the source is a manifest and not a workflow key.B is the direction the file's header argues for whenever an anchor is machine-readable, and this one is —
packageManageris a single unambiguous string in one file, which is a stronger anchor than the 28-declaration set #6400 had to reduce to a unanimous major. Worth noting for triage: B here is smaller than B was there.Related: #6400 (the
Node 22.xentries, same file, same class,node-versionanchor).