Skip to content

feat(studio): the object designer opens full-screen on its metadata address, tabs in #36513's order - #37168

Merged
os-zhuang merged 22 commits into
mainfrom
claude/issue-36904-object-designer-fullscreen
Nov 25, 2026
Merged

os-zhuang merged 22 commits into
mainfrom
claude/issue-36904-object-designer-fullscreen

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Fixes #36904
Refs #36513 (its section 一, the tab order, is delivered here; its section 二 was superseded by epic #36890)
Clause-②: no
Metadata-protocol: none

维护者速读

  • Studio 里点开一个对象,设计器在右侧整屏打开,有自己的地址;左上角 × 回对象列表,右上角 ‹ › 看上一个、下一个,设计器左边那一列对象列表没有了。
  • 这是 Studio 改版专题里的对象设计器一张,也按之前定的把对象页签排成:记录、字段布局、验证、操作、设置、钩子、API。
  • 出错时管理员会打不开或改不了对象(Studio 最常用的路径),旧链接也会落到对象列表;整张合并即可撤回。
  • 这张约 4200 行(4,177 行),超过 3000 行:其中删掉的测试约 1700 行(六个整份删掉的测试文件约 1000 行,测的是左侧列表、页内新建、空包页面和实时请求,这些本卡都去掉了),改写和新增的测试约 1000 行,产品代码约 1400 行;需要您审核后合并。

What changes

