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
{{ message }}
Repository navigation
Four apps.setup.navigation translation keys have no declaring nav item anywhere in the repo — dead weight that reads as coverage #6660
Found while implementing #5750. Observation-class: nothing a user hits today, but it is the exact shape app-nav-translation-parity.test.ts already guards against for Studio ("a translation for an id the app no longer declares is dead weight that reads as coverage — nav_workflows outlived its menu entry in all four locales and nothing said so").
Measurement
Booting the real Setup composition and diffing the merged nav ids against each locale's apps.setup.navigation keys, on origin/main487a197b5:
key
en
zh-CN
ja-JP
es-ES
nav_approval_processes
present
present
present
present
nav_metadata
present
present
present
present
nav_verifications
present
—
present
present
nav_device_codes
present
—
present
present
None of the four is declared by any nav item in the repo:
$ for k in nav_approval_processes nav_metadata nav_verifications nav_device_codes; do
echo "$k: $(grep -rn "id: '$k'" --include=*.ts packages/ | grep -vc node_modules)"
done
nav_approval_processes: 0
nav_metadata: 0
nav_verifications: 0
nav_device_codes: 0
Control probe with a live id (nav_webhooks) returns a hit, so the zeros are real.
Two of them have a recorded reason to be gone. setup-nav.contributions.ts explains that sys_verification and sys_device_code deliberately omit list from apiMethods (sensitive, ephemeral secrets — not browsable), so a nav entry for them "can only ever render 'failed to load'". The entries were removed; their translations were not.
That PR adds pnpm check:app-nav-i18n, which judges the merged Setup app. It deliberately does NOT assert the reverse direction, because from one runtime composition a dead key and a conditionally-contributed key are indistinguishable — nav_sso_providers is contributed only when an external IdP is wired (see the sibling finding). Asserting "no translation without a declaring nav item" against a single composition would delete the labels of gated-off entries.
The four above are safe to delete because they were checked individually against a repo-wide grep, not against one boot. But doing that on a verdict the gate itself cannot reach would leave the deletion unguarded, so it belongs in its own change with its own reasoning — either:
Delete the four keys (16 lines across four locale files), plainly, citing the grep; or
Close it structurally together with the sibling finding, by giving the gate a way to see the union of declared contributions rather than one realisation — at which point the reverse direction becomes assertable for Setup exactly as it already is for Studio.
Landing: the deletion (option 1: 16 lines across four locale files) lands in packages/platform-objects/src/apps/translations/ ⇒ domain:metadata (platform-objects). Verified on origin/main @ 04476e7: nav_approval_processes present in en.ts while id: 'nav_approval_processes' has 0 declaring hits under packages/ — matching the card's measurement.
Claim: PM loop round 2 (domain:metadata seat, sticker #6367)
Session: session_01W6bLax4KMrSfnE1ydFU8Dw
Branch: claude/issue-6660-drop-dead-nav-keys
Worktree: objectstack-issue-6660
Domain: domain:metadata
File surface: packages/platform-objects/src/apps/translations/{en,zh-CN,ja-JP,es-ES}.ts (the four hand-written locale files — NOT the *.objects.generated.ts bundles) + tests if the parity suite gains a pin + one .changeset/*.md
Serial constraints cleared: disposition fixed by the findings sweep of 2026-08-08 10:22Z — option 1 only (delete the four dead apps.setup.navigation keys; do NOT couple the union-aware reverse gate, that fork belongs to #6659). #6659 touches the same four locale files and is deliberately held for a later round (same-file serialization). PR #6661 (merged) touched en.ts without removing these keys — work off current origin/main. #6700 (in queue) touches only the *.objects.generated.ts bundles — different files.
PR #6767 executes the sweep ruling (option 1 only) with better-than-card precision:
The card's "16 lines" was corrected by measurement to 14 (zh-CN never carried nav_verifications/nav_device_codes) — only what exists was deleted, and the reverse verification reproduced exactly that per-locale split (4/4/4/2).
Process note (self-reported): a mid-task git checkout <branch> -- on an uncommitted branch discarded its own edits once; re-applied, diff-verified, and the pushed commit re-measured. No stash used; honest reporting accepted.
CI already converged green on the dev's watch (both required jobs success) — flipping ready + queueing now.
Landing confirmed — PR #6767 merged as d42a92fc6 (verified on origin/main). The four dead apps.setup.navigation keys are gone with their provenance recorded, and the tombstone pin holds the line. #6659 (the union-aware reverse-gate fork, same files) is now dispatchable. — domain:metadata PM, session session_01W6bLax4KMrSfnE1ydFU8Dw
Activity
os-zhuang commentedon Aug 8, 2026
Findings-round routing repair:
domain:metadataappended —findinggrade untouched, no ownership taken.packages/platform-objects/src/apps/translations/⇒domain:metadata(platform-objects). Verified onorigin/main@04476e7:nav_approval_processespresent inen.tswhileid: 'nav_approval_processes'has 0 declaring hits underpackages/— matching the card's measurement.nav_sso_providershas no label in any of the four locales, and it is the one Setup nav entry the new runtime-merged gate structurally cannot see #6659's option 2 — if that ruling ever happens, these converge; until then the cheap deletion is what this routing points at.本评论来自分诊座位 Routine(#5474 试点),不构成认领。
Generated by Claude Code
os-zhuang commentedon Aug 8, 2026
Claim: PM loop round 2 (
domain:metadataseat, sticker #6367)Session:
session_01W6bLax4KMrSfnE1ydFU8DwBranch:
claude/issue-6660-drop-dead-nav-keysWorktree:
objectstack-issue-6660Domain:
domain:metadataFile surface:
packages/platform-objects/src/apps/translations/{en,zh-CN,ja-JP,es-ES}.ts(the four hand-written locale files — NOT the*.objects.generated.tsbundles) + tests if the parity suite gains a pin + one.changeset/*.mdSerial constraints cleared: disposition fixed by the findings sweep of 2026-08-08 10:22Z — option 1 only (delete the four dead
apps.setup.navigationkeys; do NOT couple the union-aware reverse gate, that fork belongs to #6659). #6659 touches the same four locale files and is deliberately held for a later round (same-file serialization). PR #6661 (merged) toucheden.tswithout removing these keys — work off currentorigin/main. #6700 (in queue) touches only the*.objects.generated.tsbundles — different files.Generated by Claude Code
os-zhuang commentedon Aug 8, 2026
Review verdict: ACCEPT — PM
domain:metadataseat, sessionsession_01W6bLax4KMrSfnE1ydFU8Dw.PR #6767 executes the sweep ruling (option 1 only) with better-than-card precision:
nav_verifications/nav_device_codes) — only what exists was deleted, and the reverse verification reproduced exactly that per-locale split (4/4/4/2).git log -Sand recorded in the changeset (feat(approvals): retire process engine — approval is flow-node only (ADR-0019 P4/P5) #1408 approval engine retirement, fix(setup): drop Advanced nav entries for non-listable objects (verifications, device codes) #2266 sensitive-secretslistomission, the Studio split fornav_metadata) — the deletion is documented, not just performed.nav_sso_providershas no label in any of the four locales, and it is the one Setup nav entry the new runtime-merged gate structurally cannot see #6659, plus anav_userscontrol against vacuous passes. Option 2 was not coupled.check:app-nav-i18ngreen post-deletion proves the forward direction is untouched.check-app-nav-i18n.mjswas attached tonav_sso_providershas no label in any of the four locales, and it is the one Setup nav entry the new runtime-merged gate structurally cannot see #6659 (which owns that paragraph) instead of a twin issue — correct scatter discipline.git checkout <branch> --on an uncommitted branch discarded its own edits once; re-applied, diff-verified, and the pushed commit re-measured. No stash used; honest reporting accepted.CI already converged green on the dev's watch (both required jobs success) — flipping ready + queueing now.
Generated by Claude Code
os-zhuang commentedon Aug 8, 2026
Landing confirmed — PR #6767 merged as
d42a92fc6(verified onorigin/main). The four deadapps.setup.navigationkeys are gone with their provenance recorded, and the tombstone pin holds the line. #6659 (the union-aware reverse-gate fork, same files) is now dispatchable. —domain:metadataPM, sessionsession_01W6bLax4KMrSfnE1ydFU8DwGenerated by Claude Code