Skip to content

feat(studio): ⌘K on every Studio design page lists the package's menu and items - #37108

Merged
objectstack-fleet[bot] merged 13 commits into
mainfrom
claude/issue-36900-studio-cmdk
Nov 24, 2026
Merged

objectstack-fleet[bot] merged 13 commits into
mainfrom
claude/issue-36900-studio-cmdk

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #36900
Part of #36890
Clause-②: no
Metadata-protocol: none

repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

维护者速读

  • 在 Studio 的任何设计页面(包括「全部元数据」跨包页)按 ⌘K / Ctrl+K,都能打开搜索面板:按左侧菜单的六组列出当前包的全部类型和每一项,选中即打开它的详情或设计器;页面上有没保存的修改时,会先问一句再走。
  • 属于「Studio 重构」专题:去掉设计器左侧那一列后,作者靠 ×、‹ › 和 ⌘K 换到别的项;同时补回上一步左侧菜单改造时临时丢掉的跨包页 ⌘K。
  • 出错时作者只是搜不到或打不开某一项,左侧菜单和列表照常可用;不动任何数据,直接撤回这次改动即可。
  • 无。

What changes

Head 7bbe1c54b: 15 files, +1,679 / −92 against main, one PR for the card. REWORK round 1 (L1 7144125191) and its delta L1 ACCEPT (7147006586) are folded in below. main was merged in that round.

