Repository navigation
feat(studio): Studio's top-left rows, the package switcher and the rail - #37579
Conversation
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CYYe7UScDrgUJxx5iP
…u spec Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CYYe7UScDrgUJxx5iP
…-vyx9gu # Conflicts: # ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx
…umn and on 概览 Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CYYe7UScDrgUJxx5iP
Second merge, forced by conflicts with the App Studio rename and the title-row pins. i18n keeps main's mark and the switcher keys. The three conflicted tests keep main's still-valid assertions at their new homes (the brand name, no Create app) and drop only the ones that pinned the deleted top bar. The two new tests from main that anchored on the top bar now anchor on the left column's top-left. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CYYe7UScDrgUJxx5iP
Studio has no top bar, so the journey's publish goes through the menu's 概览 badge onto the Pending tab, publishes the pair there, and returns to the item, waiting for its header before reading the override chip. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CYYe7UScDrgUJxx5iP
Third merge, forced by a conflict with the access-directory move: main's new ~all leg in StudioPackageMenu-37139 is kept whole, its name check reading the switcher instead of the deleted top bar. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CYYe7UScDrgUJxx5iP
…n the switcher Its menu lists more than flows, so the switcher no longer names it after its one flow entry; the menu row keeps "Organization flows". Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CYYe7UScDrgUJxx5iP
|
repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4 Final green head (2026-11-26T19:56Z): Area notes for L1:
|
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X Contract-review-claim: session_01Utp6CYtTDvfPQDzMbZnN5X · head 3ce748c · 2026-11-26T20:00Z |
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X Contract reviewServed-tier: Inputs: card #37456 (body and its 3 comments: triage, the area's scope note 7189582815, the claim 7192639020), PR #37579 (body, 44-file list, net diff ① Derived judgments
Findings
② Semver level
③ Boundary flags
Security-touching: no Seat questions1. Deleted tests.
One case was dropped silently: "on a narrow bar the app name gives way" inside 2. Former top-bar tenants.
3. The 4. The rename. Present in both locales: 5. The changeset. The deletions are internal. Implemented-by: VERDICT: PASS |
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X 席位核对Head-sha:
|
…kage keeps its way back The failed-app note now sends the author to Application in the package's menu, the draft-object hint to Overview › Pending, and the Save notes to the page header. A package id no package has draws no left column, so its way back gets a strip of its own, where the top bar drew it before. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CYYe7UScDrgUJxx5iP
|
repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4 Final green head for the delta round (2026-11-26T21:19Z), answering the seat's REWORK 7202377438: What changed since
Landing: the maintainer approved landing this PR once review passes (2026-11-26 19:59Z, in the #37456 card thread). On ACCEPT, the area lands it. |
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X Contract reviewServed-tier: This is a delta record. It builds on the full-round record 7202356468, which reviewed head Inputs:
① Derived judgmentsThe delta stays inside the three fixes. It touches:
No key is added, removed or renamed, and no export, prop, route or server code changes. The new strip is module-internal to the private
New findings: none. The delta brings no new behaviour beyond the three fixes. One detail, not graded: the strip receives ② Semver levelUnchanged: ③ Boundary flags
Security-touching: no Implemented-by: VERDICT: PASS |
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X 席位核对 (delta 1)Head-sha:
|
|
repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4 Landing #37579 at 821111b · 2026-11-26T21:26Z
Ready and queued now. Generated by Claude Code |
<!-- claude-projects-attribution: {"github_login":"hotlong"} -->
_Requested by **Jack** · [project
thread](https://claude.ai/code/project/chan_01EF41AQooqveF2DGD8nqPzS?thread=cmsg_01EF41AQooqveF2DGD8nqPzSMJK8dtC6Pva5SVajbS4V1a)_
Fixes objectstack-ai#37682
Clause-②: no (narrowing)
Metadata-protocol: none
Skills-docs: updated here
## 维护者速读
- 用户看到的变化:控制台的问答聊天(侧边停靠和全页)和 Studio
照常可用;搭建应用那一套聊天界面(方案卡、变更卡、搭建结果、交接卡、诊断抽屉、草稿条、表格导入条、Studio
副驾驶面板)不再出现,旧的搭建地址会落到问答聊天。
- 为什么:搭建能力已经整体退役,这是退役专题里第一步,只删前端,不拆分组件、不改审批和提问卡。
- 出问题会怎样:最坏是问答聊天里某个按钮或文案缺失,或旧地址跳转不对;数据和元数据不受影响,回滚这一个合并即可。
- 需要你做的:不用做什么,席位做完合同级审查后排队合并。
## What changes
The build agent's chat frontend is deleted. Ask chat (dock and
`/ai/ask`) and Studio keep working; `/ai/build/…` addresses still
redirect to the ask chat.
- `@object-ui/plugin-chatbot`: the build-only cards (proposed plan,
proposed changes, build result and publish line, builder handoff,
designing-plan wait), their detectors, the build-progress mapping and
the 59 props that fed them.
- `@object-ui/app-shell`: the Build Doctor drawer, the pending-drafts
bar, the spreadsheet import bar, the maker start chips and empty state,
Studio's copilot panel and topbar entry, and the build branches in
`AiChatPage`, `ChatDock` and `ConversationsSidebar`.
- `@object-ui/i18n`: the 280 released keys only that UI read, and the
zh-Hant generator's `GATE_ONLY_KEYS`, which had nothing left to leave
out.
`publishHealthFromResponse` / `PublishHealth` stay: the preview's
Publish all reads them.
Both changesets say the removal is breaking (`!` in the summary line, a
**BREAKING** banner and `Clause-②: no (narrowing)`). The
`plugin-chatbot` README, which ships in the tarball, and
`content/docs/frontend/plugins/plugin-chatbot.mdx` no longer describe
the removed props and fields. The ADR-0087 marker is
`runtime-export-retired` for the package exports and
`no-migration-prescription` for the keys; `check-adr-0087-registration`
passes.
### Removed published exports, by package
**`@object-ui/plugin-chatbot`** (root entry)
- Functions: `detectDraftResult`, `detectProposedPlan`,
`detectProposedChanges`, `detectBuilderHandoff`,
`detectBuiltAppPackage`, `detectAuthoringVerdict`,
`detectReplayOutcome`, `buildProgressFromDraftReview`
- Types: `DraftReview`, `ProposedPlan`, `ProposedChanges`,
`BuilderHandoff`, `ReplayOutcome`, `PublishOutcome`
- Members of `ChatbotEnhancedToolInvocation` (and `SeamToolInvocation`):
`draftReview`, `proposedPlan`, `proposedChanges`, `builderHandoff`,
`replayOutcome`
- Members of `ChatbotEnhancedMessage` (and `SeamChatMessage`):
`buildProgress`, `blueprintProgress`
- Members of `ChatbotLabels`: `designingPlanLabel`, `designingPlanHints`
- Props of `FloatingChatbotProps` and `ChatbotEnhancedProps` (59 each,
the same set):
- Handlers: `onBuildMaterialized`, `onBuildResult`, `onDesignBuiltApp`,
`onDiscardDrafts`, `onDraftArtifacts`, `onOpenBuilder`,
`onOpenBuiltApp`, `onPlanApprovalPendingChange`, `onPreviewDraft`,
`onPreviewDraftApp`, `onPublishDrafts`, `onReviewDraft`,
`onReviewDrafts`
- Labels and messages: `builderHandoffOpenLabel`,
`builderHandoffSupersededTitle`, `builderHandoffTitleLabel`,
`changesAppliedLabel`, `changesApplyingLabel`, `changesConfirmedLabel`,
`changesConfirmHintLabel`, `changesConfirmLabel`,
`changesConfirmMessage`, `changesDraftedLabel`, `changesFailedLabel`,
`changesTitleLabel`, `changeVerbLabels`, `designBuiltAppLabel`,
`nextStepsLabel`, `openBuiltAppLabel`, `planAdjustLabel`,
`planAnswerMessage`, `planApproveDefaultsMessage`,
`planApproveHintLabel`, `planApproveLabel`, `planApproveMessage`,
`planAssumptionsLabel`, `planBuildingLabel`, `planBuildNewAppMessage`,
`planBuiltLabel`, `planDeferredLabel`, `planExtendExistingMessage`,
`planExtendLabel`, `planQuestionsLabel`, `planReadyLabel`,
`planTitleLabel`, `previewDraftLabel`, `publishDraftsLabel`,
`publishedLabel`, `resolveAppLabel`, `resolveFieldLabel`,
`resolveFieldTypeLabel`, `resolveObjectLabel`, `toolReviewLabel`,
`verifiedLabel`
- Behaviour: `autoPublishDrafts`, `fetchPendingDraftCount`,
`getArtifactAction`, `publishFromShellBar`, `subscribeMetadataRefresh`
**`@object-ui/plugin-chatbot/core`**
- Type: `PublishOutcome`
**`@object-ui/app-shell`**
- `ConversationsSidebar` prop `includeAskConversations` (the sidebar
lists the active agent's conversations)
**`@object-ui/i18n`**
- 280 translation keys released in `@object-ui/i18n@18.6.0`: 271
language-pack keys (209 from all eleven locales, 6 `console.ai.*Message`
keys from en and zh-Hans, the rest with their plural siblings) and 9
`engine.studio.copilot.*` / slot keys of the Studio namespace. The full
list is in `.changeset/37682-i18n-retire-build-chat-keys.md`.
## Tests
- Deleted the tests of the removed cards, bars, drawer, copilot panel
and detectors, and the i18n tests that only pinned removed keys
(`outbound-agent-messages`, the three maker scope tests, the zh-Hant
gate test).
- Kept and retargeted: `useChatConversation` cache sanitising now uses a
plain tool invocation; the `AiChatPage` runtime-message seam test uses
the ask agent and a pending approval; `ChatDock` request-context pins
that a build agent in the catalog binds no package; the ChatDock menu
test pins Share and Expand with no build doctor.
- Count pins adjusted where keys left (console namespace, de quote
pairing, count families, column-identity ratchet).
## Acceptance notes
Four leftovers are deliberately not in this PR. They are not build UI,
and removing them reaches past this card's surface. The seat decides
which ones to file:
1. **Builder-handoff plumbing**: `chatDockTarget.ts`
(`BuilderHandoffState`, `ChatDockHandoff`, `ambientAppPackage`),
`chatDockControl`, the handoff in `useConsoleChatDock`, and
`AiAddressRedirect`'s handoff branch. Nothing sets a handoff any more.
2. **The plan-approval bus and the launcher marker**: the plan-approval
channel on `assistantBus`, `usePlanApprovalPending`, and the pending
marker on `AssistantTopBarButton`. Nothing raises plan approval any
more.
3. **The surfaceAgent maker helpers**: the maker helpers in
`hooks/surfaceAgent.ts`, and `useChatConversation`'s `rekeyScope` and
legacy options that only served them.
4. **showDebug is always false**: `ChatDockConversation` always sends
`showDebug: false` now that the Build Doctor drawer is gone, and
`chatDockTarget`'s `showDebug` field has no reader.
One more build entry outside this diff:
`ui/apps/console/src/pages/system/AppManagementPage.tsx:691` still draws
an ungated "Edit with AI" button that opens `{ agent: 'build', packageId
}`. It behaved the same on main once build closed, so it is not this
diff's regression; the seat files it.
Smaller stale text, also left: a historical comment in
`ui/scripts/check-eager-closure-budget.mjs` naming the deleted bars, the
pending `ui/.changeset/12724-plan-card-posture.md` that describes the
deleted plan card, and comments in the preview's `usePublishAllDrafts`.
## Verification
Read first: `ui/packages/plugin-chatbot/src/index.tsx` (the export
list), `ui/packages/app-shell/src/console/ai/AiChatPage.tsx` (the
ask-only path that stays), and the two changesets.
Two-minute check: `pnpm --dir ui exec vitest run
packages/app-shell/src/layout/__tests__/ChatDock.requestContext-30043.test.tsx
packages/app-shell/src/console/ai/__tests__/AiChatPage.runtimeMessageSeam.test.tsx`
(the dock binds no package for a build agent; the full page keeps its
approval seam).
Main was merged in after objectstack-ai#37579 landed (Studio's top-left rows). Nine
Studio tests conflicted. Main's new tests that assert the copilot and
its AI assistant button were dropped with it; the rest keep main's
assertions, and the right slot's toggle stays the title row's only
control.
Two dispatch-gate fixes this change needed:
- `check-test-source-alias`: 17 tests that reach `AiChatPage` now load
`@object-ui/plugin-grid` at module top. The deleted spreadsheet import
bar used to load it during collection; without it, the page's own
`import('@object-ui/plugin-grid')` would be paid inside a clocked case.
- `check-hand-rolled-comment-mask`: the DEBT entry for
`console-namespace-3546.test.tsx` is deleted, because the code that
carried it went with the build keys. `check-vi-mock-specifiers`: the
`noTopBar-37456` suite's mock of the deleted `StudioAiCopilot` is
dropped.
<details><summary>Local readings</summary>
- `pnpm console:build`: 81 of 81 tasks succeeded.
- `tsc` in app-shell, both `tsconfig.json` and `tsconfig.test.json`:
exit 0 on the merged head.
- eslint `--quiet` over the 128 changed `.ts`/`.tsx` files: 0 errors.
- Affected suites before the merge: 707 files, 6156 tests passed.
- After the merge, `packages/app-shell/src/views/studio-design` plus
`packages/i18n`: 386 files, 4184 tests (4170 passed, 13 skipped, and 1
failure fixed and re-run green).
- `pnpm --dir ui exec vitest run scripts/`: 174 files (171 passed, 2
skipped, 1 failed: the vi.mock gate above, fixed, and its file re-run
green with 57 tests).
- dispatch-gates: all 42 derived commands ran before the merge. Three
failed and were fixed (ADR-0087 marker, test-source-alias, the scripts
suite). On the merged head, `check-adr-0087-registration --base
origin/main`, `check:test-source-alias`, `check:i18n-keys`,
`check:i18n-drift` and the scripts suite were re-run and exit 0.
`check-platform-checklist --changed-from origin/main` and
`check:new-line-citations` also exit 0.
- `check-i18n-dead-keys`: no new dead key, and 16 fewer than base.
- The full ui suite with `--maxWorkers=3` was still running at push
time. Its first attempt, run alongside `console:build`, was killed for
memory. CI's sharded run is the verdict; the local result goes in the
card report.
- Dogfood battery (`pnpm --filter @objectstack/dogfood test` under
`os-verify-lock`, closure built first) on head `18cec5f4`: running; the
reading goes in the card report.
- After objectstack-ai#37706 landed, main was merged again: the de-quote-pairing pin
is 129 (135 minus this PR's six spans).
- `overlap-check`: main merges cleanly. Two textual conflicts with open
PRs outside epic cloud#5027:
- objectstack-ai#37706 in `de-quote-pairing-3876.test.ts`: a count pin, 133 → 127 here
and 133 → 135 there.
- objectstack-ai#37719 in `StudioDesignSurface.tsx`: a move-only split of the file.
Whichever PR lands second takes the other's change.
</details>
---
_Generated by [Claude
Code](https://claude.ai/code/session_01Q4EjjMnLQVLzcho6g8WAL3)_
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01Q4EjjMnLQVLzcho6g8WAL3
<!-- signed: epic:objectstack-ai#5024#1 · hotlong · session_01Q4EjjMnLQVLzcho6g8WAL3
-->
---------
Co-authored-by: Claude <noreply@anthropic.com>
…mes table (objectstack-ai#37927) <!-- claude-projects-attribution: {"github_login":"os-tesla"} --> _Requested by **Tesla** · [project thread](https://claude.ai/code/project/chan_01AXsQkLFKRdQCqQ3RTr6Jao?thread=cmsg_01AXsQkLFKRdQCqQ3RTr6JaoTeY72VoWMktEtuwWvY1yGw)_ Fixes objectstack-ai#37685 Clause-②: no Metadata-protocol: none ## 维护者速读 - 用户能看到什么变化:没有。只是把已经上线的做法写进 Studio 的设计文档:组织级(不属于任何软件包)没有「概览」页,它的待发布变更和发布入口是左栏那一行「变更 N」。 - 为什么做:App Studio 改版专题的一处记账,避免以后有人照文档把这一行删掉。 - 出错会怎样:只改文档,不影响运行;不对可直接撤回。 - 要你做什么:审阅并合并这条设计文档修改(受管面,需你亲手合并)。 ## What changes One file, `docs/adr/0084-application-builder-information-architecture.md`, +3 lines, nothing removed: - One row in the homes table of `#amendment-2026-11-26-homes` ("Where the top bar's controls go"), directly under the pending-changes row: on the package-less `~org` scope, which draws no 概览 Overview, the pending-changes button and Publish live in a 变更 Changes row with its count in the left column (`StudioTopLeft.tsx#StudioScopePendingRow`), drawn only while that scope has something pending; it opens the existing changes sheet, which holds Publish. Its "By" column reads `not ruled`. - One dated mark under that table, in the ADR's own `*(Amended 2026-11-27, card objectstack-ai#37685: …)*` form: why the row exists (the pick sends Changes + Publish to 概览, `~org` has none), that it was built first by the top-bar removal (objectstack-ai#37456, PR objectstack-ai#37579) and is recorded after the fact as that change's contract review asked (comment 7202356468, finding S3), and that no other row changes. Not in this PR: the seat's widening comment also asked to turn the type → group table's `datasource` row into a no-row entry. That half is withdrawn (claim comment 7217220011): `studioMenuPlacement.test.ts` ties each table row to the code's placement list, so the row moves with the code card that removes the menu row, as objectstack-ai#37564 did. ## Why ADR-0084's 2026-11-26 amendment sends Changes + Publish to 概览's Pending tab. The package-less scope has no 概览, so the shipped code gave it a row of its own, and the ADR did not record that home. A later reader following the ADR could remove the row. ## Tests Read at `origin/main` `73d5e347`, the code the row is written from: - `ui/packages/app-shell/src/views/studio-design/StudioTopLeft.tsx:84` `StudioScopePendingRow`: a button labelled `engine.studio.changes` (en "Changes", zh 变更) with a count pill; drawn under the package row (:169) and as an icon on the rail (:160). - `ui/packages/app-shell/src/views/studio-design/StudioSurfaceFrame.tsx:210-219`: passed only when `packageId === null && !allScope && shownPendingCount > 0`, so on `~org` alone and only while something is pending; it opens the changes sheet (`DraftChangesPanel`, :243-256) with Publish. Local gates on head `062fc62c`, exit codes captured before any pipe: <details><summary>ADR gates</summary> - `node scripts/check-adr-symbol-anchors.mjs` → 0 (4475 anchors across 164 records resolve; both new symbol anchors resolve as declarations) - `node scripts/check-adr-links.mjs` → 0 (1263 relative links resolve) - `node scripts/check-adr-anchors.mjs` → 0 - `node scripts/check-nul-bytes.mjs` → 0 - ADR index `--check` → 0 (drafter's run) - The pin test's row regex (`ADR_ROW` in `studioMenuPlacement.test.ts`) matches 33 lines before and after the edit, the same rows byte for byte; the new lines match 0 times. </details> NOT MEASURED locally: `studioMenuPlacement.test.ts` itself and the doc-authoring families (no `node_modules` in this container). CI runs them; the regex reading above is why the pin test is expected green. ## Acceptance notes - Noted, not filed (carrier: the code card that rewrites the `datasource` row of the same table): the dated notes under the type → group table still read "33 entries" and "AI 4", while the table now has 34 rows and AI 5; the `knowledge_source` row (added by objectstack-ai#37676) cites item 6, which names only `ai_context`, and carries no dated mark. - Left for the seat: the Status line and the section's Refs line do not name objectstack-ai#37685 (as with objectstack-ai#37564 and objectstack-ai#37360, recorded only in their in-place marks); the row's retirement (with Studio's `~org` entry) is not written, since no ruling says it. ## Verification Read first: the new row under the pending-changes row in `#amendment-2026-11-26-homes`, then the dated mark under the table. Two-minute check: `node scripts/check-adr-symbol-anchors.mjs` prints the green line; open Studio on `~org` with a pending flow draft and see the Changes row in the left column open the changes sheet with Publish. ## Human Minimum - [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic. (not touched) - [x] 2. Every name I added uses the casing for its kind. (none added) - [x] 3. No formatter ran; `pnpm lint` passes. (CI) - [x] 4. One issue, one branch off an up-to-date `main`, one pull request. - [x] 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset. (`docs/adr/**` does not publish: `skip-changeset`) - [x] 6. `packages/spec` touched: its generated artifacts are regenerated and committed. (not touched) - [x] 7. No hand edits to `content/docs/references/`, `packages/*/CHANGELOG.md` or `content/docs/releases/`. - [x] 8. Title, body and comments are in English. (the 速读 block is the maintainer's Chinese channel) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01L9qibzqYghcpTQ2yaJPJbE --- _Generated by [Claude Code](https://claude.ai/code/session_01L9qibzqYghcpTQ2yaJPJbE)_ Co-authored-by: Claude <noreply@anthropic.com>
repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4
Requested by Bill · project thread
Fixes #37456
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
Two halves on one branch. Half 1 gives Studio's left column the two top-left rows the ADR-0084 amendment (
#amendment-2026-11-26-frame,#amendment-2026-11-26-homes) gives it, built as their own files so #37553's split ofStudioDesignSurface.tsxis not disturbed. Half 2 (after #37454 / PR #37546 merged;mainmerged once) deletes the top bar.Half 2: the top bar is gone
StudioDesignSurface.tsx. The header is deleted with everything only it used: the create-app button, state and dialog; the Publish button, its disabled / read-only reasons and the posture state; the now-unused imports. Each tenant's home, per the amendment's table: way back → the package row; ⋯ → 概览's header; Changes + Publish → 概览's Pending tab, with the count as the menu'sstudio-menu-overview-pendingbadge; Save / Cancel → the item header; assistant / panel toggle → the title row's end; menu toggle → Studio's row; Create app → nowhere (the silent item 5). The changes sheet stays for the ~org scope and now passesposture="review"explicitly. The switcher's pick opens the package's 概览 (studioPackageOverviewPath).StudioTopLeft.tsx.StudioScopePendingRow: on the package-less ~org scope, which has no 概览, a "Changes · N" row (studio-scope-changes) under the package row (compact on the rail) opens the existing sheet and itsdoPublish.StudioMobileStrip: below 768 px a strip (studio-mobile-strip) holding the menu trigger and Studio's mark, since the drawer otherwise has no door.StudioBackToApp.tsx. The top bar'sStudioBackToAppis removed;studioBackTargetandStudioBackButtonstay.studio-tokens.ts.STUDIO_HEADER,STUDIO_HEADER_PACKAGE_COLUMN,STUDIO_HEADER_WIDE_WORDremoved.StudioRoute.tsxdraws no bar, so it is untouched.Copy repointed (S1).
engine.studio.newApp.appFailednow points to the 应用 row in the package's menu.engine.studio.data.draftObjectHintnow points to 概览 › Pending. The stale "Save in the top bar" strings (the two permission-set notes,customize.saveFooterandinspector.draftFooter) now say "page header" / 「页头」, in both en and zh.Missing-package way back (S2).
StudioMissingPackageStripinStudioTopLeft.tsxis mounted when the package is missing, at every width. It holdsStudioBackButtonplus Studio's mark and name, in the place where the bar's way back used to be.Half 1: the rows
StudioTopLeft.tsx(new). Row 1 (StudioBrandRow): Studio's graphite mark, its name (engine.studio.mark, the existing key, which App Studio 改版(3-3):显示名改为「应用搭建 / App Studio」——应用标签与多语言文案(只改界面显示) #37566 renamed through feat(studio): the Studio app reads 应用搭建 in Chinese and App Studio in English #37581 so it now reads App Studio / 应用搭建), the collapse control. Row 2 (StudioPackageRow): the way back, then the package switcher. Collapsed on desktop, the column is a rail (studio-rail-head): expand control, way back, app logo, stacked.StudioPackageSwitcher.tsx(new). A popover naming the open package by its app (logo viaAppMark, label vianavItemLabelText, else the package name), with a lock when read-only. The list holds the openable packages: kernel packages out,.custompairs folded ("with PAIR"), ~org / ~all not listed; a search box; the current row checked. Picking a package passesbeforeNavigate(the unsaved-changes guard) and opens it. The last row, New package (authors only), opens the existingCreatePackageDialog(「新建包」对话框加一个「同时创建应用」勾选项(默认勾上),勾上时建包的同时建好它的应用;取消勾选只建包 #37134) and opens the created package. The list reloads onobjectui:packages-changed; a failed read toasts under the sharedPACKAGE_LIST_TOAST_ID.StudioBackToApp.tsx. AddsStudioBackButton, the chevron-only way back with the same target asstudioBackTarget. Its own testid (studio-package-back) so it does not clash with the top bar'sstudio-back-to-appwhile both exist.StudioTitleRowFallback.tsx(new). The panel control (and save / assistant) for a page that draws no title row (loading, not found). It registers as a title row after the page in document order, so the page's own title row always wins and this draws only when there is none.StudioMenu.tsx. Aheadslot at the top of the menu header;collapsiblemoves fromoffcanvastoicon(the rail); search and the advanced toggle hide on the rail; each menu item gets a tooltip, shown only on the rail.StudioDesignSurface.tsx. MountsStudioTopLeftas the menu's head andStudioTitleRowFallbackafter the pillars. The top bar's own menu toggle is removed (the toggle now lives in row 1, so the page never draws two).engine.studio.pkg.switcher,.search,.noMatches,.newPackage(en, zh).Tests
Half 2
StudioDesignSurface.noTopBar-37456.test.tsx(new, 8 cases) walks every former tenant at its new home: no top bar (control: the rows are drawn); the way back first in the package row and the one menu toggle in Studio's row; the phone strip opens the drawer; a switcher pick lands on/studio/X/overview; ⋯ only in 概览's header; badge → Pending → Publish POSTs/api/v1/packages/<id>/publish-drafts; a read-only Pending has no Publish; no Create app anywhere.notFound-26708is re-pointed: in all 4 pillar cases it requires the way back on the missing-package strip (studio-package-back, target/home). The ablation (strip not mounted) turns 4 red.StudioTopLeft-37456.test.tsx: +2 cases, the ~org Changes row (expanded and on the rail) and its control (a package scope draws none).packageLessFlows-11553gains the row → sheet path.backToApp-36501,graphite-37455,rightSlot-12725,desktopHint-11795,accessSegment-12452,interfacesRetired-36502,copilotDoors,copilotDraftBadge,itemDraftLine,metadataArea,packageListErrorPosture,pillarNavGuard,StudioPackageMenu-37139,StudioPackageOverview-37454,entryReadsOnce-11797,publishBackfill-12929(badge → embedded panel → open the row),customizePublish-28562,saveBar-36511,PackageFormDialog.newAppStep-36748.narrowHeader-12509(the bar's narrow layout),createAppAccessibleNameand the app cases ofCreateItemDialog.labels-13128/createTaken-26917(Create app is gone),publishPosture-12517andpublishReadOnlyReason-12303(the bar's Publish; the Pending tab's read-only posture is pinned innoTopBar-37456and App Studio 改版(1-3):精简版软件包概览页——菜单第一项「概览」带待发布数字,信息页签只读、待发布页签接住发布,「⋯」软件包菜单搬进页头 #37454's suite),changesCount-11787(its claim, a saved draft counts before its own re-read, is held bymetadataArea-28561).git diff HEADempty):scopePendingnever passed → 2 red inpackageLessFlows-11553; the strip returns null → 2 red (noTopBar,desktopHint); the pick goes to the bare package path → 1 red (noTopBar).Half 1
StudioTopLeft-37456.test.tsx(new, 11 cases): the two rows and their order; naming by the app; the lock on a read-only package and its control (writable: no lock); the list folds a pair and checks the open package; pick opens a package; re-picking the open one does nothing; a declined leave keeps the page; search and its empty state; New package (authors only) opens the create dialog and then the created package; the package-less scope; the rail; the fallback with and without a page title row.homeLoop-12513now asserts the way back is the first button of the package row and the toggle sits in Studio's row;rightSlot-12725waits for the assistant inside the list's title row (the fallback holds it while the list loads); thePackageFormDialog.newAppStep-36748door census adds the switcher's New package door.ui/e2e/studio-left-menu-36899.spec.ts: re-pointed, not loosened. The collapsed case pinned the column off the canvas; the amendment's rail replaces that, so it now asserts a 3rem rail at the left edge with the content beside it, and still asserts the collapse cookie and the reload.git diff HEADempty): the lock condition forced false, the lock case red; the fallback'sdrawnforced false, the fallback case red.Readings
__tests__, StudioRoute, DraftChangesPanel and newAppStep suites,Test Files 314 passed,Tests 2843 passed; app-shelltsconfig.test.json0 errors; eslint 0 errors; derived gates 39/39 exit 0 (vitest run scripts/at 2 workers).StudioTopLeft-37456,homeLoop-12513,rightSlot-12725,PackageFormDialog.newAppStep-36748, the studio-design and i18n suites: 16 test files, all passed. At the head:StudioTopLeft-37456Tests 11 passed (11).@object-ui/app-shellsources andtsconfig.test.json: 0 errors; full workspace build (docs excluded) 123/123 tasks green.dispatch-gates.mjs --commands, 39): 37 exit 0 in the batch run;check:test-source-aliaswas red on the new suite (a clocked first load of@objectstack/lintthrough the create dialog) and is fixed by a module-top import, now OK;vitest run scripts/was killed by the container's memory limit in the batch and passes alone at 2 workers:Test Files 172 passed | 2 skipped (174).Acceptance notes
studioMenuOverviewEntryreturns null there), so deleting the bar would have left its drafts with no way to publish. Per the area's call, ~org keeps a "Changes · N" row in the left column (StudioScopePendingRow, within theStudioTopLeftfiles) that opens the existing sheet and its existingdoPublish; nothing new on the server. Pinned byStudioTopLeft-37456+packageLessFlows-11553with an ablation, and shot light/dark. S3: the table gains this row in docs/adr follow-up ADR-0084:在「去处」表里补一行——组织级(~org)的变更与发布入口 #37685.engine.studio.app.*,backToApp,publish,publishTitle) are now unreferenced; some were already dead before this card. Left in place for a sweep, not removed here.ResourceListPage.tsx, outside this card's surface).engine.studio.markkey. App Studio 改版(3-3):显示名改为「应用搭建 / App Studio」——应用标签与多语言文案(只改界面显示) #37566 renamed it to App Studio / 应用搭建 through feat(studio): the Studio app reads 应用搭建 in Chinese and App Studio in English #37581, andStudioTopLeft-37456pins the exact name (/^App Studio$/).engine.studio.pkg.orgScope, en and zh), because that scope's menu lists more than flows. The maintainer asked for this in the card thread on 2026-11-26. The menu row keeps 「组织级流程」.studio-backtext and accessible name,studio-back-app-name, the bar'sstudio-mark, and the settle on the bar's Create app button. Two auto-merged fix(studio): a PageShell row with nothing of its own draws no lone hairline; pin the title-row tenants outside studio-design #37542 pins that anchored onstudio-shell-headerare re-pointed, not loosened (graphite-37455viastudio-top-left,pillarsClaimSlot-12725).ui/e2e/studio-left-menu-36899.spec.tsis re-pointed, not loosened (see Tests).ui/e2e/live/studio-customize-journey.spec.tsis re-pointed, not loosened. ItspublishPairclicked the deleted top bar's Publish. It now opens the menu's 概览 badge, publishes the pair in the embeddeddraft-changes-panel, and still asserts that the pair'spublish-draftsPOST answers 200 withpublished. The full live lane passed 23/23 locally.shots-37456/final/).Verification
Read first, by risk:
StudioDesignSurface.tsxhunks: what the header held and that each piece is either rehomed or deliberately gone (Create app); the sheet's explicitposture="review";packagePath={studioPackageOverviewPath}.StudioScopePendingRowandStudioMobileStripinStudioTopLeft.tsx(the ~org gap; the phone's only door to the menu).StudioPackageSwitcher.tsx: the pick path (beforeNavigatebefore every navigation, including after create) and the list filter (kernel out, pairs folded).StudioMenu.tsx:collapsible="icon"and theRAIL_HIDDENclasses (a missed class leaves a half-drawn control on the rail).StudioTitleRowFallback.tsxand its mount point inStudioDesignSurface.tsx(it must stay after the page in document order).StudioBackButtoninStudioBackToApp.tsx(same target as the top bar's way back).Human Minimum
packages/specholds no runtime logic. (not touched)pnpm lintpasses.main, one pull request.packages/spectouched: n/a.content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01Utp6CYYe7UScDrgUJxx5iP