Skip to content

fix(studio): retire Studio's Interfaces column (objectstack#36502) - #36884

Merged
os-zhuang merged 2 commits into
mainfrom
claude/project-thread-qx7p3r
Nov 24, 2026
Merged

os-zhuang merged 2 commits into
mainfrom
claude/project-thread-qx7p3r

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Yibo Wang · project thread
Fixes #36502

repo:objectstack#3 · os-support-ai · session_01WGufzj9RY8jKV57hUTNEYg

Clause-②: no
Metadata-protocol: none

维护者速读

What changes

The card (objectstack#36502), the maintainer's dispatch 「没关系,不等那个,现在就派」 (2026-11-24 05:17Z) and ruling record 7122806677 (the #36444 dependency waived; public forms stay metadata-editable; keep what PR #36784 needs).

  • Studio's top nav (StudioDesignSurface.tsx): the Interfaces pillar (InterfacesPillar, about 3,600 lines) is gone. The pillars are Data, Automations, Access, plus All metadata. A package's Studio root opens Data (STUDIO_HOME_PILLAR).
  • Old links (studioInterfacesRetired.ts, StudioInterfacesRetiredNotice.tsx): /studio/<pkg>/interfaces, with or without ?surface=, redirects to /studio/<pkg>/data, keeping only ?changes=. The Data pillar shows a one-line notice, 「界面的修改已经搬到应用里」 / "Interface edits have moved into the app.", with "Back to the app" (the same target as the header's ‹ Back to app) and Dismiss. The notice is latched when the landing arrives, so the Data pillar's own ?surface= write and the Changes drawer dropping ?changes= do not erase it. It goes on Dismiss or when the author switches pillar.
  • Producers re-pointed: studioChangesLink.ts, packages/runtime/src/domains/mcp-authoring.ts and packages/cli/src/commands/meta/register.ts print /studio/<pkg>/data?changes=review. The old /interfaces?changes=review still opens the drawer through the redirect. Console links that opened /interfaces?surface=T:N (appRoute.ts#appStudioSurfacePath, artifactStudioPath.ts, metadataArea.ts, AiChatPage.tsx) open the item's All-metadata page /studio/<pkg>/metadata/<type>/<name>, or /data for a built app.
  • Customize on a read-only base moves to All metadata. In the running app, the view config panel is read-only for a view a read-only package ships (objectstack#35974), and View settings' Save offers only "Save as my view". So without this, retiring the pillar would have removed the only door that customizes a shipped view, dashboard or report into <base>.custom. metadataArea.ts#AREA_CUSTOMIZE_EDITOR_TYPES grows from dataset to dataset, view, dashboard, report, page. On a read-only base those items open StudioBundleItemEditor, with Customize, the type's registered designer (ViewDefaultInspector, DashboardDefaultInspector, ReportDefaultInspector, PageDefaultInspector), the override chip and Restore. On a writable package they still open the generic item page. The seat accepted this route (seat note, 07:01Z), so it is not a deviation.
  • Docs and skills: ui/packages/app-shell/README.md (the dataset-context and reverse-bridge sections), skills/objectstack-mcp-build/evals/draft-door-procedure.json (the review link) and the plugin-chatbot onDesignBuiltApp doc example. No other user doc or skill names the Interfaces column (git grep over content/docs except releases, and over skills/).
  • i18n: engine.studio.interfacesRetired.sentence, .backToApp and .dismiss (en, zh). The old interfaces/nav keys stay; the dead-key gate is report-only.
  • Checklist: studio-authoring.interfaces-create-dialogs is retired (rev 5, with a retiredReason). coverage.json drops it from app, page and report; each still maps other items. package-customize-restore-display (rev 7) re-points its door to the item page. Eight more studio-authoring items, dashboards.global-filters-rescope and ux-conventions.labels-over-machine-names have their Interfaces steps re-pointed, each with a revision bump and a history row.

Item 5 census: what was deleted and what was kept

Deleted, because only the Interfaces column used it:

  • Source: InterfacesPillar (in StudioDesignSurface.tsx, -3,624/+66 in that file), InterfacesNavRail.tsx, StudioNavItemInspector.tsx (its StudioPicker moved to StudioPicker.tsx, which the Access pillar uses), ObjectListViewInspector.tsx, ObjectListViewTitle.tsx, ListViewTypeSection.tsx, ListViewChartSection.tsx, ListViewBulkActionsSection.tsx, ListViewMoreSection.tsx, interfaceCreate.tsx, metadata-admin/previews/SourcePageProperties.tsx, and services/componentRegistry.ts#listAppComponents (declared, read by nothing).
  • Tests: 80 files that drove only the pillar, its rail or its inspectors. About 30 more StudioDesignSurface.* files lost only their Interfaces cases. Pins of shared behaviour were moved, not dropped: useNavTargetLabel.draftLabels-11862, AppNavCanvas.menuOrder-26979, studioZhPillarNames-11801, and the kanban board's card-opens-record controls (objectui#12725/The dequeue-remedy verification still reads queue-ref ABSENCE as proof the PR left the queue — two rows and one SKILL.md sentence outlive the corrected membership reading #12888), now in plugin-kanban/src/__tests__/KanbanRenderer.cardOpensRecord-12725.test.tsx.

Kept, because something else uses it or it is a shared export:

  • What PR feat(studio): design an object's public forms in Studio's Form tab #36784 imports: DataPillarHelpers, StudioCustomizeControls, StudioPillarKit, setup/publicForms. Public-forms code and UI are untouched (the maintainer paused that development at 05:23Z).
  • StudioCustomizeControls (override chip, Restore, overrideDraftBody), now serving the All-metadata editor; StudioItemHeader; studio-canvas-preview / StudioObjectRecordsCanvas; useSurfaceDeepLink; navSurface, servedNavText; metadataError helpers; STUDIO_KIND_CHIP.
  • Shared nav-editing helpers with no Studio caller left, kept as exports: AppNavCanvas held-nav helpers, nav-target (NAV_ENTRY_TYPES, navTypeAcceptsChildren, retypedNavEntry), the DraftTargetLabels and dataset-create contexts (no provider today). Each is small; deleting them is a follow-up if nothing picks them up.
  • The old i18n interfaces / nav-inspector keys (report-only dead keys).
  • ui/e2e/studio-item-header-title-width.spec.ts: a fixture-only geometry pin of StudioItemHeader. Its last describe draws an "Interfaces leaf" from fixtures, so it does not depend on the pillar.

Prerequisite cards (card item 1)

#36363 menu, #36366 header actions, #36364 add-menu-item, #36370 view settings, #36372 dashboard edit, #36374 report edit, #36425 internal forms retired, #36485 header Studio links, #36487 sidebar Design entry, #36498 and #36499 record page grouping and tabs: all closed as completed. #36444 (public forms) is open; ruling 7122806677 waives it. Until it lands, public forms have no visual editor and stay metadata-editable.

Merge note

Against #36784 (head 1f9f234), overlap-check reports one conflict: adjacent import lines at the top of StudioDesignSurface.tsx. #36784 adds useHref to the react-router-dom line; this PR drops the now-unused useMetadata from the @object-ui/react line. Resolution: take both. Every other file merges cleanly, and origin/main (7a5ae65) merges cleanly. A later draft, #36888 (the Field layout tab, #36505), overlaps in studio-authoring.json and in two surface tests that both PRs gave the module-top @objectstack/lint import; whichever lands second rebases.

Tests

  • New: studioInterfacesRetired.test.ts (target, state, encoding); StudioDesignSurface.interfacesRetired-36502.test.tsx, through the real surface: bare URL → Data with the notice (en, and the zh catalogue string 「界面的修改已经搬到应用里」), Back to app, ?surface= dropped, ?changes=review keeps the notice, the notice outlasts the Data pillar's own ?surface= write, leaving for another pillar takes it away, Dismiss, no Interfaces in the nav, and a CONTROL (a plain arrival on Data shows nothing). metadataArea.test.ts and StudioMetadataArea.routes-28561 pin the moved Customize door: view, dashboard, report and page open the editor only on a read-only package; flow and object stay on the generic page. copilotDoors-12894 pins that an old /interfaces?changes=review opens the drawer on Data.
  • Re-pointed: every producer test, from /interfaces?surface= to the item page or /data: appRoute, artifactStudioPath, metadataArea, AppHeader.*, PageView.*, SidebarAppMenu-36112, AiChatPage.noNavigationAfterBuild, notFound-26708, kernelReadOnly-29567, pillarNavGuard, metadataArea-28561, openPathObjectReaders-12811 (three rows for readers that left with the pillar).
  • Local: app-shell tsc (src and test) exit 0. Vitest on the 820 test files that touch Studio, the console routes, i18n, plugin-chatbot and plugin-kanban, under the verify lock: 8154 tests, 9 failed on the first pass, all fixed and re-run green, with the affected files re-run after each later change. @objectstack/runtime mcp-authoring.test.ts (50) and @objectstack/cli register-draft.test.ts (10) green. Full turbo build green (120/120).

Acceptance notes

Verification

Read first, by risk: StudioDesignSurface.tsx (the redirect <Navigate>, the latched retiredOn notice state, PILLARS), metadataArea.ts#AREA_CUSTOMIZE_EDITOR_TYPES, studioInterfacesRetired.ts, and ui/e2e/live/studio-customize-journey.spec.ts steps 1 and 2.

Two-minute check: open /studio/<a package>/interfaces?surface=page:x. Expect the Data pillar, the notice 「界面的修改已经搬到应用里」 and a working 回到应用. Then open a view of a read-only package under All metadata and expect Customize.

Governed reading (check-governed-merges.mjs --branch): Tier H. skills/** ×1 (skills/objectstack-mcp-build/evals/draft-door-procedure.json), and 37,094 changed lines (+1,489 / −35,605) is over the 3,000-line line. Not to be readied, queued or auto-merged by a seat.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WGufzj9RY8jKV57hUTNEYg

Studio keeps Data, Automations, Access and All metadata. Menus, header
actions, list views, dashboards, reports and record pages are designed in
the running app.

- /studio/<pkg>/interfaces, with or without ?surface=, lands on the Data
  pillar with a one-line notice (「界面的修改已经搬到应用里」) and a link
  back to the app; ?changes=review travels with it.
- The MCP authoring tools and `os meta register --draft` print
  /studio/<pkg>/data?changes=review; the console's Edit-in-Studio links for
  a dashboard, page, report or view open its All-metadata item page.
- On a read-only base, a view, dashboard, report or page is customized on
  its All-metadata item page (AREA_CUSTOMIZE_EDITOR_TYPES), into the pair,
  with the override mark and Restore: the door the Interfaces header was.
- Code and tests that served only the column are deleted; parts other
  surfaces (and PR #36784) use are kept.
- The live customize journey and the checklist item move to the new door.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzj9RY8jKV57hUTNEYg
@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
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 2 package(s): @objectstack/cli, @objectstack/runtime, touching 3 documentable anchor(s).

1 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:

  • content/docs/deployment/cli.mdx (via os meta register (command, read off packages/cli/src/commands/meta/register.ts))
What this run could not see
  • the SDK route bridge reached 69 of 252 client-bound route-ledger rows — the other 183 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 183: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 124 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 58 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json e0050baaceaece398cba4bc207ba69f42643c762 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 982c8b1abf7a189e514e309025eff42b063db87d — the merge of head 8cfc5d6fe478d8b8e9ffb8307b0115a8b16f8c58 into base e0050baaceaece398cba4bc207ba69f42643c762, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 982c8b1abf7a189e514e309025eff42b063db87d && git checkout 982c8b1abf7a189e514e309025eff42b063db87d
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin e0050baaceaece398cba4bc207ba69f42643c762 8cfc5d6fe478d8b8e9ffb8307b0115a8b16f8c58 && git checkout -B drift-repro e0050baaceaece398cba4bc207ba69f42643c762 && git merge --no-ff 8cfc5d6fe478d8b8e9ffb8307b0115a8b16f8c58

node scripts/docs-audit/affected-docs.mjs --json e0050baaceaece398cba4bc207ba69f42643c762

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs e0050baaceaece398cba4bc207ba69f42643c762 → pass the list as
args.docs, on the commit named under Which tree this was computed on.

…502)

- The surface's package read handles a failed listed-manifests read again.
  The retired pillar's handler had been its only one, so a 404 surfaced as
  an unhandled rejection in the surface's tests.
- Tests that now reach the lint/formula dynamic imports pay the load at
  module top (check:test-source-alias).
- The spec-symbol ledger reads StudioPicker.tsx in place of the deleted
  StudioNavItemInspector.tsx and drops InterfacesNavRail.tsx; the
  clickable-non-control census drops the retired rail's scrim.

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzesUz1Y8VZuKJRhVL8

Contract-review-claim: session_01WGufzesUz1Y8VZuKJRhVL8 · head 8cfc5d6 · 2026-11-24T08:14Z

L1-a takes the contract review (L2) and the L1 read of this head. Tier H: verdicts go to the seat for the approver hand-off.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzesUz1Y8VZuKJRhVL8

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 8cfc5d6fe478d8b8e9ffb8307b0115a8b16f8c58
Local-runs: none
Scope: skills/objectstack-mcp-build/evals/draft-door-procedure.json + packages/runtime/src/domains/mcp-authoring.ts, packages/runtime/src/domains/mcp-authoring.test.ts, packages/cli/src/commands/meta/register.ts, packages/cli/src/commands/meta/register-draft.test.ts, ui/packages/app-shell/src/views/studio-design/studioChangesLink.ts, ui/packages/app-shell/src/views/studio-design/studioInterfacesRetired.ts, ui/packages/app-shell/src/views/studio-design/studioInterfacesRetired.test.ts, ui/packages/app-shell/src/views/studio-design/StudioInterfacesRetiredNotice.tsx, ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx (the redirect, the latched notice and the ?changes= reader only), ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.copilotDoors-12894.test.tsx, ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.interfacesRetired-36502.test.tsx
Security-touching: no

Inputs read: card #36502 (body and all eight comments, rulings 7081151402, 7122806677, routing 7122821486, claim 7122916295, note 7125830872), PR #36884 (body, file list, net diff origin/main...pr-36884, 178 files, +1,538 / −35,609), and the check-runs on this head. The rest of the diff (the deleted Interfaces pillar and its 80 test files, the Customize door moved to All metadata, console link re-pointing, checklist JSON, README, i18n) is outside this record: it is the lane seat's ACCEPT at TIER_DEFAULT, and the PR stays Tier H on size whatever this record says.

Check-runs on the head at the time of writing (66 runs): 25 success, 10 skipped, 31 in progress, 0 failed. Success: Check Changeset, Governed Surface Queue Guard, PR-body guards, Live E2E UI, Dogfood Regression Gate, Check Documentation Links, Check PR Size, Build UI Deps, TypeScript Type Check, Type Check · workspace / source gates / consumer gates / debt ledger, Lint · ESLint / docs & code guards / repo & tooling gates / CI, release & engine gates / the three scoped lint jobs. STILL IN PROGRESS, so no verdict yet: Build Core, Build & E2E UI, Type Check UI, Lint UI, Lint · PM dispatch-gates, Test Core 1–10 of 10, Test UI 1–16 of 16. The tests that pin the scope files (mcp-authoring.test.ts, register-draft.test.ts, studioInterfacesRetired.test.ts, copilotDoors-12894, interfacesRetired-36502) run in those unfinished shards; this record reads them, it does not stand in for their result.

① Derived judgments

  • save_metadata_draft reply, review.changes (mcp-authoring.ts#reviewRoutes): the value moves from /studio/PKG/interfaces?changes=review to /studio/PKG/data?changes=review. Right. The key set (changes, item, note) and review.item are unchanged; only a route string inside a value moves, and the old value still resolves (below). Both tests that pin it are re-pointed in the same diff.
  • os meta register --mode draft output (register.ts#draftSaveLines): the second line prints the same new route. Right; register-draft.test.ts pins it at the unit and at the real save door.
  • Console route surface: /studio/PKG/interfaces stops being a pillar and becomes a redirect to /studio/PKG/data; /studio/PKG with no tab opens data (STUDIO_HOME_PILLAR). Right against card items 2 and 3. A removed route that keeps answering is not a narrowing of anything an author can write.
  • Eval accept set: eval 3's must_contain moves from the old link to /studio/com.acme.crm/data?changes=review; eval 1 keeps the looser changes=review. Right: both follow the producer.
  • @object-ui/i18n: three keys added (engine.studio.interfacesRetired.sentence, .backToApp, .dismiss, en and zh). Additive. The zh sentence is the card's own wording, 「界面的修改已经搬到应用里」.
  • No published schema, spec key, export map or stored shape moves in the scope files. @object-ui/app-shell is private: true, so the deleted modules are not a published accept set.

② Semver level

.changeset/36502-retire-studio-interfaces.md is patch on @objectstack/runtime, @objectstack/cli, @object-ui/i18n and @object-ui/plugin-chatbot, with Clause-②: no and Metadata-protocol: none, and the PR body carries the same two lines at line start. The level is right: no metadata key, accepted value or type changes, so none takes patch (AGENTS.md Post-Task step 3). Clause-②: no is right: no published accept set moves, and no arm is owed because the old route still answers. The body's account of the review link and of the redirect matches the code. One gap in the package list, N1 in ④. Check Changeset is green on this head.

③ Boundary flags

  • Dev flag, 设置里新增「对外表单」:列出全部对外表单,能开关、复制地址、改字段和标题、新建(现在只能写在应用定义里) #36444 waived: answered by ruling 7122806677 on the card. The PR body states the consequence (public forms have no visual editor until 设置里新增「对外表单」:列出全部对外表单,能开关、复制地址、改字段和标题、新建(现在只能写在应用定义里) #36444 lands). Read in the tree, not taken from the body: every symbol PR feat(studio): design an object's public forms in Studio's Form tab #36784 (head 1f9f2343) imports from these folders is still exported on this head (StudioBaseCustomization, StudioSavedDraft, STUDIO_SYSTEM_FIELD_NAMES, declaredOverrideOf, overrideDraftBody, markShippedOff).
  • Dev flag, two extra producers of the old route (claim 7122916295): answered in the diff; all three producers are re-pointed and no fourth exists (④).
  • Note 7125830872, pointer 2 (redirects as one central from → to table; say what "Studio first screen" means): met in substance. One module (studioInterfacesRetired.ts) holds the one retired segment, the one target and the kept-parameter list as exported data, and the PR body names the first screen as the Data pillar (STUDIO_HOME_PILLAR). It is a single function, not a literal table; Studio 重构(1-4a):所有产生 Studio 地址的地方改成调用同一个函数(行为不变,为逐类型切换新地址做准备) #36895 can take it over as it stands.
  • ESCALATED to the lane seat and the maintainer's Tier H read, E1: the card's acceptance line 「HotCRM 上:改菜单、改一个列表视图、改一个仪表盘、调一次记录页分组,全部在应用里完成,不需要进 Studio」 and ruling 7122806677 ("the HotCRM walk stays, as the dev's verification step") are not met by what the PR reports. The PR body says the walk checked that the in-app entries are present and did not re-drive the four writes. The same body, and metadataArea.ts in this diff, say that on a read-only package (HotCRM is installed, so read-only) a shipped view is not editable in the running app and is customized on its All-metadata item page in Studio. So for a shipped HotCRM list view, 「不需要进 Studio」 may be false on this head. Outside this record's scope files; it must be answered before ACCEPT, by driving the walk or by the maintainer's word.
  • ESCALATED, E2: the card says an editing function missing from its table 「要先报」. Customize on a read-only base is such a row, and the diff widens AREA_CUSTOMIZE_EDITOR_TYPES to view, dashboard, report, page to keep it. The PR body cites a seat note (07:01Z) accepting this; no comment on the card records it. The route is the conservative one (it keeps an existing capability), but the acceptance needs to be on the card or in the lane seat's ACCEPT.
  • No open_questions entry is carried on the card or in the PR body.
  • SQL push-down: nothing to find. The two server-side changes are string literals; the scope's UI files issue no query. No new id materialisation and no in-app join.
  • Security-touching reasoning (kept off its own line): the changed eval lines differ from main in one route segment, four times, plus one must_contain string. The surrounding sentences about a person publishing in Studio are unchanged bytes on the same JSON lines; no hunk changes what is taught about permission, sharing, credentials, tokens or authentication.

④ Design judgment

skills/objectstack-mcp-build/evals/draft-door-procedure.json — holds.

  • Against the producer: the prompt replies in evals 1 and 3 quote review.changes as /studio/com.acme.crm/data?changes=review, which is exactly what reviewRoutes('com.acme.crm', …) returns on this head (encodeURIComponent leaves the id unchanged). review.item (/studio/com.acme.crm/metadata/flow/crm_lead_created_notify?review=1 and the dataset twin) matches the unchanged template. The expected outputs give the same string, and eval 3's must_contain requires it byte for byte.
  • Against the skill it evaluates: SKILL.md line 93 says to give the save reply's review routes as written. The eval now shows a reply a live server produces, so "as written" and the expected text agree. Before this change a model following the skill against a live server would have failed eval 3's old assertion; the eval had to move with the producer, and it did in the same diff.
  • Against the scenario (card item 6): no other file under skills/ names the old route or the Interfaces column. Evals 2 and 4 carry no route.
  • Does the taught link land? Yes, read in the tree. ?changes= is read in StudioDesignSurfaceBody, above every pillar, so the drawer opens on Data for any item type (eval 1's draft is a flow). review.item still opens the generic draft review: areaItemOpensFormEditor keeps its ?review=1 exception, so widening the customize-editor types does not capture it.

packages/runtime/src/domains/mcp-authoring.ts, packages/cli/src/commands/meta/register.ts, studioChangesLink.ts — agree with the contract and with each other. All three build /studio/ + encoded package id + /data?changes=review; the jsdoc in each was moved with the code. A paired PKG.custom id resolves: the surface redirects a pair's pillar URL to its base and keeps the query.

The redirect (studioInterfacesRetired.ts, its wiring in StudioDesignSurface.tsx, StudioInterfacesRetiredNotice.tsx) — agrees with card item 3.

  • /studio/PKG/interfaces matches /studio/:packageId/:tab; the check runs before the pair redirect and before the body, so no state exists in which the retired segment reaches the not-found branch. ?surface= and every other pillar parameter are dropped; ?changes= is kept, all values. The old link every already-printed CLI line and MCP reply carries therefore still opens the drawer, pinned by copilotDoors-12894 ("an old /interfaces?changes=review link lands on the Data pillar with the drawer open").
  • Tried to break it: (a) the Data pillar's own ?surface= write and the drawer's ?changes= delete both replace the entry without state, which would erase a notice read from location.state — the notice is latched in component state keyed on the landing pillar, and a test pins that it outlasts the ?surface= write; (b) a pair id on the old URL — resolved to the base in the redirect itself; (c) the package-less scope ~org — lands on /studio/~org/data, which the body forwards to its one pillar, and the latch clears because the tab changed: no error, no notice, acceptable for a scope with no app to go back to; (d) an unknown ?changes= value — dropped, nothing opens (CONTROL test); (e) a missing package — the existing not-found state, as before.
  • "Back to the app" reuses studioBackTarget and the header's unsaved-work veto, so it cannot leave past a held edit.

Other producers still printing the old link — none. git grep on this head over skills/, packages/, ui/, content/docs (releases excluded) and docs/, tests and CHANGELOGs excluded, finds the old route only as the redirect's own documentation (studioInterfacesRetired.ts, ui/packages/app-shell/README.md line 641) and as retirement history in two checklist steps. No changes=review string exists outside the three producers and the eval.

Findings:

No must-fix, no should-fix.

  • N1 (nit, prose face) — the changeset names four packages but not @objectstack/skills, the published package whose bytes skills/** is (packages/skills copies the catalog byte for byte, evals included), nor @object-ui/app-shell, where nearly all of the diff lives. Repo practice names both (57 and 171 of the changesets now in .changeset/ respectively; d2fc055a17 changed a skill eval and reference and named skills). Versions are unaffected (skills is in the fixed group and moves with runtime and cli), so the only effect is that neither CHANGELOG carries the entry. Fix on the changeset: add '@objectstack/skills': patch and '@object-ui/app-shell': patch.
  • N2 (nit) — StudioDesignSurface.tsx lines 450 and 526 cite studioInterfacesRetired.tsx; the file is studioInterfacesRetired.ts (the notice is StudioInterfacesRetiredNotice.tsx).
  • N3 (nit) — the notice's jsdoc says it is "shown again only by another old URL". Where the Data pillar writes no ?surface= (a package with no object) and no ?changes= was carried, the landing's history state survives, so a browser reload shows the notice again after Dismiss. Cosmetic.
  • N4 (nit, outside the diff, follow-up card at most) — packages/qa/scenarios/src/runner/door-rules-corpus.ts line 90 still says "Studio's Interfaces pillar shows "no app"", and code comments in AppHeader.tsx (456), DashboardView.tsx (11) and RuntimeDraftBar.tsx (6) still describe authoring as living in the Interfaces pillar. None prints a link.

Verdict basis: the hits file and every implementing file agree with the card and with each other, and every printed review link, old or new, lands in a drawer that opens. PASS on this scope. It does not cover E1 and E2, which stay open for the lane seat's ACCEPT and the maintainer's Tier H approval, and it is rendered while 31 check-runs (all Test Core and Test UI shards among them) have not concluded.

Implemented-by: claude/project-thread-qx7p3r
Reviewed-by: session_01WGufzesUz1Y8VZuKJRhVL8

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzesUz1Y8VZuKJRhVL8

席位核对 — ACCEPT · repo:objectstack#3 · head 8cfc5d6 · 2026-11-24T08:35Z

L1-a read of #36884 (card #36502) at 8cfc5d6fe478d8b8e9ffb8307b0115a8b16f8c58. Tier H (skills/** and 37,147 changed lines): this ACCEPT goes to the seat for the maintainer's approval. It does not land anything.

Mechanical.

  • check-governed-merges: HUMAN MERGE, 37,147 > 3,000.
  • Contract review: claim 7125896004, record PASS 7126056204, on this head.
  • l1-face: 12 of 13 items ok; all-checks 61 success · 12 expected skips · 0 failed · 0 pending; mergeable_state clean. One flag, changeset, answered under the second Read bullet.

Read.

  • Fixes #36502 is right. Item 2: the pillars are Data · Automations · Access · All metadata, and the Studio root opens data (STUDIO_HOME_PILLAR). Item 3: /studio/<pkg>/interfaces, with or without ?surface=, redirects before the pair redirect and before the body, keeps only ?changes=, and latches the notice in state. That state outlives the Data pillar's own ?surface= write, which is pinned in interfacesRetired-36502. Item 6: git grep on this head finds no producer of /interfaces outside the redirect's own documentation and CHANGELOG history. The three ?changes=review producers (mcp-authoring.ts, register.ts, studioChangesLink.ts) agree byte for byte with the eval.
  • Changeset, sentence by sentence: every sentence holds against the tree. The changeset flag names @object-ui/components and @object-ui/plugin-kanban. Each is touched by one file under src/__tests__/. Both packages ship files: ["dist", …] and build with tsconfig excluding **/__tests__/**, so nothing they publish changes and no entry is owed. @object-ui/app-shell is private: true.
  • Customize moved to All metadata (the seat's option A). AREA_CUSTOMIZE_EDITOR_TYPES gains view, dashboard, report, page. ViewDefaultInspector, DashboardDefaultInspector, ReportDefaultInspector and PageDefaultInspector are registered in metadata-admin/inspectors/index.ts, so StudioBundleItemEditor draws the designer and not the form. ?review=1 keeps the generic draft review. The routes are pinned in StudioMetadataArea.routes-28561 and metadataArea.test.ts. The end-to-end customize, publish, serve and restore flow is pinned in ui/e2e/live/studio-customize-journey.spec.ts, and Live E2E UI is green on this head.
  • Console links: appStudioSurfacePath, artifactStudioPath and PageView open /studio/<pkg>/metadata/<type>/<name>. AiChatPage and AppHeader open /data. No source under ui/packages/*/src names the interfaces segment except RETIRED_INTERFACES_SEGMENT.
  • What PR feat(studio): design an object's public forms in Studio's Form tab #36784 imports is still exported (ruling 7122806677). This was read in the tree by the contract review and agrees with the PR's census.

For the maintainer's approval (not findings against this head):

  • E1, acceptance line 「改一个列表视图…全部在应用里完成,不需要进 Studio」. On an installed, read-only package such as HotCRM, the running app's View settings saves a shipped view only as "my view" (objectstack#35974, which predates this PR). Org-wide customizing of a shipped view, dashboard, report or page into <base>.custom is still a Studio door: the All-metadata item page, replacing the Interfaces header. The 维护者速读 says so in its second bullet. The HotCRM walk checked that the in-app entries are present, and the writes were walked on the prerequisite cards. This PR changes none of those in-app write paths (AppHeader.tsx changes only a navigate target). Approving this PR accepts that reading of the acceptance line.
  • E2: closed. The seat recorded option A, and the narrow reading of 「不需要进 Studio」, on card Studio「界面」整栏作废:顶部导航去掉「界面」,原来在里面改的东西各有去处;前置的运行界面入口全部落地后再摘 #36502 (7126312510).

Nits (no effect on correctness):

Every open finding is a nit, so ACCEPT. Under the human-merge rule, no seat readies, enqueues or auto-merges this PR. It lands after a GOVERNED_APPROVERS approval.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzi4PechTRCTBrfxV8W

维护者速读

Request: approval · Tier H (37,147 changed lines; governed skills/** ×1) · 2026-11-24T08:37Z

席位意见: land. It retires the column the card names, keeps every door the card's table lists in the running app, and moves the one door the table missed (Customize on a read-only base) to All metadata instead of losing it.

  • L1: ACCEPT 7126338196 (L1-a) at head 8cfc5d6f, nits only (N1–N4). Claim 7125896004.
  • Contract review (CONTRACT_REVIEW_TIER): L2 PASS 7126056204 on 8cfc5d6f. E1 is stated above for you; E2 (option A on the card) is closed by 7126312510.
  • Checks at 8cfc5d6f: 61 success, 12 expected skips, 0 failed; mergeable clean. 178 files. Fixes #36502.
  • Changeset flag on @object-ui/components and @object-ui/plugin-kanban: each is touched only by a __tests__ file that does not ship, so no entry is owed (the L1 verdict records 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 24, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzj9RY8jKV57hUTNEYg

HotCRM walk: the four in-app writes, driven (answers L2 E1)

Setup: hotcrm main 48082b7 on its published 18.6.0 backend (:4011), served by this branch's console build (vite preview), signed in as the seeded admin, Playwright Chromium, en-US. App crm_enterprise of the installed (read-only) package app.objectstack.hotcrm. The network lines are the non-GET requests each step sent.

Card step In-app path What was sent Result
Change a menu Sidebar app menu → Design layout → Actions for Home → Move down → Save POST /api/v1/packages/app.objectstack.hotcrm/ensure-customization 201 · PUT /api/v1/meta/app/crm_enterprise?mode=draft&package=app.objectstack.hotcrm.custom 200 · POST …/app/crm_enterprise/publish?package=app.objectstack.hotcrm.custom 200 Saved into the pair, no Studio
Change a dashboard executive_dashboard → Edit this dashboard → Remove widget (Total Contacts) → Save ensure-customization 200 · PUT /api/v1/meta/dashboard/executive_dashboard?mode=draft&package=app.objectstack.hotcrm.custom 200 · POST …/dashboard/executive_dashboard/publish?package=app.objectstack.hotcrm.custom 200; toast "Dashboard saved" Saved into the pair, no Studio
Change a list view Accounts → View settings → hide Type → Save The only offer is "Save as my view": POST /api/v1/data/sys_personal_view 201 A personal view, no Studio. A shared change to the shipped all_accounts view is made on its All-metadata page. This is the limit the seat accepted on the card and the PR body's 维护者速读 states (in place since #35974, not changed here)
Arrange the record page An account record → ⋯ → Configure tabs → hide Contacts → Save ensure-customization 200 · PUT /api/v1/meta/object_extension/crm_account?mode=draft&package=app.objectstack.hotcrm.custom 422 <root> [unrecognized_keys]; body {"extend":"crm_account","relatedLists":[…,{"list":"crm_contact","hidden":true}]} Refused by the server, version skew: object_extension.relatedLists is ADR-0146 D10 (#36818), newer than the 18.6.0 backend this HotCRM runs on. The console is main's, so it writes the key; a backend from the same main accepts it. Not this PR's code path (record tabs are #36499's; this diff does not touch recordTabsConfigIo.tsx or the spec)

Two notes on the fourth row:

No link on any page walked points at /interfaces. The head is unchanged (8cfc5d6).

@os-zhuang
os-zhuang marked this pull request as ready for review November 24, 2026 08:54
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit 3f568c1 Nov 24, 2026
79 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-qx7p3r branch November 24, 2026 09:18
@objectstack-fleet objectstack-fleet Bot removed the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 24, 2026
os-support-ai pushed a commit that referenced this pull request Nov 24, 2026
Takes in the Interfaces retirement (#36884, objectstack#36502). Three files
conflicted; both sides are kept:
- StudioDesignSurface.designerRegistryMissing / lateRegistration-11939 tests:
  main's side (InterfacesPillar import and cases removed, its own module-top
  lint import), with the object page tab looked up as Field layout again.
- studio-authoring.json first-run-loop: main's revision 14 entry kept, this
  branch's Field layout entry renumbered 15 and the item's revision set to 15.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzhpykmQZe1yMupC2CU
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

3 participants