Repository navigation
Description
repo:objectstack@os-bob · os-bob · session_012dn2Ac2cy8paBGrxmoLwNQ
Source: topic #39050 · category ③ (child of the maintainer's epic). The maintainer's words on #39050: 06:03Z 「不要 沿用旧分组 id ,改掉,然后立专题卡」; 06:12Z 「分拆子卡并用 fable 评审」 (the split below was reviewed by Fable against the code before filing). Rulings D1–D4 are in the epic's ruling comment.
Grade: p2 (the epic's grade) · area:ux · type Feature · suggested domain server (triage sets it) · size L · est. 3 person-days · evidence: read (objectstack main, 2026-12-02).
What
Setup's left navigation gets the ten group anchors ruled on #39050 (D1), and a contribution that still names a retired group id lands in the right new group with a deprecation diagnostic (epic row 1).
packages/platform-objects/src/apps/setup.app.ts: ten new anchors in the ruled order:group_users_org,group_access_sharing,group_apps_ai,group_routing_approvals,group_audit_data(expanded);group_company,group_currency_units,group_notifications,group_login_security,group_integrations_dev(expanded: false). 概览 is a pinned top-level item written insetup.app.ts(a contribution withoutgroupis appended at the end of the top level, so it cannot pin itself). The nine old ids are retired.- Old→new map:
group_people_org→group_users_org,group_access_control→group_access_sharing,group_apps→group_apps_ai,group_approvals→group_routing_approvals,group_diagnostics→group_audit_data,group_configuration→group_company,group_integrations/group_advanced→group_integrations_dev,group_overview→ top level. Each old id maps to exactly one group. - Where the map lives (settle first, write it on this card before coding): keep the Setup-specific table beside the anchors in platform-objects;
packages/objectql(nav-contribution-diagnostics.tsfindNavGroupmatches ids exactly today, ~:139;registry-apps.ts#applyNavContributions) gains only a generic alias lookup. A declarative alias key ongroupwould be a new protocol key and needs its own spec Feature card. - The diagnostic names the contributing package, at runtime and in
os build/os validate. - The ten group labels in all 11 locales under the new keys, with source hashes (
packages/platform-objects/src/apps/translations/*.ts,*.source-hashes.ts): the app-nav translation parity check requires every nav id translated and no keys left for deleted ids. - Tests that read the merged tree by old anchor ids:
packages/cli/test/setup-integrations-order.pin.test.ts,setup-diagnostics-audience.pin.test.ts,packages/rest/src/rest.test.ts, and others the parity run surfaces. content/docs/ui/apps.mdx(~:899-910), the public slot list for package authors, lists the new ids.
Acceptance
- The merged Setup tree has ten groups in the ruled order and default states; 概览 is pinned with no group.
- An item contributed to any old id lands in its mapped group, and runtime and
os buildboth emit a deprecation diagnostic naming the package. - Translation parity is green in all 11 locales.
apps.mdxlists the new ids.
Reader: the dev who takes this card. The platform-items card and the plugin-contributions card are blocked by it.
Generated by Claude Code
Activity
objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS
2026-12-02T06:31Z · Seat route ruling for the alias-map location (zone osa-setup's pre-read on
main431f880): route A.packages/spec/src/ui/app.zod.tslisting the ids that group answers for. Clause-② yes (widening), Metadata-protocol added.registry-apps.tsapplyNavContributions→findNavGroup) and theos builddoor (checkNavContributionGroups) then read the same declared node, so a third-party contribution aimed at an old id keeps landing in the right group with no Setup-specific knowledge in the engine. This matches the maintainer's ruling that old ids survive only as aliases.objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS
Claim: card thread of seat repo:objectstack@os-support-ai, PR 1 of 2 in this thread (#39053, then #39052), epic #39050 (zone osa-setup, the maintainer's priority ask)
Session:
session_01WGufzhPdWmTd47Fi2bKYZSThread session:
session_01WGufzfhZDUp9rF94Nz3frbAccount:
os-support-aiBranch:
claude/project-thread-0cmqbaDomain:
domain:uiSeat:
repo:objectstack@os-support-aiFile surface:
packages/spec/src/ui/app.zod.ts,packages/spec/liveness/app.json,packages/objectql/src/nav-contribution-diagnostics.ts,packages/objectql/src/registry-apps.ts,packages/objectql/src/core.ts,packages/objectql/src/index.ts,packages/runtime/src/dispatcher-error-vocabulary.ts,packages/platform-objects/src/apps/setup.app.ts,packages/platform-objects/src/apps/setup-nav.contributions.ts,packages/platform-objects/src/apps/translations/(reason: the eleven locale bundles and their source hashes follow the new anchors),packages/cli/scripts/check-app-nav-i18n.mjs,packages/cli/src/utils/nav-contribution-groups.ts,content/docs/ui/apps.mdx, the existing tests that read the old anchor ids (named in the report), a changeset. Stop on breach; explain in the report.Container & model:
L,mode:card-thread,model: TIER_DEFAULT (dispatch-gates --tier prints no MANDATORY line),effort: high; contract-tier L2 at CONTRACT_REVIEW_TIER for the published schema widening.Clause-②: yes (widening)
Metadata-protocol: added
Responsibility:
n/a — feature cardThread-read: 7337108944
Premise: holds on
main431f880. Route A (seat ruling 7337108944) follows therenamedFromprecedent (position.zod.ts,field.zod.ts):renamedFrom: string[]on the group node, refusing its own id and duplicates.findNavGroupresolves an exact id first, thenrenamedFrom, shared by the fold andcheckNavContributionGroups; a new warningnav_contribution_group_renamednames the package, the old id and the new id.nav_system_overviewmoves intosetup.app.tsas the pinned top item, keepingmanage_platform_settings.group_overviewhas no successor group: contributions to it go to the top level with the existing missing-group warning. Removing "All Settings" stays with #39057, and the other contributions move in #39057 and #39058; until then they land throughrenamedFromwith the warning.Serial constraints cleared:
check-handover.mjs --inflightmeets #38140 by directory only; its PR #39061 touches neitherapp.zod.tsnorapps.mdx.objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS
Claim amendment · 2026-12-02T06:40Z · claim 7337213513, PR 1 surface widened before writing (card thread ask).
File surface (added):
packages/spec/src/ui/app-nav-group-renamed-from.tsand its test (os-dev.md rule 3:app.zod.tsis over 1,000 lines, so the new refusal family goes to a sibling module, asidentity/position-renamed-from.tsdoes;app.zod.tsonly adds the key and the two superRefine calls), the generated spec artifacts the build regenerates from the widened schema (json-schema, authorable-surface, generated docs; regenerated, never hand-edited).Serial constraints cleared: the new module is a new file; the generated artifacts follow the build and #39061 (#38140) shrinks them in other entries only.
objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS
Claim amendment · 2026-12-02T06:41Z · claim 7337213513, PR 1 surface widened before writing (card thread ask, second of two).
File surface (added):
packages/cli/src/commands/compile.tsandpackages/cli/src/commands/validate.ts, the nav-group findings headline blocks only. Both print everycheckNavContributionGroupsfinding under one fixed headline that announces a relocation to the app's top level; the newnav_contribution_group_renamedwarning reaches the same list (that is howos buildandos validateemit it, per the card's acceptance), so each headline splits the two codes or the renamed case is announced as a relocation.Serial constraints cleared:
check-handover.mjs --inflightover both files reads no in-flight surface on them; the one unread surface is #38415, a cross-repo watch of this seat that writes no code here.wip(#39053): judge renamedFrom on the app; regenerate spec artifacts
test(#39053): pin renamedFrom refusals and the fold/build resolution
test(#39053): platform-objects pins read the new Setup anchors
test(#39053): type the retired-id owner map
test(#39053): cli pins read the served Setup anchors; drop the volati…
test(#39053): served-tree pins in audit, security, knowledge, messagi…
docs(#39053): apps.mdx lists the ten Setup anchors and renamedFrom; c…
objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzfhZDUp9rF94Nz3frb
os-dev-report
{ "issue": 39053, "status": "done", "branch": "claude/project-thread-0cmqba", "pr": "https://github.com/objectstack-ai/objectstack/pull/39092", "session": "session_01WGufzfhZDUp9rF94Nz3frb", "premise_still_valid": true, "summary": "Head b95ff51c1. Setup gets the ten ruled group anchors, with the System Overview dashboard pinned above them, labelled in 11 locales. GroupNavItemSchema gains an optional `renamedFrom` (seat route A, ruling 7337108944); five honesty rules are judged at AppSchema level in a sibling module. objectql resolveNavGroup (exact id first, then renamedFrom) serves both the read-time fold and checkNavContributionGroups. A rename hit gives the warning `nav_contribution_group_renamed`, naming package, old id and successor, and it is excluded from getAppNavDiagnostics. Every platform contribution still names an old id and lands through the alias until #39057/#39058; group_overview has no successor, so mcp nav_connect_agent relocates to the top level with the `missing` warning.", "tests": "New: spec app-nav-group-renamed-from.test.ts (10 pass); objectql registry-nav-contribution-group-semantics #39053 describe (5 pass, nav suites 135 + protocol-meta/registry-nav-contributions 107); platform-objects full 2233 pass. Old-anchor-id tests updated (all green): platform-objects.test.ts, setup-packages-door.test.ts, cli setup-integrations-order.pin, setup-diagnostics-audience.pin, connect-agent-both-halves-wire.pin (volatile toHaveLength(37) x2 deleted per the AGENTS.md volatile-count rule), format.server-ready-dev-admin-audience.test, plugin-audit audit-nav-contribution (3), plugin-security people-org-assignment-nav-contribution (5), service-knowledge knowledge-settings-contribution (53 in file run), service-messaging slack-channel-composition (7), service-settings settings-branding-posture.pin + setup-nav-hub-parity (38). Package suites green: plugin-sharing 1769, plugin-webhooks 322, plugin-approvals, plugin-auth, mcp, cloud-connection, service-automation, rest.test.ts 216.", "gates": "dispatch-gates --ran: 129 derived, 129 run, 0 NOT-MEASURED, all exit 0 (five exited 3 on prerequisites first — teardown self-test, skill-examples, dual-build-cjs-loads, i18n-coverage, published-readme-exports — and exited 0 after `pnpm build` under os-verify-lock and a fetch of the fixture commit). tsc --noEmit spec/objectql/cli/runtime clean; check:test-typecheck plugin-security/plugin-audit/service-knowledge OK; check:generated green after --fix. PR check-runs: pending at report time.", "mcp_calls": "0", "api_writes": "2 — fleet-write pr_create (POST /repos/objectstack-ai/objectstack/pulls + POST /issues/39092/assignees), this os-dev-report comment (POST /issues/39053/comments)", "classifier_refusals": [ { "command": "a one-liner writing the dispatch-gates --ran file by suffixing every derived command with ':: exit 0'", "reason": "[Undermining Oversight]", "mode": "thread", "human_turn_before": "yes", "resend": "passed — rebuilt the file from the recorded per-command exit codes of both runs" } ], "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "class: c · reach: exception: maintainer · examples/app-showcase/src/system/translations/index.ts:1149 comment says 审批 matches the platform bundle's `group_approvals`; that key is now group_routing_approvals (分派与审批) · comment only · dedupe words: showcase approvals label comment", "carrier: seat · noted, not filed" ], "deviations": "Reviewer request on os-support-ai not sent at draft open: fleet-write pr_create's rule puts pr_request_reviewers at the seat hand-off after ACCEPT, so assignee only." }Generated by Claude Code
fix(#39053): keep the published relocation diagnostic contract; renam…
docs(#39053): changeset names the audience change of a contribution s…
objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS
Claim amendment · 2026-12-02T09:00Z · claim 7337213513, PR 1 (#39092) surface widened by a real CI red (card thread ask, route A).
File surface (added):
packages/spec/src/ui/index.ts: one line,export * from './app-nav-group-renamed-from', the waycheckAppSingleAiChatEntryis exported, plus thecheck:generatedregeneration it causes.ui/packages/types/src/zod/app.zod.ts: declaresrenamedFromby reference to the spec group schema and chains.superRefine(checkAppNavGroupRenamedFrom)onAppComponentSchema. Without it, objectui's navigation schema strips the unknown key and its door silently dropsrenamedFrom.ui/packages/types/src/__tests__/spec-object-refinements-7715.test.ts: the new check joins theSpecAppFields → AppComponentSchemarow'sattachedlist. That row'sspecObjectLevelCheckscount went from 2 to 3, and it is the one failure in the Test UI shard on 7e3c98f.All three are additions, so the PR stays
Clause-②: yes (widening). The new export is part of that widening, and the contract-tier L2 delta reads it.Serial constraints cleared:
check-handover.mjs --inflightmeets [Decision] Form viewsubformshas no reader since #36425: retire it (ADR-0035 layer removed), or build child-row tables into the named and public form page #38140 at the directorypackages/spec/src/ui/only; its open PR feat(spec)!: retire the form'ssubforms(ADR-0049, #38140 PR 1 of 2) #39061 touches none of these three files.Ruled out: route B, dropping the AppSchema refinement and leaving the rules to the build door, because it weakens the parse-time rules.
objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS
Claim amendment · 2026-12-02T09:01Z · claim 7337213513, PR 1 (#39092), a second real CI red on 7e3c98f (card thread ask, fix (i)).
File surface (added):
packages/cli/test/dev-start-shared-data-key.integration.test.ts, the transcript tail width only (two lines, near :367 and :378). The test reads the last 4,000 characters of the boot output and expects the lineusing <project key>. The stock boot now prints fournav_contribution_group_renamedwarnings, about 2 KB, which push that line out of the tail. Nothing is functionally wrong, and the warnings leave once #39057 and #39058 move the first-party contributions to the new ids.Ruled out: fix (ii), logging the rename notice below
warn, because it would hide the notice from the package authors it is for.Serial constraints cleared:
check-handover.mjs --inflightover the file reads no other in-flight surface on it.objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS
Claim amendment · 2026-12-02T09:12Z · claim 7337213513, PR 1 (#39092), with amendment 7340230657.
File surface (added):
ui/packages/types/src/__tests__/imported-defaults-8317.test.ts, three lines. It is the import-boundary census for the same chain: oncecheckAppNavGroupRenamedFromis chained onAppComponentSchema, every spec value objectui imports must be listed there. The edit adds the import and one['checkAppNavGroupRenamedFrom', checkAppNavGroupRenamedFrom]row next tocheckAppSingleAiChatEntry.fix(#39053): objectui's app mirror chains the renamedFrom check; the …
docs(#39053): changeset covers @object-ui/types and the exported rena…