Repository navigation
feat(setup): platform-owned Setup items sit in their new groups under the new names; every old name stays searchable (#39057) - #39161
Conversation
… the new names (#39057) Claude-Session: https://claude.ai/code/session_01WGufzeZMKeDN64azVSgNLF Co-authored-by: Claude <noreply@anthropic.com>
…9057) Claude-Session: https://claude.ai/code/session_01WGufzeZMKeDN64azVSgNLF Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzeZMKeDN64azVSgNLF Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzeZMKeDN64azVSgNLF Co-authored-by: Claude <noreply@anthropic.com>
…clares the retired id (#39057) Claude-Session: https://claude.ai/code/session_01WGufzeZMKeDN64azVSgNLF Co-authored-by: Claude <noreply@anthropic.com>
…39057) Claude-Session: https://claude.ai/code/session_01WGufzeZMKeDN64azVSgNLF Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzeZMKeDN64azVSgNLF Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift CheckThis PR changes 2 package(s): 41 hand-written doc(s) name something this change touched — list omitted above 15 rows. Re-derive on the tree named below: ⛔ 16 release-owned page(s) also affected — read-only, see AGENTS.md Documentation Guardrails. What this run could not see
Coarse fallback — 12 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 8defacf7aee7fe4767223d4a50befccf890d7d9a && git checkout 8defacf7aee7fe4767223d4a50befccf890d7d9a
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin b98173cea88f0cdc9fbe1a80a6bf1214396c1472 b1624cecad0abbcd434fd33b86417d5c7a2034df && git checkout -B drift-repro b98173cea88f0cdc9fbe1a80a6bf1214396c1472 && git merge --no-ff b1624cecad0abbcd434fd33b86417d5c7a2034df
node scripts/docs-audit/affected-docs.mjs --json b98173cea88f0cdc9fbe1a80a6bf1214396c1472
|
…etup names company, localization, auth, mail, sms, ai and lifecycle now carry the same title as their Setup nav entry in all 11 locales, so the hub card, the page heading and the sidebar agree (#27854 parity). en gains title-only blocks for sms and lifecycle; the manifests are untouched. Claude-Session: https://claude.ai/code/session_01WGufzeZMKeDN64azVSgNLF Co-authored-by: Claude <noreply@anthropic.com>
The settings pages' titles and hub cards changed in the shipped @objectstack/service-settings translations, so the changeset releases that package too and says what readers see. Claude-Session: https://claude.ai/code/session_01WGufzeZMKeDN64azVSgNLF Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzeZMKeDN64azVSgNLF 2026-12-02T17:07Z · Final green head for L1:
|
Claude-Session: https://claude.ai/code/session_01WGufzeZMKeDN64azVSgNLF Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm L1 review — REWORK on
|
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm Contract-review-claim: session_01WGufzhGA3zoCFquQgku4pm · head 8de9342 · 2026-12-02T18:22Z |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm Contract reviewServed-tier: Read on this head: card #39057 (body, claim 7347722827, reports 7350917471 and 7352125469, amendment 7350990872), epic #39050 (table, ruling 7336749035 D1–D4), seat ruling 7347779833 on #39055, PR #39161 (body, file list, net diff against merge base b706ec6, 48 files).
① Derived judgments
② Semver level
Clause-②: no — agreed. ③ Boundary flags
④ Design judgment
Bundles, hashes, ledger. Labels, per-locale former labels and D4 aliases are as ①. service-settings titles and the parity test. As ①. The title-only
Findings:
No must-fix. One should-fix, S1, open on this head. Implemented-by: VERDICT: PASS |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm L1 delta — REWORK on
|
…in zh-CN and zh-Hant The pinned System Overview entry carries 总览 / 總覽 in keywords, the two locales whose entry label does not contain the former group name. The setup.app.ts comment now says so; a test pins it in every locale. Claude-Session: https://claude.ai/code/session_01WGufzeZMKeDN64azVSgNLF Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzeZMKeDN64azVSgNLF 2026-12-02T19:28Z · Round-4 green head for L1 delta:
|
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm Contract-review-claim: session_01WGufzhGA3zoCFquQgku4pm · head b1624ce · 2026-12-02T19:29Z |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm Contract reviewServed-tier: Delta record. It follows the record on
① Derived judgments
② Semver levelUnchanged: Clause-②: no — agreed. ③ Boundary flags
④ Design judgmentS1: closed
Nits carried from the earlier record, unchanged and still accepted as written there: N1 (ADR-0057's addendum names the retired id with no word that it is retired), N2 (ja-JP and ko No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm L1 delta — ACCEPT on
|
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS 席位核对ACCEPT — PR #39161 @
|
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS 维护者速读
|
…9059) Setup was regrouped into ten groups and several entries were renamed (#39092, #39161, #39202). Each Setup path that named a retired group or an old entry name now names the group and entry Setup shows on main. Claude-Session: https://claude.ai/code/session_01QSeKYnrQ7UMtHofKQVjcH2 Co-authored-by: Claude <noreply@anthropic.com>
Requested by Yibo Wang · project thread
Fixes #39057
Clause-②: no (navigation data and labels move inside the declared shape; no accept set widens, no export moves)
Metadata-protocol: none
维护者速读
docs/adr/0057-erp-authorization-core-business-units-and-scope-depth.md里的一行锚点(setup-nav.contributions.ts#group_people_org改指setup.app.ts#group_people_org,旧分组 id 仍在那里以renamedFrom声明),docs/adr/**属受管面,所以是 Tier H;行数 1764,未超 3000。须与 Command palette finds a Setup page by its old name and shows 「分组 › 页面」 on each result (#39050) #39055(⌘K 按旧名搜)同一版发布,否则改名后旧名暂时搜不到。What changes
setup-nav.contributions.ts: every platform-owned entry names one of the ten group ids directly (never a retired id, sonav_contribution_group_renamedno longer fires for these), in the epic's order. Company Information is the first entry of Users & Organization (ruling D3). Priorities leave slots for the capability plugins' entries (Plugin-contributed Setup items target the new group ids; 「审批中心」 is no longer a Setup entry (#39050) #39058): Apps & AI 100 / 300, Audit & Data 200, Company Settings 200, Notifications 200 / 400, Integrations & Developer 100 / 500; the slot plan is in the file header.keywords): each renamed platform entry carries its former source-language name on the item; each translated locale carries its former label on its bundle node (label pinned beside it). Under either reading of replace-or-add (Command palette finds a Setup page by its old name and shows 「分组 › 页面」 on each result (#39050) #39055) the data holds: the en list is on the item, each locale's own list on its node. Business Units carries Department / Organization Structure / Division, 部门 / 组织架构 / 事业部 in zh-CN (ruling D4), in all 11 locales. The seven groups withrenamedFromcarry the retired groups' former names (source list on thesetup.app.tsgroup, per-locale on the bundle node).group_overviewleft no group, so the pinned System Overview entry carries its former name: its label contains it in nine locales, and its zh-CN / zh-Hant bundle nodes list 总览 / 總覽 inkeywords.nav_settings_hubremoved from navigation and from every bundle, added to the dead-id tombstone ledger;/apps/setup/system/settingskeeps opening the hub (console route untouched, pinned byAppContent.systemHubRoutes.test.tsx).setup-platform-items-39057.test.ts(groups, order, priorities, zh-CN labels against the table, new label + former-label alias per renamed entry in 11 locales, BU aliases, group aliases, hub absence). Collateral pins updated where they read the old group ids or labels:setup-packages-door,setup-packaged-actions-nav,setup-users-nav-view,sys-exchange-rate/sys-unit/sys-standard-unit-settingobject tests, cliconnect-agent-both-halves-wireandsetup-diagnostics-audiencepins (the three former Diagnostics entries are now tracked wherever they sit), service-knowledge non-vacuity probe, service-settings hub parity (reads every group now).@objectstack/service-settingstranslations, all 11 locales,titleonly, for company, localization, auth, mail, sms, ai and lifecycle, now equal the new nav labels, so the hub card, the page heading and the sidebar agree andsetup-nav-hub-parityis green unchanged. en.ts gains title-onlysmsandlifecycleblocks (their other strings still come from the manifest literals); no manifest is touched.setup-nav.contributions.ts#group_people_orgnow points atsetup.app.ts#group_people_org, where the retired id is still declared (renamedFrom). One line;docs/adr/**makes this PR Tier H.Tests
Union on
af54fa3e(local, targeted; CI runs the farm):service-settings: 79 files, 1547 tests passed (hub parity green, unchanged); typecheck clean
pnpm --filter @objectstack/service-settings exec vitest run --maxWorkers=2: Test Files 79 passed, Tests 1547 passed.pnpm --filter @objectstack/service-settings typecheck: exit 0. knowledge-tursosettings-contribution.test.ts(reads the real settings bundles): 27 passed.platform-objects: 132 files, 2313 tests passed
pnpm --filter @objectstack/platform-objects exec vitest run --maxWorkers=2: Test Files 132 passed, Tests 2313 passed.composed pins (on e2ed19b, no platform-objects change since): cli 23, service-knowledge 53, plugin-security 5, plugin-audit 3 passed; check-app-nav-i18n OK; check:i18n OK on af54fa3
node packages/cli/scripts/check-app-nav-i18n.mjs: OK (14 contributors, 11 locales; setup 63 merged nav ids, every id labelled in every locale).pnpm check:i18n: OK (10 packages, all bundles in sync, no undeclared authoring keys).Ablation (each red, each restored, `git diff HEAD` empty)
Title change,
-- vitest run src/setup-nav-hub-parity.test.ts:{ ns: 'mail', hub: '邮件投递' });smsblock: 1 failed (en parity,ns: 'sms'), proving the en block is what overrides the manifest literal.New nav pins,
-- vitest run src/apps/setup-platform-items-39057.test.ts:group_configuration: 2 failed (retired id, order);nav_settings_hubin place of Public Forms: 3 failed incl. hub absence;Acceptance notes
nav_organization); it stays in Users & Organization, last (Q2 ruling A).labelliterals still carry the former names (smsSMS Delivery, objectql lifecycleData Lifecycle, and company / localization / auth / mail / ai). They are no longer what any locale shows, since en.ts now carries every title, but a reader of a manifest sees the old name. Manifests were fenced off (Setup › 邮件投递 shows Provider = SMTP while its own banner says no mail leaves (the live transport is the dev log) #39044 holdsmail.manifest.ts); for the manifest owners.setup.app.ts, outside this card's fence), and plugin entries 浏览应用市场 vs 应用市场, 品牌 vs 品牌外观, 审批委派(外出)vs 审批委派. 权限集 in row 2 has no entry on main (nav_permission_setsis tombstoned). For Plugin-contributed Setup items target the new group ids; 「审批中心」 is no longer a Setup entry (#39050) #39058 and the maintainer.withSourceFallbackserves English for it.AppContent.tsx's docblock still namesnav_settings_hubas the declared landing; the route is unchanged (fenced off).Verification
Two minutes:
pnpm --filter @objectstack/platform-objects exec vitest run src/apps/setup-platform-items-39057.test.tsshould report 26 passed. Read first:setup-nav.contributions.ts(group ids and priorities),translations/zh-CN.ts(setup block),service-settings/src/translations/en.ts(the two title-only blocks).🤖 Generated with Claude Code
https://claude.ai/code/session_01WGufzeZMKeDN64azVSgNLF