Found while implementing objectui#6776. Observational: nothing is broken, no gate
fails, and the ledger entry itself is correct — only the reason text next to it is wrong.
Filed unassigned, recording only.
The claim
scripts/vite-declared-lazy-views.ts, in the docblock for
DECLARED_LAZY_VIEWS_STILL_EAGER's views/metadata-admin/index.ts entry:
packages/app-shell/src/index.ts — the package barrel, which
re-exports eleven runtime values from it (registerMetadataPreview,
useMetadataClient, …). The console's entry imports that barrel.
What the file actually contains
Counted on b98352a15 (the commit the entry is measured on) and again on
c6732825d, both identical — packages/app-shell/src/index.ts has TWO adjacent
re-export blocks naming ./views/metadata-admin/index.js:
| block | names | holds the module eager? |
|---|
export { … } (runtime, lines 308-334) | 25 | YES — a static edge each |
export type { … } (lines 335-353) | 11 | NO — erased at build |
So "eleven" is the count of the type-only block, attached to the word
"runtime". The three names the sentence gives as examples (registerMetadataPreview,
useMetadataClient, getMetadataInspector) are all from the 25-name RUNTIME block,
so the examples and the count come from different blocks.
Why it is worth correcting rather than shrugging at
The error points at the one block that provably cannot hold anything eager. A
export type re-export contributes zero static edges — it is gone before rolldown
sees the graph. An implementer who takes the docblock at its word goes looking for
eleven names to repoint and finds a block whose removal changes nothing, while the
25 runtime names that actually hold the 144-module chunk are not what was described.
It has already propagated once: objectui#6776's body carries the same sentence
verbatim ("eleven runtime values re-exported"), because that card was written from
this docblock. That is two readers of one wrong number, which is the shape the
surrounding file is otherwise careful about.
The two directions the ledger checks, the entry itself, and the 172,651 B / 144-module
measurement are all unaffected — only this sentence is.
Suggested repair
State both counts and their difference in kind, since the difference is the load-bearing
part: 25 runtime re-exports (each a static edge) plus 11 type-only re-exports (erased,
no edge). Same fix in objectui#6776's body if it is still open.
Generated by Claude Code
Generated by Claude Code
Found while implementing objectui#6776. Observational: nothing is broken, no gate
fails, and the ledger entry itself is correct — only the reason text next to it is wrong.
Filed unassigned, recording only.
The claim
scripts/vite-declared-lazy-views.ts, in the docblock forDECLARED_LAZY_VIEWS_STILL_EAGER'sviews/metadata-admin/index.tsentry:What the file actually contains
Counted on
b98352a15(the commit the entry is measured on) and again onc6732825d, both identical —packages/app-shell/src/index.tshas TWO adjacentre-export blocks naming
./views/metadata-admin/index.js:export { … }(runtime, lines 308-334)export type { … }(lines 335-353)So "eleven" is the count of the type-only block, attached to the word
"runtime". The three names the sentence gives as examples (
registerMetadataPreview,useMetadataClient,getMetadataInspector) are all from the 25-name RUNTIME block,so the examples and the count come from different blocks.
Why it is worth correcting rather than shrugging at
The error points at the one block that provably cannot hold anything eager. A
export typere-export contributes zero static edges — it is gone before rolldownsees the graph. An implementer who takes the docblock at its word goes looking for
eleven names to repoint and finds a block whose removal changes nothing, while the
25 runtime names that actually hold the 144-module chunk are not what was described.
It has already propagated once: objectui#6776's body carries the same sentence
verbatim ("eleven runtime values re-exported"), because that card was written from
this docblock. That is two readers of one wrong number, which is the shape the
surrounding file is otherwise careful about.
The two directions the ledger checks, the entry itself, and the 172,651 B / 144-module
measurement are all unaffected — only this sentence is.
Suggested repair
State both counts and their difference in kind, since the difference is the load-bearing
part: 25 runtime re-exports (each a static edge) plus 11 type-only re-exports (erased,
no edge). Same fix in objectui#6776's body if it is still open.
Generated by Claude Code
Generated by Claude Code