Repository navigation
Description
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzfcCk7a8bQdgyaxzu7
Filing gate: follow-up from a landed fix (out-of-scope findings of the #38835 os-dev report, comment 7303002807; agreed by L1 on PR #38856, comment 7303080051). Source: fleet, zone osa-ux.
Background. #38835 (sidebar showed raw object names) was a race between the first sidebar render and the by-name object read. sameRowAnswers in ui/packages/layout/src/NavigationRenderer.tsx (around L2184–2230) skips a row redraw when the new resolver answers the same as the previous one, and it asks BOTH resolvers at comparison time. The host resolver read live provider refs, so the old resolver also answered the landed label and the row kept the machine name. PR #38856 fixed it in ui/packages/app-shell/src/hooks/useNavTargetLabel.ts: each resolver now answers as of the render that made it (a per-resolver answer cache, new resolver per metadata version). L1 confirmed the hook is the right place; making the comparator redraw on every new resolver would undo the #37575 memo work.
What is left:
- Resolver contract.
sameRowAnswersassumes a resolver's answers are fixed for its identity, but no resolver type says so. Write that contract into the TSDoc ofNavTargetLabelResolverand its icon / colour siblings. - Stale TSDoc. The
NavTargetLabelResolverTSDoc (NavigationRenderer.tsxL225–235) says "nothing is stored". The host resolver now keeps answers per metadata version, so the doc should say what a resolver may keep (answers for its own lifetime, never across a metadata version). - Icon and colour siblings.
useNavTargetIcon/useNavTargetColor(theresolveTargetIcon/resolveTargetColorresolvers) are compared by the samesameRowAnswers(L2227–2230). If either reads live provider state, an object's icon or colour first drawn before its read lands sticks the same way. Not measured: the App sidebar shows raw object names (repairs_repair_ticket, repairs_repair_asset) instead of their labels after a view publish on one of the app's objects #38835 repro objects declare no icon or colour. Read each, and if it reads live state, give it the same as-of-its-render guard with a pin likeuseNavTargetLabel.answersAsOfItsRender-38835.test.tsx.
Done when: the three resolver types document that answers are fixed for a resolver's identity and what it may keep; the label TSDoc no longer says nothing is stored; the icon and colour resolvers are either shown not to read live state, or guarded and pinned (a pin that fails with the guard removed).
Grading: area:ux · Task · latent defect (reach not measured) plus contract docs · p3.
Dedupe: sameRowAnswers → only #38835; NavTargetLabelResolver → only #38835; sidebar icon stale resolver → no open match.
Activity
objectstack-fleet commentedon Dec 3, 2026
repo:objectstack@os-bill · os-bill · session_01Utp6CbFgiyGToVRBFwedwF
Claim: PM loop round 1 · 2026-12-03T14:29Z
Session:
session_01Utp6CbHNxjZcHJuqartB(card thread of zone ux-1203, sessionsession_01Utp6CbFgiyGToVRBFwedwF)Account:
os-billBranch:
claude/project-thread-k69ailWorktree:
objectstack-k69ailDomain:
domain:ui(+ onedomain:spectext file, card item 7)Seat:
repo:objectstack@os-billArea: ux-1203
File surface:
ui/packages/app-shell/src/views/metadata-admin/view-variant-model.ts,ui/packages/app-shell/src/views/metadata-admin/inspectors/ViewVariantInspector.tsx(+ its form test, formViewType-30046),ui/packages/app-shell/src/views/metadata-admin/view-schema.ts,ui/packages/app-shell/src/views/metadata-admin/view-schema.test.ts,ui/packages/app-shell/src/views/metadata-admin/spec-derivation-13459.test.ts,ui/packages/app-shell/src/views/ViewConfigPanel.tsx,ui/packages/app-shell/src/views/metadata-admin/previews/form-preview.ts,ui/packages/app-shell/src/views/metadata-admin/previews/dataPreviews.i18n-10862-s3.test.tsx(comment),ui/packages/app-shell/src/utils/recordFormNavigation.ts,ui/packages/app-shell/src/utils/__tests__/formViewChrome-26843.test.ts,ui/packages/i18n/src/namespaces/studio/en.ts,ui/packages/i18n/src/namespaces/studio/zh.ts,packages/spec/src/migrations/entries/semantic/19.internal-record-forms-not-loaded.ts,ui/packages/app-shell/src/views/metadata-admin/metadataAreaHost.ts,ui/packages/app-shell/src/views/metadata-admin/ResourceListPage.tsx,ui/packages/app-shell/src/views/metadata-admin/DraftChangesPanel.tsx,ui/packages/layout/src/NavigationRenderer.tsx(TSDoc only),ui/packages/app-shell/src/hooks/useNavTargetLabel.ts,ui/packages/app-shell/src/hooks/useNavTargetIcon.ts(+ a new pin test beside it), and patch changesets for@object-ui/app-shell,@object-ui/layout,@objectstack/spec. Removing a studio i18n key is allowed only where nothing reads it; stop on any other breach and say so in the report.Container & model:
S,mode:thread,model: default,effort: mediumClause-②: no
Metadata-protocol: none
Responsibility: Studio and console still carry form-view leftovers after the protocol-19 form switch (#39003), a dead package-less Studio scope hint (#38785), and an unstated nav-row resolver memo rule with the same stale-first-render race in the icon and colour resolvers (#38859); app-shell and layout (objectui); Studio authors, today.
Thread-read: none
Premise: holds at
origin/main850d240 per the card thread's read; #39003 item 5 is the removal of a dead arm, not a re-point, so no product question.Pre-claim lane:
domain:uip3; folded into #39003's PR (same card thread and branch),Fixes #38859.Pre-claim deps: none.
Prior rulings read: none on these cards.
Serial constraints cleared:
check-handover.mjs --inflight --card=39003→ OVERLAP by directory only (packages/spec/src/migrations/entries/semantic/) with #39346, #39282 (cloud#5) and #38174; the claimed file19.internal-record-forms-not-loaded.tsis none of theirs. The thread runsoverlap-check.mjsbefore each push and queues per file only on a textual conflict (Notify: serial).objectstack-fleet commentedon Dec 3, 2026
repo:objectstack@os-bill · os-bill · session_01Utp6CbFgiyGToVRBFwedwF
Paused · 2026-12-03T14:52Z
Bill paused all p3 work at 2026-12-03T14:46Z. The folded work for #39003 + #38785 + #38859 is done in one commit and kept on branch
claude/project-thread-k69ailate18991ce(baseorigin/main850d240; 34 files, +348/−1231; 18 targeted test files / 357 tests green; app-shell and layout build green). No PR yet, and the claims stand.Resume from that branch. Scope beyond the claimed surface, for the claim amendment:
familyKey="list"was dropped from 6 inspector test files;requiredInGatedSection.tsand its two tests were deleted, with theengine.inspector.view.gatedRequired.*strings (only a view-held form reached them);FormViewDefinitionwas dropped from app-shellutils/index.ts. A follow-up card is owed: the gated-required Save gate has no equivalent on the form item yet.objectstack-fleet commentedon Dec 5, 2026
repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd
Release: 2026-12-05T00:33Z · session
session_01Utp6CaQsbKBMQtm6Tpsamdreleases claim 7381554279 · because the maintainer hands this half-done card to the seatrepo:objectstack@os-elon-musk(mailbox #39411) · intopm:queue, assignee cleared, for that seat to re-claim.Resume-from:
claude/project-thread-k69ail@e18991ceSource: the maintainer (Bill), project chat of seat
repo:objectstack@os-bill, 2026-12-05T00:26Z: 「你开发了一半的卡和 pr都交接给 elon,没处理的放回对立额,然后你就可以下班了」 (对立额 = 队列).850d240b.main(expect conflicts after a day), the readings, one draft PR with threeFixeslines, L1.objectstack-fleet commentedon Dec 5, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4cwiNRyb9B38wT2fjYj
Claim: PM loop round 3 (zone em-bill takeover) · 2026-12-05T00:57Z · re-claims after os-bill's Release 7428388564; source: the maintainer (Elon), on the seat's card, 2026-12-05T00:48Z: 「接手,由 em-bill 专区做完」; os-bill's split knock 7428503319 on #39411 leaves this card.
Session:
session_016WV4cwiNRyb9B38wT2fjYjAccount:
os-elon-muskBranch:
claude/issue-39003-wipWorktree:
objectstack-issue-39003Domain:
domain:ui(+ onedomain:spectext file, card item 7)Seat:
repo:objectstack@os-elon-muskArea: em-bill
File surface:
ui/packages/app-shell/src/views/metadata-admin/view-variant-model.ts,ui/packages/app-shell/src/views/metadata-admin/inspectors/ViewVariantInspector.tsx(+ its form test, formViewType-30046),ui/packages/app-shell/src/views/metadata-admin/view-schema.ts,ui/packages/app-shell/src/views/metadata-admin/view-schema.test.ts,ui/packages/app-shell/src/views/metadata-admin/spec-derivation-13459.test.ts,ui/packages/app-shell/src/views/ViewConfigPanel.tsx,ui/packages/app-shell/src/views/metadata-admin/previews/form-preview.ts,ui/packages/app-shell/src/views/metadata-admin/previews/dataPreviews.i18n-10862-s3.test.tsx(comment),ui/packages/app-shell/src/utils/recordFormNavigation.ts,ui/packages/app-shell/src/utils/__tests__/formViewChrome-26843.test.ts,ui/packages/i18n/src/namespaces/studio/en.ts,ui/packages/i18n/src/namespaces/studio/zh.ts,packages/spec/src/migrations/entries/semantic/19.internal-record-forms-not-loaded.ts,ui/packages/app-shell/src/views/metadata-admin/metadataAreaHost.ts,ui/packages/app-shell/src/views/metadata-admin/ResourceListPage.tsx,ui/packages/app-shell/src/views/metadata-admin/DraftChangesPanel.tsx,ui/packages/layout/src/NavigationRenderer.tsx(TSDoc only),ui/packages/app-shell/src/hooks/useNavTargetLabel.ts,ui/packages/app-shell/src/hooks/useNavTargetIcon.ts(+ a new pin test beside it), and patch changesets for@object-ui/app-shell,@object-ui/layout,@objectstack/spec. Removing a studio i18n key is allowed only where nothing reads it; stop on any other breach and say so in the report.Container & model:
M,mode:subagent,model: default (dispatch-gates --tier at 56bed066: no path-derived mandate),effort: high (reason: a 34-file fold a day behind main, conflicts expected on merge)Clause-②: no
Metadata-protocol: none
Responsibility: Studio and console still carry form-view leftovers after the protocol-19 form switch (#39003), a dead package-less Studio scope hint (#38785), and an unstated nav-row resolver memo rule with the same stale-first-render race in the icon and colour resolvers (#38859); app-shell and layout (objectui); Studio authors, today.
Thread-read: 7428388564
Premise: holds at
origin/main850d240 per the card thread's read; #39003 item 5 is the removal of a dead arm, not a re-point, so no product question. Re-read by the dev at origin/main 56bed06 after merging main into the resumed branch.Pre-claim lane:
domain:uip3; folded into #39003's PR (same card thread and branch),Fixes #38859.Pre-claim deps: none.
Prior rulings read: none on these cards.
Serial constraints cleared:
check-handover.mjs --inflight --card=39003at 56bed06 → NO OVERLAP READ; the one unread surface is #38710 (os-tesla, knowledge segmenter in knowledge-turso/pgvector), read by hand: none of these files. The dev runsoverlap-check.mjsbefore each push. Fold: #39003 + #38785 + #38859, one branch, one dev, one PR with threeFixeslines.Resume-from:
claude/project-thread-k69ail@e18991ce