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
organization setup: 岗位成员 vs 岗位持有人 naming, and a new employee lands in the demo app instead of their work app #39408
The Setup navigation calls the entry 岗位成员 (packages/platform-objects/src/apps/translations/zh-CN.ts:66, which keeps 岗位持有人 as a search keyword). The page it opens is titled 岗位持有人:
ui/packages/app-shell/src/views/metadata-admin/PositionHoldersSection.tsx:116 and :132.
So the rename reached the menu but not the page. A new admin clicking 岗位成员 lands on a page with a different name and wonders whether it is the same thing. The page and its messages should use the menu's term.
2. A new employee's first sign-in lands in the demo app
An admin creates a work app (设备报修), a position, a permission set granting that app's object, and a new user (李工) holding the position. On 李工's first sign-in, the console opens the showcase demo app, not 设备报修, which is the only app they were set up to use. They have to find it in the app switcher.
Expected: the landing app for a user with no last-visited app prefers an app the user's permissions actually grant. An admin-set default app per position or permission set would also work. The app installed first, or a demo app, is the wrong default.
(Found on the showcase app, which ships demo apps. A real tenant with several installed packages has the same problem.)
Triage: lands in area:ux · domain:ui · Feature · p2 · pm:queue · size S, touched 2026-12-03T23:17Z. Rationale: the filer's area and grade stand. One concept carries two names, and a new employee lands in the demo app instead of their work app. Issue type set to Feature.
Grade: area:ux · Feature · p2 · new organizations and their employees · read (new-company walkthrough).
Claim: PM loop round 1 · 2026-12-03T23:50Z
Session: session_016WV4d1cnRvyiAqrarmDhZV
Account: os-elon-musk
Area: em-admin
Branch: claude/issue-39408-positions-landing-app
Worktree: objectstack-issue-39408
Domain: domain:ui
Seat: repo:objectstack@os-elon-musk
File surface: ui/packages/i18n/src/locales/zh-Hans.ts (positionsTitle and the position-holder messages), ui/packages/app-shell/src/views/metadata-admin/PositionHoldersSection.tsx, ui/packages/app-shell/src/utils/homePath.ts, ui/packages/app-shell/src/hooks/useHomePath.ts, new test files named for this card. packages/platform-objects/src/apps/translations/zh-CN.ts only if the menu term itself must change (it should not: the page follows the menu). Stop on any other breach and explain in the report.
Container & model: M, mode:subagent, model: default (dispatch-gates --tier at 5c00c572: "no path-derived mandate"; landing-app choice logic), effort: high (M card)
Clause-②: no
Metadata-protocol: none
Responsibility: platform console code in this repo; every new user with no last-visited app on a tenant with several apps reaches item 2, every admin opening 岗位成员 reaches item 1.
Thread-read: 7395356423
Premise: holds for item 1 per the card's readings (zh-Hans.tspositionsTitle, PositionHoldersSection.tsx:116/:132); item 2 is measured by the dev in homePath.ts / useHomePath.ts before editing.
Pre-claim lane: ui/** ⇒ domain:ui. Seat ruling on the lease (2026-12-03T23:45Z, seat repo:objectstack@os-elon-musk): this card is claimed with its out-of-ui files named at file level; the zone lease stays the ui tree. Item 2 route: the card's first Expected only (prefer an app the user's permissions grant); if that needs a new admin-set default app or any new metadata key, it is a product choice and comes back to the seat before code.
Pre-claim deps: none named by the card.
Prior rulings read: check-prior-rulings.mjs --card 39408: card thread 0 rulings (1 triage comment).
Serial constraints cleared: zh-Hans.ts: ordinary concurrency with this zone's other copy cards (different keys); the dev re-runs overlap-check.mjs before each push.
Claim: PM loop round 1 · 2026-12-04T00:19Z · re-posted: supersedes claim 7396071816 for the branch name only (project rule: cloud sessions push only claude/issue-N-wip); every claim amendment on this card still stands
Session: session_016WV4d1cnRvyiAqrarmDhZV
Account: os-elon-musk
Area: em-admin
Branch: claude/issue-39408-wip
Worktree: objectstack-issue-39408
Domain: domain:ui
Seat: repo:objectstack@os-elon-musk
File surface: ui/packages/i18n/src/locales/zh-Hans.ts (positionsTitle and the position-holder messages), ui/packages/app-shell/src/views/metadata-admin/PositionHoldersSection.tsx, ui/packages/app-shell/src/utils/homePath.ts, ui/packages/app-shell/src/hooks/useHomePath.ts, new test files named for this card. packages/platform-objects/src/apps/translations/zh-CN.ts only if the menu term itself must change (it should not: the page follows the menu). Stop on any other breach and explain in the report.
Container & model: M, mode:subagent, model: default (dispatch-gates --tier at 5c00c572: "no path-derived mandate"; landing-app choice logic), effort: high (M card)
Clause-②: no
Metadata-protocol: none
Responsibility: platform console code in this repo; every new user with no last-visited app on a tenant with several apps reaches item 2, every admin opening 岗位成员 reaches item 1.
Thread-read: 7396071816
Premise: holds for item 1 per the card's readings (zh-Hans.tspositionsTitle, PositionHoldersSection.tsx:116/:132); item 2 is measured by the dev in homePath.ts / useHomePath.ts before editing.
Pre-claim lane: ui/** ⇒ domain:ui. Seat ruling on the lease (2026-12-03T23:45Z, seat repo:objectstack@os-elon-musk): this card is claimed with its out-of-ui files named at file level; the zone lease stays the ui tree. Item 2 route: the card's first Expected only (prefer an app the user's permissions grant); if that needs a new admin-set default app or any new metadata key, it is a product choice and comes back to the seat before code.
Pre-claim deps: none named by the card.
Prior rulings read: check-prior-rulings.mjs --card 39408: card thread 0 rulings (1 triage comment).
Serial constraints cleared: zh-Hans.ts: ordinary concurrency with this zone's other copy cards (different keys); the dev re-runs overlap-check.mjs before each push.
{
"issue": 39408,
"status": "needs_decision",
"branch": "claude/issue-39408-wip",
"pr": "https://github.com/objectstack-ai/objectstack/pull/39452",
"session": "session_016WV4d1cnRvyiAqrarmDhZV",
"premise_still_valid": true,
"summary": "Item 1 shipped as draft PR 39452 (Refs, item 1 only): the zh-Hans page frame (setupAssignments positionsTitle, positionsSubtitle, positionsPick) and PositionHoldersSection's zh copy (title, add, empty, removeBody, loadFailed) now use the menu term 岗位成员; English copy, the picker's organization-member lines and the navigation pack are unchanged. Item 2 is returned as needs_decision: on origin/main 4eca9da0 the desktop landing (resolveDesktopLandingPath in apps/console RootLandingRedirect, mirrored by resolveDesktopHomePath) picks last app, then isDefault, then the first visible product app of the list narrowed by GET /me/apps, which drops only tabPermissions-hidden apps and apps whose requiredPermissions the caller lacks. On the showcase every member holds the everyone baseline set, which grants read on the demo app's navigation objects by design, and /auth/me/permissions returns a merged object map with no per-set source, so the client has no signal separating the position-granted work app from the baseline-granted demo app; the landing is also decided in apps/console, outside the file surface. Branch moved to claude/issue-39408-wip on the PM's correction; the first branch claude/issue-39408-positions-landing-app still exists on the remote at 8995d636 (probe plus one commit) and waits for deletion by the seat.",
"tests": "At head 16e6dcfc: pnpm --dir ui exec vitest run --maxWorkers=2 on positionsMenuTerm-39408.test.ts, PositionHoldersSection.confirmAndMembers-13337.test.tsx, all-locales-key-parity.test.ts: Test Files 3 passed (3), Tests 61 passed (61), lock VERDICT command-exit 0. Ablation: both edited files restored to merge base 4eca9da0, new file red, Tests 3 failed 1 passed (4), VERDICT command-exit 1; restored from HEAD, tree clean. pnpm turbo run type-check --filter=@object-ui/i18n --filter=@object-ui/app-shell: 74 successful, app-shell type-check cache miss (ran), VERDICT command-exit 0.",
"gates": "Local: all 37 runnable families of dispatch-gates --commands at head 16e6dcfc recorded exit 0 (exit captured per command before any pipe); pnpm --dir ui exec vitest run scripts/ NOT-MEASURED (shared lock, CI Test UI). dispatch-gates --ran: 38 derived accounted, 37 run, 1 NOT-MEASURED, 0 UNRUN, exit 0. Outside derivation: pnpm check:changeset-fixed exit 0, ui check:test-path-roots exit 0, overlap-check clean vs origin/main and PRs 39433, 39425, 39063. PR check-runs at first read: success for Check Changeset, Check PR Size, Governed Surface Queue Guard, Test Core, Live E2E UI, Dogfood Regression Gate, Lint ESLint / docs and code guards / repo and tooling gates / PM dispatch-gates / scoped jobs, Type Check workspace / consumer gates / debt ledger, PR-body guards; in progress: Test UI 1-16, Type Check UI, Lint UI, Build and E2E UI, Type Check source gates, Lint CI release and engine gates. Report not held for CI.",
"mcp_calls": "0",
"api_writes": "2 relay strokes: pr_create (POST /repos/objectstack-ai/objectstack/pulls, POST /repos/objectstack-ai/objectstack/issues/39452/assignees); this report comment (POST /repos/objectstack-ai/objectstack/issues/39408/comments). git pushes (not REST): probe to claude/issue-39408-positions-landing-app, one commit there, two pushes to claude/issue-39408-wip.",
"classifier_refusals": [],
"open_questions": [
{
"question": "Item 2: how should the console know which app a new employee's permissions actually grant, so the first landing prefers it over a demo app the everyone baseline also opens?",
"options": [
"A: server signal. GET /me/apps marks each app it lists with whether a set the caller holds beyond the everyone baseline (via a position or a direct assignment) grants read on an object in its navigation or a visible tab; both landing resolvers prefer a marked app before the first product app. Cost: an additive response field on /me/apps (an API shape change, plugin-hono-server), plus apps/console and app-shell resolver edits and the parity test; size M.",
"B: client-only weak signal. Prefer an app whose merged tabPermissions is visible or default_on. No contract change, size S, but does not fix the card's own scenario: the admin granted an object, not a tab.",
"C: admin-set default app per position or permission set (the card's second Expected). New metadata key, Metadata-protocol added; excluded by this dispatch."
],
"recommendation": "A, because it is the only option that separates the position-granted work app from the baseline-granted demo app with what the server already resolves, keeps one answer for both landing surfaces, and adds no authorable metadata."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted in PR Acceptance notes, not filed: zh-Hant has the same mismatch (menu 職位成員, page frame 崗位持有人 in zh-Hant setupAssignments positions strings); source reading only, no live run, reach not measured · dedupe words: zh-Hant 崗位持有人, 職位成員, positionsTitle zh-Hant",
"carrier: none · noted, not filed: Studio position list column engine.list.col._holderCount reads 持有人数 in studio zh namespace; naming only · dedupe words: 持有人数, holderCount zh"
],
"deviations": "Commit trailer pair written model-free (Claude-Session plus Co-authored-by Claude) because the pre-push check:commit-card-trailers refused the harness-supplied model-named trailer; the refused commit was amended before any push. PR footer kept to the AGENTS session-URL form only. The PM's branch correction names claude/issue-39408-wip; os-dev rule 5 forbids a PR from a backup -wip branch of form claude/issue-N-slug-wip, which this name is not, so the PR was opened from it as ordered. A render pin for PositionHoldersSection would belong in its shared harness file (outside the file surface), so the new test reads the section's zh copy block as source text instead.",
"files_changed": [
".changeset/39408-position-members-page-term.md",
"ui/packages/app-shell/src/views/metadata-admin/PositionHoldersSection.tsx",
"ui/packages/app-shell/src/views/setup/positionsMenuTerm-39408.test.ts",
"ui/packages/i18n/src/locales/zh-Hans.ts"
],
"line_budget": "94 changed lines (+86 / -8) vs human-merge threshold 3000: under"
}
Card #39408 item 2, from a new-company walkthrough: the admin builds a work app, a position, a permission set that grants the app's object, and a user who holds the position. The user's first sign-in opens the showcase demo app. The dev report (comment 7397489350) returned the item as needs_decision with options A, B, C and recommended A. Draft PR #39452 covers item 1 only. Source read at origin/main55d673c; nothing was run in a browser for this analysis.
Governing text
packages/spec/src/security/permission.zod.ts (tabPermissions docblock): "Controls which app tabs are visible, hidden, or set as default for this permission set."; describe: "default_on (shown by default), default_off (available but hidden initially)".
content/docs/permissions/permission-metadata.mdx: "Only hidden currently affects runtime behavior … The per-user toggle / default-off semantics implied by default_on/default_off are not yet implemented."
ADR-0049 (enforce-or-remove): a property that parses and is not enforced must be enforced, marked experimental, or removed.
packages/spec/src/ui/app.metadata-form.ts: the app form's isDefault help text is "Make this the default app for new users"; RootLandingRedirect.tsx header: "this gives isDefault ROUTING semantics".
ADR-0086 boundary table: "tabPermissions | metadata | UI-surface grant riding the set. | SF tab visibility on profile/set".
No text rules on which app a member with no last app lands in beyond "declared default, else first product app". Searched: git grep -n -i "default_on\|defaultApp\|homeApp\|landingApp" origin/main -- packages/spec/src docs/adr AGENTS.md.
Protocol
A adds a field to the GET /me/apps response (API shape, additive). B changes nothing declared. C adds an authorable key (Metadata-protocol: added). D changes the meaning of an existing accepted value (Metadata-protocol: semantic) and adds no key. No option removes anything an author can write.
Premises (each with a re-check)
Desktop landing order is last app, then the app declaring isDefault, then the first visible product app: git show origin/main:ui/apps/console/src/components/RootLandingRedirect.tsx | sed -n 221,233p; the chrome's Home mirrors it: git show origin/main:ui/packages/app-shell/src/utils/homePath.ts | sed -n 126,137p.
/me/apps drops only apps a held set marks hidden and apps whose requiredPermissions the caller lacks: git show origin/main:packages/plugins/plugin-hono-server/src/current-user-endpoints.ts | sed -n 1438,1444p.
default_on is accepted, merged and served, and changes nothing: git grep -n "default_on" origin/main -- content/docs/permissions/permission-metadata.mdx (lines 165 and 168); the only reader of a value is the hidden filter in premise 2.
Studio's permission-set editor already offers the value as 「默认开启」: git grep -n "perm.tabs.vis.default_on" origin/main -- ui/packages/i18n/src/namespaces/studio/zh.ts; git grep -n "TAB_VISIBILITIES" origin/main -- ui/packages/app-shell/src/views/metadata-admin/PermissionAdvancedFacets.tsx.
The merged per-app value already reaches the client on /auth/me/permissions: git show origin/main:packages/spec/src/api/auth.zod.ts | sed -n 199,201p.
The merge ranks visible (3) above default_on (2), so a baseline set that says visible hides a position set's default_on: git grep -n "default_off: 1, default_on: 2, visible: 3" origin/main -- packages/plugins/plugin-hono-server/src/current-user-endpoints.ts packages/core/src/security/resolve-authz-context.ts (three sites).
An app-wide default already exists and is authorable in the app form: git grep -n "isDefault" origin/main -- packages/spec/src/ui/app.metadata-form.ts. No example app declares it: git grep -n "isDefault: true" origin/main -- 'examples/*/src' | grep -v -i "flow\|page" → 0 lines.
The card thread carries no ruling: gh api repos/objectstack-ai/objectstack/issues/39408/comments --jq length → 4 (triage, two claims, the dev report).
Two statements in the dev report do not hold as written. "The client has no signal" is true only for an inferred signal: a declared per-set value (default_on) is already authorable, merged and served (premises 3 to 5), and an app-wide default already routes (premise 7). And option C does not need a new key for the per-permission-set half of the card's Expected: the value exists.
The question in one sentence
When several apps are open to a new employee, who decides which one their first sign-in opens: the platform by guessing, or the admin by saying so?
Options × real cost × workload
What
What the customer sees
Workload
A
The server marks, on /me/apps, apps reached through a set the caller holds beyond the everyone baseline; both landing resolvers prefer a marked app.
李工 lands in 设备报修 with no extra admin step. A member with two position-granted apps, or a company that grants its work app to everyone, still lands on the first installed app, and nobody can see why.
Enforce the declared value: an app a held set marks default_on is where its holders land when they have no last app; default_on outranks visible in the merge; the Studio option is worded for what it does.
The admin sets 设备报修 to 「默认进入」 in the position's permission set; every holder's first sign-in opens it. The option admins can already pick starts working. Without that step the landing is today's.
domain:spec/server + domain:ui · 2 PRs · #36738 +1735/−168 (resolvers and parity test); the three-site rank change has no landed precedent (无先例)
Business translation. A: the receptionist guesses which office a new hire belongs to from their badge; usually right, never explained. B: repainting the lobby sign. C: adding a second form for a question the first form already asks. D: HR writes the office on the badge, on the form that already has the box.
Four axes (business stance)
Long-term fit (①): End state two years out: landing order is last app, then the default app of the member's own audience, then the company-wide default, then the first app that is theirs. Salesforce models exactly this: a profile's app settings carry Visible and Default, and a new user opens the profile's default app. Odoo lets the admin set a home action per user; Dynamics 365 and ServiceNow decide which apps a role sees and leave nothing to inference. No mainstream platform infers a landing from which grants are "beyond the baseline". D is that end state and removes a declared-but-inert value; C reaches it with a duplicate key; A adds a wire field that encodes a guess, which later has to coexist with the declared default anyway.
Real business need (②): Measured once, in the walkthrough the card reports; every first sign-in of every new member hits it where more than one app is open to them. A serves it with zero admin steps; D serves it with one admin step that the product must make easy to find. The app-wide default (premise 7) already serves a company with one work app, and the walkthrough does not say whether it was tried.
AI-error-proofing (③): When A guesses wrong the member lands in the wrong app silently, and neither the admin nor an agent that authored the app can read the reason off any metadata. Under D the answer is one declared value on one permission set: inspectable, testable, and the same closed enum the editor already draws. An agent that writes default_on today declares something the runtime ignores; D ends that.
Startup focus (④): D adds no key and no API field and turns one inert value live. A adds a public response field; C adds a permanent key. default_off stays inert under D and is named below, not fixed here. No option needs a new gate.
os-decision-facets
① Long-term fit: D makes the admin's declared per-audience default the answer, as a Salesforce profile's default app does, and retires a declared-but-inert value; A adds a wire field for an inference no mainstream platform models; C duplicates a value that exists.
② Business pull: one measured walkthrough, every new member's first sign-in; A needs no admin step, D needs one; the app-wide default already covers a one-app company.
③ AI-error-proofing: A fails silently (wrong app, no readable reason); D is a closed enum value that is either set or not; today an agent writing default_on declares a no-op.
④ Startup focus: D adds nothing declared; A adds an API field; C adds a key; default_off remains inert and is out of scope.
Prior rulings read: isdefault,tabpermissions,default_on,landing → 6 hits; ADR-0006 D3, ADR-0120 D6, ADR-0125 D1, ADR-0131 D3, ADR-0146 D7 (none rules on the landing app; read: ADR-0049, ADR-0086 boundary table, ADR-0090 D5, the #35881 and #36732 rulings quoted in the resolver); thread: none; repo: objectstack-ai/objectstack
Recommendation: D
Self-check: 只看①选 D;②③④ 是否翻转:否。
This differs from the dev's recommendation (A). Workloads of A, C and D read alike (about two PRs each), so no cost gap decides anything here.
Not taken. A: a guess on a public response field; right in the walkthrough, silent when wrong, and it would still need D beside it. B: does not change what the member sees. C: a second spelling of "this set's default app" while the first one is declared and inert.
Sub-questions, settled with the letter:
Order: last app, then the first visible app whose merged value is default_on, then the app declaring isDefault, then the first visible product app. Several default_on apps: the first in served order, as several isDefault apps resolve today.
Per position: a position distributes permission sets, so the set-level value covers "per position"; no position key.
default_off: unchanged, still equal to visible. Whether it is retired under ADR-0049 is a separate enforce-or-remove question and is not opened by this ruling.
Phone: unchanged (it keeps the declared landing and its app list).
Confidence gaps. (a) Nothing was run: the walkthrough's state (whether the admin ticked the app's default box) is not known, and premise 7 is read from source only. (b) D asks the admin for one step; how discoverable the option is in the permission-set editor was not measured, and if the maintainer wants zero admin steps that is A's one real advantage. (c) Platform comparisons are from product knowledge, not re-read today. (d) Whether the merged value is in hand at both resolver call sites before the first paint was not traced; it is the dev's first premise below. None moves the letter.
Execution after the ruling
D: the seat files one domain:spec card at this card's priority (p2) and keeps item 2 on organization setup: 岗位成员 vs 岗位持有人 naming, and a new employee lands in the demo app instead of their work app #39408 for the ui half, Blocked-by: the spec card. Spec/server card: the tabPermissions docblock and describe say what default_on does; the three rank tables put default_on above visible; permission-metadata.mdx and the navigation skill rule follow; changeset declares Metadata-protocol: semantic. UI half: both landing resolvers read the merged value (parity test extended), the Studio option's label says "opens by default" in every locale that translates it. Premise the dev verifies first: the merged map from /auth/me/permissions is available where both resolvers run. Ban: if it is not, report a fork; no new response field and no fallback to A.
A: the seat files a domain:server card for the /me/apps field (API shape, contract-tier review) and the ui half follows it; the field's name and the definition of "beyond the baseline" come back for one more ruling line.
B: not dispatched; it does not meet the card's Expected.
C: a domain:spec card with Metadata-protocol: added, and the same ruling says what happens to default_on (enforce-or-remove).
Ruled: 2026-12-04T01:32Z · item 2 (new employee lands in the demo app): the maintainer tapped 「权限集「默认开启」生效」 at 2026-12-04T01:30:00Z on the project decision card. That is option D of the analysis in comment 7397842715 (not the dev report's A): the existing per-permission-set tabPermissions[app]'default_on' becomes the holder's first-landing app. Follow-up card: #39476 (pm:queue). This card's other items continue on its open PR.
Claim: PM loop round 1 · 2026-12-04T01:39Z · re-posted: supersedes re-posted claim 7396658772 for the file surface only (narrowed to what the PR delivers); branch and every other line still stand
Session: session_016WV4d1cnRvyiAqrarmDhZV
Account: os-elon-musk
Area: em-admin
Branch: claude/issue-39408-wip
Worktree: objectstack-issue-39408
Domain: domain:ui
Seat: repo:objectstack@os-elon-musk
File surface: ui/packages/app-shell/src/views/metadata-admin/PositionHoldersSection.tsx, ui/packages/i18n/src/locales/zh-Hans.ts and zh-Hant.ts (the position keys), ui/packages/app-shell/src/views/setup/positionsMenuTerm-39408.test.ts, .changeset/39408-position-members-page-term.md (the files PR #39452 touches). homePath.ts and useHomePath.ts are released: item 2 was ruled into #39476.
Container & model: M, mode:subagent, model: default (dispatch-gates --tier at 5c00c572: "no path-derived mandate"; landing-app choice logic), effort: high (M card)
Clause-②: no
Metadata-protocol: none
Responsibility: platform console code in this repo; every new user with no last-visited app on a tenant with several apps reaches item 2, every admin opening 岗位成员 reaches item 1.
Thread-read: 7396071816
Premise: holds for item 1 per the card's readings (zh-Hans.tspositionsTitle, PositionHoldersSection.tsx:116/:132); item 2 is measured by the dev in homePath.ts / useHomePath.ts before editing.
Pre-claim lane: ui/** ⇒ domain:ui. Seat ruling on the lease (2026-12-03T23:45Z, seat repo:objectstack@os-elon-musk): this card is claimed with its out-of-ui files named at file level; the zone lease stays the ui tree. Item 2 route: the card's first Expected only (prefer an app the user's permissions grant); if that needs a new admin-set default app or any new metadata key, it is a product choice and comes back to the seat before code.
Pre-claim deps: none named by the card.
Prior rulings read: check-prior-rulings.mjs --card 39408: card thread 0 rulings (1 triage comment).
Serial constraints cleared: zh-Hans.ts: ordinary concurrency with this zone's other copy cards (different keys); the dev re-runs overlap-check.mjs before each push.
Claim: PM loop round 1 · 2026-12-04T01:43Z · re-posted: supersedes re-posted claim 7396658772 and 7398079125 (whose release sentence was read as an entry) for the file surface only (narrowed to what the PR delivers); branch and every other line still stand
Session: session_016WV4d1cnRvyiAqrarmDhZV
Account: os-elon-musk
Area: em-admin
Branch: claude/issue-39408-wip
Worktree: objectstack-issue-39408
Domain: domain:ui
Seat: repo:objectstack@os-elon-musk
File surface: ui/packages/app-shell/src/views/metadata-admin/PositionHoldersSection.tsx, ui/packages/i18n/src/locales/zh-Hans.ts and zh-Hant.ts (the position keys), ui/packages/app-shell/src/views/setup/positionsMenuTerm-39408.test.ts, .changeset/39408-position-members-page-term.md (the files PR #39452 touches). the first claim's homePath and useHomePath entries are released (no code span here, so no checker reads them as entries): item 2 was ruled into #39476.
Container & model: M, mode:subagent, model: default (dispatch-gates --tier at 5c00c572: "no path-derived mandate"; landing-app choice logic), effort: high (M card)
Clause-②: no
Metadata-protocol: none
Responsibility: platform console code in this repo; every new user with no last-visited app on a tenant with several apps reaches item 2, every admin opening 岗位成员 reaches item 1.
Thread-read: 7396071816
Premise: holds for item 1 per the card's readings (zh-Hans.tspositionsTitle, PositionHoldersSection.tsx:116/:132); item 2 is measured by the dev in homePath.ts / useHomePath.ts before editing.
Pre-claim lane: ui/** ⇒ domain:ui. Seat ruling on the lease (2026-12-03T23:45Z, seat repo:objectstack@os-elon-musk): this card is claimed with its out-of-ui files named at file level; the zone lease stays the ui tree. Item 2 route: the card's first Expected only (prefer an app the user's permissions grant); if that needs a new admin-set default app or any new metadata key, it is a product choice and comes back to the seat before code.
Pre-claim deps: none named by the card.
Prior rulings read: check-prior-rulings.mjs --card 39408: card thread 0 rulings (1 triage comment).
Serial constraints cleared: zh-Hans.ts: ordinary concurrency with this zone's other copy cards (different keys); the dev re-runs overlap-check.mjs before each push.
Activity
objectstack-fleet commentedon Dec 3, 2026
triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ux · domain:ui · Feature · p2 · pm:queue · size S, touched 2026-12-03T23:17Z. Rationale: the filer's area and grade stand. One concept carries two names, and a new employee lands in the demo app instead of their work app. Issue type set to Feature.
Grade: area:ux · Feature · p2 · new organizations and their employees · read (new-company walkthrough).
objectstack-fleet commentedon Dec 3, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV
Claim: PM loop round 1 · 2026-12-03T23:50Z
Session:
session_016WV4d1cnRvyiAqrarmDhZVAccount:
os-elon-muskArea: em-admin
Branch:
claude/issue-39408-positions-landing-appWorktree:
objectstack-issue-39408Domain:
domain:uiSeat:
repo:objectstack@os-elon-muskFile surface:
ui/packages/i18n/src/locales/zh-Hans.ts(positionsTitleand the position-holder messages),ui/packages/app-shell/src/views/metadata-admin/PositionHoldersSection.tsx,ui/packages/app-shell/src/utils/homePath.ts,ui/packages/app-shell/src/hooks/useHomePath.ts, new test files named for this card.packages/platform-objects/src/apps/translations/zh-CN.tsonly if the menu term itself must change (it should not: the page follows the menu). Stop on any other breach and explain in the report.Container & model:
M,mode:subagent,model: default (dispatch-gates --tier at 5c00c572: "no path-derived mandate"; landing-app choice logic),effort: high (M card)Clause-②: no
Metadata-protocol: none
Responsibility: platform console code in this repo; every new user with no last-visited app on a tenant with several apps reaches item 2, every admin opening 岗位成员 reaches item 1.
Thread-read: 7395356423
Premise: holds for item 1 per the card's readings (
zh-Hans.tspositionsTitle,PositionHoldersSection.tsx:116/:132); item 2 is measured by the dev inhomePath.ts/useHomePath.tsbefore editing.Pre-claim lane:
ui/**⇒domain:ui. Seat ruling on the lease (2026-12-03T23:45Z, seat repo:objectstack@os-elon-musk): this card is claimed with its out-of-ui files named at file level; the zone lease stays the ui tree. Item 2 route: the card's first Expected only (prefer an app the user's permissions grant); if that needs a new admin-set default app or any new metadata key, it is a product choice and comes back to the seat before code.Pre-claim deps: none named by the card.
Prior rulings read:
check-prior-rulings.mjs --card 39408: card thread 0 rulings (1 triage comment).Serial constraints cleared:
zh-Hans.ts: ordinary concurrency with this zone's other copy cards (different keys); the dev re-runsoverlap-check.mjsbefore each push.objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV
Claim: PM loop round 1 · 2026-12-04T00:19Z · re-posted: supersedes claim 7396071816 for the branch name only (project rule: cloud sessions push only
claude/issue-N-wip); every claim amendment on this card still standsSession:
session_016WV4d1cnRvyiAqrarmDhZVAccount:
os-elon-muskArea: em-admin
Branch:
claude/issue-39408-wipWorktree:
objectstack-issue-39408Domain:
domain:uiSeat:
repo:objectstack@os-elon-muskFile surface:
ui/packages/i18n/src/locales/zh-Hans.ts(positionsTitleand the position-holder messages),ui/packages/app-shell/src/views/metadata-admin/PositionHoldersSection.tsx,ui/packages/app-shell/src/utils/homePath.ts,ui/packages/app-shell/src/hooks/useHomePath.ts, new test files named for this card.packages/platform-objects/src/apps/translations/zh-CN.tsonly if the menu term itself must change (it should not: the page follows the menu). Stop on any other breach and explain in the report.Container & model:
M,mode:subagent,model: default (dispatch-gates --tier at 5c00c572: "no path-derived mandate"; landing-app choice logic),effort: high (M card)Clause-②: no
Metadata-protocol: none
Responsibility: platform console code in this repo; every new user with no last-visited app on a tenant with several apps reaches item 2, every admin opening 岗位成员 reaches item 1.
Thread-read: 7396071816
Premise: holds for item 1 per the card's readings (
zh-Hans.tspositionsTitle,PositionHoldersSection.tsx:116/:132); item 2 is measured by the dev inhomePath.ts/useHomePath.tsbefore editing.Pre-claim lane:
ui/**⇒domain:ui. Seat ruling on the lease (2026-12-03T23:45Z, seat repo:objectstack@os-elon-musk): this card is claimed with its out-of-ui files named at file level; the zone lease stays the ui tree. Item 2 route: the card's first Expected only (prefer an app the user's permissions grant); if that needs a new admin-set default app or any new metadata key, it is a product choice and comes back to the seat before code.Pre-claim deps: none named by the card.
Prior rulings read:
check-prior-rulings.mjs --card 39408: card thread 0 rulings (1 triage comment).Serial constraints cleared:
zh-Hans.ts: ordinary concurrency with this zone's other copy cards (different keys); the dev re-runsoverlap-check.mjsbefore each push.objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV
os-dev-report
{ "issue": 39408, "status": "needs_decision", "branch": "claude/issue-39408-wip", "pr": "https://github.com/objectstack-ai/objectstack/pull/39452", "session": "session_016WV4d1cnRvyiAqrarmDhZV", "premise_still_valid": true, "summary": "Item 1 shipped as draft PR 39452 (Refs, item 1 only): the zh-Hans page frame (setupAssignments positionsTitle, positionsSubtitle, positionsPick) and PositionHoldersSection's zh copy (title, add, empty, removeBody, loadFailed) now use the menu term 岗位成员; English copy, the picker's organization-member lines and the navigation pack are unchanged. Item 2 is returned as needs_decision: on origin/main 4eca9da0 the desktop landing (resolveDesktopLandingPath in apps/console RootLandingRedirect, mirrored by resolveDesktopHomePath) picks last app, then isDefault, then the first visible product app of the list narrowed by GET /me/apps, which drops only tabPermissions-hidden apps and apps whose requiredPermissions the caller lacks. On the showcase every member holds the everyone baseline set, which grants read on the demo app's navigation objects by design, and /auth/me/permissions returns a merged object map with no per-set source, so the client has no signal separating the position-granted work app from the baseline-granted demo app; the landing is also decided in apps/console, outside the file surface. Branch moved to claude/issue-39408-wip on the PM's correction; the first branch claude/issue-39408-positions-landing-app still exists on the remote at 8995d636 (probe plus one commit) and waits for deletion by the seat.", "tests": "At head 16e6dcfc: pnpm --dir ui exec vitest run --maxWorkers=2 on positionsMenuTerm-39408.test.ts, PositionHoldersSection.confirmAndMembers-13337.test.tsx, all-locales-key-parity.test.ts: Test Files 3 passed (3), Tests 61 passed (61), lock VERDICT command-exit 0. Ablation: both edited files restored to merge base 4eca9da0, new file red, Tests 3 failed 1 passed (4), VERDICT command-exit 1; restored from HEAD, tree clean. pnpm turbo run type-check --filter=@object-ui/i18n --filter=@object-ui/app-shell: 74 successful, app-shell type-check cache miss (ran), VERDICT command-exit 0.", "gates": "Local: all 37 runnable families of dispatch-gates --commands at head 16e6dcfc recorded exit 0 (exit captured per command before any pipe); pnpm --dir ui exec vitest run scripts/ NOT-MEASURED (shared lock, CI Test UI). dispatch-gates --ran: 38 derived accounted, 37 run, 1 NOT-MEASURED, 0 UNRUN, exit 0. Outside derivation: pnpm check:changeset-fixed exit 0, ui check:test-path-roots exit 0, overlap-check clean vs origin/main and PRs 39433, 39425, 39063. PR check-runs at first read: success for Check Changeset, Check PR Size, Governed Surface Queue Guard, Test Core, Live E2E UI, Dogfood Regression Gate, Lint ESLint / docs and code guards / repo and tooling gates / PM dispatch-gates / scoped jobs, Type Check workspace / consumer gates / debt ledger, PR-body guards; in progress: Test UI 1-16, Type Check UI, Lint UI, Build and E2E UI, Type Check source gates, Lint CI release and engine gates. Report not held for CI.", "mcp_calls": "0", "api_writes": "2 relay strokes: pr_create (POST /repos/objectstack-ai/objectstack/pulls, POST /repos/objectstack-ai/objectstack/issues/39452/assignees); this report comment (POST /repos/objectstack-ai/objectstack/issues/39408/comments). git pushes (not REST): probe to claude/issue-39408-positions-landing-app, one commit there, two pushes to claude/issue-39408-wip.", "classifier_refusals": [], "open_questions": [ { "question": "Item 2: how should the console know which app a new employee's permissions actually grant, so the first landing prefers it over a demo app the everyone baseline also opens?", "options": [ "A: server signal. GET /me/apps marks each app it lists with whether a set the caller holds beyond the everyone baseline (via a position or a direct assignment) grants read on an object in its navigation or a visible tab; both landing resolvers prefer a marked app before the first product app. Cost: an additive response field on /me/apps (an API shape change, plugin-hono-server), plus apps/console and app-shell resolver edits and the parity test; size M.", "B: client-only weak signal. Prefer an app whose merged tabPermissions is visible or default_on. No contract change, size S, but does not fix the card's own scenario: the admin granted an object, not a tab.", "C: admin-set default app per position or permission set (the card's second Expected). New metadata key, Metadata-protocol added; excluded by this dispatch." ], "recommendation": "A, because it is the only option that separates the position-granted work app from the baseline-granted demo app with what the server already resolves, keeps one answer for both landing surfaces, and adds no authorable metadata." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted in PR Acceptance notes, not filed: zh-Hant has the same mismatch (menu 職位成員, page frame 崗位持有人 in zh-Hant setupAssignments positions strings); source reading only, no live run, reach not measured · dedupe words: zh-Hant 崗位持有人, 職位成員, positionsTitle zh-Hant", "carrier: none · noted, not filed: Studio position list column engine.list.col._holderCount reads 持有人数 in studio zh namespace; naming only · dedupe words: 持有人数, holderCount zh" ], "deviations": "Commit trailer pair written model-free (Claude-Session plus Co-authored-by Claude) because the pre-push check:commit-card-trailers refused the harness-supplied model-named trailer; the refused commit was amended before any push. PR footer kept to the AGENTS session-URL form only. The PM's branch correction names claude/issue-39408-wip; os-dev rule 5 forbids a PR from a backup -wip branch of form claude/issue-N-slug-wip, which this name is not, so the PR was opened from it as ordered. A render pin for PositionHoldersSection would belong in its shared harness file (outside the file surface), so the new test reads the section's zh copy block as source text instead.", "files_changed": [ ".changeset/39408-position-members-page-term.md", "ui/packages/app-shell/src/views/metadata-admin/PositionHoldersSection.tsx", "ui/packages/app-shell/src/views/setup/positionsMenuTerm-39408.test.ts", "ui/packages/i18n/src/locales/zh-Hans.ts" ], "line_budget": "94 changed lines (+86 / -8) vs human-merge threshold 3000: under" }objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1EmrT9nkiXCRc8o9b
Decision analysis — #39408 item 2: a new employee's first sign-in lands in the demo app
维护者速读
Served-tier: CONTRACT_REVIEW_TIER
Analysed-by: session_016WV4d1EmrT9nkiXCRc8o9b
Background
Card #39408 item 2, from a new-company walkthrough: the admin builds a work app, a position, a permission set that grants the app's object, and a user who holds the position. The user's first sign-in opens the showcase demo app. The dev report (comment 7397489350) returned the item as
needs_decisionwith options A, B, C and recommended A. Draft PR #39452 covers item 1 only. Source read atorigin/main55d673c; nothing was run in a browser for this analysis.Governing text
packages/spec/src/security/permission.zod.ts(tabPermissionsdocblock): "Controls which app tabs are visible, hidden, or set as default for this permission set."; describe: "default_on (shown by default), default_off (available but hidden initially)".content/docs/permissions/permission-metadata.mdx: "Onlyhiddencurrently affects runtime behavior … The per-user toggle / default-off semantics implied bydefault_on/default_offare not yet implemented."packages/spec/src/ui/app.metadata-form.ts: the app form'sisDefaulthelp text is "Make this the default app for new users";RootLandingRedirect.tsxheader: "this givesisDefaultROUTING semantics".tabPermissions| metadata | UI-surface grant riding the set. | SF tab visibility on profile/set".git grep -n -i "default_on\|defaultApp\|homeApp\|landingApp" origin/main -- packages/spec/src docs/adr AGENTS.md.Protocol
A adds a field to the
GET /me/appsresponse (API shape, additive). B changes nothing declared. C adds an authorable key (Metadata-protocol: added). D changes the meaning of an existing accepted value (Metadata-protocol: semantic) and adds no key. No option removes anything an author can write.Premises (each with a re-check)
isDefault, then the first visible product app:git show origin/main:ui/apps/console/src/components/RootLandingRedirect.tsx | sed -n 221,233p; the chrome's Home mirrors it:git show origin/main:ui/packages/app-shell/src/utils/homePath.ts | sed -n 126,137p./me/appsdrops only apps a held set markshiddenand apps whoserequiredPermissionsthe caller lacks:git show origin/main:packages/plugins/plugin-hono-server/src/current-user-endpoints.ts | sed -n 1438,1444p.default_onis accepted, merged and served, and changes nothing:git grep -n "default_on" origin/main -- content/docs/permissions/permission-metadata.mdx(lines 165 and 168); the only reader of a value is thehiddenfilter in premise 2.git grep -n "perm.tabs.vis.default_on" origin/main -- ui/packages/i18n/src/namespaces/studio/zh.ts;git grep -n "TAB_VISIBILITIES" origin/main -- ui/packages/app-shell/src/views/metadata-admin/PermissionAdvancedFacets.tsx./auth/me/permissions:git show origin/main:packages/spec/src/api/auth.zod.ts | sed -n 199,201p.visible(3) abovedefault_on(2), so a baseline set that saysvisiblehides a position set'sdefault_on:git grep -n "default_off: 1, default_on: 2, visible: 3" origin/main -- packages/plugins/plugin-hono-server/src/current-user-endpoints.ts packages/core/src/security/resolve-authz-context.ts(three sites).git grep -n "isDefault" origin/main -- packages/spec/src/ui/app.metadata-form.ts. No example app declares it:git grep -n "isDefault: true" origin/main -- 'examples/*/src' | grep -v -i "flow\|page"→ 0 lines.gh api repos/objectstack-ai/objectstack/issues/39408/comments --jq length→ 4 (triage, two claims, the dev report).Two statements in the dev report do not hold as written. "The client has no signal" is true only for an inferred signal: a declared per-set value (
default_on) is already authorable, merged and served (premises 3 to 5), and an app-wide default already routes (premise 7). And option C does not need a new key for the per-permission-set half of the card's Expected: the value exists.The question in one sentence
When several apps are open to a new employee, who decides which one their first sign-in opens: the platform by guessing, or the admin by saying so?
Options × real cost × workload
/me/apps, apps reached through a set the caller holds beyond the everyone baseline; both landing resolvers prefer a marked app./me/appsbaseline handling), #36738 +1735/−168 (both landing resolvers and the parity test)visibleordefault_on./me/appsnarrowing) is the nearest, larger than this would bedefault_onalready says.landing), #28496 +623/−70 (console reader)default_onis where its holders land when they have no last app;default_onoutranksvisiblein the merge; the Studio option is worded for what it does.Business translation. A: the receptionist guesses which office a new hire belongs to from their badge; usually right, never explained. B: repainting the lobby sign. C: adding a second form for a question the first form already asks. D: HR writes the office on the badge, on the form that already has the box.
Four axes (business stance)
default_ontoday declares something the runtime ignores; D ends that.default_offstays inert under D and is named below, not fixed here. No option needs a new gate.os-decision-facets
① Long-term fit: D makes the admin's declared per-audience default the answer, as a Salesforce profile's default app does, and retires a declared-but-inert value; A adds a wire field for an inference no mainstream platform models; C duplicates a value that exists.
② Business pull: one measured walkthrough, every new member's first sign-in; A needs no admin step, D needs one; the app-wide default already covers a one-app company.
③ AI-error-proofing: A fails silently (wrong app, no readable reason); D is a closed enum value that is either set or not; today an agent writing
default_ondeclares a no-op.④ Startup focus: D adds nothing declared; A adds an API field; C adds a key;
default_offremains inert and is out of scope.Prior rulings read: isdefault,tabpermissions,default_on,landing → 6 hits; ADR-0006 D3, ADR-0120 D6, ADR-0125 D1, ADR-0131 D3, ADR-0146 D7 (none rules on the landing app; read: ADR-0049, ADR-0086 boundary table, ADR-0090 D5, the #35881 and #36732 rulings quoted in the resolver); thread: none; repo: objectstack-ai/objectstack
Recommendation: D
Self-check: 只看①选 D;②③④ 是否翻转:否。
This differs from the dev's recommendation (A). Workloads of A, C and D read alike (about two PRs each), so no cost gap decides anything here.
Not taken. A: a guess on a public response field; right in the walkthrough, silent when wrong, and it would still need D beside it. B: does not change what the member sees. C: a second spelling of "this set's default app" while the first one is declared and inert.
Sub-questions, settled with the letter:
default_on, then the app declaringisDefault, then the first visible product app. Severaldefault_onapps: the first in served order, as severalisDefaultapps resolve today.default_off: unchanged, still equal tovisible. Whether it is retired under ADR-0049 is a separate enforce-or-remove question and is not opened by this ruling.Confidence gaps. (a) Nothing was run: the walkthrough's state (whether the admin ticked the app's default box) is not known, and premise 7 is read from source only. (b) D asks the admin for one step; how discoverable the option is in the permission-set editor was not measured, and if the maintainer wants zero admin steps that is A's one real advantage. (c) Platform comparisons are from product knowledge, not re-read today. (d) Whether the merged value is in hand at both resolver call sites before the first paint was not traced; it is the dev's first premise below. None moves the letter.
Execution after the ruling
domain:speccard at this card's priority (p2) and keeps item 2 on organization setup: 岗位成员 vs 岗位持有人 naming, and a new employee lands in the demo app instead of their work app #39408 for the ui half,Blocked-by:the spec card. Spec/server card: thetabPermissionsdocblock and describe say whatdefault_ondoes; the three rank tables putdefault_onabovevisible;permission-metadata.mdxand the navigation skill rule follow; changeset declaresMetadata-protocol: semantic. UI half: both landing resolvers read the merged value (parity test extended), the Studio option's label says "opens by default" in every locale that translates it. Premise the dev verifies first: the merged map from/auth/me/permissionsis available where both resolvers run. Ban: if it is not, report a fork; no new response field and no fallback to A.domain:servercard for the/me/appsfield (API shape, contract-tier review) and the ui half follows it; the field's name and the definition of "beyond the baseline" come back for one more ruling line.domain:speccard withMetadata-protocol: added, and the same ruling says what happens todefault_on(enforce-or-remove).Related
#39408; dev report 7397489350; draft PR #39452; #35881, #36732 (landing order); #28022 (per-audience landing inside one app); ADR-0049; ADR-0086; ADR-0090 D5.
objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4cxiJF5PkqquFk98Bh7
Ruled: 2026-12-04T01:32Z · item 2 (new employee lands in the demo app): the maintainer tapped 「权限集「默认开启」生效」 at 2026-12-04T01:30:00Z on the project decision card. That is option D of the analysis in comment 7397842715 (not the dev report's A): the existing per-permission-set
tabPermissions[app]'default_on'becomes the holder's first-landing app. Follow-up card: #39476 (pm:queue). This card's other items continue on its open PR.objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV
Claim: PM loop round 1 · 2026-12-04T01:39Z · re-posted: supersedes re-posted claim 7396658772 for the file surface only (narrowed to what the PR delivers); branch and every other line still stand
Session:
session_016WV4d1cnRvyiAqrarmDhZVAccount:
os-elon-muskArea: em-admin
Branch:
claude/issue-39408-wipWorktree:
objectstack-issue-39408Domain:
domain:uiSeat:
repo:objectstack@os-elon-muskFile surface:
ui/packages/app-shell/src/views/metadata-admin/PositionHoldersSection.tsx,ui/packages/i18n/src/locales/zh-Hans.tsandzh-Hant.ts(the position keys),ui/packages/app-shell/src/views/setup/positionsMenuTerm-39408.test.ts,.changeset/39408-position-members-page-term.md(the files PR #39452 touches).homePath.tsanduseHomePath.tsare released: item 2 was ruled into #39476.Container & model:
M,mode:subagent,model: default (dispatch-gates --tier at 5c00c572: "no path-derived mandate"; landing-app choice logic),effort: high (M card)Clause-②: no
Metadata-protocol: none
Responsibility: platform console code in this repo; every new user with no last-visited app on a tenant with several apps reaches item 2, every admin opening 岗位成员 reaches item 1.
Thread-read: 7396071816
Premise: holds for item 1 per the card's readings (
zh-Hans.tspositionsTitle,PositionHoldersSection.tsx:116/:132); item 2 is measured by the dev inhomePath.ts/useHomePath.tsbefore editing.Pre-claim lane:
ui/**⇒domain:ui. Seat ruling on the lease (2026-12-03T23:45Z, seat repo:objectstack@os-elon-musk): this card is claimed with its out-of-ui files named at file level; the zone lease stays the ui tree. Item 2 route: the card's first Expected only (prefer an app the user's permissions grant); if that needs a new admin-set default app or any new metadata key, it is a product choice and comes back to the seat before code.Pre-claim deps: none named by the card.
Prior rulings read:
check-prior-rulings.mjs --card 39408: card thread 0 rulings (1 triage comment).Serial constraints cleared:
zh-Hans.ts: ordinary concurrency with this zone's other copy cards (different keys); the dev re-runsoverlap-check.mjsbefore each push.objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV
Claim: PM loop round 1 · 2026-12-04T01:43Z · re-posted: supersedes re-posted claim 7396658772 and 7398079125 (whose release sentence was read as an entry) for the file surface only (narrowed to what the PR delivers); branch and every other line still stand
Session:
session_016WV4d1cnRvyiAqrarmDhZVAccount:
os-elon-muskArea: em-admin
Branch:
claude/issue-39408-wipWorktree:
objectstack-issue-39408Domain:
domain:uiSeat:
repo:objectstack@os-elon-muskFile surface:
ui/packages/app-shell/src/views/metadata-admin/PositionHoldersSection.tsx,ui/packages/i18n/src/locales/zh-Hans.tsandzh-Hant.ts(the position keys),ui/packages/app-shell/src/views/setup/positionsMenuTerm-39408.test.ts,.changeset/39408-position-members-page-term.md(the files PR #39452 touches). the first claim's homePath and useHomePath entries are released (no code span here, so no checker reads them as entries): item 2 was ruled into #39476.Container & model:
M,mode:subagent,model: default (dispatch-gates --tier at 5c00c572: "no path-derived mandate"; landing-app choice logic),effort: high (M card)Clause-②: no
Metadata-protocol: none
Responsibility: platform console code in this repo; every new user with no last-visited app on a tenant with several apps reaches item 2, every admin opening 岗位成员 reaches item 1.
Thread-read: 7396071816
Premise: holds for item 1 per the card's readings (
zh-Hans.tspositionsTitle,PositionHoldersSection.tsx:116/:132); item 2 is measured by the dev inhomePath.ts/useHomePath.tsbefore editing.Pre-claim lane:
ui/**⇒domain:ui. Seat ruling on the lease (2026-12-03T23:45Z, seat repo:objectstack@os-elon-musk): this card is claimed with its out-of-ui files named at file level; the zone lease stays the ui tree. Item 2 route: the card's first Expected only (prefer an app the user's permissions grant); if that needs a new admin-set default app or any new metadata key, it is a product choice and comes back to the seat before code.Pre-claim deps: none named by the card.
Prior rulings read:
check-prior-rulings.mjs --card 39408: card thread 0 rulings (1 triage comment).Serial constraints cleared:
zh-Hans.ts: ordinary concurrency with this zone's other copy cards (different keys); the dev re-runsoverlap-check.mjsbefore each push.