Skip to content

app-shell: dead references to the retired package-less Studio scope — emptyListHint has no setter, and two DraftChangesPanel comments describe it #38785

Description

@objectstack-fleet

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

Filed as a finding by seat repo:objectstack#3. It comes from zone o3-U's close-out of card #38620 (PR #38783), flagged by L1-b. Read on main at 8a7e65b4. Not triaged and not claimed.

Class: c (dead code and stale comments) · Grade: p3 candidate · Reach: none at runtime; it misleads the next author.

What

The package-less scope (~org) retired with PR #38598 (0124851b, #38150 PR-B2). Three places still describe it:

  • emptyListHint has no setter. It is declared in ui/packages/app-shell/src/views/metadata-admin/metadataAreaHost.ts (lines 60–64, "objectstack#36903 — … the package-less scope's flow list says how a packaged flow is changed instead (ADR-0146 D11). Absent elsewhere.") and read in ResourceListPage.tsx (around line 858, hintedEmpty, and line 1010). No host sets it now.
  • DraftChangesPanel.tsx, around lines 1455–1458. The include prop's doc says "Studio's package-less scope passes its own predicate (package-less FLOW drafts, objectui#11553)…".
  • DraftChangesPanel.tsx, around lines 1822–1824. The backfillControl comment says "the package-less scope publishes by reference, a door with no backfill".

Ask

  • Remove the emptyListHint declaration and both reads; the empty list then falls back to the type's own hint.
  • Say who passes include now. If nobody does, consider removing the prop.
  • Drop the package-less-scope reference from the backfill comment.
  • No behaviour change is expected: confirm it with the existing list and draft-panel tests.

Likely lane: domain:ui, area:ux. Related: #38620, #38150, #36903, PR #38598.

Activity

  1. added
    finding
    on Nov 30, 2026
  2. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ

    Triage: first-touch · Task · p3 · pm:queue · domain:ui · area:ux · finding removed.
    Grading: area:ux · Task (dead code and stale comments) · Cosmetic · reach: none at runtime, it only misleads the next author · evidence: read on main at 8a7e65b4, L1-b of PR #38783 (#38620 close-out).

  3. added
    domain:ui
    pm:queue
    and removed
    finding
    on Nov 30, 2026
  4. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    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, session session_01Utp6CbFgiyGToVRBFwedwF)
    Account: os-bill
    Branch: claude/project-thread-k69ail
    Worktree: objectstack-k69ail
    Domain: domain:ui (+ one domain:spec text file, card item 7)
    Seat: repo:objectstack@os-bill
    Area: 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: medium
    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: 7283258246
    Premise: holds at origin/main 850d240 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:ui p3; folded into #39003's PR (same card thread and branch), Fixes #38785.
    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 file 19.internal-record-forms-not-loaded.ts is none of theirs. The thread runs overlap-check.mjs before each push and queues per file only on a textual conflict (Notify: serial).

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Dec 3, 2026
  6. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    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-k69ail at e18991ce (base origin/main 850d240; 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.ts and its two tests were deleted, with the engine.inspector.view.gatedRequired.* strings (only a view-held form reached them); FormViewDefinition was dropped from app-shell utils/index.ts. A follow-up card is owed: the gated-required Save gate has no equivalent on the form item yet.

  7. objectstack-fleet commented on Dec 5, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd

    Release: 2026-12-05T00:33Z · session session_01Utp6CaQsbKBMQtm6Tpsamd releases claim 7381536051 · because the maintainer hands this half-done card to the seat repo:objectstack@os-elon-musk (mailbox #39411) · into pm:queue, assignee cleared, for that seat to re-claim.
    Resume-from: claude/project-thread-k69ail@e18991ce
    Source: the maintainer (Bill), project chat of seat repo:objectstack@os-bill, 2026-12-05T00:26Z: 「你开发了一半的卡和 pr都交接给 elon,没处理的放回对立额,然后你就可以下班了」 (对立额 = 队列).

  8. added
    pm:queue
    and removed
    pm:dispatched
    on Dec 5, 2026
  9. objectstack-fleet commented on Dec 5, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4cwiNRyb9B38wT2fjYj

    Claim: PM loop round 3 (zone em-bill takeover) · 2026-12-05T00:56Z · re-claims after os-bill's Release 7428378372; 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_016WV4cwiNRyb9B38wT2fjYj
    Account: os-elon-musk
    Branch: claude/issue-39003-wip
    Worktree: objectstack-issue-39003
    Domain: domain:ui (+ one domain:spec text file, card item 7)
    Seat: repo:objectstack@os-elon-musk
    Area: 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: 7428378372
    Premise: holds at origin/main 850d240 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:ui p3; folded into #39003's PR (same card thread and branch), Fixes #38785.
    Pre-claim deps: none.
    Prior rulings read: none on these cards.
    Serial constraints cleared: check-handover.mjs --inflight --card=39003 at 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 runs overlap-check.mjs before each push. Fold: #39003 + #38785 + #38859, one branch, one dev, one PR with three Fixes lines.
    Resume-from: claude/project-thread-k69ail@e18991ce

  10. added
    pm:dispatched
    and removed
    pm:queue
    on Dec 5, 2026
  11. objectstack-fleet commented on Dec 6, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4cwiNRyb9B38wT2fjYj

    Close-out: 2026-12-06T03:03Z · delivered by PR #39783 (merged 2026-12-06T03:01Z, Fixes #39003, #38785, #38859). Card closed by the merge; pm:dispatched taken off in the same stroke, no next state. Zone em-bill releases this card.

  12. removed
    pm:dispatched
    on Dec 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:uipriority:p3

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions