Uh oh!
There was an error while loading. Please reload this page.
docs(tooling): record the component-registry category-list ledger entry as discharged - #6077
Conversation
…ischarged The doc-snippet ledger docblock narrated `guide/component-registry`'s six category lists in the PRESENT tense — "are markdown BULLET LISTS inside `tsx` fences ... so it is declared here and left to its own change" — while every neighbouring entry is a past-tense round record. PR #6056 re-fenced those six blocks as plain markdown lists and removed the six FRAGMENT_MARKER declarations with them, so the sentence describes a tree that no longer exists: a reader who goes looking for those fences on the page finds nothing there. Converted to the round record the convention around it uses, naming the round that discharged it. The entry is kept rather than deleted — this ledger deliberately keeps the history of why each declaration existed. Comment prose only: no strictness change, no behaviour change, no ledger entry added or removed. Nothing asserts on this docblock, which is why nothing would ever have failed to prompt the correction — and why nothing keeps the new text true either. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019b5UBNMtTzKbVtZZGvFuxe
yinlianghui-tw
commented
Aug 24, 2026
PM: ACCEPTScope verified: 1 file, The premise re-derivation was the right callThe card was written while PR #6056 was still open, so it said the prose "goes stale once #5997 lands". You re-derived on Keeping the entry rather than deleting it is correctThe ledger deliberately keeps the history of why each declaration existed. Converting to the past-tense round record — naming #5997 / PR #6056 as the round that discharged it — matches the convention the neighbouring entries already use ("objectui#5343 then read that list back and cleared it…"). Deleting would have destroyed the reason the six blocks were ever declared, which is the part a future reader needs when a similar case appears. Byte-identical output is exactly the right evidenceFor a comment-only change the claim is "this moves nothing", and you proved it the strongest available way: the gate's full output is byte-identical before and after ( The honest limit, stated as the card's own point
Right, and worth stating plainly rather than glossing: this correction is held by review only. The byte-identical gate output is simultaneously the proof the change is safe and the proof that nothing will catch it drifting again. That is the honest shape of a human-record fix, and it is why the entry's convention (past-tense round records naming their discharging PR) is load-bearing — the convention is the only thing doing the work. The eslint narrowing is a measurement rather than a skip, and you gave the reason: Note on the runYour agent hit an API connection failure during the final report re-post, after the branch was pushed and the PR opened. I checked the repository rather than assuming either way: the commit, the PR and the full report are all present and complete, so nothing was lost and no re-run was needed. The interruption was cosmetic — the sanitizer-workaround comment, not the work. Landing⏳ CI converging on Generated by Claude Code |
Uh oh!
There was an error while loading. Please reload this page.
Fixes#6054
What
One paragraph of comment prose in
scripts/check-doc-snippet-types.mjs's ledger docblock. The entry forguide/component-registry's six category lists was written in the present tense about the current tree:Every neighbouring entry is a past-tense round record ("objectui#5343 then read that list back and cleared it…"). This one was not, and it is now false rather than prospectively false:
5cafb91d8(PR #6056, card #5997) landed the re-fence, so the six blocks are plain markdown bullet lists on the page and the sixFRAGMENT_MARKERdeclarations came out with them. A reader following the sentence tocontent/docs/guide/component-registry.mdfinds nothing there —grep -c FRAGMENT_MARKERon that page returns 0.Converted to the round record the convention around it uses, naming the round that discharged it. The entry is kept, not deleted — this ledger deliberately keeps the history of why each declaration existed.
Scope
Comment prose only. No strictness change, no behaviour change, no gate added, no ledger entry added or removed,
content/docs/guide/component-registry.mduntouched. Diff is1 file changed, 10 insertions(+), 4 deletions(-), all inside one block comment.Card's own pre-check re-run on
origin/main:grep -rn 'category lists\|six category'still hits only this file, one line — no sweep needed.Verification — a comment change must move nothing
All runs at
7d0b901be, after a fullpnpm build(43/43 tasks successful), serialized through the shared verify lock.node scripts/check-doc-snippet-types.mjs— its output is byte-identical before and after the edit (diffof the two captures is empty). Verdict lines:vitest run scripts/__tests__/check-doc-snippet-types.test.ts(from the repo ROOT) —Test Files 1 passed (1)/Tests 20 passed (20), identical before and after.Also green at the same commit:
node scripts/check-control-bytes.mjs—✅ check-control-bytes: OK (scanned 5026 tracked text file(s); skipped 85 binary);node scripts/check-changeset-presence.mjs—✅ No source of a released package changed in this range, so no changeset is owed;eslint --no-inline-configover the changed file — 1 file linted, 0 errors, 0 warnings (--format jsoncounts). The narrowing is a measurement, not a skip:eslint.config.jsdeclares noproject:/projectServiceanywhere, so type-aware linting is off and a comment-only diff in one file cannot move any untouched file's verdict. A fulleslint .was run anyway and reached all 3655 files it covers; its 89 errors are pre-existing onmainand none are in the changed file.The honest limit, which is the card's own point
Nothing asserts on this docblock. The test suite does not reference it, the word "category", or
component-registry, so no run would ever have failed to prompt this correction — and nothing keeps the new text true either. The byte-identical gate output above is exactly the evidence that this change is inert to the tooling: it is a correction to the human record, held by review only.Generated by Claude Code
Generated by Claude Code