Skip to content

feat(studio): Studio's top-left rows, the package switcher and the rail - #37579

Merged
objectstack-fleet[bot] merged 14 commits into
mainfrom
claude/project-thread-vyx9gu
Nov 26, 2026
Merged

objectstack-fleet[bot] merged 14 commits into
mainfrom
claude/project-thread-vyx9gu

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4

Requested by Bill · project thread

Fixes #37456

Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:Studio 不再有顶栏。左栏顶部两行:第一行 Studio 标识和收起按钮;第二行「返回应用」和软件包切换器(应用图标、名称,只读带锁,末行「新建软件包」)。变更和发布在「概览 › 待发布」;组织流程(~org)没有概览,左栏保留一行「变更 N」。「新建应用」按钮去掉。手机宽度顶部一条细栏打开菜单。左栏收起后成窄栏。
  • 为什么做:App Studio 改版去掉顶栏(ADR-0084 2026-11-26 修订)。
  • 出错会怎样:最坏是某个入口找不到(发布、返回),不丢数据;撤回即恢复。
  • 要你做什么:暂无(区域审完后合入)。

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 of StudioDesignSurface.tsx is not disturbed. Half 2 (after #37454 / PR #37546 merged; main merged 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's studio-menu-overview-pending badge; 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 passes posture="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 its doPublish. 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's StudioBackToApp is removed; studioBackTarget and StudioBackButton stay.

  • studio-tokens.ts. STUDIO_HEADER, STUDIO_HEADER_PACKAGE_COLUMN, STUDIO_HEADER_WIDE_WORD removed.

  • StudioRoute.tsx draws no bar, so it is untouched.

  • Copy repointed (S1). engine.studio.newApp.appFailed now points to the 应用 row in the package's menu. engine.studio.data.draftObjectHint now points to 概览 › Pending. The stale "Save in the top bar" strings (the two permission-set notes, customize.saveFooter and inspector.draftFooter) now say "page header" / 「页头」, in both en and zh.

  • Missing-package way back (S2). StudioMissingPackageStrip in StudioTopLeft.tsx is mounted when the package is missing, at every width. It holds StudioBackButton plus 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 via AppMark, label via navItemLabelText, else the package name), with a lock when read-only. The list holds the openable packages: kernel packages out, .custom pairs folded ("with PAIR"), ~org / ~all not listed; a search box; the current row checked. Picking a package passes beforeNavigate (the unsaved-changes guard) and opens it. The last row, New package (authors only), opens the existing CreatePackageDialog (「新建包」对话框加一个「同时创建应用」勾选项(默认勾上),勾上时建包的同时建好它的应用;取消勾选只建包 #37134) and opens the created package. The list reloads on objectui:packages-changed; a failed read toasts under the shared PACKAGE_LIST_TOAST_ID.
  • StudioBackToApp.tsx. Adds StudioBackButton, the chevron-only way back with the same target as studioBackTarget. Its own testid (studio-package-back) so it does not clash with the top bar's studio-back-to-app while 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. A head slot at the top of the menu header; collapsible moves from offcanvas to icon (the rail); search and the advanced toggle hide on the rail; each menu item gets a tooltip, shown only on the rail.
  • StudioDesignSurface.tsx. Mounts StudioTopLeft as the menu's head and StudioTitleRowFallback after the pillars. The top bar's own menu toggle is removed (the toggle now lives in row 1, so the page never draws two).
  • i18n. 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-26708 is 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-11553 gains the row → sheet path.
  • Re-pointed from the bar to the new homes (same claims): 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.
  • Deleted, because what they pinned no longer exists: narrowHeader-12509 (the bar's narrow layout), createAppAccessibleName and the app cases of CreateItemDialog.labels-13128 / createTaken-26917 (Create app is gone), publishPosture-12517 and publishReadOnlyReason-12303 (the bar's Publish; the Pending tab's read-only posture is pinned in noTopBar-37456 and App Studio 改版(1-3):精简版软件包概览页——菜单第一项「概览」带待发布数字,信息页签只读、待发布页签接住发布,「⋯」软件包菜单搬进页头 #37454's suite), changesCount-11787 (its claim, a saved draft counts before its own re-read, is held by metadataArea-28561).
  • Ablations (each restored, git diff HEAD empty): scopePending never passed → 2 red in packageLessFlows-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.
  • Re-pointed, not weakened: homeLoop-12513 now asserts the way back is the first button of the package row and the toggle sits in Studio's row; rightSlot-12725 waits for the assistant inside the list's title row (the fallback holds it while the list loads); the PackageFormDialog.newAppStep-36748 door 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.
  • Ablations (each restored, git diff HEAD empty): the lock condition forced false, the lock case red; the fallback's drawn forced false, the fallback case red.
Readings
  • Half 2 at 748026a: studio-design, i18n, __tests__, StudioRoute, DraftChangesPanel and newAppStep suites, Test Files 314 passed, Tests 2843 passed; app-shell tsconfig.test.json 0 errors; eslint 0 errors; derived gates 39/39 exit 0 (vitest run scripts/ at 2 workers).
  • Half 1: StudioTopLeft-37456, homeLoop-12513, rightSlot-12725, PackageFormDialog.newAppStep-36748, the studio-design and i18n suites: 16 test files, all passed. At the head: StudioTopLeft-37456 Tests 11 passed (11).
  • @object-ui/app-shell sources and tsconfig.test.json: 0 errors; full workspace build (docs excluded) 123/123 tasks green.
  • Derived gate families (dispatch-gates.mjs --commands, 39): 37 exit 0 in the batch run; check:test-source-alias was red on the new suite (a clocked first load of @objectstack/lint through 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

Verification

Read first, by risk:

  1. StudioDesignSurface.tsx hunks: what the header held and that each piece is either rehomed or deliberately gone (Create app); the sheet's explicit posture="review"; packagePath={studioPackageOverviewPath}.
  2. StudioScopePendingRow and StudioMobileStrip in StudioTopLeft.tsx (the ~org gap; the phone's only door to the menu).
  3. The deleted tests and the reason each claim is gone or held elsewhere (Tests, half 2).
  4. StudioPackageSwitcher.tsx: the pick path (beforeNavigate before every navigation, including after create) and the list filter (kernel out, pairs folded).
  5. StudioMenu.tsx: collapsible="icon" and the RAIL_HIDDEN classes (a missed class leaves a half-drawn control on the rail).
  6. StudioTitleRowFallback.tsx and its mount point in StudioDesignSurface.tsx (it must stay after the page in document order).
  7. StudioBackButton in StudioBackToApp.tsx (same target as the top bar's way back).

Human Minimum

  • 1. Schemas start as Zod; packages/spec holds no runtime logic. (not touched)
  • 2. Every name I added uses the casing for its kind.
  • 3. No formatter ran; pnpm lint passes.
  • 4. One issue, one branch off an up-to-date main, one pull request.
  • 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset.
  • 6. packages/spec touched: n/a.
  • 7. No hand edits to content/docs/references/, packages/*/CHANGELOG.md or content/docs/releases/.
  • 8. Title, body and comments are in English.
  • The Before Submitting list in CONTRIBUTING.md is done.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Utp6CYYe7UScDrgUJxx5iP

@github-actions github-actions Bot added size/l documentation Improvements or additions to documentation tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 26, 2026
@github-actions github-actions Bot added the tests label Nov 26, 2026
…-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
@github-actions github-actions Bot added size/xl and removed size/l labels Nov 26, 2026
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
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4

Final green head (2026-11-26T19:56Z): 3ce748c6e790e53b120bcc3f919b9839aa3d5ab4. Per the card thread, every check passed or was skipped by its filter. That includes Live E2E UI, Build & E2E UI, all 16 Test UI shards, Type Check UI, Lint UI, the gate families and Check Changeset, and a merge test against origin/main is clean. The area PATCHed the body with the card thread's text plus the late additions. Sent to seat repo:objectstack#5 for L1.

Area notes for L1:

  1. Two halves, one card. Half 1 adds the top-left rows, the switcher, the rail and the title-row fallback, each in its own file. Half 2 comes after feat(studio): 概览 package overview page — Info and Pending tabs, ⋯ menu in its header #37546 and deletes the top bar, moving each of its tenants to the home ADR-0084 gives it.
  2. A gap in ADR-0084's homes table (area call, option A). The ~org scope has no 概览, so deleting the bar would have left no way to publish its drafts. StudioScopePendingRow opens the existing sheet and doPublish. It is pinned, with an ablation. It is flagged in Acceptance for the contract review. If the seat wants the ADR to record it, the area files a separate docs/adr follow-up.
  3. Maintainer-asked rename. The switcher names ~org 「组织元数据」 / "Organization metadata", via the new key engine.studio.pkg.orgScope. The menu row keeps 「组织级流程」.
  4. Main merged three times, each one forced by a conflict. Main's incoming test assertions are kept wherever they still hold without the bar. The dropped bar-only assertions are listed in Acceptance.
  5. Re-pointed, not loosened: e2e/studio-left-menu-36899 (the rail) and e2e/live/studio-customize-journey (publish from 概览 Pending, which still asserts the publish-drafts POST), plus the unit suites listed in Tests. Deleted tests are listed with the reason each one's claim is gone or held elsewhere.
  6. Follow-up: App Studio 改版(follow-up of 1-5):只读软件包里,资源列表的「新建」按钮置灰并带提示 #37580 (ResourceListPage New on a read-only package).
  7. Screenshots: objectstack-seat5/topic-37424/cards/shots-37456/final/, in light and dark: no bar, the switcher, the rail, 概览 Pending, ~org Changes, the ~org name, and the phone strip and drawer.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X

Contract-review-claim: session_01Utp6CYtTDvfPQDzMbZnN5X · head 3ce748c · 2026-11-26T20:00Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X

Contract review

Served-tier: TIER_DEFAULT
Head-sha: 3ce748c6e790e53b120bcc3f919b9839aa3d5ab4
Local-runs: none

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 origin/main...pr-37579-a, read source first and then tests), and the check-runs on the head. Every gate-carrying run is success: Lint & Repo Gates, TypeScript Type Check, Test Core, Governed Surface Queue Guard, Lint UI, Type Check UI, Test UI (16/16), Build & E2E UI, Live E2E UI, Dogfood Regression Gate, Check Changeset, PR-body guards and Check PR Size. Build Core is skipped because the diff is UI only.

① Derived judgments

  • @object-ui/app-shell: no public-surface change. Right. The package is "private": true, its exports map is "." alone, and src/index.ts re-exports only StudioDesignSurface from this tree, whose props (aiSlot, area) are unchanged. The removed StudioBackToApp, STUDIO_HEADER, STUDIO_HEADER_PACKAGE_COLUMN and STUDIO_HEADER_WIDE_WORD are module-internal. The new StudioTopLeft, StudioPackageSwitcher, StudioTitleRowFallback, StudioBackButton and the head prop on StudioMenu are module-internal too.
  • @object-ui/i18n: five keys added, none removed or renamed. Right, but see N1 on how the PR declares it. The new keys are engine.studio.pkg.switcher, .search, .noMatches, .newPackage and .orgScope, in both en and zh.
  • No accept-set change. There is no server, route, spec or protocol code in the diff. Publish still goes through the same doPublish and POST /api/v1/packages/ID/publish-drafts, and package creation still uses the existing CreatePackageDialog.
  • Behaviour. The top bar is gone. Its tenants now live in the left column's two rows, on 概览 (App Studio 改版(1-3):精简版软件包概览页——菜单第一项「概览」带待发布数字,信息页签只读、待发布页签接住发布,「⋯」软件包菜单搬进页头 #37454) and in the title row (App Studio 改版(1-4):顶栏按钮搬家——保存/取消进详情页头,AI 助手和右侧栏开关进每页标题行右端;石墨色挂到整个 Studio #37455). The Create app button is retired per ADR-0084 #amendment-2026-11-26-silent item 5. The rail is collapsible="icon". The phone strip below 768 px follows silent item 4. A switcher pick lands on 概览 (studioPackageOverviewPath), per silent item 3. Kernel packages are left out of the list and pairs are folded. beforeNavigate runs before every departure, including after a create. These match the amendment, with the exceptions in the findings.

Findings

  • S1 (should-fix) — Two user-facing strings now point at controls this PR deletes:

    • engine.studio.newApp.appFailed (en and zh) tells the author to "Use Create app in the Studio top bar to try again". It is read by PackageFormDialog.tsx:675, the dialog that this PR's own New package door opens.
    • engine.studio.data.draftObjectHint (en and zh, read by DataPillar.tsx:2289) says to click "Publish" in the top bar.

    Point them at the 应用 row and at 概览 › Pending. Separately, the "Save in the top bar" strings were already stale since App Studio 改版(1-4):顶栏按钮搬家——保存/取消进详情页头,AI 助手和右侧栏开关进每页标题行右端;石墨色挂到整个 Studio #37455: the permission-set notes, engine.studio.customize.saveFooter and engine.studio.inspector.draftFooter. Note them or file a follow-up.

  • S2 (should-fix) — The way back is lost on the package-not-found page. showMenu = !pkgMissing hides the left column there, so with no top bar that page draws no StudioBackButton. On main, the bar's 「‹ Back to app」 was drawn on it. The page keeps its own exit (Setup › Packages, or the package-less scope), so no one is stranded. Still, a former tenant is gone on one page: the PR body does not name it, and notFound-26708 now pins its absence. The card's acceptance says no top-bar feature is lost. Either draw the way back there, or name the loss and get it ruled.

  • S3 (should-fix) — The ~org "Changes · N" row (StudioScopePendingRow) is a home that ADR-0084's homes table does not have. The PR body says the table "should gain this row in a later amendment" but names no card. File the docs/adr follow-up and cite it on the PR (Prime Directives 10 and 13). Seat question 3 has the details.

  • N1 (nit) — Clause-②: no while the published @object-ui/i18n gains five catalog keys. The package's CHANGELOG precedent is split: some entries declare new keys as yes (widening), others ship no. The level is patch either way.

  • N2 (nit) — The 「组织元数据」 rename rests on a maintainer request "in the card thread" that does not appear on GitHub card App Studio 改版(1-5):去掉 Studio 顶栏改左右两栏——左上角两行(标志加折叠;返回加软件包切换器和「新建软件包」)、只读小锁、折叠窄栏 #37456 (its three comments are bot records). Put a pointer to the request on the card.

  • N3 (nit) — Dead code and stale prose are left behind:

    • DraftChangesPanel's confirm posture no longer has a caller.
    • Unreferenced keys: engine.studio.app.*, publish, publishTitle, backToApp and engine.studio.org.name. The body names most of these.
    • Doc comments still describe the top bar's Publish or Create app: StudioPackageOverviewPage.tsx:22, StudioPackageMenu.tsx:29, newAppDoor.ts:17, StudioPermissionSetPage.tsx:86.
  • N4 (nit) — StudioTopLeft swaps trees between the two rows and the rail head. Each collapse or expand therefore remounts StudioPackageSwitcher, which sends a fresh GET /api/v1/packages. Request coalescing only joins reads that are already on the wire.

  • N5 (nit) — The claim of publishReadOnlyReason-12303 was that the reason reaches the keyboard and assistive tech. It has no successor. The new lock is a non-focusable role="img" whose reason is in title only, and a read-only Pending tab drops Publish without saying why inline.

② Semver level

patch on @object-ui/app-shell (private, so nothing reaches npm) and on @object-ui/i18n (additive keys). This matches what the diff publishes. Both declaration lines are in the PR body and in the changeset (Clause-②: no, Metadata-protocol: none), and Check Changeset is green. Clause-② is judged no as declared: nothing is narrowed, and the only arguable widening is the i18n keys (N1). It is not a narrowing, so this is not the narrowing face. Metadata-protocol: none is right because nothing an author writes changes.

③ Boundary flags

  • Dev flags.
  • Card scope note 7189582815. A page with no title row keeps its panel control: StudioTitleRowFallback, pinned in StudioTopLeft-37456. Held.
  • open_questions. None declared.
  • SQL push-down. There is no server or query code. The switcher joins served apps to packages by _packageId and drops kernel rows, all in the client, over lists it already reads. It materialises no new ids against a store. No finding.
  • Landing. additions + deletions = 3,179, which is above 3,000. Per AGENTS.md (multi-agent discipline item 7(c)), this PR lands only after an authorized APPROVED review, or by the maintainer's merge or enqueue. Green checks alone do not land it. The diff has no governed path.
  • Security. No security defect found.

Security-touching: no

Seat questions

1. Deleted tests.

  • narrowHeader-12509 pinned the bar's 48 px two-column layout. That is retired by the frame (no top bar).
  • createAppAccessibleName, the app case of CreateItemDialog.labels-13128 and the app block of createTaken-26917 pinned Create app. It is retired by silent item 5. The dialog's label binding stays pinned by the object case in CreateItemDialog.labels-13128. The taken-app refusal lives on in the New package app step, pinned in PackageFormDialog.newAppStep-36748 ("an app name already taken refuses the confirm").
  • publishPosture-12517: the confirm posture's only door was the bar's Publish, which is retired. "Nothing pending, no door" is re-pinned by the 概览 badge's absence in copilotDraftBadge-12725 and metadataArea-28561.
  • publishReadOnlyReason-12303: "read-only, no Publish" is re-pinned in noTopBar-37456. The part about the reason reaching the keyboard and assistive tech is lost (N5).
  • changesCount-11787: its surface half (at least one from the render the save lands in) is held by metadataArea-28561. Its own-read, stale-answer-ignored half is held by preview/usePendingDrafts.afterSave-11787.test.tsx, which the PR body does not name.

One case was dropped silently: "on a narrow bar the app name gives way" inside backToApp-36501. It is retired with the bar, and the switcher's name truncation is unpinned (nit level). The way back on the not-found page is also lost silently (S2).

2. Former top-bar tenants.

3. The ~org scope. The row is coherent with ADR-0084. It does not reverse a decision. It fills a hole the amendment leaves: the homes table sends Changes and Publish to 概览, and silent item 1 gives ~org no 概览. Without the row, ~org drafts would have no way to publish, and the card's "nothing lost" rule would break. It reuses the existing sheet and doPublish, and it lives and dies with the ~org entry (#amendment-2026-11-26-org). It is not a must-fix. The ADR row should be filed as a docs/adr follow-up card (S3). Amending the ADR in this PR would add a Tier H path for no gain.

4. The rename. Present in both locales: engine.studio.pkg.orgScope is "Organization metadata" in en and 「组织元数据」 in zh. It is read by StudioPackageSwitcher.tsx:171 for the ~org trigger and pinned in StudioTopLeft-37456. The menu row keeps engine.studio.menu.orgFlows (「组织级流程」, "Organization flows"). Nothing else now shows the old name as the scope's name: the bar's back-name slot that used orgFlows for ~org is deleted. engine.studio.org.name (「组织流程」) is unreferenced (N3). The request itself has no GitHub record (N2).

5. The changeset. The deletions are internal. @object-ui/app-shell is "private": true and exports only ".". Its barrel re-exports StudioDesignSurface from this tree, with unchanged props. StudioBackToApp, the STUDIO_HEADER* tokens and the Create app state and dialog were never on a published surface. @object-ui/i18n only gains keys. No published export or prop is removed, so this is not a narrowing. patch and Clause-②: no hold (with N1 on the widening reading).

Implemented-by: claude/project-thread-vyx9gu
Reviewed-by: session_01Utp6CYtTDvfPQDzMbZnN5X

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X

席位核对

Head-sha: 3ce748c6e790e53b120bcc3f919b9839aa3d5ab4
REWORK — L1, seat repo:objectstack#5

  1. Shape: draft against main, UI only, 44 files, +1570/−1609. Not governed by path, but at 3179 changed lines it is over the 3000 human-merge line. The maintainer has already approved landing once review passes, and os-zhuang APPROVED at this head. Not security-touching. Clause-②: no, Metadata-protocol: none, patch on @object-ui/app-shell and @object-ui/i18n: right. The deletions are internal to a private package.
  2. Premise: every former top-bar tenant has a named home or a retiring card (record 7202356468, seat question 2). The ~org "Changes · N" row fills a gap in ADR-0084 without reversing a decision. The 「组织元数据」 rename is in en and zh.
  3. Gates: contract record 7202356468 (TIER_DEFAULT, declaration face) reads PASS, but S1–S3 are open. CI on this head: all gate-carrying runs green.
  4. Owed before landing:
    • S1: engine.studio.newApp.appFailed and engine.studio.data.draftObjectHint (en + zh) still tell the user to use controls this PR deletes ("Create app in the Studio top bar", "Publish" in the top bar). Repoint them to the 应用 row and 概览 › Pending. In the same push, fix the stale "Save in the top bar" strings left since App Studio 改版(1-4):顶栏按钮搬家——保存/取消进详情页头,AI 助手和右侧栏开关进每页标题行右端;石墨色挂到整个 Studio #37455, or name them in a follow-up card.
    • S2: the package-not-found page has no way back now that the bar is gone (showMenu = !pkgMissing hides the column, and notFound-26708 pins the absence). Either restore StudioBackButton on that page, with the pin flipped, or say in the body why it is dropped, and file a card for it. The card's acceptance says no top-bar feature is lost.
    • S3: file the docs/adr follow-up for ADR-0084's homes table (the ~org Changes row), and cite its number in the PR body in place of "a later amendment".
    • N1–N5 are accepted as deviations or follow-up cards at the area's choice: N1 is the Clause-② widening reading of the new i18n keys, N2 is the rename's provenance, N3 is the leftovers, N4 is the switcher remount, and N5 is the read-only reason for keyboard and assistive-tech users. A card for N5 is recommended.
  5. Next: push one fix commit, then knock. The same reviewer reads the delta alone. On PASS the seat ACCEPTs and the area lands it with --land, citing the maintainer's approval. If the push dismisses os-zhuang's review, he must approve again.

…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
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4

Final green head for the delta round (2026-11-26T21:19Z), answering the seat's REWORK 7202377438: 821111b0151bcda6d3741b5fdd1301685964f8f7. Per the card thread, every check passed or was skipped by its filter, including Live E2E UI and all 16 Test UI shards. A merge test against origin/main is clean. The area PATCHed the body with the delta.

What changed since 3ce748c6 (one commit, no merge of main):

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.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X

Contract review

Served-tier: TIER_DEFAULT
Head-sha: 821111b0151bcda6d3741b5fdd1301685964f8f7
Local-runs: none

This is a delta record. It builds on the full-round record 7202356468, which reviewed head 3ce748c6. It answers the seat's REWORK 7202377438. Everything that record judged and this delta does not touch stands as written there.

Inputs:

① Derived judgments

The delta stays inside the three fixes. It touches:

  • StudioTopLeft.tsx: adds StudioMissingPackageStrip.
  • StudioDesignSurface.tsx: mounts the strip when pkgMissing.
  • StudioDesignSurface.notFound-26708.test.tsx: the pin is flipped.
  • The en and zh studio packs: seven values and two comments.

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 @object-ui/app-shell. The public surface and accept set are unchanged from 7202356468.

New findings: none. The delta brings no new behaviour beyond the three fixes. One detail, not graded: the strip receives apps, which has no effect while packageId is null.

② Semver level

Unchanged: patch on @object-ui/app-shell and @object-ui/i18n, with Clause-②: no and Metadata-protocol: none in the body and the changeset. The delta changes only i18n values and internal UI, so the level holds.

③ Boundary flags

  • Dev flags. The delta note's S1, S2 and S3 claims are each verified above. There are no open_questions.
  • SQL push-down. No query or server code. No finding.
  • Gates on 821111b0. Every required context is success: Lint & Repo Gates, TypeScript Type Check, Test Core, Governed Surface Queue Guard, Lint UI, Type Check UI, Test UI, Build & E2E UI, Live E2E UI and Dogfood Regression Gate. Build Core is skipped by its filter.
  • Check Changeset. It has two runs on this head, and both are success: the 20:57Z run, and the 21:19Z rerun started by the body PATCH.
  • Landing. At +1,570/−1,609 the PR is still over the 3,000-line line. It lands only by an authorized APPROVED review, or by the maintainer's merge or enqueue. The push may have dismissed the earlier approval.
  • Security. No security defect found in the delta.

Security-touching: no

Implemented-by: claude/project-thread-vyx9gu
Reviewed-by: session_01Utp6CYtTDvfPQDzMbZnN5X

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X

席位核对 (delta 1)

Head-sha: 821111b0151bcda6d3741b5fdd1301685964f8f7
ACCEPT — L1, seat repo:objectstack#5, delta round 1

  1. Shape: one fix commit on 3ce748c6, touching 5 files (+56/−16): StudioTopLeft.tsx, StudioDesignSurface.tsx, notFound-26708, and the en and zh packs. No key, export, prop or server code changes, so patch and Clause-②: no hold. Not security-touching. The PR is still over the 3000-line human-merge line.
  2. Closed:
  3. Gates: delta record 7203684375 (same reviewer, TIER_DEFAULT) reads PASS over full record 7202356468, with no open must-fix or should-fix. CI on this head: 47 success, 15 skipped, 0 failed.
  4. Accepted deviations: N1–N4 as before.
  5. Landing terms: the maintainer approved landing once review passed (19:59Z, in the card thread). os-zhuang APPROVED at 3ce748c6, and the size limb takes an approval on any commit. The area lands it through the queue with --land, citing the maintainer's approval.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4

Landing #37579 at 821111b · 2026-11-26T21:26Z

  • Seat check ACCEPT: feat(studio): Studio's top-left rows, the package switcher and the rail #37579 (comment) (delta PASS 7203684375).
  • Size over 3000 lines and the Studio brand change: the maintainer approved landing once review passes (project thread, 2026-11-26 19:59Z: 「37579 我批准了,审核通过可以直接落地」). os-zhuang's approval stands on this head.
  • Landing legs, read by hand because landing-k.mjs could not answer (no Test Core shard ran on this UI-only head): K = 14 first-parent commits on main that the head lacks (under 15); no ui/**/locales/en.ts, skills/** or translations/ file in the diff, so the shared-budget and locale legs are clear.

Ready and queued now.


Generated by Claude Code

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