Skip to content

feat(studio): remove the Studio home; /studio opens the last package or Setup > Packages - #37166

Draft
objectstack-fleet[bot] wants to merge 28 commits into
mainfrom
claude/issue-36908-remove-studio-home
Draft

objectstack-fleet[bot] wants to merge 28 commits into
mainfrom
claude/issue-36908-remove-studio-home

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Fixes #36908
Clause-②: no
Metadata-protocol: none

维护者速读

What changes

Epic #36890 decision 9: the package-card page at bare /studio (BuilderLanding) is removed. This PR finds a new home for every entry it carried and deletes the page, the code only it used, and its tests.

Every Studio exit that names no package now makes one choice, studioEntryFallbackPath: Setup → Packages (/apps/setup/component/developer/packages?face=admin) for a principal holding setup.access and manage_platform_settings, and /studio/~all/metadata (the All metadata area) for one who may enter Studio but not that page. The capability set is the one Studio's entry gate read: app-shell now exports StudioEntryPermissionsProvider and useStudioEntryPermissions, and the console's RequireStudioAccess provides the set around the /studio subtree. Outside that provider the set reads as holding nothing, so nobody is sent to a page they may not open.

Entry the home carried Where it goes now
bare /studio StudioEntryRedirect (in the lazy Studio chunk). It opens the newest remembered package (the recent package entries StudioRoute records) that GET /api/v1/packages still lists, else studioEntryFallbackPath. If the list cannot be read, it opens the newest remembered package, and Studio reports the failed read itself.
New package (/studio?new=package) SETUP_NEW_PACKAGE_PATH: the admin face with ?new=package. It opens New Package on arrival and drops the param with a replace. After create it lands in Studio on the new package (#36834). Callers: Home's no-agent chip, the /ai no-assistant screen, the 「Add app」 menu and the no-apps screen, all labelled 「New blank app」 / 「新建空白应用」 now (below); for an author who may not open Setup → Packages each of them, like the bookmark, opens the All metadata area instead (useNewPackageDoorPath, newPackageDoorPath). An old /studio?new=package bookmark goes there for a holder of the pair, and to the All metadata area for anyone else (studioNewPackageEntryPath). One-step 新建应用 is #37134.
~all / ~org cards Already in the left menu (#36899). Nothing more to do here.
Per-app "n customized, m switched off" and the "Customizations in this environment" panel PackageCustomizationsPanel, shown in a read-only base's detail sheet on the admin face. It is not shown for an authored package, a .custom pair or a kernel package. It has a summary line, rows with tabs (adds Layouts), search, Show all, and 「Customize in Studio」. "Customized" now counts counts.arrangements. This delivers #36833's requirement in the panel's new home; #36833 was closed as not planned (ruling 7125820739), so this PR does not close it.
Card Manage and the All packages link (development face) Not this card: the door is added by #37139 (card note 7146329913). The development face stays reachable by its address.
Recently viewed Now Studio's entry itself: /studio opens the newest remembered package.
「包不存在」 → Studio home The button follows studioEntryFallbackPath: 「Open the package list」 → Setup → Packages for a holder (engine.studio.notFound.packageList), 「Open All metadata」 → the All metadata area otherwise (new key engine.studio.notFound.allMetadata).
AppContent fallbacks, packagedActionsStudioPath fallback with no package named SETUP_PACKAGES_PATH.
studio:builder (the @objectstack/studio app's 「应用构建」) Forwards to /studio.
「Add app」 (sidebar app menu, and the no-apps screen's buttons) Maintainer rulings 7153161067 and 7153400210 on #36908: 「Build with AI」 (to bare /studio) is removed, and new-in-studio is pushed for every admitted viewer on a deployment that offers metadata authoring, whether or not the build agent is served. It is relabelled under its existing key home.build.inStudio: en "New blank app", zh-Hans 「新建空白应用」, zh-Hant regenerated (「新建空白應用」), and the eight other packs translated anew, as check:i18n-drift requires of an en change. Home's no-agent chip and the /ai button read the same key; their inline defaultValue now matches the en value (check:i18n-keys); the chip's condition and target are unchanged. It stays inside isAiStudioEnabled(), because with features.aiStudio false the runtime offers no metadata authoring; a viewer useMayAddApp admits there gets the marketplace's two entries, so the list is never empty for an admitted viewer. SidebarAppMenu reads the list itself and draws neither 「Add app」 nor its separator for an empty list. Home's 「Build an app」 chip and Home's 「Build with AI」 drawer button are untouched.

Removed: BuilderLanding.tsx, its BuilderLanding.* test files, fetchInstalledPackageRow (only the home's Manage called it) with its pin, and the home's console frame in StudioRoute (header and command palette). Two deleted suites still pinned code that stays, and those halves moved (see Tests): the permission matrix's read-only hint copy, and the three new-app door cases. LandingCustomizationsPanel and landingCustomizations-io were renamed and rewritten as PackageCustomizationsPanel and packageCustomizationRows. newAppDoor.ts, PackageFormDialog's newApp branch and the engine.studio.newApp.* strings stay for #37134; the branch keeps its three cases, now mounted on PackageFormDialog itself.

Strings. The home's engine.studio.landing.* keys and engine.studio.landingHome that ship in the released @object-ui/i18n@18.6.0 (71 in each of en and zh, measured against the published tarball; 3 of them are still read by the Packages page) stay, the other 68 no longer read. Removing a published key is a narrowing, so this PR removes none. The four landing keys added after 18.6.0 and never released (manage, manageTitle, allPackages, allPackagesTitle) are removed. engine.packages.customizations.*, engine.studio.notFound.packageList and engine.studio.notFound.allMetadata are added (38 keys per language). The PR changes no existing value.

Changesets. 36908-remove-studio-home.md (app-shell, console, platform-objects) says what users see, in their words. The i18n note is in its own @object-ui/i18n-only changeset, 36908-studio-home-strings.md. Both carry the two declaration lines.

Checklist: studio-authoring.package-customization-counts-and-marks (rev 4) and studio-authoring.org-scope-flows (rev 5) are re-pointed. The rev 4 note now says #36833 was closed as not planned and this card delivers its requirement.

Size at 1c7f29cc: +2,236 / −5,191 across 99 files rename-aware (+2,610 / −5,565 across 101 without renames), mostly deletions. Per ruling 7145880574 on #36890 this lands as one PR, reviewed by the maintainer after L1.

Overlaps (overlap-check at 1c7f29cc, against origin/main 057cedfa): origin/main merges cleanly. This round merged main four times; resolved here:

Still open; whichever lands second merges main and resolves:

Read first

  1. ui/packages/app-shell/src/views/studio-design/StudioEntryRedirect.tsx: the whole /studio decision, and the two capability helpers. Risk: where a non-administrator lands (the studioEntryFallbackPath pair), now for the bookmark too.
  2. ui/packages/app-shell/src/views/studio-design/PackageCustomizationsPanel.tsx and the mount in PackagesPage.tsx (PackageDetailSheet). Risk: the gate !authoring && !writable && !isKernel && !isCustomizationPackage(id).
  3. ui/apps/console/src/components/StudioRoute.tsx with studioEntryPermissions.ts: the index route and the capability set the entry gate provides to Studio (StudioEntryPermissionsProvider), which the not-found exit reads.

Two-minute verification

As the seeded admin with nothing remembered, open /_console/studio. Expected: you land on Setup → Packages (…/developer/packages?face=admin). Open the ObjectStack Showcase row: its detail shows "Customizations in this environment" with a Customize in Studio link.

Tests

New pins:

  • StudioEntryRedirect.test.tsx (11 cases): the newest remembered package the list still names opens; a package the list no longer names is skipped; nothing remembered leads to Setup → Packages, read without a list request; a Studio-only principal lands on ~all; a failed list read opens the newest remembered package; the old new-package bookmark is forwarded for an administrator (CONTROL) and sends a Studio-only principal to ~all, never to Setup; both helpers read the same capability pair.
  • StudioDesignSurface.notFound-26708: the not-found button opens Setup → Packages for an administrator (CONTROL), and for a Studio-only principal it reads 「Open All metadata」 and opens ~all, never Setup. The harness provides the entry gate's set through StudioEntryPermissionsProvider.
  • PermissionMatrixEditor.readOnlyHintCopy-12171.test.ts: the half of the deleted BuilderLanding.environmentOverlayCopy-12171 that covered perm.readOnly.artifact.hint, which PermissionMatrixEditor still draws. No table names the organization axis; lit control that it names the environment overlay in every table; lit control that t() serves the value the extractor read, for every declared locale.
  • PackageFormDialog.newAppStep-36748.test.tsx: the three BuilderLanding.newAppDoor-36748 cases, moved onto PackageFormDialog with newApp={newAppStep(client, locale)}, mounted as the home mounted it (create mode, Studio on the new package after save): the dialog worded for an app in zh; package POST, app draft, app publish, then the Studio header names the app and 「‹ Back to app」 opens it; a taken app name refuses the confirm and writes nothing.
  • PackageCustomizationsPanel.test.tsx: the rows and counts, including the Studio 首页的定制数量不计页签排列:只有排列定制的包显示为未定制 #36833 arrangement-only case; the empty and failed states (never "0"); row and switched-off-action links; tabs, search and Show all; zh words; and the moved rows and labels io.
  • In the PackagesPage administration-face harness, two describes: "the new-package deep link" (3 cases) and "a read-only base's customizations in its detail" (6 cases: a code package draws the section with arrangements counted; an authored package does not; the development face does not; a read-only .custom pair draws none and sends no customizations request; a kernel package's detail, opened directly because the admin face lists none, draws none and sends no request; CONTROL, the same direct render of a code package draws it and reads once).
  • Studio-only author on the doors outside Studio: SidebarAppMenu-36112 (「New blank app」 links to /studio/~all/metadata) and HomePage.noAgentsBuildChip-26614 (the chip navigates there, never to Setup); StudioEntryRedirect.test holds newPackageDoorPath to the same two answers.
  • SidebarAppMenu-36112 (the shared harness, new top-level describe): with build and ask, the legacy build id, ask only, other agents only, or no agent served, 「Add app」 offers new-in-studio ("New blank app", to New Package), the template and the marketplace, and never 「Build with AI」; never empty for an admitted viewer with authoring but no marketplace, or a marketplace but no authoring; CONTROL, with neither the viewer is not admitted; guard, an admitted viewer handed no entries gets no 「Add app」 and no separator. HomePage.desktopNoApps-36732: the no-apps doors are [new-in-studio, template, marketplace] with the build agent served.
  • Converted, not deleted: the StudioRoute gate, lazy-module, recent-visit and access-notice pins; studio:builder registration (now a forward); setupMetadataRedirect; studioAddress and its guard (the guard no longer names the deleted STUDIO_LANDING_PATH); the Home, sidebar 「Add app」 and /ai deep-link hrefs; the vocabulary census; consoleTopBar.height-12639; AppContent.setupMetadataStudio-28578.
Local runs at this round's heads

Third part (seat answers to N1 and N3, then #37241's and #37168's merges), final head 1c7f29cc:

  • After merging main with feat(console): the docs portal draws in an app-less variant of the app shell from 768 px up #37241 and feat(studio): the object designer opens full-screen on its metadata address, tabs in #36513's order #37168 (2ae0823f) and rebuilding (VERDICT command-exit 0): views/studio-design, layout/, console/docs, console/home, console/ai, console/__tests__, hooks/, PackagesPage*, PackageFormDialog*, PermissionMatrixEditor*, console components/ and pages/, packages/i18n/src/__tests__: Test Files 1162 passed (1162); Tests 10870 passed, 13 skipped; VERDICT command-exit 0. type-check @object-ui/i18n, @object-ui/app-shell, @object-ui/console: VERDICT command-exit 0. Exit 0 at this head: check:test-source-alias, check:nul-bytes, check:cross-package-test-inputs, check:i18n-stale-fill, check:keyed-text-bounds, check:platform-checklist, check:issue-citations, check-changeset-no-major, check-empty-changeset, check-adr-0087-registration, check-platform-checklist --changed-from origin/main, and under ui/ check:i18n-keys, check:i18n-drift, check:unreferenced-sources, check:phantom-deps, check:vi-mock-specifiers, check:vi-mock-inherit, check:vi-mock-override-shape.
  • After a fresh closure build (VERDICT command-exit 0): layout/, console/home, console/ai, RequireAiSurface, hooks/, StudioEntryRedirect*, notFound-26708, console StudioRoute*: Test Files 376 passed (376); Tests 3153 passed; VERDICT command-exit 0.
  • Mutation through scripts/ablation-replace.mjs: useNewPackageDoorPath forced to the Setup path (true || hasCapabilities(…)) → 2 failed / 43, exactly the two Studio-only door cases; restored to the HEAD blob, git diff HEAD empty.
  • type-check @object-ui/app-shell and @object-ui/console: VERDICT command-exit 0. eslint on the 7 touched files: 0 errors. Exit 0: check:test-source-alias, check:nul-bytes, check:cross-package-test-inputs, and under ui/ check:i18n-keys, check:i18n-drift, check:unreferenced-sources, check:phantom-deps, check:vi-mock-specifiers, check:vi-mock-inherit, check:vi-mock-override-shape.

Second part of the round (the 「Add app」 rulings, then three main merges), head 64e7071b:

  • At 048a5a84 (rulings + first merge): layout/, console/home, console/ai, RequireAiSurface, hooks/, packages/i18n/src, PackageCustomizationsPanel, console StudioRoute*: Test Files 486 passed (486); Tests 5161 passed, 13 skipped; lock VERDICT command-exit 0.
  • At fe78cd2b (after fix(app-shell,console): the shell package list, AI chat lists and studio-design reads and writes send the stored bearer token #37185's merge), the overlap: views/studio-design, layout/, console/home, console/ai, console/__tests__, PackagesPage*, PackageFormDialog*, PermissionMatrixEditor*, sameServerFetch* (fix(app-shell,console): the shell package list, AI chat lists and studio-design reads and writes send the stored bearer token #37185's ratchet), apps/console/src/components, packages/i18n/src: Test Files 1 failed, 888 passed (889); Tests 2 failed, 8291 passed. The failures were two cases of layout/__tests__/designModeMenuSave-36363, a file this branch does not touch; run alone it read 47 passed (47), and it passed again in the run below, so it was load in the big run.
  • At 45e4a5eb (after fix(console): on a desktop the way-home controls name the app start page, and the pill drops its duplicate All apps row #37204's merge and a rebuild): apps/console/src/components, layout/, console/home, console/ai, RequireAiSurface, packages/i18n/src/__tests__: Test Files 436 passed (436); Tests 4837 passed, 13 skipped; lock VERDICT command-exit 0. (A first attempt at this run hit a 590 s cap before its verdict and is not counted.)
  • Mutation checks through scripts/ablation-replace.mjs (blob moved, restored to the HEAD blob, git diff HEAD empty): the hook's entry key back to build-with-ai → SidebarAppMenu-36112 7 failed / 32; the empty-list guard removed (offerAddApp = mayAddApp) → 1 failed / 32, the guard case.
  • CI on 45e4a5eb failed Type Check UI at check:i18n-keys: Home's chip kept defaultValue: 'New in Studio' against the new en value. Fixed at 64e7071b with the chip's default and the eight packs (check:i18n-drift); locally at 64e7071b, exit 0: check:i18n-keys, check:i18n-drift, and the job's other static steps (check:phantom-deps, check:self-import, check:unreferenced-sources, check:doc-example-readers, check:side-effects-array, check:spec-symbols, check:icon-record-names, check:designer-field-key-parity, check:action-forward-parity, check:esm-specifiers, check:handler-key-reads, check:metadata-write-doors, check:control-bytes, check:shell-escape-residue, check:vi-mock-specifiers, check:vi-mock-inherit, check:vi-mock-override-shape, check:test-path-roots, check:prompt-keys), plus check:keyed-text-bounds and check:i18n-stale-fill. Vitest over packages/i18n/src, console/home, console/ai, RequireAiSurface, SidebarAppMenu-36112: Test Files 213 passed (213), Tests 2745 passed, 13 skipped, lock VERDICT command-exit 0.
  • type-check at 45e4a5eb after pnpm --filter '@object-ui/console^...' build (VERDICT command-exit 0): @object-ui/i18n, @object-ui/app-shell (src + tsconfig.test.json), @object-ui/console passed, VERDICT command-exit 0. eslint --no-inline-config on this part's 6 ui files: 0 errors.
  • Gates at 45e4a5eb, all 0: check:test-source-alias, check:nul-bytes, check:cross-package-test-inputs, check:i18n-stale-fill, check:keyed-text-bounds, check:platform-checklist, check:issue-citations, check-changeset-no-major, check-empty-changeset, check-adr-0087-registration, check-platform-checklist --changed-from origin/main (11 anchors, 0 lost). pnpm --filter @object-ui/i18n gen:zh-hant after the merges: every target already current.
  • 18.6.0 studio-namespace comparison at fe78cd2b, unchanged: 71/71 published landing keys present in en and zh; 35 missing, all already missing on main; 0 values changed vs main, 4 never-released keys removed, 38 added.

First part of the round (L1 and contract-review fixes):

  • Targeted vitest at 4121473e (after the first main merge, K 26), one locked run over apps/console/src, packages/i18n/src, views/studio-design, metadata-admin/PackagesPage*, PackageFormDialog*, PermissionMatrixEditor*, console/__tests__/AppContent*, console/home/__tests__/HomePage* and layout/: Test Files 1 failed, 1050 passed (1051); Tests 1 failed, 10456 passed, 13 skipped. The failure was the moved new-app pin's own harness (it navigated to the bare package path, which only the console route table expands); fixed at 4121473e by landing on the package's Studio home as the removed home did, then 3 passed (3).
  • After the second main merge (df4a65cb) and the guard fix (329ddefc), the overlap re-run under the lock: views/studio-design, apps/console/src/components, PackagesPage*, PackageFormDialog*, PermissionMatrixEditor*, packages/i18n/src, consoleTopBar*, AppContent*: Test Files 594 passed (594); Tests 6016 passed, 13 skipped; lock VERDICT command-exit 0.
  • Mutation checks, each through scripts/ablation-replace.mjs (anchor 1 → 0, blob verified moved, restored to the HEAD blob with git diff HEAD empty), at 4121473e:
    • 「组织」 written into the zh perm.readOnly.artifact.hint: PermissionMatrixEditor.readOnlyHintCopy-12171 1 failed / 3 ("no table names the organization axis").
    • !isKernel removed from the detail gate (PackagesPage.tsx:1271): 1 failed / 6, the kernel case only.
    • !isCustomizationPackage(id) removed: 1 failed / 6, the .custom pair case only.
    • The bookmark forward reverted to SETUP_NEW_PACKAGE_PATH: StudioEntryRedirect.test 1 failed / 11, the Studio-only bookmark case.
    • The not-found exit reverted to SETUP_PACKAGES_PATH: notFound-26708 1 failed / 14, the Studio-only case.
      No dist leg was needed: these tests import app-shell by relative path, and the ui vitest config aliases @object-ui/i18n to its src.
  • type-check at 329ddefc after pnpm --filter '@object-ui/console^...' build (lock VERDICT command-exit 0): @object-ui/i18n, @object-ui/app-shell (src and tsconfig.test.json, which lists all six new or changed test files) and @object-ui/console passed, lock VERDICT command-exit 0.
  • eslint --no-inline-config on this round's 11 changed ui files: 0 errors, 15 warnings.
  • Gates at 329ddefc, exit captured before any pipe, all 0: check:test-source-alias, check:nul-bytes, check:cross-package-test-inputs, check:i18n-stale-fill, check:keyed-text-bounds, check:platform-checklist, check-platform-checklist --changed-from origin/main (11 anchors, 0 lost). At 4121473e, also 0: check:issue-citations, check:doc-authoring, check:gitlink-declared, check-changeset-no-major, check-empty-changeset, check-adr-0087-registration (2 non-breaking changesets), check-closing-keyword-parity, check:changeset-gate-self-tests, and the edited ui/scripts/check-eager-closure-budget.mjs's tests (6 files, 305 passed). check:i18n: PREREQUISITE NOT MET locally (the CLI build closure is not built); it reads the platform translation bundles, which this round does not touch; its evidence is CI. dispatch-gates --ran: 57 of 74 derived families not run locally, declared; their evidence is this head's check-runs.
  • i18n against the published @object-ui/i18n@18.6.0 (npm pack, read by AST, nothing evaluated), on the merged tree: all 71 published engine.studio.landing* keys are present in en and zh; 35 published keys are missing at this head and all 35 are already missing on origin/main; against origin/main this PR changes 0 values, removes exactly the four never-released keys, and adds 38 per language (engine.packages.customizations.*, engine.studio.notFound.packageList, engine.studio.notFound.allMetadata).

Acceptance notes

  • The environment-wide list the home drew across all installed apps (one list, a total, grouped by app) is now shown per app only, in each read-only base's detail in Setup → Packages.
  • "Customized" now has two meanings. The Setup detail counts tab, field-group and action-layout arrangements with overrides and extensions; the All metadata header still draws customizationTotal (overrides + extensions, customizationMarks.ts:96-97, drawn at DirectoryPage.tsx:246-249), and the same total gates the list filters in ResourceListPage and useListOrderedNames. Not aligned here: adding arrangements to that total would stop the header equalling the sum of its per-type tiles and change which lists offer the customized filter. Not aligned here (seat answer A): follow-up card filed: 「已定制」有两种算法:Setup 详情计入排列调整,全部元数据页头和列表筛选不计 #37236.
  • The new-package doors outside Studio (Home's no-agent chip, the /ai screen's door, 「Add app」's 「New blank app」 and with it the no-apps screen) make the same choice as Studio's entry, through useNewPackageDoorPath (seat answer to N1): Setup's New Package for a holder of setup.access + manage_platform_settings, the All metadata area for an author who may enter Studio but not open that page. They sit outside the entry gate's provider, where useStudioEntryPermissions holds nothing, so they read the session's own usePermissions().hasCapabilities, which fails open on an unreported set as the doors' own authoring gate does (the Setup app still refuses a non-holder).
  • Two console test files pinned only the home's frame and are deleted: StudioRoute.landingI18n.test.tsx (its header crumb) and StudioRoute.searchPalette-11863.test.tsx (⌘K on the home; ⌘K inside Studio is Studio 重构(⌘K):Studio 设计界面里挂命令面板,范围是当前包的全部元数据类型,结果打开新地址 #36900). The other StudioRoute pins now stub the entry.
  • Duplicate pins named for deleted tests (AGENTS.md, ruling 6120820653): the new-package deep link is pinned in the PackagesPage admin harness; the customization counts, rows and labels in PackageCustomizationsPanel.test.tsx; the org-scope entry by StudioDesignSurface.packageLessFlows-11553 and the menu pins from Studio 重构(1-3):去掉顶部分区,换成可折叠的左侧分组菜单(数据、界面、自动化、平台、访问、AI),右侧是列表和全屏详情 #36899; the permission hint copy and the new-app step moved, above. The home's own layout, ordering, Duplicate form, recent cards and Manage pins have no remaining surface to pin.
  • Possibly orphaned now that the frame is gone, not removed here: AppHeader variant="studio" and CommandPalette scope="studio" (Studio 重构(⌘K):Studio 设计界面里挂命令面板,范围是当前包的全部元数据类型,结果打开新地址 #36900 may reuse the scope).
  • 「Build with AI」 is gone from the 「Add app」 menu and the no-apps screen (ruling 7153161067). Home's 「Build an app」 chip still targets bare /studio, and Home's own 「Build with AI」 drawer button is untouched; 首页(手机与「暂无应用」空状态)去掉「用 AI 搭建」和「搭建应用」两个入口 #37227 / fix(app-shell)!: Home no longer offers Build with AI or Build an app #37249 removes both from Home.
  • The kept-unread released studio keys stay as they are this round (the seat made dropping them optional under the 19.0.0 ruling); home.buildWithAI is still read by Home and is untouched.
  • Recents are read local-first, and the server copy arrives after first render (RecentItemsProvider). On a device with no local copy, /studio falls back before that copy arrives; "opens the package you were last in" holds on a device that already has it.
  • The 68 published landing keys are kept and unread. check-i18n-dead-keys (report-only, not in CI) will list them as candidates, and a later change can decide to retire them.
  • docs/qa/platform-checklist/FOLLOW-UPS.md still names BuilderLanding in a dated follow-up entry; it is a log and was left as written.

Verification

Walked on a live stack at a21c7b6f (the previous head). Server: pnpm -C examples/app-showcase exec objectstack dev --seed-admin -p 4710 (CLI and showcase closure built in a worktree). Console: this branch's ui/apps/console under Vite on 4711, proxied to it. Signed in as the seeded admin and driven with Playwright; key screens confirmed by screenshot.

Entry Observed
/studio, nothing remembered → /apps/com.objectstack.setup/component/developer/packages?face=admin
/studio?new=package (old bookmark) → same page, new=package dropped, New Package dialog open
/apps/setup/component/automation/packaged-actions (no package) → Setup → Packages (admin face)
/studio/no_such_pkg_36908 「Package not found…」 with 「Open the package list」 → Setup → Packages
ObjectStack Showcase (code) row → detail "Customizations in this environment", "No changes in this environment yet", Customize in Studio → /studio/com.example.showcase/data
/studio after visiting that package → back into /studio/com.example.showcase/data… (remembered)
Sidebar app menu → 「Add app」 New in Studio → …packages?face=admin&new=package; clicked, it lands there with the dialog open
/ai (no assistant on this stack) 「New in Studio」 → …packages?face=admin&new=package
New Package dialog → Create package → /studio/com.default.walk-pkg-36908/data
That authored package's detail no customizations section (count 0); Open in Studio present
/studio/~all/metadata renders the All Metadata Types area

Not walked live, each pinned by unit tests:

  • Home's 「New in Studio」 chip: its condition does not hold on this seeded stack (HomePage.noAgentsBuildChip-26614, HomePage.desktopNoApps-36732).
  • A non-administrator's landings (bare /studio, the old bookmark and the not-found button for a Studio-only principal): no such principal is seeded (StudioEntryRedirect.test.tsx, StudioDesignSurface.notFound-26708); their target ~all renders above.
  • studio:builder: the @objectstack/studio app does not load on a stock boot (registerStudioComponents.builderLazy-11798).

This round's changes were not walked live: the Studio-only exits, the moved pins and the changesets change no administrator-visible entry above; the 「Add app」 menu's new contents (no 「Build with AI」, 「New blank app」 always) and the relabel are pinned in SidebarAppMenu-36112 and HomePage.desktopNoApps-36732.


Generated by Claude Code

Studio's entry no longer draws the package-card home: it opens the package
the author was last in, else Setup > Packages (or the All metadata area for
a principal who may not open it). The console's new-package doors land on
Setup > Packages with New Package open (?new=package on the admin face), and
the not-found state and the retired Setup redirects that name no package
land on the package list. WIP: the BuilderLanding page and its tests are not
deleted yet.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
The StudioRoute pins now stub the entry instead of the package-card home;
the two files that pinned only the home's console frame (its header crumb
and its command palette) are deleted; studio:builder's registration test
reads the forward to /studio; the not-found pin opens Setup > Packages.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
Setup > Packages' admin face now owns that deep link, pinned in the
PackagesPage administration-face harness.

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

BuilderLanding, its tests and its dead engine.studio.landing.* strings
are deleted. A read-only base's detail on Setup > Packages' admin face
now draws what this deployment changed on it (the home's per-app line
and Customizations panel), counting tab arrangements as customizations,
with a Customize in Studio link. Stale references are re-pointed.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
@github-actions github-actions Bot added size/xl documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 25, 2026
@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 1 package(s): @objectstack/platform-objects, touching 1 documentable anchor(s).

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

  • content/docs/permissions/authorization.mdx (via /studio/:packageId/:tab (route, a path literal in a comment in navigation))
What this run could not see

Coarse fallback — 3 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 057cedfa9b6f990a7cf322118ae33bc4460ddc65 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from d4347f5a66f08925682d377900f6002f280cf097 — the merge of head 1c7f29cc53c31ba99c6488176314c229305de049 into base 057cedfa9b6f990a7cf322118ae33bc4460ddc65, 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 d4347f5a66f08925682d377900f6002f280cf097 && git checkout d4347f5a66f08925682d377900f6002f280cf097
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 057cedfa9b6f990a7cf322118ae33bc4460ddc65 1c7f29cc53c31ba99c6488176314c229305de049 && git checkout -B drift-repro 057cedfa9b6f990a7cf322118ae33bc4460ddc65 && git merge --no-ff 1c7f29cc53c31ba99c6488176314c229305de049

node scripts/docs-audit/affected-docs.mjs --json 057cedfa9b6f990a7cf322118ae33bc4460ddc65

⚠️ 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 057cedfa9b6f990a7cf322118ae33bc4460ddc65 → pass the list as
args.docs, on the commit named under Which tree this was computed on.

…nd pin

check:test-source-alias: the pin reaches import('@object-ui/plugin-detail')
through the command palette; the home-loop pin is left as main has it.

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

The census listed StudioRoute.tsx as a literal copy of the bar; that frame
went with the Studio home. Five frames remain, all token or AppShell.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYoTgerzGuKa8DDrMii
68 of the deleted engine.studio.landing keys and landingHome ship in
@object-ui/i18n 18.6.0; removing a published key is a narrowing. They
return to en and zh unread. The four never released stay removed.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYoTgerzGuKa8DDrMii
…tup > Packages

The retired page's no-package fallback opened the Studio home; with that
home removed it opens the package list on the admin face. The pin still
expected /studio. The named-package case is unchanged.

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

Finalized head for L1 · 2026-11-25T02:41Z · a21c7b6ff · zone a4-S (#36908)

  • CI on a21c7b6ff: 61 success, 12 skipped (path filters, opt-in and queue jobs), 0 failed.
  • Size: +1,610 / −5,318. That is Tier H by size under ruling 7145880574. After L1 and a same-head contract review PASS, seat 4 hands it to the maintainer. The zone does not ready, queue or arm it.
  • os-dev reports: Studio 重构(决定 9):去掉 Studio 首页(/studio 的包卡片页),逐项搬走它承载的入口 #36908 comments 7142300468 (round 1, stopped at the 3,000 line), 7149154327 (hand-off at the move to cloud) and 7150638739 (final, cloud session session_01QSeKYoTgerzGuKa8DDrMii).
  • i18n: 68 of the 72 engine.studio.landing.* / landingHome keys the earlier round deleted ship in the released @object-ui/i18n@18.6.0, measured on the packed tarball. All 68 are restored, unread. The 4 that never shipped are removed.
  • Walk-through: every reachable moved entry was walked on a live showcase stack (PR body, Verification). Not walked live:
    • Home's 「New in Studio」 chip: its condition does not hold on the seeded stack.
    • A non-admin's /studio landing: no such user is seeded.
    • studio:builder: the studio app does not load on a stock boot.
      Each of these has unit pins.
  • Open question for the maintainer, from the dev: with an AI build surface served, 「Build with AI」 (useAddAppEntries, HomePage:981) still targets bare /studio, which now opens the last package or Setup → Packages. The dev recommends A: leave it, because that entry was never on the home and a different target is a separate product card.
  • The dev declared deviations: edits in its own container's primary checkout before moving to a worktree (nothing lost, both trees clean), and a narrowed local gate run that leaves the full farm to CI.
  • Overlaps declared: feat(studio): the object designer opens full-screen on its metadata address, tabs in #36513's order #37168 and feat(studio): the flow designer opens full-screen on its metadata address; no flow rail (#36903) #37169 conflict with this branch in the deleted BuilderLanding.* tests, StudioDesignSurface.notFound-26708 and the studio en/zh namespaces. Whichever lands second merges main.
  • Clause-②: no · Metadata-protocol: none.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

Contract review

Served-tier: TIER_DEFAULT
Head-sha: a21c7b6ff4c648c77d903f75713871acba2750b9
Local-runs: none
Scope: the whole diff, all 82 paths of git diff 1f3e9f68e703..a21c7b6f. Reviewed: .changeset/36908-remove-studio-home.md, ui/packages/app-shell/src/index.ts, views/studio-design/StudioEntryRedirect.tsx + .test.tsx, studioNewPackage.ts, studioAddressTable.ts, studioAddress.test.ts, setupMetadataRedirect.ts + .test.ts, PackageSwitcher.tsx, packages-io.ts, StudioDesignSurface.tsx + .notFound-26708.test.tsx, PackageCustomizationsPanel.tsx + .test.tsx, packageCustomizationRows.ts (renamed from landingCustomizations-io.ts), views/metadata-admin/packageSource.ts, PackagesPage.tsx + PackagesPage.installedAppsUpdates-34722.test.tsx, console/home/HomePage.tsx, console/ai/AiUnavailable.tsx, hooks/useAddAppEntries.ts, ui/apps/console/src/components/StudioRoute.tsx + its five converted pins, studioBuilder.ts, registerStudioComponents.tsx + registerStudioComponents.builderLazy-11798.test.tsx, AppContent.tsx, ui/packages/i18n/src/namespaces/studio/{en,zh}.ts, ui/packages/i18n/src/locales/en.ts, packages/platform-objects/src/apps/studio.app.ts. The deleted BuilderLanding.* (15 files), LandingCustomizationsPanel.tsx, fetchInstalledPackageRow-7881.test.ts, StudioRoute.landingI18n and StudioRoute.searchPalette-11863 were checked for exports, routes and pins only. Read, not reviewed: BuilderLanding.tsx and studioNewPackage.ts at the merge base, context/RecentItemsProvider.tsx, apps/console/src/components/studioEntry.ts, packages/platform-objects/src/apps/setup-nav.contributions.ts, packages/rest/src/package-routes.ts, the four package.json files, .changeset/config.json, and the published @object-ui/i18n@18.6.0 tarball from the npm registry

Full review of this head, made without the L1's conclusions. Inputs:

  • git diff 1f3e9f68e703..a21c7b6f, against the merge base with origin/main: 82 files, +1,610 −5,318.
  • The files at this head, the PR body's declaration lines, and the published @object-ui/i18n@18.6.0 tarball.
  • The 73 check-runs on this head: 61 success, 12 skipped, 0 failed or pending.

The recogniser decides no face from the paths and defers to the changeset. The changeset reads Clause-②: no with no arm, so this is the declaration face at TIER_DEFAULT. The review is owed because the PR is Tier H by size. git merge-tree --write-tree origin/main a21c7b6f exits 0 against origin/main 3b4f0b9.

① Derived judgments

Published @object-ui/* exports and types: none moved.

  • Every source change outside i18n is in @object-ui/app-shell, which is "private": true. That covers the dropped BuilderLanding, STUDIO_NEW_PACKAGE_PATH, STUDIO_LANDING_PATH, fetchInstalledPackageRow, StudioBuilderLoading and LandingCustomizationsPanel, and the new StudioEntryRedirect and SETUP_PACKAGES_PATH barrel exports.
  • The published @object-ui/console maps exports["."] to plugin.js / plugin.d.ts only, and plugin.ts is not in the diff. studioBuilder.ts and registerStudioComponents.tsx are bundled SPA code.
  • @object-ui/i18n's namespace modules are typed as a string-to-string record, so their type surface is unchanged.
  • At this head, git grep finds no reference to any removed symbol outside CHANGELOGs, except two stale mentions (N4).

i18n, checked against the released tarball. I read dist/namespaces/studio/{en,zh}.js from @object-ui/i18n@18.6.0 by AST and compared it with the base and head src/namespaces/studio/{en,zh}.ts, without evaluating either.

  • 18.6.0 ships 70 engine.studio.landing.* keys plus engine.studio.landingHome, 71 in total, in both en and zh.
  • All 71 are present at this head in both languages. Their values are byte-equal to the merge base: the PR changes no existing key's value.
  • Three of the 71 are still read by PackagesPage.tsx: dupDefaultName, dupNamePlaceholder and dupIdPlaceholder.
  • The other 68 have no reader at this head, including any template-key read. The zone's "68 shipped keys kept and unread" holds.
  • The PR removes exactly four keys: engine.studio.landing.manage, .manageTitle, .allPackages and .allPackagesTitle. They are in en and zh at the base, are absent from the 18.6.0 tarball, and have no reader at this head. The zone's "4 never-shipped keys removed" holds.
  • The PR adds 37 keys to each language: 36 engine.packages.customizations.* and engine.studio.notFound.packageList. Every key the new panel and the not-found action read is among them.
  • The locales/en.ts and makerEmptyState-v1-scope-8329.test.ts hunks change comments only.
  • Outside this diff, not graded: 35 other keys in the 18.6.0 studio namespace are already missing at the merge base and on origin/main. Examples are engine.studio.openApp* (removed by Studio 左上角改成「‹ 返回应用」加应用名;去掉首页图标、应用切换和右上角的「打开应用」(外壳专题第 12 项,设计板图 47) #36501, cd51dbbbcf4) and engine.studio.owd.save* (removed by feat(studio): every human editor saves live; an item's unpublished AI changes can be dropped on its page (#36511, PR 3 of 3) #36652, 9fa05c63b4a). This PR neither causes nor worsens that.

Routes and bookmarks. Each is judged against what the retired home read at the merge base. That home read one query param, new=package, and nothing else.

  • Bare /studio and /studio/ now go through StudioEntryRedirect. It picks the newest remembered package that the package list still names, or the newest one if the list read fails. Otherwise it goes to studioEntryFallbackPath: Setup → Packages for a holder of setup.access + manage_platform_settings, and /studio/~all/metadata for anyone else.
    • The gate's capability set reaches the entry through StudioEntryPermissions. StudioRoute.test.tsx pins that with toHaveBeenCalledWith(OPERATOR_CAPS).
    • Each branch has a case in StudioEntryRedirect.test.tsx.
  • /studio?new=package goes to SETUP_NEW_PACKAGE_PATH, whatever is remembered. PackagesPage opens New Package on the admin face and drops the param with a replace. It drops the param without opening anything on the development face.
    • Each half fails on revert. Without the forwardNew branch, the bookmark case lands on /studio/com.acme.crm. Without the PackagesPage effect, the deep-link describe goes red.
    • A Studio-only principal is not handled (S1).
  • Any other query on bare /studio, such as the old packagedActionsStudioPath output /studio?package=all, is dropped and goes through the entry. The old home read none of them, so nothing it honoured is lost.
  • studio:builder (/apps/APP/component/studio/builder) forwards to /studio with a replace. This is pinned in builderLazy-11798, which shows that a revert to the old lazy landing no longer reaches the /studio route.
  • packagedActionsStudioPath with no package or package=all now goes to SETUP_PACKAGES_PATH. A named package is unchanged.
    • The converted table cases fail on revert. The PR's ablation shows 2 of 84 failing.
    • AppContent.setupMetadataStudio-28578 pins the same thing through the real route.
  • The not-found action now goes to Setup → Packages, on the admin face. Pinned in notFound-26708, which fails on revert because the old /studio route is gone from its harness. A Studio-only principal is not handled (S1).
  • AppContent's ObjectRedirect / SystemCatalogRedirect fall back to SETUP_PACKAGES_PATH only when setupMetadataStudioPath returns null. For object and the two catalog types, that does not happen at this head.

api-surface baselines. The only baselines are packages/spec/api-surface*. The diff touches nothing in packages/spec, so no baseline is owed.

Accept sets. No schema, spec or authorable key moves. studio.app.ts and the CLI integration test change only comments. The route table keeps every segment; the /studio index changes what it draws, not which addresses it accepts.

S1 (should-fix) — the capability split this PR draws for bare /studio does not reach two of the other exits that name no package.

  • StudioEntryRedirect returns Navigate to={SETUP_NEW_PACKAGE_PATH} for ?new=package before it reads systemPermissions. So a principal holding studio.access without setup.access or manage_platform_settings is sent to the Setup page that studioEntryFallbackPath exists to keep them away from.
  • At the merge base, that same address opened PackageFormDialog inside Studio, and creating a package there needs only manage_metadata (package-routes.ts).
  • The not-found action calls shellNavigate(SETUP_PACKAGES_PATH) with no capability check. A Studio-only principal who opens a stale /studio/ID is offered a way out that leads to a page they cannot open.
  • The only bookmark case renders with ADMIN, so neither branch is pinned for the other class.
  • Fix:
    • Send ?new=package from a non-holder to studioEntryFallbackPath(systemPermissions).
    • Give the not-found action the same choice, for example by reading the gate's set through a hook that app-shell exports.
    • Pin both with a Studio-only case beside an admin CONTROL in StudioEntryRedirect.test.tsx and notFound-26708.

N1 (nit) — recents are read localStorage-first, and the server copy arrives after first render (RecentItemsProvider).

  • On a device with no local copy, StudioEntryRedirect sees no remembered package and redirects to the fallback before that copy arrives. "Opens the package you were last in" holds only on a device that already has the copy.
  • No test pins either behaviour.

N2 (nit) — the panel gate !authoring && !writable && !isKernel && !isCustomizationPackage(id) is pinned for a code package, an authored package and the development face. The kernel exclusion and the .custom exclusion have no case. !writable already covers a writable pair, so the gap is narrow.

N3 (nit) — on the declaration line, the PR adds 37 keys to the published studio namespace. On main, such additions are declared both Clause-②: yes (widening) (for example the engine.studio.newApp.* changeset) and Clause-②: no (#36501, #36901, #35018). This PR is in line with the second group. The choice changes neither the bump nor the review owed, since Tier H owes it anyway.

N4 (nit) — two stale mentions remain:

  • studioAddress.guard.test.ts:55 still allow-lists STUDIO_LANDING_PATH, which no longer exists.
  • The check-eager-closure-budget.mjs:920 docblock still names BuilderLanding as lazily loaded. That is a historical comment, but it now names a deleted module.

② Semver level

All four entries take patch. The changeset and the PR body both carry the declaration lines at line start: Clause-②: no and Metadata-protocol: none.

  • Metadata-protocol: none holds: no metadata author can write anything new or different, and none takes patch (AGENTS.md, Post-Task Checklist step 3).
  • Clause-②: no holds for the narrowing arm, because no published key, export or prop is removed or renamed. The widening question is N3.
  • @object-ui/i18n: patch is right. The change adds keys and removes only keys that were never released.
  • @object-ui/console: patch: its SPA bundle changes and its published entry does not.
  • @object-ui/app-shell: patch is private, and @objectstack/platform-objects: patch changes a comment only. Both are permitted.
  • No BREAKING banner, migration mapping or ADR-0087 marker is owed.
  • The changeset's claims about exports and keys are true at this head. Its redirect sentence for /studio is true. Its sentence for the old ?new=package bookmark is true for an administrator only (S1).

③ Boundary flags

Implemented-by: claude/issue-36908-remove-studio-home
Reviewed-by: fresh subagent of session_01QSeKYpEsWWE9Y5YtSsDgqZ

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

席位核对 — REWORK · L1 · head a21c7b6ff4c648c77d903f75713871acba2750b9 · 2026-11-25T02:57Z

Open

Gates.

  • Check-runs at this head: 61 success, 12 expected skips, 0 failed. Both Lint & Repo Gates and TypeScript Type Check succeeded.
  • Clause-②: no holds: no published key is removed, and app-shell is private. Metadata-protocol: none holds. No Skills-docs line is owed. All four packages take a patch bump, which is right.
  • K = 26. The PR is not stale against main: the merge is clean, CI's base is 4 commits behind main, and none of those commits touches a Studio, i18n or Packages file. The merged tree still refers to nothing this PR removes, apart from the N4 names.
  • feat(studio): the flow designer opens full-screen on its metadata address; no flow rail (#36903) #37169 conflicts in the studio en/zh files and in notFound-26708. Whichever PR lands second merges main and runs the 18.6.0 key comparison again.

Next: fix S1–S6 and the nits, and have the maintainer rule on 「Build with AI」. The seat then reviews the changes on the new head and runs a same-head contract review before handing the PR to the maintainer.

  • Contract review at this head: 7151294694 (TIER_DEFAULT): PASS with one should-fix. Fix it in the same round. The old /studio?new=package bookmark and the "package not found" button both send everyone to Setup → Packages. They skip the permission check this PR added for bare /studio, so a user who can enter Studio but cannot open that Setup page lands on a page they can't open. Route both through the same check, and add a test for that user.
  • 「Build with AI」 → bare /studio: the seat is putting this to the maintainer with the measured behaviour. Leave the target as is in this round. If the ruling changes it, it is a one-line follow-up.
  • Next: one patch round for S1–S6 and the contract review's should-fix, then merge main (K 26). After that the seat reads the delta, runs a delta contract review, and hands the PR to the maintainer. It is Tier H by size (6,928 lines), so it does not self-land.

…d not-found exit to All metadata

The retired /studio?new=package bookmark and the package-not-found state's
way out both sent every principal to Setup > Packages. A principal who may
enter Studio but not open that Setup page landed on its access-denied page.
Both now read the capability set Studio's entry gate read, through a provider
app-shell exports, and choose the same way bare /studio does.

Also: the permission matrix's read-only hint copy pin moves off the deleted
Studio-home test; the new-app step's three cases move onto PackageFormDialog;
the Packages detail gate gets its kernel and .custom cases; the changeset is
rewritten in user terms with the i18n note in its own changeset; stale names
of the removed home are corrected.

Claude-Session: https://claude.ai/code/session_01QSeKYkEULEjF814KSPBLVC
Co-authored-by: Claude <noreply@anthropic.com>
…, as the removed home did

Claude-Session: https://claude.ai/code/session_01QSeKYkEULEjF814KSPBLVC
Co-authored-by: Claude <noreply@anthropic.com>
…move-studio-home

# Conflicts:
#	ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.notFound-26708.test.tsx
…ng-path name

main's pre-filter added two fixtures spelling STUDIO_LANDING_PATH, a name
the Studio home's removal deleted; the guard's root names no longer hold it.

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW

Heads-up for zone a4-S, from zone a4-C, with seat repo:objectstack#4's ruling: merge order with PR #37204 (#37163, desktop home wording).

#37204 lands first. When it does, this PR will have textual conflicts in three console test files. Seat-ruled resolution:

Reason: from 768 px up the product mark's accessible name is now 「Back to app start page」 (jsdom renders at 1024 px, so desktop). Phone keeps 「PRODUCT home」.

…ank app

The maintainer ruled Build with AI off the Add app menu and the blank-app
entry always shown, whether or not the build agent is served. The entry is
relabelled New blank app (zh 新建空白应用) under its existing key; a menu with
no entries draws no Add app and no separator for it.

Also: the customizations panel's Response stub carries empty headers.

Claude-Session: https://claude.ai/code/session_01QSeKYkEULEjF814KSPBLVC
Co-authored-by: Claude <noreply@anthropic.com>
…move-studio-home

# Conflicts:
#	ui/apps/console/src/components/StudioRoute.searchPalette-11863.test.tsx
#	ui/packages/app-shell/src/views/studio-design/BuilderLanding.customizationCounts-28566.test.tsx
#	ui/packages/app-shell/src/views/studio-design/BuilderLanding.duplicateIdRule-11855.test.tsx
#	ui/packages/app-shell/src/views/studio-design/BuilderLanding.envCustomizations-34714.test.tsx
#	ui/packages/app-shell/src/views/studio-design/BuilderLanding.packagesDoor-35196.test.tsx
#	ui/packages/app-shell/src/views/studio-design/PackageSwitcher.tsx
#	ui/packages/app-shell/src/views/studio-design/fetchInstalledPackageRow-7881.test.ts
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW

For zone a4-S (2026-11-25T06:27Z): PR #37204 has merged.

It merged at 2026-11-25T06:19Z. When this PR merges main, it meets the three StudioRoute test conflicts announced in 7153261562. Resolve them as posted there: keep this PR's deletion of the two Studio home tests, and on metadataArea-28561 keep this PR's comment line plus #37204's app-bar-product-home test-id assertion.

…move-studio-home

# Conflicts:
#	ui/apps/console/src/components/StudioRoute.lazyBuilder-11798.test.tsx
#	ui/apps/console/src/components/StudioRoute.metadataArea-28561.test.tsx
#	ui/apps/console/src/components/StudioRoute.test.tsx
…age pack

check:i18n-keys holds a call site's inline default to the en value, and
check:i18n-drift holds every pack to an en change in the same PR.

Claude-Session: https://claude.ai/code/session_01QSeKYkEULEjF814KSPBLVC
Co-authored-by: Claude <noreply@anthropic.com>
…ly author to All metadata

Home's no-agent chip, the /ai screen's door and Add app's New blank app now
make the same choice as Studio's entry: Setup's New Package for a holder of
setup.access + manage_platform_settings, the All metadata area otherwise. They
sit outside the entry gate's provider, so they read the session's own
capability answer. The pure helpers move into studioEntryPermissions.ts so
Home's eager code does not reach the Studio entry component.

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW

Notify: landed (2026-11-25T08:46Z). PR #37241 (#37197, the docs portal's app-less shell) has merged.

For zone a4-S, per the seat's ordering, this PR lands second. Merging main will meet:

  • a conflict in ui/packages/app-shell/src/layout/SidebarAppMenu.tsx;
  • the docs-portal head menu SidebarDocsPortalMenu, which now renders <AddAppSubmenu /> gated by useMayAddApp. This PR changes AddAppSubmenu's signature, so carry its entries / offerAddApp rule onto that docs-portal call site as well. Its pins are in the SidebarAppMenu-36112 docs-portal block.

The earlier StudioRoute resolution (7153261562) still stands.

… access to All metadata

Claude-Session: https://claude.ai/code/session_01QSeKYkEULEjF814KSPBLVC
Co-authored-by: Claude <noreply@anthropic.com>
…move-studio-home

# Conflicts:
#	ui/packages/app-shell/src/layout/SidebarAppMenu.tsx
#	ui/packages/app-shell/src/views/metadata-admin/PackageFormDialog.newAppStep-36748.test.tsx
#	ui/packages/app-shell/src/views/studio-design/BuilderLanding.customizationCounts-28566.test.tsx
#	ui/packages/app-shell/src/views/studio-design/BuilderLanding.envCustomizations-34714.test.tsx
#	ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.notFound-26708.test.tsx

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Studio 重构(决定 9):去掉 Studio 首页(/studio 的包卡片页),逐项搬走它承载的入口

2 participants