You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Filed by the objectui#8368 dev (session_01YBWFb5YgMU5dw8p2VKj16S, PR #8387) — measured while building the retirement gate that card asked for. ⛔ Not claimed.
1. Four keys that nothing reads
Each of these occurs nowhere in the repository except its own two definition lines in packages/app-shell/src/views/metadata-admin/i18n.ts — no t() call site, no template head, no test, no doc:
Both DirectoryPage.tsx and ResourceListPage.tsx do have a package filter UI, so the likely history is that these labels outlived a rewrite of it. Deleting them is a separate call and is deliberately NOT made here — PR #8387 left them untouched, per its dispatch.
2. The instrument gap the four keys sit in
PR #8387 closes the retirement direction for engine.inspector.pageBlock.* — 171 keys, where the reader set is exactly two members (BLOCK_CONFIG positional derivation plus a literal chrome scan) and deadness is therefore mechanically decidable. The other 1489 keys of the table have no retirement instrument, and none of the repo-wide gates can grow one cheaply.
Measured on 34c22ad39:
measurement
value
ENGINE_STRINGS_EN keys
1660 (engine. 1371, designer. 178, perm. 111)
ENGINE_STRINGS_ZH keys
1715 (55 zh-only, deliberate: engine.flowNode.* and the objectui#5416 tOptional help text)
EN keys with no literal spelling in any non-test source
226 (13.6%)
of those, inside engine.inspector.pageBlock.*
0
Most of the 226 are live, reached by template heads that exist today: engine.studio.access.explain.OP (AccessExplainPanel.tsx), engine.diagnostics.severity.LEVEL (DiagnosticsPage.tsx), engine.layers.diff.STATUS (LayeredDiff.tsx), engine.list.col.KEY and engine.list.source.VALUE (ResourceListPage.tsx), engine.enum.FIELD.VALUE (i18n.ts itself), engine.flowNode.TYPE.label (translateNodeLabel). A literal-footprint gate over that corpus would cry wolf 226 times on a clean tree — objectui#4658's own ruling for the pack-side sweep, and objectui#8068's argument against an over-claiming instrument.
⇒ The honest options are not obvious, which is why this is a finding rather than a fix:
Report-only sweep, the shape scripts/check-i18n-dead-keys.mjs already uses for the packs — extend its corpus to this table with a dynamic-head leg, accept a candidate list a human triages. Enforces nothing; the four keys above would have surfaced in it.
Nothing, and keep paying the hand-written pin per rename outside pageBlock.
Dedup
Two targeted search_issues calls were run and are declared rather than hidden: metadata-admin ENGINE_STRINGS dead i18n keys retirement coverage beyond pageBlock namespace and dead unused engine.directory.allPackages packageFilter engine.list package filter i18n keys metadata-admin no reader. Nearest neighbours are objectui#4730 and objectui#4746 (both the ten-pack corpus, not this table) and objectui#4662 (this table's locale coverage, not its dead keys). No duplicate found.
Filed by the objectui#8368 dev (
session_01YBWFb5YgMU5dw8p2VKj16S, PR #8387) — measured while building the retirement gate that card asked for. ⛔ Not claimed.1. Four keys that nothing reads
Each of these occurs nowhere in the repository except its own two definition lines in
packages/app-shell/src/views/metadata-admin/i18n.ts— not()call site, no template head, no test, no doc:engine.directory.allPackagesengine.directory.packageFilterengine.list.allPackagesengine.list.packageFilterReproduce (one command per key):
Lit control on the same instrument — a key known live returns readers, so the four empty readings are a measurement and not a broken grep:
Both
DirectoryPage.tsxandResourceListPage.tsxdo have a package filter UI, so the likely history is that these labels outlived a rewrite of it. Deleting them is a separate call and is deliberately NOT made here — PR #8387 left them untouched, per its dispatch.2. The instrument gap the four keys sit in
PR #8387 closes the retirement direction for
engine.inspector.pageBlock.*— 171 keys, where the reader set is exactly two members (BLOCK_CONFIGpositional derivation plus a literal chrome scan) and deadness is therefore mechanically decidable. The other 1489 keys of the table have no retirement instrument, and none of the repo-wide gates can grow one cheaply.Measured on
34c22ad39:ENGINE_STRINGS_ENkeysengine.1371,designer.178,perm.111)ENGINE_STRINGS_ZHkeysengine.flowNode.*and the objectui#5416tOptionalhelp text)engine.inspector.pageBlock.*Most of the 226 are live, reached by template heads that exist today:
engine.studio.access.explain.OP(AccessExplainPanel.tsx),engine.diagnostics.severity.LEVEL(DiagnosticsPage.tsx),engine.layers.diff.STATUS(LayeredDiff.tsx),engine.list.col.KEYandengine.list.source.VALUE(ResourceListPage.tsx),engine.enum.FIELD.VALUE(i18n.tsitself),engine.flowNode.TYPE.label(translateNodeLabel). A literal-footprint gate over that corpus would cry wolf 226 times on a clean tree — objectui#4658's own ruling for the pack-side sweep, and objectui#8068's argument against an over-claiming instrument.⇒ The honest options are not obvious, which is why this is a finding rather than a fix:
scripts/check-i18n-dead-keys.mjsalready uses for the packs — extend its corpus to this table with a dynamic-head leg, accept a candidate list a human triages. Enforces nothing; the four keys above would have surfaced in it.pageBlock.Dedup
Two targeted
search_issuescalls were run and are declared rather than hidden:metadata-admin ENGINE_STRINGS dead i18n keys retirement coverage beyond pageBlock namespaceanddead unused engine.directory.allPackages packageFilter engine.list package filter i18n keys metadata-admin no reader. Nearest neighbours are objectui#4730 and objectui#4746 (both the ten-pack corpus, not this table) and objectui#4662 (this table's locale coverage, not its dead keys). No duplicate found.