The command palette is mounted on every Studio design page. StudioDesignSurface mounts it in its shell under its own CommandPaletteProvider, on a package's pillars and "All metadata" area, ~org and ~all. After #36985 only the /studio landing had one, so ~all had lost ⌘K (the hand-off's stated temporary regression); this restores it. A host that already mounts a palette above the surface keeps its own (useCommandPaletteProviderMounted()): the surface then mounts neither provider nor palette.

  • What it lists on a package. The left menu, group by group (buildStudioMenu, decision 11: Data, UI, Automation, Platform, Access, AI, under the menu's names). Each group holds the menu's own entries: each type's list, plus Organization flows, Default sharing, Diagnostics and Positions and permissions. Then come the items of every type the group lists, from the package and its .custom pair (ADR-0146 D3).
    • Types. The menu's own data, read once per page: StudioMenuDataProvider in the surface feeds both the menu and the palette (new studioMenuData.ts: the data hook, the context, the group icons and the entry names). The palette and the menu cannot disagree, and opening the palette re-reads neither types nor the diagnostics sweep.
    • Items. Each listed type's served list, read only while the palette is open, as its list page reads it (include: listInclude). The rows are kept by the list page's own rule (scopeListRows: the package, its pair, the type's list predicate) and named by the type's primary key.
    • Customizations. A customization item reads "Customization of PACKAGE NAME", never the pair's raw id.
    • Other scopes. On a package the palette no longer lists every package's objects and flows, because the package's own items replace them. The packages stay listed. ~org and ~all keep those lists and add their own menu entries.
  • Where a pick opens. Every address comes from studioAddress.ts (Studio 重构(1-4a):所有产生 Studio 地址的地方改成调用同一个函数(行为不变,为逐类型切换新地址做准备) #36895). An object, flow or permission set goes through studioItemPath, so it opens its designer today and follows each designer card's STUDIO_ITEM_PILLAR switch with no edit here. Any other item opens studioMetadataItemAddress(…, ?package=OWNER), the address its list row links to (ADR-0048). A menu entry goes to the menu entry's own to.
  • How it leaves (decision 12): through the shell's unsaved-edits seam (M1). openStudioPaletteAddress handles another page through confirmUnsavedLeave. That seam holds the surface's own work and every editor that registered its own, the "All metadata" item page (ResourceEditPage) among them; the surface's own bit never saw that page's edits. The page already open on another query (Default sharing from the Access pillar) goes through reenterPillar. It asks, then remounts the pillar once the router shows the requested query (S5): the palette's own ?palette= change comes first and no longer triggers it. The page already shown, palette keys aside, just closes the palette.
    • The surface's confirmLeavePillar now goes through the same seam, so its own header departures ask about the item page's edits too: Back to app, the retired-Interfaces notice, the other-pillar requestSurface and the Access opener. They had the same blind spot; it is closed here, and no defect card is owed.
  • The palette stays free of Studio reads. CommandPalette's studio scope takes an optional surface (packageScope, renderGroups, open), documented in the app-shell README. The page draws its own groups (StudioPaletteGroups), so the Studio modules load with the Studio chunk, never with the console's eager closure. @object-ui/app-shell is private, so the new optional prop and exported types widen no published surface: Clause-②: no.
  • N4. ResourceEditPage's fullscreen Escape now ignores an Escape a dialog above it already took (defaultPrevented, which Radix sets), so closing the palette over a fullscreen editor no longer also leaves fullscreen.
  • Card item 1 (advertisedShortcuts.ts) needs no edit. CommandPaletteProvider already advertises ⌘K (useAdvertiseShortcut(OPEN_COMMAND_PALETTE_SHORTCUT)), and it now runs on every design page.
  • Card item 4 ([Decision] Search title of a refused reader: should the ⌘K palette serve the target's name on a lookup field that declares referenceNameVisible, as $expand does? (follow-up to #34175) #35308): the studio scope searches no record, so it has no record title. Items are titled by their served metadata label, as their lists show them, and no second title rule exists.

Files:

  • New: studio-design/studioPaletteModel.ts (pure: pair, items, addresses, groups, departure, openStudioPaletteAddress), studio-design/StudioPaletteGroups.tsx (reads and draws) and studio-design/studioMenuData.ts (the menu's shared data and vocabulary).
  • StudioMenu.tsx: it gains StudioMenuDataProvider, draws the shared data when a provider above holds it, and otherwise reads its own.
  • StudioDesignSurface.tsx: changes are in its shell region only: the providers, the palette mount, confirmLeavePillar, reenterPillar and openFromPalette.
  • StudioRoute.tsx is unchanged. No i18n key is added.
  • e2e/studio-left-menu-36899.spec.ts stubs the menu's reads where they now live.

Read first, by risk:

  1. ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx: confirmLeavePillar (now the seam), the reenterPillar latch, openFromPalette / paletteSurface, and the provider wrap. It is the only edit to a shared file beyond StudioMenu.tsx.
  2. ui/packages/app-shell/src/views/studio-design/studioPaletteModel.ts: openStudioPaletteAddress and studioPaletteItemsOf over scopeListRows.
  3. ui/packages/app-shell/src/views/studio-design/studioMenuData.ts with StudioMenu.tsx: the shared data and the menu's own-read fallback.

Tests

  • studioPaletteModel-36900.test.ts (15 cases). It pins:
    • the pair;
    • items through scopeListRows: unwrapped, scoped, deduped and named by the primary key, with the list predicate applied;
    • pillar types following studioItemPath for every STUDIO_ITEM_PILLAR row, and other types on their area page with ?package=OWNER;
    • the menu's six groups;
    • the leave / re-enter / stay decision;
    • M1 at the unit: with an editor registered, a leave asks its question (Cancel stays, OK goes), with a CONTROL that nothing registered asks nothing; re-entry hands the host the query to wait for.
  • StudioPaletteGroups.surfaceScope-36900.test.tsx (11 cases): the real CommandPalette + CommandPaletteProvider + StudioMenuDataProvider + StudioPaletteGroups, with the metadata reads doubled at the menu's own seam. It pins:
    • group headings and order, menu entries, and the package's and pair's items;
    • the list read's include and list predicate;
    • "Customization of" the package's name, with no .custom text shown;
    • no cross-package object or flow on a package;
    • addresses handed to surface.open, and matching;
    • "Searching…" then "No results", and a query typed before the lists answer: the arriving row is selected and Enter opens it;
    • no item list read until open, with its CONTROL;
    • ~all.
  • StudioDesignSurface.metadataArea-28561.test.tsx: 7 new cases on the real surface.
    • Ctrl+K on a pillar, on ~all and on a missing package.
    • M1: with the "All metadata" item page holding registered edits, a palette pick asks the page's question (Cancel keeps the page, OK leaves), and Back to app asks too. CONTROL: a clean page leaves at once.
    • S5: Default sharing picked on the real Access pillar shows the overview at ?surface=owd%3Aoverview.
  • ResourceEditPage.leaveGuard-13231.test.tsx (2 new cases): M1 on the real ResourceEditPage with a dirty draft and the real palette leaving through openStudioPaletteAddress. Cancel keeps the page and the draft, OK leaves, and a CONTROL clean page leaves without asking.
  • ResourceEditPage.detailTabs-36901.test.tsx (1 new case): N4, an Escape a dialog took leaves the fullscreen and the page alone, with its CONTROL.
Local readings, head 5e181ef / 7bbe1c5
  • Touched and related files at 5e181ef (new pins, StudioMenu, studioMenuModel, the address guard, all 16 CommandPalette.*, every console StudioRoute*): Test Files 31 passed (31), Tests 249 passed (249), lock VERDICT command-exit 0. 7bbe1c5 changes the e2e spec only.
  • All 83 StudioDesignSurface.*.test.tsx (at cf95fe5; later commits change no surface file): Test Files 43 passed (43), Tests 236 passed (236) and Test Files 40 passed (40), Tests 217 passed (217).
  • @object-ui/app-shell type-check (both programs) and type-check:e2e: exit 0. e2e/studio-left-menu-36899.spec.ts, local: 3 passed.
  • pnpm --dir ui exec vitest run scripts/: Test Files 172 passed | 2 skipped (174).
  • Derived gate families (dispatch-gates.mjs --commands, 39): all exit 0 on the final tree; --ran: 39 derived, 39 run, 0 NOT-MEASURED, 0 UNRUN. check:new-line-citations (ui): 0 new citation(s). eslint on the changed ui files: 0 errors, none in the new modules.
  • overlap-check.mjs before every push of the round: VERDICT clean exit 0.
  • CI at 7bbe1c5: 38 success, 13 expected skips, 0 failed.
Ablations (scripts/ablation-replace.mjs, each restored to HEAD: blob == HEAD, git diff HEAD empty)
  • A1, the seam dropped from the palette's leave (confirmUnsavedLeave(() => act.navigate(to)) → act.navigate(to)): Tests 3 failed | 33 passed. The three M1 pins (real ResourceEditPage, surface, unit) go red.
  • A2, the seam dropped from confirmLeavePillar: Tests 1 failed | 13 passed (Back to app).
  • A3, the re-entry latch back to "the next query change": stays green (14 passed). Under test the palette's close and the navigation land in one render, so no pin tells the latch from the old trigger. The latch guards the ordering the code's own comment warns about: the router applying a navigation in a later render.
  • A4, a first-row selection added during the round: green in happy-dom and no effect live (a live probe with it removed). It was taken out again, so it is not on this head.
  • Round 0: the package-scope cross-package guard (Tests 1 failed | 9 passed) and the surface's palette mount (Tests 3 failed | 7 passed).

Acceptance notes

  • Live walk-through, showcase leg: passed (PR comment 7145761753). A real build, backend --fresh, and the Console dev server serving app-shell from src at this head, driven by headless Chromium as a person would.
    • One non-first item each of object, flow, permission set, hook and dashboard, found by label and opened at its list-row address with its label on the page. The object pick re-enters the Data page.
    • Ctrl+K on the cross-package catalog.
    • M1 on a real item page with an unsaved edit: the pick asks once, Cancel keeps the page and the edit, Back to app asks, OK leaves.
    • S5: Default sharing from the Access page shows the overview.
  • HotCRM leg: carried by Studio 重构(4-2):新形态的端到端测试、总走查,更新平台测试清单、文档和技能里的 Studio 地址与说法 #36910 (the joint walk-through card); this container has no HotCRM stack.
  • N1: MetadataQuickFind on ⌘⇧M (DirectoryPage) is a second item finder beside ⌘K; a follow-up retires or routes it.
  • N2: each open of the palette on a package reads one item list per listed type (the menu's types and counts are shared and not re-read). The client shares only in-flight reads. Draft-only items are not listed.
  • N5: nothing inside Studio advertises ⌘K. Studio's own header draws no search trigger, and the help dialog that lists advertised shortcuts is mounted only inside apps.
  • N6: useStudioMenuTypes no longer memoizes types, and the provider value is a new object each render. The palette's reads key on the type names, so this costs re-renders only.
  • N7: while the package entry loads, the customization label briefly names the base package by its id.
  • N8: the changeset's English body carries the six group names in Chinese too, beside the English.
  • Walk observation: with zero delay between Escape and the next Ctrl+K (automated), a query typed before the lists answered left no row highlighted. With no earlier close, or with a 1 s gap, it worked every time measured. This is synthetic timing, not filed.
  • feat(studio): design an object's public forms in Studio's Form tab #36784 (paused, pre-split) conflicts in StudioDesignSurface.tsx against main itself; this branch merges cleanly with main and feat(studio): a permission set opens full-screen at its metadata address; the sharing overview gets its own route #37089.

Verification

Two minutes: open any package in Studio (/studio/PKG/data), press ⌘K (Ctrl+K), type part of a dashboard's or hook's name, and press Enter. The palette lists the six menu groups and the item; Enter opens /studio/PKG/metadata/TYPE/NAME?package=OWNER. Edit a field on that item page without saving, then pick another entry: the leave prompt appears first, and Cancel keeps the edit.

Where to look in code
  • Leave path: openStudioPaletteAddress (model) and confirmLeavePillar / reenterPillar / openFromPalette (surface).
  • Groups: StudioPaletteGroups (reads) over useStudioMenuData and buildStudioPaletteGroups / studioPaletteItemAddress (pure).

Generated by Claude Code

@github-actions github-actions Bot added size/xl documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 24, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

Finalized head for L1 · 2026-11-24T20:41Z · c78751600 · zone a4-S (#36900)

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

席位核对 — REWORK · L1 · head c787516002073313824885c6eefc3691e0560f23 · 2026-11-24T20:50Z

Requested by zone a4-S (7143932527) for card #36900.

Sound as built: the design surface hands the palette its own groups, loaded only while it is open; the package's menu groups and items (with its .custom pair) come from the existing menu model and the #36895 address builder; no second ⌘K title rule (#35308); no other ⌘K owner in Studio, browser Ctrl+K blocked, pillar Escape handlers ignore the palette's; the palette lists nothing the menu or list pages would hide; no new i18n key; cmdk roles and labelled headings; no per-keystroke reads. Clause-②: no, Metadata-protocol: none, patch: right (app-shell private, no export or key change). Check-runs: 38 success, 13 expected skip, 0 failed.

M1 (must-fix) — a palette pick can drop unsaved edits without asking. Picks go through confirmLeavePillar (StudioDesignSurface.tsx ~1253-1259, CommandPalette.tsx ~423), which checks only the pillar's own unsaved flags (~476); the All-metadata item page (ResourceEditPage) records its edits only with the shell's guard (~2670), so ⌘K leaves it silently — the old palette path and the menu's links both asked. Fix: leave through confirmUnsavedLeave(...) for both "leave" and "re-enter"; pin it on the real item page with unsaved edits and a spied window.confirm, cancel and OK.
S1 (should-fix) — StudioPaletteGroups.tsx copies GROUP_ICONS / ENTRY_LABEL_KEYS and re-implements useStudioMenuTypes from StudioMenu.tsx, re-reading types and the diagnostics sweep on every open. Export the hook and maps, or share the menu's data through context.
S2 (should-fix) — studioPaletteModel.ts restates scopeListRows (metadataListState.ts) and drops the list page's include: listInclude. Call scopeListRows.
S3 (should-fix) — ui/packages/app-shell/README.md still says the studio-scope palette "takes no other prop"; document surface.
S4 (should-fix) — internal names reach users: StudioPaletteGroups.tsx (~250) shows a .custom item's raw package id; the changeset body carries ~org, ~all, .custom, ?package=, "leg", "address builder" into the CHANGELOG. Use the package label / customization wording and write the changeset in product terms.
S5 (should-fix) — the "re-enter" path (Default sharing opened from the Access pillar) is tested only on the pure decision function; closing the palette changes the query before the navigation, and the page's remount trigger fires on the first query change (~1231-1240). Pin it on the real page.
D2 (should-fix, deviation) — the live walk-through cannot be deferred to #36910: its body says each designer card and this one carry their own walk-through, and it is itself blocked. Run this card's walk-through after M1 and attach it.
D1 (accepted) — first push before the overlap check; no harm, later runs merge clean.

Nits: N1 MetadataQuickFind on ⌘⇧M (DirectoryPage.tsx) is a second item finder — follow-up to retire or route it; N2 one environment list read per type per open (declared); N3 guard the surface's own CommandPaletteProvider with useCommandPaletteProviderMounted(); N4 ResourceEditPage Escape on window ignores defaultPrevented (palette Escape over a fullscreen editor may also leave fullscreen) — check; N5 nothing in Studio advertises ⌘K.

Out of scope, pre-existing: the surface header's own departures (StudioDesignSurface.tsx ~1213, ~1348, ~1483) share M1's blind spot — fold into M1's fix if the same guard covers them, else the zone files a defect card.

Landing K: 27 — merge main in the round. Delta L1 on the new head.

…ved-edits seam; share the menu's data

Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
Co-authored-by: Claude <noreply@anthropic.com>
…t in product terms

Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
Co-authored-by: Claude <noreply@anthropic.com>
…arrive after the query; share the menu vocabulary from studioMenuData.ts; Escape a dialog took leaves fullscreen alone

Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
Co-authored-by: Claude <noreply@anthropic.com>
…selects a row that arrives late (measured live)

Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

Live walk-through — #36900 ⌘K (L1 D2), REWORK round 1

Head under test: 5e181efb6 (the walk ran on 7126dfea1, whose src is identical; the later commit touches test files only).

Stack. Run in this container. pnpm build (turbo, 120 tasks); backend OS_PORT=38517 pnpm dev -- --fresh -p 38517 (showcase, --seed-admin, 141 seed rows); Console pnpm --filter @object-ui/console exec vite --port 5187 --strictPort with DEV_PROXY_TARGET on that backend, so app-shell is served from src at this head. Driven by headless Chromium (Playwright, /opt/pw-browsers/chromium) as a person would: UI sign-in as the seeded admin, Ctrl+K, type the item's label, wait for the highlighted row, Enter. Both servers were stopped by PID afterwards.

Result: every step passed.

signed in -> /
walking package com.example.showcase
  object: 24 in com.example.showcase; walking showcase_cascade ("Cascading Select")
  flow: 33 in com.example.showcase; walking showcase_committee_quorum ("High-Value Expense — Committee Quorum")
  permission: 9 in com.example.showcase; walking showcase_auditor ("Showcase Auditor")
  hook: 8 in com.example.showcase; walking showcase_guard_paid_invoice_line_add ("Guard Paid Invoice Line Add")
  dashboard: 3 in com.example.showcase; walking showcase_revenue_pulse ("Revenue Pulse")
at /studio/com.example.showcase/data
1. Ctrl+K on the Data page opens the palette; groups: Data | UI | Automation | Platform | Access | Packages | Preferences
   items listed: 253, menu entries: 25
   highlighted before Enter: studio-item object showcase_cascade
2. object "Cascading Select": found by its label, opened /studio/com.example.showcase/data?surface=object%3Ashowcase_cascade; its label on the page: yes
   highlighted before Enter: studio-item flow showcase_committee_quorum
3. flow "High-Value Expense — Committee Quorum": found by its label, opened /studio/com.example.showcase/automations?surface=flow%3Ashowcase_committee_quorum; its label on the page: yes
   highlighted before Enter: studio-item permission showcase_auditor
4. permission "Showcase Auditor": found by its label, opened /studio/com.example.showcase/access?surface=permission%3Ashowcase_auditor; its label on the page: yes (first heading "Showcase Auditor")
   highlighted before Enter: studio-item hook showcase_guard_paid_invoice_line_add
5. hook "Guard Paid Invoice Line Add": found by its label, opened /studio/com.example.showcase/metadata/hook/showcase_guard_paid_invoice_line_add?package=com.example.showcase; its label on the page: yes
   highlighted before Enter: studio-item dashboard showcase_revenue_pulse
6. dashboard "Revenue Pulse": found by its label, opened /studio/com.example.showcase/metadata/dashboard/showcase_revenue_pulse?package=com.example.showcase; its label on the page: yes
7. Ctrl+K on the cross-package catalog opens the palette, with its menu entries: 6
8. customization package com.example.showcase.custom (ensure 200); doc saved there: 200
   the item page is on /studio/com.example.showcase.custom/metadata/doc/walk_36900_doc
   unsaved edit, pick "Organization flows": asked 1 time(s) ("You have unsaved changes. Leave this page anyway?"); Cancel kept the page, edit still there: yes
   Back to app with the edit: asked 1 time(s); Cancel kept the page
   OK: asked 1 time(s), left for /studio/~org/automations
   selected before Enter: studio-entry owd
9. on the Access page (Showcase Auditor), pick Default sharing: overview shown before 0, after 1; at /studio/com.example.showcase/access?surface=owd%3Aoverview

Reading it:

  • 2 to 6: one item each of object, flow, permission set, hook and dashboard, as the card's acceptance asks. None is its type's first item, so a page that opened on its default proves nothing. Each was found by its label and opened at the address its list row leads to, with its label on the opened page. Step 2 also exercises the same-page re-entry: from the Data page to another object.
  • 7: the cross-package catalog has Ctrl+K again.
  • 8 (M1): a real "All metadata" item page with an unsaved edit, a doc in the showcase's customization package created for the walk. The palette pick asks once with the page's own question; Cancel keeps the page and the edit; Back to app asks too; OK leaves.
  • 9 (S5): Default sharing picked on the Access page opens the overview (not shown before, shown after).

Not measured: HotCRM. No HotCRM checkout or stack exists in this container; the walk covers the showcase app only.

Two observations from the walk (no defect filed):

  • With zero delay between Escape and the next Ctrl+K (an automated reopen), a query typed before the lists answered left no row highlighted, so Enter did nothing. With no earlier close, or with a 1 s gap, measured three times (twice without the candidate fix below), the row that arrives is highlighted and Enter opens it. A first-row-selection fix was tried and then dropped: live, it changed nothing a person can reach.
  • An item of the customization package opens on that package's own Studio scope, as its list row does, so the palette there lists that package's menu.

Screenshots of every step were taken locally; they are not attachable through the relay.

… live (studioMenuData.ts)

Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

Finalized head for delta L1 · 2026-11-24T23:00Z · 7bbe1c54b · zone a4-S (#36900), rework round 1 on L1 7144125191

  • CI on 7bbe1c54b: 38 success, 13 skipped (UI-only path skips and the opt-in and queue jobs), 0 failed.
  • origin/main (eec6fb3f0) was merged this round, as K=27 required.
  • os-dev report: Studio 重构(⌘K):Studio 设计界面里挂命令面板,范围是当前包的全部元数据类型,结果打开新地址 #36900 comment 7146877637. Live walk-through evidence: comment 7145761753 on this PR.
  • How each L1 point was answered:
    • M1: palette picks and the three header departures leave through confirmUnsavedLeave. This is pinned on the real ResourceEditPage with a dirty draft (Cancel, OK, and a clean control).
    • S1: the menu's data moved to studioMenuData.ts behind one provider, which the menu and the palette share.
    • S2: scopeListRows with the list's include.
    • S3: README.
    • S4: the package label, and the changeset in product terms.
    • S5: re-entry pinned on the real Access page.
    • N3: the provider is guarded.
    • N4: Escape respects a dialog that took it.
    • D2: the showcase walk-through ran. The HotCRM leg is NOT MEASURED, because this container has no HotCRM checkout or stack.
  • Acceptance notes only: N1 (MetadataQuickFind on ⌘⇧M), N2, N5.
  • Size: 1,766 changed lines in total, under 3,000.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

席位核对 — ACCEPT · L1 · head 7bbe1c54bfc008a05412701471c7795c3088ce2b · 2026-11-24T23:05Z

Delta L1 for card #36900 over the REWORK at c787516002 (7144125191), requested by zone a4-S (7146907370).

  • Delta shape. A merge of main (6d0e3d1, tree equal to the automatic merge of its parents) and six commits (+705/−229 non-merge). Net against main: 15 files, +1,679/−92 = 1,771 lines, under 3,000.
  • M1: closed. confirmLeavePillar goes through confirmUnsavedLeave, which holds the surface's own work and every registered editor; a palette leave goes through it in openStudioPaletteAddress, and re-enter goes reenterPillar → confirmLeavePillar. Pinned on the real ResourceEditPage with the real palette and a spied confirm (Cancel, OK, clean control) and on the real surface's Back to app; walked live. The header's own departures (Back to app, the retired-Interfaces notice, requestSurface, openAccess) use the same path — the pre-existing gap is closed with it; no defect card owed.
  • S1: closed. The menu's data, icons and labels live in studioMenuData.ts; one StudioMenuDataProvider feeds the menu and the palette, so opening the palette re-reads nothing.
  • S2: closed. scopeListRows with the list page's listInclude, pinned.
  • S3: closed. The app-shell README documents surface, the provider guard and the seam.
  • S4: closed. A customization item reads "Customization of {package name}" (pinned: no .custom text); the changeset is in product terms.
  • S5: closed. The re-entry latch waits for the requested query; pinned on the real Access pillar and walked live.
  • N3, N4: closed (provider guard on both mounts; ResourceEditPage's Escape checks defaultPrevented, pinned).
  • D2: closed for this card. The showcase walk-through (7145761753) covers every acceptance type, each a non-first item opened at its list-row address, plus ~all, M1 on a real item page and S5 re-entry. The code has no app-specific branch. The HotCRM leg was not measured (no HotCRM stack in the container); Studio 重构(4-2):新形态的端到端测试、总走查,更新平台测试清单、文档和技能里的 Studio 地址与说法 #36910, the joint walk-through card, carries it — noted there.
  • Before landing (body, not code): the PR body still describes c787516002 (size, "walk-through NOT MEASURED", the old leave path and re-reads, no M1/S5/N4 pins). The zone refreshes it to this head — a body edit does not move the head.
  • Nits (zone's discretion): N6 useStudioMenuTypes no longer memoizes types and the provider value is a new object each render (re-renders only); N7 the customization label briefly shows the base package's id while the package entry loads; N8 the English changeset carries inline Chinese group names.
  • Gates. Check-runs at this head: 38 success, 13 expected skip, 0 failed. Landing K: 14. Clause-②: no, Metadata-protocol: none, patch: hold.
  • No must-fix, no should-fix. The zone lands it after the body refresh.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

Landing · 2026-11-24T23:09Z · head 7bbe1c54b · zone a4-S (#36900)

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 24, 2026 23:09
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit 355c73c Nov 24, 2026
56 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-36900-studio-cmdk branch November 24, 2026 23:30
os-justin pushed a commit that referenced this pull request Nov 25, 2026
…ss and the overview's route (#36905)

With the merge of origin/main, three palette pins from #37108 still read the
Access pillar: the ⌘K pick of Default sharing waited for the pillar's rail
and expected `/access?surface=owd:overview`, and the palette's item and menu
pins expected the pillar addresses. They now start on the set's full-screen
page and expect `/studio/PKG/metadata/permission/NAME?package=PKG` and
`/studio/PKG/owd`. The pure departure pins take the same shapes, and the
console's gate pin lists the overview's own route.

Claude-Session: https://claude.ai/code/session_01QSeKYocL4fDtJqdSgFrR6h
Co-authored-by: Claude <noreply@anthropic.com>
os-justin pushed a commit that referenced this pull request Nov 25, 2026
…ection (#36905)

Since #37108 the surface mounts the command palette, whose record preview
reaches a dynamic `import('@object-ui/plugin-detail')`. The fifteen surface
tests this PR edits now pay that load at module top, as #37108's own pins
do (`check:test-source-alias`).

Claude-Session: https://claude.ai/code/session_01QSeKYocL4fDtJqdSgFrR6h
Co-authored-by: Claude <noreply@anthropic.com>
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…ess; the sharing overview gets its own route (objectstack-ai#37089)

Fixes objectstack-ai#36905

Clause-②: no
Metadata-protocol: none

## 维护者速读

- 用户能看到什么变化:管理员在 Studio 里点开一个权限集,右侧整块显示权限矩阵,左上角 ×
回到权限集列表,页签里能看引用、历史和源码;「谁能看到哪些记录」有了自己的页面,在左侧菜单「访问」里;旧书签自动跳到新地址。
- 为什么做:Studio 重构专题里「权限集矩阵全屏、默认共享总览独立」这一项,让权限集和其他元数据一样从列表点开、全屏编辑。
- 出错会怎样:有未保存修改时点 ×、切菜单、刷新或关标签页会先问(浏览器后退键不问);AI 留下的草稿有提示并可一键放弃;本改动可以直接撤回。
- 要你做什么:这个改动超过 3,000 行(主要是删掉旧的权限侧栏和只为它服务的测试),按您的安排开发完等您审核合入。

## What changes

A permission set now opens full-screen at its metadata address, and the
organization-wide default sharing overview has a route of its own. The
Access pillar draws no page any more: every address it answered
redirects.

Three facts for the reviewer, up front:

- **No published string is removed.** The 15 studio catalogue rows only
the pillar read (`engine.studio.access.*` of its rail and create dialog,
and `engine.studio.owd.railLabel`, en and zh) ship in the released
`@object-ui/i18n`, so they stay in
`ui/packages/i18n/src/namespaces/studio/en.ts` and `zh.ts`,
byte-for-byte as on `main`, unread. `check:i18n-dead-keys` lists them as
candidates (report only), as it does other unread rows.
- **Merged with objectstack-ai#37108** (⌘K on every Studio design page): `origin/main`
is merged at `709d2c1e`, and objectstack-ai#37108's palette and ⌘K pins now expect the
set's address and the overview's route.
- **The browser's Back button is not guarded** (epic objectstack-ai#36890 decision
12): ×, ‹ ›, the left menu, ⌘K, Back to app, a reload and a tab close
ask before unsaved edits are dropped; Back does not.

1. **The set's full-screen page** (`StudioPermissionSetPage`, new). On a
package's leg, `/studio/PACKAGE/metadata/permission/NAME` opens the
matrix (`PermissionMatrixEditPage`, its Studio presentation) in the area
instead of sending the set to the Access pillar
(`AREA_DESIGNER_PAGE_TYPES` / `areaItemOpensDesignerPage` in
`metadataArea.ts`). The header is the full-screen detail's
(`ResourceDetailHeader`, from objectstack-ai#36892/objectstack-ai#36901): × back to the list with
its context, ‹ › through it, label (the machine name on its tooltip),
type and package, ⋯. The tab row is the matrix's five sections, then
`ItemToolTabs`' References, History (with the audit log) and Source; a
tool tab is addressable (`?tab=`) and keeps the matrix mounted and
hidden. The matrix gains one optional seam for this, `studio.frame`
(`renderHeader`, `toolOpen`, `toolPanel`, `onDraftChangesRead`); without
it the matrix draws its own header exactly as before. The cross-package
leg (`/studio/~all/...`) keeps the matrix's environment page.
2. **What the pillar drew around the matrix comes along.** Discard
draft, Explain access, the suggested-audience strip, and on a read-only
base "New similar": in ⋯ on the page, and as a row action on the base's
own rows in the list of sets (`ResourceListPage`; not on its pair's
rows). The copy opens at its own metadata address with the strip saying
where it landed (`permissionNewSimilar.tsx`, shared by the page and the
list). Unsaved edits: the matrix registers with the shell's leave guard
and the top bar's Save, so ×, ‹ ›, the menu, a reload and a tab close
ask first; the browser's Back is not guarded (epic decisions 1 and 12).
A discard sends a never-published set back to the list only when the
package's sets were read and it is not among them: an unanswered read
keeps the page on the set.
3. **Card item 6, decided here.** An AI-written pending draft (copilot
or MCP) gets the designers' notice (`StudioAiDraftNotice`) with 「放弃 AI
的改动」, which drops that one set's draft at its package and asks first
only when the matrix holds unsaved edits: the rule objectstack-ai#37026 applied to the
generic item page. A person's own leftover draft keeps Discard draft
(decision 14). The matrix reports the draft's `draftChanges` from the
read it already makes; no new request. Issue objectstack-ai#36660 stays open: this PR
applies its rule on the permission set page only; hooks, added actions
and the sharing overview's rows are still its scope.
4. **The sharing overview's own route**, `/studio/PACKAGE/owd`
(`StudioOwdOverviewPage`, new; `studioOwdOverviewPath`,
`STUDIO_OWD_SECTION`), the Access group's menu entry
(`studioMenuModel.ts`: its `to` and the current-entry mapping). A set's
per-object visibility badge opens it on that object (`?object=NAME`).
Its one read-only mark is the header's (objectui#12453), so the panel's
own duplicate is gone.
5. **Address switch.** `permission` leaves `STUDIO_ITEM_PILLAR`, so
`studioItemPath` (the palette, the AI artifact links, every producer)
answers the metadata address; the menu's designer types are named
explicitly so a permission set keeps its entry.
`/studio/PACKAGE/access?surface=permission:NAME` redirects to the set's
address, `?surface=owd:overview` to the overview, a bare `/access` to
the list of sets, other parameters kept (`accessPillarRedirect.ts`). A
set a read-only base's `.custom` pair adds (every "New similar" copy
among them) was listed on the base's pillar and opened at the pair,
writable, while the address named the base: its old address now opens at
the pair's, `/studio/PAIR/metadata/permission/NAME?package=PAIR`. For an
address that names a set, `AccessPillarLanding`
(`accessPillarLanding.tsx`, new) reads the base's and the pair's sets,
published and draft, as the pillar listed them, and
`accessPillarSetHolder` decides: the base when it holds the name, else
the pair when it does, else the base; a failed pair read lists none of
the pair's sets, a failed base read stays on the base. The pair is the
spec's pairing rule (`customizationPackageId`), as the list of sets
derives it. Every other address redirects at once.
`.../permission/NAME/history` opens the History tab:
`AreaHistoryRedirect`'s own-editor exemption no longer covers a designer
page. The address table's rows say where each moved (`redirectsTo`).
6. **The copilot keeps its context.** The pillar put the set in
`?surface=`; the page's address carries it in the path, so the copilot's
surface context reads a designer page's address too
(`areaDesignerItemOf`, pillar `metadata`), and the page reports its
label, so the chip still reads 「正在看:权限 · 组织成员」 (objectstack#35018). Only
designer-page types are read this way, and
`PACKAGE/metadata/permission/new` (the area's create page) is no item;
every other area item is unchanged.
7. **Card item 5: the Access pillar and its rail are deleted**
(`AccessPillar.tsx`, maintainer's answer on epic objectstack-ai#36890, comment
7145880574: this card, reviewed by the maintainer as Tier H by size).
Five test files go with it (`accessCreateTaken-26836`, `accessGuard`,
`accessRailLabelLive-26846`, `accessRailLabels-11862`,
`accessTabs-12456`), and the Access cases of
`StudioRail.noMatches-26733`, `emptyStates-12514`,
`readOnlyWording-11781`. Not all of that was pillar-only:
`accessTabs-12456`'s matrix cases (the five tabs and sections, the facet
panels kept mounted for the Save gate, the bulk strip with keyboard
focus, the CRUD write, the sharing chip and the object count) and
`accessCreateTaken-26836`'s discard cases (a declined question, a
never-published set, a read-only package) moved to the page's pin; what
went is the rail, the pillar's own header and its create dialog. The
other pins of behaviour that lives on moved to the page too: the
matrix's Studio Save (`studioSave-36511`, `saveSurface-12725`), New
similar (`accessNewSimilar-28573`, now through ⋯), the suggestions strip
on a read-only package (`accessSuggestionsReadOnly-33158`), the zh
wording (`accessWording-34795`), the status place (`statusPlace-12524`)
and the read-only banner. The page keeps objectstack#34795's ruling: the
set's machine name is the title's tooltip, so its header draws no
API-name chip.

## Tests

<details><summary>New pins</summary>

- `StudioPermissionSetPage.fullScreen-36905.test.tsx` (26 in round 1):
the detail header and no matrix header; section and tool tabs; a tool
tab addressable and the matrix kept mounted; × to the list; Discard
draft at the set's package, CONTROL none without a draft; a declined
question discards nothing; a never-published set's question and its
discard back to the list, CONTROL a published set stays and re-reads; no
discard on a read-only package; an unanswered sets read keeps the AI
discard on the set; the AI notice for copilot and mcp drafts and its
discard without a question on a clean page, CONTROL a person's draft;
New similar in ⋯ landing at the copy's address with the strip, the
no-package answer, CONTROL none on a writable package; the matrix's five
sections (order and landing, each section, facets kept mounted, the bulk
strip on every row, keyboard focus, CRUD and the header's count, the
sharing chip opening the overview on its object and the object count).
- `metadataAreaHost.scope-28561.test.tsx` (+4, "New similar" on a
read-only base's rows): the base's row offers it and its pair's row does
not; the copy opens at its metadata address in the package the clone
door names; an answer naming no package opens nothing and says so;
CONTROL a writable package offers none. The list's create button is
queried by its new test id (`metadata-list-create`), not its label,
which "New similar" no longer collides with.
- `accessPillarRedirect.test.ts` (7): set, overview, bare and unknown
surfaces, parameters carried; a set held in the pair opens at the pair's
address while the overview and the list stay on the base; the set name
an address opens; the holder decision (the pair's set, CONTROL the
base's own set even when the pair holds the name too, neither, a failed
pair read, a failed base read).
- `StudioDesignSurface.accessPairCopy-29674.test.tsx` (+4, the retired
pillar's address through the real surface):
`/studio/BASE/access?surface=permission:COPY` lands on
`/studio/PAIR/metadata/permission/COPY?package=PAIR`, the copy reads
Custom and an edit saves at the pair; a set created in the pair, still a
draft, lands there too; the address's other parameters reach the
redirect and ride along (`?ref=bookmark`; `?changes=review` is consumed
by the surface, which opens the drawer); CONTROL the base's own set's
old address stays on the base and reads Package.
- `StudioPermissionSetPage.fullScreen-36905.test.tsx` (+3, the sharing
chip's leave guard): with a dirty matrix the chip asks the unsaved-edits
question once, and declined the page stays on the set with the edit;
confirmed it opens the overview on its object; CONTROL a clean matrix
asks nothing.
- `StudioMetadataArea.routes-28561.test.tsx` (+4): the set opens in
place on writable and read-only packages, CONTROL the cross-package leg
keeps the generic page, the old history address opens the History tab.
- `metadataArea.test.ts`, `studioAddress.test.ts`,
`studioMenuModel.test.ts`: the predicate, the address reader (the create
page is no item), `studioOwdOverviewPath`, the moved rows agree with the
redirect, the menu entry and current key.

</details>

<details><summary>Pins moved to the new addresses</summary>

- From objectstack-ai#37108 after the merge: `StudioDesignSurface.metadataArea-28561`
(⌘K's Default sharing from a set's page opens `/studio/PACKAGE/owd`),
`StudioPaletteGroups.surfaceScope-36900` (an item opens at
`/studio/PACKAGE/metadata/permission/NAME?package=PACKAGE`, the menu
entry at `/studio/PACKAGE/owd`), `studioPaletteModel-36900` (leave,
re-enter and stay read on the set's address; the overview's route is a
leave).
- `StudioRoute.metadataArea-28561` (console): the Studio gate refuses
`/studio/PACKAGE/owd` as it refuses the old overview address.
- `StudioDesignSurface.pillarNavGuard.test.tsx`: decision 12 on the set
page and the overview page (menu, Back to app, the shell seam; dirty
matrix and dirty overview rows; CONTROL clean).
- `StudioDesignSurface.accessPairCopy-29674.test.tsx`: a pair's copy at
the pair's address lists the base's objects, saves at the pair, names
the base by its label, reads Custom; CONTROL the base's own set. Its
docstring now claims only the header's half it reads.
- `StudioItemHeader.statusPlace-12524`: the read-only link is a direct
child of the page's action group, the group a direct child of the
actions slot.
- `StudioDesignSurface.aiChipLabel.test.tsx`: the chip and the agent's
surface context on the set page.
- `accessSegment-12452`: the old Access address lands on the list of
sets with its entry current. `notFound-26708`, `readOnlyPosture-12453`,
`pillarsClaimSlot-12725`, `rightSlot-12725`, `backToApp-36501`,
`changesCount-11787`, `copilotDraftBadge-12725`, `publishPosture-12517`
used the Access pillar as "a package page that claims nothing"; they use
the overview page now.

</details>

<details><summary>Ablations (four, each reverted)</summary>

- Round 1: `const aiDraft = …` forced to `false` through
`scripts/ablation-replace.mjs`: anchor 1 → 0, blob `3dc44aa6` →
`fdd76cfd`; the AI-draft describe went 2 failed, 1 passed (the CONTROL);
restored blob == HEAD `3dc44aa6`, `git diff HEAD` empty.
- This round, on `11aaddcc`: the never-published test put back to
`!read?.published.has(name)` through `scripts/ablation-replace.mjs`:
anchor 1 → 0, blob `3ac18e32` → `0923112b`; the page's discard cases
went 1 failed (the unanswered-read pin), 9 passed (the published CONTROL
among them); restored blob == HEAD `3ac18e32`, `git diff HEAD` empty. A
first pass on `3d7c1d00` stayed green: the pin asserted the address
right after the reset and raced the navigation, so it now waits for the
re-read only a page that stays makes.
- Round 3, on `7d5d87bd` (tree identical to `79987757`): the landing's
holder ignored (`{ setHeldIn: holder ?? packageId }` → `{ setHeldIn:
packageId }` in `accessPillarLanding.tsx`) through
`scripts/ablation-replace.mjs`: anchor 1 → 0, blob `f9502964` →
`169d7fcc`; `accessPairCopy-29674` went 3 failed (the copy, the pair's
draft, the carried query), 8 passed (the base's CONTROL among them);
restored blob == HEAD `f9502964`, `git diff HEAD` empty.
- Round 3, on `7d5d87bd`: the chip's guard removed
(`confirmUnsavedLeave(() => navigate(…))` → a bare `navigate(…)` in
`StudioPermissionSetPage.tsx`) through `scripts/ablation-replace.mjs`:
anchor 1 → 0, blob `3ac18e32` → `2b68c388`; `fullScreen-36905` went 2
failed (declined and confirmed both ask once), 27 passed (the clean
CONTROL among them); restored blob == HEAD `3ac18e32`, `git diff HEAD`
empty. A first spelling was refused by the tool before anything ran (its
replacement was a substring of the anchor, so the replacement count
could not rise).

</details>

## Acceptance notes

- `StudioDesignSurface`'s `PILLAR_FOR_SURFACE_TYPE` still routes a
`permission` surface request through `/access?surface=`, and its "open
Access" toast action through bare `/access`; both now land via the
redirect. They go with the pillar routes in objectstack-ai#36909.
- `PermissionMatrixEditor`'s Studio header without a `frame` (its own
`StudioItemHeader`, History button and ⋯) has no Studio host since the
pillar is gone; 13 of the matrix's own unit tests still render it, so it
stays this round and its doc comments say so. Deleting it with those
tests' rewrite goes with objectstack-ai#36909. The matrix's prop docs no longer name
the Access pillar as their host.
- On a pair's leg the provenance chip reads Custom for every set
(`customizationMark: 'added'`): a permission set takes no override
(ADR-0005), so a set the pair holds is one it adds.
- The suggested-audience strip draws on every set page, as it drew above
every set in the pillar.
- `node scripts/pm/overlap-check.mjs` on `7d5d87bd` (tree identical to
`79987757`): `origin/main` (`3b4f0b98`) merges cleanly; objectstack-ai#37185 merges
cleanly; objectstack-ai#37168 and objectstack-ai#37169 (open) conflict on `StudioAiCopilot.tsx`,
`StudioDesignSurface.tsx`, `StudioMetadataArea.tsx`, `metadataArea.ts`,
`studioAddress.ts`, `studioMenuModel.ts` and their tests; objectstack-ai#37166 now
conflicts on `StudioDesignSurface.notFound-26708.test.tsx`, a file this
round does not touch. Whichever lands second rebases.
- The seat's L1 REWORK (7150986891) on the contract review (7150969735):
M1 fixed (item 5, pinned in `accessPairCopy-29674` and
`accessPillarRedirect.test.ts`, ablated); S1 fixed (the chip's
dirty-matrix cases, ablated); N1 fixed (the carried-query case through
the real surface). The pair redirect reads the spec's pairing rule
rather than the surface's `pairId`: that value is set only once the
package list and its manifests answer, and a failed manifests read
leaves it unset, which would hold the redirect forever.
- Review nits from the seat's L1 (7147848289): N1 above; N2, N3, N4, N7,
N8 and N10 fixed in the pins and comments named in Tests; N5 fixed
(`areaDesignerItemOf` reads `permission/new` as no item); N6 fixed and
pinned (the unanswered-read case, ablated above); N9 in item 3.

## Verification

First to read:
1.
`ui/packages/app-shell/src/views/studio-design/StudioPermissionSetPage.tsx`
— the page; the discard paths (`dropDraft`) and the New similar landing.
2.
`ui/packages/app-shell/src/views/metadata-admin/PermissionMatrixEditor.tsx`
— the `frame` branch of `renderStudio`: the sections stay mounted under
a tool tab.
3. `ui/packages/app-shell/src/views/studio-design/StudioAiCopilot.tsx` —
the copilot's context now reads a designer page's path.

Two-minute check: on HotCRM, open
`/studio/PACKAGE/access?surface=permission:NAME` from an old bookmark —
it lands on `/studio/PACKAGE/metadata/permission/NAME?package=PACKAGE`,
the matrix full-screen with × in the header (for a "New similar" copy on
a read-only base, on
`/studio/PACKAGE.custom/metadata/permission/NAME?package=PACKAGE.custom`,
writable); the menu's Access group opens 「谁能看到哪些记录」 at
`/studio/PACKAGE/owd`.

<details><summary>Local runs</summary>

Round 3, head `79987757` (tree identical to `7d5d87bd`, where these ran;
only the two commit messages' trailer pair was reworded), through
`scripts/pm/os-verify-lock.sh`:

- `ui/packages/app-shell/src/views/studio-design/` whole directory: 299
files passed, 2206 tests.
- `ui/packages/app-shell` `type-check` (both `tsc` programs): exit 0, 0
errors.
- eslint `--no-inline-config` on the six touched source and test files:
exit 0, 0 errors (11 warnings, every one on an untouched line of
`StudioDesignSurface.tsx`).
- Run one by one, exit captured before any pipe, each exit 0:
`check:test-source-alias` (also on `79987757`), `check:nul-bytes`,
`check:cross-package-test-inputs`, `check:undeclared-dep-imports`,
`check:tier-file-adoption`, `check:published-files`,
`check-empty-changeset.mjs`, `check-adr-0087-registration.mjs`,
`check-changeset-no-major.mjs`, `check-closing-keyword-parity.mjs`. The
other 28 families of the same 38-family derivation read no file this
round changes and were green on `bcde26a0`; CI runs them all.

Round 2:

`objectstack-ai/objectstack`, head `bcde26a0` (origin/main merged at
`709d2c1e`), through `scripts/pm/os-verify-lock.sh`:

- Affected UI set on `80bd343a` (73 files: every test this PR adds or
edits, plus each that names the page, the list page, the area's address
reader, the palette or the overview's route): 73 passed, 938 tests; the
15 files `bcde26a0` then edited re-run there: 15 passed, 108 tests. CI
runs the whole UI farm.
- `ui/packages/app-shell` `type-check` (both `tsc` programs) on
`bcde26a0`: exit 0.
- `check-i18n-call-site-keys.mjs` exit 0; `check-i18n-dead-keys.mjs`
exit 0 (report only; the 15 restored rows are listed as candidates).
- `dispatch-gates.mjs --commands` (same 38 families on `80bd343a` and
`bcde26a0`): run one by one, exit captured before any pipe.
`check:test-source-alias` exit 1 on `80bd343a` (15 surface tests this PR
edits now reach the palette's `import('@object-ui/plugin-detail')` since
objectstack-ai#37108; collection-time import added in `bcde26a0`), re-run exit 0;
every other family exit 0; `pnpm --dir ui exec vitest run scripts/` 172
files passed, 2 skipped, 5130 tests. `--ran` reconciliation: 38 derived,
38 run, 0 NOT-MEASURED, every line with its exit code. On `bcde26a0`
re-run: `check:test-source-alias`, `check:undeclared-dep-imports`,
`check:cross-package-test-inputs`, `check:type-check-debt`,
`check:nul-bytes`, each exit 0.

</details>

---
_Generated by [Claude
Code](https://claude.ai/code/session_01QSeKYocL4fDtJqdSgFrR6h)_

<!-- signed: repo:objectstack#4 · os-justin ·
session_01QSeKYkkwuF6UuFtu85Yd5H -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/xl tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Studio 重构(⌘K):Studio 设计界面里挂命令面板,范围是当前包的全部元数据类型,结果打开新地址

2 participants