Filed unassigned by the dev on #5997 (branch claude/issue-5997-component-registry-fence-language) as an out-of-scope observation. Not folded into that PR: the #5997 dispatch fenced "the gate itself" out of scope, and scripts/check-doc-snippet-types.mjs is the shared ledger file the whole #5174 lane edits, so another claim may hold it right now.
What
scripts/check-doc-snippet-types.mjs, ledger docblock, lines 317-320 on ad0f5f11f:
* unknown. `guide/component-registry`'s six category lists are markdown BULLET
* LISTS inside `tsx` fences — the fence language is the defect there, and
* correcting it is a change to the page's rendering rather than to a snippet, so it
* is declared here and left to its own change.
That sentence is present tense about the current tree, unlike the round-by-round entries around it ("objectui#5343 then read that list back and cleared it…"). Once #5997's PR lands, the six fences are plain markdown lists and the six FRAGMENT_MARKER declarations are gone, so a reader who goes looking for them on content/docs/guide/component-registry.md finds nothing there.
Why it is worth recording rather than shrugging at
Same class the ledger lane has been clearing: declared ≠ actual. And it is the exact debt shape #5997's own dispatch names — nothing will ever fail to prompt the correction, because no assertion reads the docblock. Confirmed mechanically: scripts/__tests__/check-doc-snippet-types.test.ts does not reference the docblock, the word "category", or component-registry at all, so the gate stays green with the prose false indefinitely.
Scope is one paragraph of comment prose. The docblock's own convention suggests the fix is to convert it to the past-tense round record the neighbouring sentences use, naming the round that discharged it — not to delete it, since the ledger deliberately keeps the history of why each entry existed.
⛔ Not a strictness change and not a behaviour change — comment prose only.
Grep for other instances before fixing: grep -rn 'category lists\|six category' currently hits only this file.
Generated by Claude Code
Filed unassigned by the dev on #5997 (branch
claude/issue-5997-component-registry-fence-language) as an out-of-scope observation. Not folded into that PR: the #5997 dispatch fenced "the gate itself" out of scope, andscripts/check-doc-snippet-types.mjsis the shared ledger file the whole #5174 lane edits, so another claim may hold it right now.What
scripts/check-doc-snippet-types.mjs, ledger docblock, lines 317-320 onad0f5f11f:That sentence is present tense about the current tree, unlike the round-by-round entries around it ("objectui#5343 then read that list back and cleared it…"). Once #5997's PR lands, the six fences are plain markdown lists and the six
FRAGMENT_MARKERdeclarations are gone, so a reader who goes looking for them oncontent/docs/guide/component-registry.mdfinds nothing there.Why it is worth recording rather than shrugging at
Same class the ledger lane has been clearing: declared ≠ actual. And it is the exact debt shape #5997's own dispatch names — nothing will ever fail to prompt the correction, because no assertion reads the docblock. Confirmed mechanically:
scripts/__tests__/check-doc-snippet-types.test.tsdoes not reference the docblock, the word "category", orcomponent-registryat all, so the gate stays green with the prose false indefinitely.Scope is one paragraph of comment prose. The docblock's own convention suggests the fix is to convert it to the past-tense round record the neighbouring sentences use, naming the round that discharged it — not to delete it, since the ledger deliberately keeps the history of why each entry existed.
⛔ Not a strictness change and not a behaviour change — comment prose only.
Grep for other instances before fixing:
grep -rn 'category lists\|six category'currently hits only this file.Generated by Claude Code