This rework round (L1 7149684173)

  • M1: the rail-switch suite's four cases are carried onto the designer's × and › on the real surface (StudioDesignSurface.heldDataLeave-26705, new top-level describe): an unsaved edit that is not held asks on › and ×; an edit whose Save was refused asks; a saved edit leaves without asking; nothing pending leaves at once and sends nothing.
  • S2: the Changes-sheet object link uses draftScope ?? packageId (StudioDesignSurface.tsx), pinned in heldDataCreate-26845 (a read-only base with a listed pair lands on the pair's address).
  • S3: /metadata/object/X/history opens the designer on History (StudioMetadataArea.routes-28561); ?tab=hooks and ?tab=history open those tabs, ?tab=nonsense opens Records (DataPillar.flatTabs-12450).
  • S4: copilotChangesLine-34725 asserts the partly-refused discard's message is still on screen after the object re-read.
  • S5: metadata-address cases in studioSurfaceContext (the object, its history address, and the create page, the list and a generic item naming nothing) and studioSurfaceLabel-8219 (the chip shows the label only for the object the address names).
  • S6: ui/packages/app-shell/README.md sends an object to its designer's address; the changeset is rewritten in user terms.
  • S7: areaItemOpensObjectDesigner and metadataAddressArtifact are replaced by feat(studio): a permission set opens full-screen at its metadata address; the sharing overview gets its own route #37089's helper (above); after feat(studio): a permission set opens full-screen at its metadata address; the sharing overview gets its own route #37089 landed, main is merged and the list holds both types.
  • N8, found on the browser walk: an address naming no object offered it as an "Unpublished new object"; it now says "Object not found" (objMissing, DataPillar.tsx; pinned in draftOnlyNoLayers-12508).
  • Added by seat a4-S: the object create publishes pinned (publishCreated, If-None-Match: *), as the flow create does, so an object another writer published under the name since the check is refused, not replaced. Pinned in MetadataListCreateDialog.pairCreate-36897, with the in-package taken notice and its Open.
  • N2, N3, N4: stale comments corrected (SidebarItemMenu.tsx, studioAddressTable.ts, studioInterfacesRetired.ts, the header-label comment in DataPillar.tsx, which now says what the code does: the draft's label when there is one); two controls carried over (a package with no namespace previews and saves the bare identifier, in MetadataListCreateDialog.pairCreate-36897; a label-less draft-only object is titled by its name, in DataPillar.draftOnlyNoLayers-12508). N7: areaDesignerItemOf reads /metadata/object/new as the create page.

Tests

  • New: objectDesignerTabs.test.ts (order word for word, address round trip, tool tabs, values that open nothing); metadataArea.test.ts (the designer-page helper, dataPillarRedirect, areaDesignerItemOf); DataPillar.flatTabs-12450 rewritten for the ruled order, the two-step fold and ?tab=.
  • Rehosted on the list dialog (the create's home now): the OWD default, the stored-name preview (with and without a namespace) and the taken-identifier refusal into MetadataListCreateDialog.pairCreate-36897; the app-menu join suite, the OWD select, the labels and the taken-identifier object block onto MetadataListCreateDialog.
  • Converted: about 60 designer and surface suites now open the object on its address (objectName, area routes).
  • Deleted, behaviour removed by this card, each with the pin that remains: StudioDesignSurface.emptyPackage (no in-page empty state), StudioDesignSurface.createObjectOwd (duplicated in MetadataListCreateDialog.pairCreate-36897: chosen and default sharingModel, mode: 'draft'), DataPillar.railSwitchFlush-27511 (its four cases now on the designer's × and ›, heldDataLeave-26705), DataPillar.surfaceRequest (the pillar's own live-request apply; the surface's navigation is pinned in heldDataCreate-26845), DataPillar.draftObjectLabel-11843 (the rail's label read; the header's label is pinned in draftOnlyNoLayers-12508, both the labelled and the label-less draft), StudioDesignSurface.aiApplyRefresh (the rail growing on the pulse); and the rail-only cases inside autosaveSwitch-11232, celGate, actionDeepLink-34724, heldDataLeave-26705 (the rail switch case became × back to the list), StudioRail.noMatches-26733 (Data rail), oneSurface-28572 (pair rows on the rail).
Local runs at a9e7bb7, the CI follow-up at 562d068, the main merges at 046762e and 64a5a2d, and the seat's additions at d09f2b3 / 2bf127d

Main merge after #37185, 64a5a2d7: app-shell closure rebuilt (VERDICT exit 0); app-shell type-check 0 error TS (VERDICT exit 0); every app-shell suite naming the designer, the area, the copilot, the menu model, the permission page, the access redirect or the create dialog, plus every app-shell test #37185 touched (359 files): Test Files 359 passed (359), Tests 3237 passed (3237), VERDICT exit 0. dispatch-gates --commands (39 families) all exit 0; --ran "39 derived, 39 run, 0 NOT-MEASURED, 0 UNRUN". Declared narrowing: pnpm --dir ui exec vitest run scripts/ was killed by the container's memory limit at the default worker count (twice, once with nothing else running), so it ran with --maxWorkers=2: Test Files 172 passed | 2 skipped (174), exit 0; CI runs it at its own width. check:test-source-alias exit 0; overlap-check: origin/main merges cleanly.

Seat additions, d09f2b31 (code) and 2bf127d4 (changeset wording): the create dialog's suites plus the create-adjacent surface suites (8 files): Test Files 8 passed (8), Tests 67 passed (67), VERDICT exit 0; app-shell type-check 0 error TS (VERDICT exit 0); eslint 0 errors, no warning on an added line; check:test-source-alias, check:nul-bytes, check:cross-package-test-inputs and check-empty-changeset exit 0; overlap-check: origin/main 0a1b69c0 merges cleanly.

CI at the head, 64a5a2d7: 62 check-runs, 47 success, 15 skipped, 0 failed. CI at 2bf127d4: the same, 45 success, 13 skipped, 0 failed. CI at 046762e5: 58 check-runs, 45 success, 13 skipped, 0 failed (Test UI, Type Check UI, Lint UI, Build & E2E UI, Live E2E UI, Test Core, Dogfood Regression Gate, Governed Surface Queue Guard, Check Changeset, Check PR Size among the successes).

Main merge, 046762e5 (after #37089 landed; 139 files, +1,601 / −2,489 = 4,090 changed lines against the new merge base): pnpm install, then the app-shell dependency closure rebuilt (lock VERDICT command-exit 0); app-shell type-check 0 error TS (VERDICT exit 0); every app-shell suite naming the designer, the area, the copilot, the menu model, the permission page or the access redirect (258 files): Test Files 258 passed (258), Tests 2237 passed (2237), VERDICT exit 0; dispatch-gates --commands (39 families) all exit 0, --ran "39 derived, 39 run, 0 NOT-MEASURED, 0 UNRUN" (a derived zero); overlap-check: origin/main 8b74082f merges cleanly.

Tree of a9e7bb72 = tree of the tested commit 3b4d4722 (79415e13, compared byte for byte; the commits were reworded for the trailer rule before the push, no file changed).

CI follow-up, 562d0689: Test UI (5/16) failed at a9e7bb72 on objectDesignerTabs.test.ts's order pin (this card's own test, unchanged this round): the studio namespace fetches its zh catalogue on demand, so in a worker where no earlier suite had loaded it, t(key, 'zh-CN') answered English. Reproduced locally by running the file alone (1 failed); fixed with the module-top await loadStudioCatalogue('zh') other suites use (alone: 4 passed); app-shell type-check 0 error TS (VERDICT exit 0); check:test-source-alias exit 0; overlap-check: origin/main merges cleanly.

  • The suites this round edits (10 files): Test Files 10 passed (10), Tests 103 passed (103), lock VERDICT command-exit 0 (before the not-found fix; its suite is in the broad run below).
  • Every app-shell suite naming DataPillar, StudioDesignSurface, StudioMetadataArea, StudioAiCopilot, metadataArea or a metadata/object address (259 files): Test Files 259 passed (259), Tests 2211 passed (2211), lock VERDICT command-exit 0.
  • @object-ui/app-shell type-check (src tsc --noEmit, then tsconfig.test.json): 0 error TS, lock VERDICT command-exit 0. eslint --no-inline-config on the edited files: 0 errors (40 warnings, none in a line this round added).
  • dispatch-gates --commands (39 families): all 39 exit 0; --ran reconciliation: "39 derived, 39 run, 0 NOT-MEASURED, 0 UNRUN", a derived zero. Re-run at 3b4d4722 after the last commits: check:test-source-alias, check:cross-package-test-inputs, check:nul-bytes, check-empty-changeset, check-changeset-no-major, each exit 0.
  • overlap-check before the push: origin/main merges cleanly; the sibling drafts conflict textually (Acceptance notes).

Ablations, each through scripts/ablation-replace.mjs on committed code, restored, git diff HEAD empty after (the app-shell suites import the source, so no build leg):

Mutation Turned red
unsavedPillarWork without saveBar.dirty (M1) 3 of the 5 new departure cases (› and × over an unsaved edit, the refused Save); the saved-edit and nothing-pending controls stayed green
the Changes link back on packageId (S2) the read-only base's pair-address case
objects back on the history exemption (S3) the object history-address case
the designer tab not seeded from ?tab= (S3) ?tab=hooks and ?tab=history
the discard refusal back on error (S4) the partly refused discard case
the copilot's address read removed (S5) the address cases in both copilot suites (3)
objMissing always false (N8) the not-found case
the object create's publishCreated dropped (d09f2b31) the pinned-publish case and the pair-create case's call shape
the taken holder never this package (d09f2b31) the in-package notice-and-Open case (a first attempt was refused by the tool as a replacement it could not count, so nothing ran; re-run with a countable replacement)

Acceptance notes

Verification

Read first (risk order): views/studio-design/DataPillar.tsx (the removed rail and create, the header and tab block), views/studio-design/StudioMetadataArea.tsx + metadataArea.ts (the mount, the designer-page helper and dataPillarRedirect), views/studio-design/StudioDesignSurface.tsx (the /data redirect, requestSurface and unsavedPillarWork).

Two-minute check: on the showcase app, open an app's 「对象设置」. Expected: the URL is /studio/PKG/metadata/object/NAME, the designer fills the right pane with no object column, the tabs read 记录、字段布局、验证、操作、设置、钩子、API、被引用、历史、源码; › opens the next object on the same tab; × returns to the object list.

Browser walk (rework S1), showcase

Run at a9e7bb72 on a live stack: the showcase backend (objectstack dev --seed-admin, its own port and database, closure built at this head) with the Console's dev server from this branch's ui/ source, Chromium through Playwright, signed in as the seeded admin. In this boot com.example.showcase is a read-only package, so the walk also covers the .custom pair. Every step below passed unless it says otherwise.

Step What was done What the browser showed
1 Object list, click the Account row /studio/com.example.showcase/metadata/object/showcase_account?package=…; the designer fills the right pane beside the left menu, no object column; tab row Records, Field layout, Validations, Actions, Settings, (Hooks, API folded into Advanced at this width), Referenced by, History, Source; ‹ 1 / 24 ›
2 Advanced → Hooks, then › ?tab=hooks; › opened showcase_announcement on the same tab, 2 / 24
3 History tab ?tab=history, the History panel
4 × back to /studio/com.example.showcase/metadata/object?package=…
5 Old link /studio/PKG/data?surface=object:showcase_account&view=x&action=nope /metadata/object/showcase_account?action=nope&package=…&tab=actions (view dropped)
6 Old home /studio/PKG/data the object list
7 /metadata/object/showcase_account/history the designer on ?tab=history
8 Field layout → Add field "Walk Probe" (unsaved), then × the native question "You have unsaved changes. Leave this page anyway?"; dismissed, the designer and the top bar's Save stayed. The walk's next page load was then held by the browser's leave prompt (first run: the navigation aborted while that prompt was dismissed)
9 The running app's Accounts list → ⋮ → Object settings /studio/com.example.showcase/metadata/object/showcase_account?package=…, the designer
10 Object list → 新建 "Walk Gadget" on the read-only package created in the pair: /studio/com.example.showcase.custom/metadata/object/showcase_custom_walk_gadget?package=com.example.showcase.custom, the designer open on it
11 /metadata/object/no_such_object_36904 first run: "Unpublished new object", offered as a new object to design. Fixed in this round (objMissing in DataPillar.tsx, pin in draftOnlyNoLayers-12508); re-run: "Object not found" with the name, × in the header
12 Viewport 1100px Validations, Actions and Settings fold too: Records, Field layout, Advanced, Referenced by, History, Source

Console: 36 Failed to load resource errors over the whole walk; the five read were a 401 (before sign-in) and 404s. Not traced one by one, and nothing on screen failed.

HotCRM: NOT MEASURED. Reason: this session's GitHub access is scoped to objectstack-ai/objectstack, so the HotCRM app (its own repository) cannot be cloned and booted here. The HotCRM leg the card names carries to #36910 (the end-to-end walk-through card) as NOT MEASURED, with this reason.


Generated by Claude Code

…ect the Data pillar

Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
Co-authored-by: Claude <noreply@anthropic.com>
…the designer suites their object

Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
Co-authored-by: Claude <noreply@anthropic.com>
… object's address

Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
Co-authored-by: Claude <noreply@anthropic.com>
…sts route the area

Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
Co-authored-by: Claude <noreply@anthropic.com>
… drop the rail-only cases

Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
Co-authored-by: Claude <noreply@anthropic.com>
…ilot suites to the designer's address

Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
Co-authored-by: Claude <noreply@anthropic.com>
…ts reach the designer's address

Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
Co-authored-by: Claude <noreply@anthropic.com>
…ns the designer's address

Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
Co-authored-by: Claude <noreply@anthropic.com>
…iew keeps the generic page

Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
Co-authored-by: Claude <noreply@anthropic.com>
@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 25, 2026
…pported locales, the retired rail's census row, ⌘K on a pillar

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 L1 · 2026-11-25T01:20Z · efd179cc41 · zone a4-S (#36904, critical path)

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

席位核对 — REWORK · L1 · head efd179cc41b2a14ac54f5b02373204871d33f5d5 · 2026-11-25T01:32Z

L1 for card #36904 (Studio 3-2, the object designer on its metadata address). Read-only; nothing built or run at the seat. 135 files, +1,278/−2,460 = 3,738 lines ⇒ Tier H by size (ruling 7145880574): after ACCEPT this hands off to the maintainer; it does not self-land.

Delivery holds on reading: the address switch, redirects, leave guards, tab order and fold (钩子 and API fold first at 1200px, then 1000px), the three tool tabs per decision 8, and 新建 handed to the list dialog. Brief line 1 (ItemToolTabs) is delivered. Brief line 2 (AreaHistoryRedirect): keeping the generic exemption for flows until #36903 / PR #37169 is accepted; objects drop out because they left the pillar table. Declared deviations (copilot address read, the retired-Interfaces latch, the WIP pushes before the overlap check) are accepted.

i18n: clean. No i18n file is touched; seven @object-ui/i18n@18.6.0 keys become unread and stay in place (as on #37089): engine.studio.data.createTaken, .firstObjectHint, .firstObjectTitle, .noObjects, .objects, .pickObject, .searchObjects.

Open

  • M1 — a live guard lost its pin. Deleting DataPillar.railSwitchFlush-27511.test.tsx removed the only test of a guard that still runs on the designer's × and ‹ ›: leaving an object over an unsaved (not held) edit, or one whose Save was refused, asks first; a saved edit leaves without asking. StudioDesignSurface.heldDataLeave-26705 now covers only a held edit, and nothing pins saveBar.dirty on the designer's departures. Fix: carry its four cases onto the designer's × and › on the real surface. Check: dropping saveBar.dirty from unsavedPillarWork (StudioDesignSurface.tsx:485) turns them red.
  • S1 — the browser walk-through is owed on this card. Per the seat's feat(studio): ⌘K on every Studio design page lists the package's menu and items #37108 L1 (7144125191, D2) it cannot be deferred to Studio 重构(4-2):新形态的端到端测试、总走查,更新平台测试清单、文档和技能里的 Studio 地址与说法 #36910. Run the showcase or a self-built app leg before the hand-off; HotCRM may carry to Studio 重构(4-2):新形态的端到端测试、总走查,更新平台测试清单、文档和技能里的 Studio 地址与说法 #36910 only as NOT MEASURED, with the reason.
  • S2 — Changes-sheet link uses the wrong scope. StudioDesignSurface.tsx:1230 builds studioItemPath(packageId, 'object', …); on a read-only base with a .custom pair, an object the pair adds lands on an address that does not resolve (the old rail found it). Use draftScope ?? packageId (:451), plus a test.
  • S3 — two behaviours untested: /metadata/object/X/history opening the designer's History tab (the object half of brief line 2), and opening with ?tab=hooks / ?tab=history. Add to StudioMetadataArea.routes-28561 and DataPillar.flatTabs-12450.
  • S4 — the partly-refused discard fix (DataPillar.tsx:1507-1531) has no test that fails on revert; assert the message is still on screen after the re-read in copilotChangesLine-34725.
  • S5 — copilot reading the item from the address (StudioAiCopilot.tsx:90) is tested only through the helper; add a metadata-address case to studioSurfaceContext and studioSurfaceLabel-8219.
  • S6 — internal wording: ui/packages/app-shell/README.md:638-641 still sends an object to /data?surface=object:; the changeset body puts .custom, ?tab=, ?action=, ?view=, ?nav=, ?changes=review and route templates into the CHANGELOG (same class as feat(studio): ⌘K on every Studio design page lists the package's menu and items #37108 S4) — say it in user terms.
  • S8 — undeclared loss: the list dialog's "name taken" notice has no 「打开已有的」 button (DataPillar's had one). Declare it in the PR body, or link the notice to the object's address.
  • Nits (fix or answer in one line each): N1 useRequestedSurface has no product reader left (note for Studio 重构(4-1):删掉分区路由和残留(:packageId/:tab 路由、AREA_PILLAR_FOR_TYPE、pillar 文案、旧 Studio 应用的菜单项) #36909); N2 stale comments at SidebarItemMenu.tsx:57-58, studioAddressTable.ts:73, :112, and the retired-Interfaces redirect goes through /data twice; N3 two control cases not carried over (stored-name preview with no namespace; a label-less draft-only object showing its name in the header); N4 the header now shows the machine name beside the label (Studio 数据栏:「添加字段」常驻工具栏,点列头改字段,名称列排第一,字段属性面板先显示名后内部名 #34794 kept it in the tooltip) — declare it; DataPillar.tsx:841 vs the comment at :330; N7 metadataAddressArtifact reads /metadata/<type>/new as an item named "new"; N8 a designer address naming a missing object shows only a refusal strip.
  • 维护者速读 bullet 4 overstates the deletions: deleted test lines are 1,667 of 3,738 (45%), and the six deleted suites (1,018 lines) also covered in-page 新建, the empty-package page and the live request. Reword it to say so; test changes are 2,365 lines, product code 1,358.

Not blocking this head: S7 — #37089 and #37169 each add their own areaDesignerItemOf with different context shapes; the zone settles on one helper across the three PRs. N5 — #36513 is Refs only; the seat closes it after merge.

Gates. Check-runs at this head: 45 success, 13 expected skip, 0 failed. Clause-②: no and Metadata-protocol: none hold; the app-shell patch bump is right. K = 12, not stale: #37108 and #37121 are inside the merge base; the 12 main commits since touch no Studio file. Whichever of #37089 / #37168 / #37169 lands second merges main.

Next: fix M1 and S1–S6, S8, the nits and the 速读 wording; then the seat reads the delta and hands off to the maintainer (Tier H by size).

The L1 review's M1 and S2-S8 with the nits:
- the unsaved-edit guard (saveBar.dirty) is pinned on the designer's x and next, on the real surface;
- a Changes-sheet object request opens in the package holding the draft (draftScope);
- the history address and ?tab= open their tabs, the partly refused discard keeps its message,
  and the copilot reads the item off the designer's address, each pinned;
- the zone's designer-page helper (AREA_DESIGNER_PAGE_TYPES, areaItemOpensDesignerPage,
  areaDesignerItemOf) replaces the object-only helpers;
- an address naming no object says it was not found (found on the browser walk);
- README, changeset and stale comments in user terms; two dropped controls carried over.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYoFqGdRM9Qmg7M2o2B
The studio namespace fetches its zh catalogue on demand, so the pin read
English in a worker where no earlier suite had loaded it (Test UI 5/16).

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYoFqGdRM9Qmg7M2o2B
#37089 (the permission designer) landed first: one designer-page list now
holds both types, AREA_DESIGNER_PAGE_TYPES = ['permission', 'object'].

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYoFqGdRM9Qmg7M2o2B
…holds offers Open

The list dialog's object create now passes publishCreated (If-None-Match: *),
as the flow create does, and a taken identifier the package holds says so and
opens that object's designer; one held elsewhere keeps its sentence and no Open.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYoFqGdRM9Qmg7M2o2B
…llscreen

Two conflicts, both a collection-time comment beside an import both sides
kept (entryReadsOnce-11797, itemDraftLine-12725): main's comment taken.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYoFqGdRM9Qmg7M2o2B
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

Contract review

Served-tier: TIER_DEFAULT
Head-sha: 64a5a2d7332aa8f3f78c3eabd53250e1615cb14f
Local-runs: probe — the L1's pin-revert ablations: vitest on nine pinned app-shell suites in a throwaway worktree at this head, baseline green, then nine single-line mutations each restored (worktree clean after, removed)
Scope: no reviewFace hits — record-recognisers.mjs --paths (141 files) decides no face, and the changeset's Clause-②: no carries no (narrowing) arm, so the review is routed to the declaration face (--face declaration, TIER_DEFAULT); the whole diff was read at that tier

① Derived judgments

  • Clause-②: no holds. No packages/spec path, no published schema, and no governed path. No ui/packages/i18n file is in the diff, so no @object-ui/i18n@18.6.0 key is removed. Five released keys become unread in product code: engine.studio.data.firstObjectHint, .firstObjectTitle, .objects, .pickObject and .searchObjects. All five are still in namespaces/studio/en.ts and zh.ts at this head, so the 19.0.0 removal declaration is not owed. engine.studio.data.createTaken is read again (the list dialog's in-package taken notice).
  • Metadata-protocol: none holds. The object create's publish now passes publishCreated (If-None-Match: *). That is an existing MetadataClient.publish option, which the flow create on main already sends (Studio Save: the object extension, hook, action and flow editors still publish unpinned, so two admins saving one of them, the later save silently overwrites the earlier (after #36601) #36726), as does the object Save for a draft-only object. No route, door or wire shape changes.
  • Published exports: @object-ui/app-shell is private: true, and no index, package.json or exports file is touched. @object-ui/components is published but changes only one test file (src/__tests__/clickableNonControlCensus-13461.test.ts), which is outside its files: ['dist', …]. So no shipped content changes, and l1-face's changeset flag on it is a false positive.

② Semver level

@object-ui/app-shell: patch is right. It is a private package and the change is user-visible behaviour with no export change, the same convention as main's app-shell changesets (e.g. #37232). @object-ui/components: no bump owed (test-only).

③ Boundary flags

  • The dev's deviations are answered. The primary-checkout edits were moved to a worktree with nothing lost, and the primary checkout was put back on the branch. The trailer re-commit has the same tree (79415e13). Six pushes, two of them forced by sibling merges. The body went through the relay. The seat's added items were done in-round. open_questions is empty, and security_findings is none.
  • SQL push-down: no new id materialisation and no in-app join over records. The taken-holder check reads the target package's object list (loadPackageSurfaces) and tests one name client-side. That is a metadata catalogue read, the same shape as feat(studio): the flow designer opens full-screen on its metadata address; no flow rail (#36903) #37169's flow side and the retired rail, with no SQL in play. Not a finding.
  • Both merges are clean against git merge-tree --write-tree of their parents:
    • 046762e5: 15 conflicted files, and the tree differs from merge-tree only in those 15. Each was resolved toward both designers.
    • 64a5a2d7: 2 conflicted files, and the only difference is the conflict markers dropped with main's comment kept.
  • The red at d09f2b31 was concurrency cancellation from the 2bf127d4 push (20 cancelled lanes, and the three aggregators failing on cancelled). 2bf127d4 changes only the changeset line. Both 2bf127d4 and this head show 47 success, 15 skipped and 0 failed.

Implemented-by: claude/issue-36904-object-designer-fullscreen
Reviewed-by: session_01QSeKYpEsWWE9Y5YtSsDgqZ

VERDICT: PASS

No must-fix, no should-fix.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

席位核对 — ACCEPT · L1 · head 64a5a2d7332aa8f3f78c3eabd53250e1615cb14f · 2026-11-25T08:16Z

This is the delta L1 on the rework of L1 7149684173 (2026-11-25T01:32Z, head efd179cc), for card #36904. Since that head there are four commits of this PR's own (a9e7bb72, 562d0689, d09f2b31, 2bf127d4) and two merges of main (046762e5, 64a5a2d7). The diff is 141 files, +1,676/−2,501 = 4,177 lines, so it is Tier H by size (ruling 7145880574) and goes to the maintainer after this.

Prior findings

  • M1 — closed. heldDataLeave-26705 carries the rail-switch suite's four cases onto the designer's › and × on the real surface, plus a nothing-pending control. Ablated here by dropping saveBar.dirty from unsavedPillarWork: 3 of the 5 new cases go red (› and × over an unsaved edit, the refused Save). The two controls stay green.
  • S1 — closed. The PR body has a 12-step showcase walk at a9e7bb72, including the read-only base's .custom create. It found N8, and N8 was re-run after the fix. HotCRM is recorded as NOT MEASURED, with the reason that the repository is outside the session's GitHub scope, and is carried to Studio 重构(4-2):新形态的端到端测试、总走查,更新平台测试清单、文档和技能里的 Studio 地址与说法 #36910 (see "For landing").
  • S2 — closed. requestSurface builds the object address on draftScope. Ablated here back to packageId: the pair-address case in heldDataCreate-26845 goes red.
  • S3 — closed.
    • Putting objects back on the history exemption turns the history-address case in StudioMetadataArea.routes-28561 red.
    • Not seeding the tab from ?tab= turns the ?tab=hooks and ?tab=history cases in DataPillar.flatTabs-12450 red.
  • S4 — closed. The refusal is now its own discardRefusal state. Rendering only error turns the partly-refused case in copilotChangesLine-34725 red.
  • S5 — closed. Removing the copilot's address read turns the address cases red in studioSurfaceContext (2) and studioSurfaceLabel-8219 (1).
  • S6 — closed. app-shell/README.md now sends an object to its designer's address. The changeset is in user terms and no longer carries .custom, query keys or route templates.
  • S7 — closed. feat(studio): a permission set opens full-screen at its metadata address; the sharing overview gets its own route #37089's AREA_DESIGNER_PAGE_TYPES / areaItemOpensDesignerPage / areaDesignerItemOf are adopted, and the list reads ['permission', 'object']. metadataAddressArtifact and areaItemOpensObjectDesigner are gone. AreaItemOpen mounts by type, and only objects defer to the generic page on ?review=1 or the environment scope.
  • S8 — closed. When the target package holds the name, the list dialog shows engine.studio.data.createTaken with 「打开」 to studioItemPath(target, 'object', name); otherwise it shows createTakenElsewhere with no Open. onOpenExisting?: (path: string) => void and the ResourceListPage wiring match feat(studio): the flow designer opens full-screen on its metadata address; no flow rail (#36903) #37169 byte for byte, and only the holder test differs (at, the create's target, against feat(studio): the flow designer opens full-screen on its metadata address; no flow rail (#36903) #37169's here). Making the holder never this package turns the in-package case red.
  • Seat-added publish — closed. The object create publishes with publishCreated. Dropping it turns two cases red: the pinned-publish case and the pair-create call shape.
  • N1, N2, N4 — answered in Acceptance notes:
  • N3 — closed. The bare-identifier preview (pairCreate-36897) and the label-less draft-only title (draftOnlyNoLayers-12508) are carried over.
  • N5 — open, on the seat. Studio 对象页页签顺序(业务在前、技术在后)和顶部导航的排法(去掉「界面」后的四个分区):顶部导航先出图再做 #36513 stays Refs, and the seat closes it after merge.
  • N7 — closed. areaDesignerItemOf reads TYPE/new as the create page and pins it.
  • N8 — closed. objMissing shows engine.form.objectNotFound, an existing key. Forcing it false turns the not-found case red.
  • 速读 bullet 4 — closed, apart from N9. Tests −1,684, the six deleted files 1,018 lines, tests +1,051, product code 1,417: all match the head diff.

Zone claims checked

  • Merges:
  • The red at d09f2b31 was cancellation, not code: the 2bf127d4 push cancelled 20 lanes and the three aggregators failed on cancelled. 2bf127d4 changes one changeset line, and its own check-runs show 47 success, 15 skipped, 0 failed.
  • AreaHistoryRedirect: the pillarItem line is kept, and feat(studio): the flow designer opens full-screen on its metadata address; no flow rail (#36903) #37169's head keeps it too. Whichever lands second deletes it.
  • i18n: no ui/packages/i18n file is in the diff, so no @object-ui/i18n@18.6.0 key is removed. The five keys that become unread in product code (engine.studio.data.firstObjectHint, .firstObjectTitle, .objects, .pickObject, .searchObjects) stay in the studio catalogue. Clause-②: no holds, and no 19.0.0 declaration is owed.

Gates and shape

  • Shape: open, draft, base main, Fixes #36904 on line 1. No closing keyword binds another card. Clause-②: no and Metadata-protocol: none hold (no protocol, route or wire change; the publish precondition is an existing client option).
  • Check-runs at head: 62 runs, 47 success, 15 skipped (all expected), 0 failed. Lint & Repo Gates and TypeScript Type Check are both success.
  • K = 8 against origin/main d62f9e9c, merge base ad604c10. Not stale: none of the 8 touches a file this PR changes. feat(studio): one table holds the menu's type order and its 常用 / 高级 tier #37232 adds studioMenuPlacement.ts only, and origin/main merges cleanly.
  • Published exports: none. @object-ui/app-shell is private: true, with no exports/index change, and the patch bump is right. l1-face flags @object-ui/components for a missing changeset. That is a false positive: the only change is one test file outside its files: ['dist', …].
  • Changeset, read sentence by sentence against the code:
    • "beside the left menu … own address" holds (AreaItemOpen).
    • "no column … 「新建」 … OWD, menu, customization package" holds.
    • "already used by an object in that package … offers to open it" holds (at is the create's target package).
    • The tab order and fold sentences hold (objectDesignerTabs.ts, dataTabsFold.ts).
    • "Old links still work" holds (dataPillarRedirect keeps ?changes=review).
    • The two "Fixed on the way" sentences hold (discardRefusal, objMissing).
  • Pins: nine pin-revert ablations were run at this head in a throwaway worktree. The baseline was green (9 files), all nine mutations went red as listed above, and the tree was clean after each.
  • Overlap:

Nits

  • N9 — 速读 bullet 4 says 约 4100 行. The head diff is 4,177 lines (约 4200).
  • N10 — the PR body's CI tally at head (58 runs, 45 success, 13 skipped) is stale. The head now has 62 runs: 47 success, 15 skipped, 0 failed.
  • N11 — pairCreate-36897's pinned-publish case asserts only that publishCreated is passed (publishSavedItem is mocked). Its title says a later row "is refused", but the refusal path through the object create is not exercised, and d09f2b31 was not on the browser walk. The live risk is low, because the object Save for a draft-only object already sends the same If-None-Match: * publish.

For landing (seat)

No must-fix, no should-fix.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

维护者速读

席位意见:通过。上轮的必改项和应改项都已修好;9 个关键测试逐一撤回改动后都会变红;两次合并主干都干净;检查全绿。剩 3 处小瑕疵(速读行数、正文里的 CI 计数、一个测试只验了参数),不影响合并。与 #37166、#37169 有冲突,后落地的那张合入主干。

Hand-off · 2026-11-25T08:17Z · @os-zhuang — PR #37168 (card #36904) is ready for your review. Tier H by size (4,177 changed lines). Seat ACCEPT 7156828103 and contract review PASS 7156818159 (TIER_DEFAULT), Head-sha 64a5a2d7332aa8f3f78c3eabd53250e1615cb14f; 0 failed check-runs. After your approval the seat lands it.

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 25, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 25, 2026 08:18
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit 1b91538 Nov 25, 2026
71 of 72 checks passed
@os-zhuang
os-zhuang deleted the claude/issue-36904-object-designer-fullscreen branch November 25, 2026 08:40
os-justin pushed a commit that referenced this pull request Nov 25, 2026
…side the flow designer; the designer-item history exemption goes with the last pillar type)

Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F
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 pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue 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

3 participants