Skip to content

fix(studio): 「新建自己的应用」 ends with an app; a new object joins its menu; an empty menu is not blamed on access - #36764

Merged
objectstack-fleet[bot] merged 7 commits into
mainfrom
claude/project-thread-b4zdh8
Nov 23, 2026
Merged

objectstack-fleet[bot] merged 7 commits into
mainfrom
claude/project-thread-b4zdh8

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Warren · project thread

Fixes #36748

Clause-②: yes (widening) — new keys in the published @object-ui/i18n packs: engine.studio.newApp.*, engine.studio.data.appMenu.* in the studio namespace; empty.appMenuEmpty, empty.appMenuEmptyDescription, empty.openInStudio in all 11 app-shell locale packs. Additive only.
Metadata-protocol: none

维护者速读

  • 在 Studio 首页点「新建自己的应用」,弹出「新建应用」对话框,填名字点「创建应用」,就同时建好软件包和应用,应用立即可以打开;对话框里只说「应用」。之后在 Studio 里每新建一个对象,它会自动出现在这个应用的菜单里。应用菜单还是空的时候,管理员看到的是「客户回访 的菜单还是空的」和「在 Studio 中打开」,不再被告知去 Setup 授权。没有应用的软件包,Studio 顶栏显示软件包名字。
  • 属于 Studio 体验评审第二轮;菜单两项是你 16:45 选的「这张卡里一起做」。解决第一次搭应用的人:建了应用却只拿到空软件包、加了对象应用里看不到、空应用还被说成没权限。
  • 出错的话只影响新建入口、新建对象后的菜单补录和空应用提示:菜单补录失败时对象照样建好,只弹一条警告,可在设计模式里手动加;不动任何已有数据,可直接撤回。
  • 无。

What changes

The landing door. BuilderLanding's 「新建自己的应用」 card (studio-landing-new-app, and the /studio?new=package deep link that opens the same dialog) now hands PackageFormDialog a newApp step (studio-design/newAppDoor.ts). With it, create mode:

  1. is worded for an app: title 「新建应用」/"New app", description, submit 「创建应用」, the Advanced hint and every help line (Advanced's included), 「应用 ID」 for the id row (the app is the package's one app, so it is addressed by the package id, ADR-0048 option A), and the success / 409 / failure sentences. Per the maintainer's ruling (2026-11-23 15:23Z) a no-code author reads 「应用」, never 「软件包」, on this door; a test pins that the whole dialog, Advanced opened, carries no 「软件包」;
  2. reserves a free app name before anything is written: the package's namespace, else NAMESPACE_app, read with the same findTakenIdentifier every Studio create reads. Both taken ⇒ the confirm is refused in the dialog's banner (Advanced opens, where the namespace is), and nothing is written;
  3. after the package POST, writes the app as the top bar's Create app does (buildAppSkeleton, draft under the first-write pin) and publishes that one item (publishSavedItem, Studio 里人工修改改成「保存」「取消」,保存后这一项立刻生效;不再自动存草稿,不用整包发布 #36511), so the app is live when the dialog closes. A refused publish takes back its draft (existing behaviour of publishSavedItem); the package then exists without an app, the toast says so and points at the top bar's Create app, and the author still lands in the package's Studio.

The dialog elsewhere (Packages page, no newApp) is unchanged, and so is the top bar's own Create app button.

The header. StudioBackToApp takes packageLabel. When there is no app to name (no remembered app page and no published app), the name slot shows the open package's label, marked data-names="package" ("app" when it names an app). Where the back link goes is unchanged. StudioDesignSurface passes pkgEntry.name for the open package.

A new object joins its app's menu (folded in by the maintainer's 「这张卡里一起做」). The door creates the app before any object exists, so its menu starts empty, and nothing added a later object. studio-design/newObjectJoinsAppMenu.ts addNewObjectToAppMenu runs in doCreateObject once the object is live (its toast shown), for the rail's own writable package:

  • only when the package has exactly one published app (none: no menu yet, Create app seeds one; several: which menu is the author's call in design mode), and only when no entry of that menu, groups included, already opens the object;
  • the write is the design mode's menu save (saveAppMenu, 设计模式(二)菜单编辑:添加已有的菜单项,上移下移、移到分组、移除、改名和图标 #36363): the stored menu read from /layers, one object entry with no label appended at the top level (the shape buildAppSkeleton seeds), a draft under the first-write pin, then that app's publish. A draft somebody left pending on the app is refused, never overwritten; a refused publish discards the draft the save wrote;
  • a failure never undoes the object: toast.warning 「“X” was created, but it could not be added to the menu of “App”: REASON You can add it in the app’s design mode.」 A failed read of the package's apps is answered the same way (failed, app: null, the sentence appMenu.failedNoApp), never thrown into the create's refusal strip over the live object.

An empty menu is said as such. console/AppNoAccessEmptyState.tsx: for the no-navigation reason and a caller who can grant access (setupPath set) AND author (useCanAuthorMetadata, manage_metadata), the screen reads the app's stored menu (GET /api/v1/meta/app/NAME/layers?package=PKG, plain fetch to keep the console's eager closure unchanged). Empty there too (navigation and every area) ⇒ data-reason="empty-menu": 「{app} 的菜单还是空的」, a line saying objects created in Studio join it, and 「在 Studio 中打开」 → /studio/PKG/data. A stored menu with entries this caller is not shown, a failed read, a caller who cannot grant, or an administrator who cannot author keep the access answer. The last is the hosted organization_admin posture (objectstack#8270): /layers serves such a caller the app PRUNED to what they may see, so an empty read there is the access case, and the Studio link would refuse them; they are never read for.

i18n: engine.studio.newApp.* and engine.studio.data.appMenu.* (incl. failedNoApp) rows in the studio namespace (en, zh); empty.appMenuEmpty, empty.appMenuEmptyDescription, empty.openInStudio in all 11 app-shell locale packs. Changeset: @object-ui/app-shell, @object-ui/i18n patch, Clause-② yes (widening). No new route or spec change.

Tests

New studio-design/BuilderLanding.newAppDoor-36748.test.tsx (real BuilderLanding, PackageFormDialog, metadata client and StudioDesignSurface over a stateful fetch stub):

  • zh: the card opens a dialog headed 「新建应用」, submit 「创建应用」, Advanced shows 「应用 ID」, and no 「软件包」 anywhere in the dialog;
  • one confirm sends exactly POST /api/v1/packages, PUT /api/v1/meta/app/NAMESPACE (mode=draft, package=ID, label = the name), POST /api/v1/meta/app/NAMESPACE/publish (package=ID); the author lands in the package's Studio, the header reads Back to app·Visits·Studio with data-names="app", no Create app is offered, and 「‹ Back to app」 opens /apps/ID;
  • both candidate app names taken by another package's apps ⇒ the banner names the holder and zero writes are made.

StudioDesignSurface.backToApp-36501.test.tsx: the two no-app cases (no app; a draft-only app) now expect the package's label in the name slot (Back to app·Sales·Studio, data-names="package"); where the link goes is asserted unchanged.

New studio-design/newObjectJoinsAppMenu-36748.test.ts (6): the stored menu plus one entry, draft (ifNoneMatch: '*') then publish; an empty menu gets its first entry; no app / several apps / an entry already opening the object (inside a group) write nothing; a 409 on the app's save is answered as failed and nothing is published; a rejected app list is answered as failed with app: null and nothing is written; the entry id is one no entry holds.

New studio-design/DataPillar.newObjectJoinsAppMenu-36748.test.tsx (4, the real DataPillar): save object draft, publish object, save app draft, publish app and the saved navigation is the object's entry; a package with no app writes only the object; a refused menu save keeps the object, opens it on the rail, and warns with the pending-draft reason; a rejected app list keeps the object, warns with the no-app sentence, and draws no studio-refusal / role=alert.

New console/__tests__/AppNoAccessEmptyState.emptyMenu-36748.test.tsx (6): empty stored menu ⇒ empty-menu, no 「grant access」, Studio link /studio/PKG/data, the /layers URL; entries filtered away, a 403, a caller who cannot grant (never fetched), or an administrator who cannot author (never fetched; the Setup link shown, no Studio link) keep no-navigation; storedMenuIsEmpty over navigation and areas. AppContent.emptyNavigationLanding-12079.test.tsx: the admin Setup-link case now stubs a stored menu with entries (it is the access case).

plugin-form/src/affordanceGrantMap-12082.test.tsx (the console write census): the dialog's newApp.create(…) call is a member named create, so the census reads it as a write site; it is entered as outOfFamily (app metadata through the metadata client, not a record through a data source). CI's Test UI caught it at 82e04d4.

Ablation, fix committed, each mutation through node scripts/ablation-replace.mjs and restored with git diff HEAD empty:

  • const name = target.appLabel ?? fallbackLabel → target.appLabel: both no-app header cases fail (2 of 12); restored 12/12.
  • await newApp.create(…) → void 0: the one-confirm case fails (1 of 3); restored 3/3.
  • if ('taken' in reserved) → if (false): the taken-name case fails (1 of 3); restored 3/3.
  • the addNewObjectToAppMenu call in doCreateObject disabled: all 3 DataPillar cases fail; restored 3/3.
  • the empty-menu branch of AppNoAccessEmptyState disabled: 1 of 5 fails; restored 5/5.
  • the several-apps guard deleted: 1 of 5 fails; restored 5/5.
  • (L1 round 2, f5e4dca) && canAuthor dropped from the stored-menu ask: the non-author administrator case fails (1 of 6); restored.
  • (L1 round 2) the app-list catch answering failed → throw error: the unit and the DataPillar cases fail (2 of 10); restored.
Local runs (82e04d4, then the fold-in at ffa8751 / a572abe)
pnpm --filter '@object-ui/app-shell^...' build            os-verify-lock VERDICT command-exit 0
pnpm --filter @object-ui/app-shell type-check             os-verify-lock VERDICT command-exit 0 (tsc --noEmit && tsc -p tsconfig.test.json)
vitest run PackageFormDialog* BuilderLanding* StudioDesignSurface.backToApp* StudioDesignSurface.createApp* PackagesPage*
 Test Files  50 passed (50)
      Tests  429 passed (429)
node scripts/pm/dispatch-gates.mjs --commands → 38 commands, all exit 0
(incl. pnpm --dir ui exec vitest run scripts/, check:nul-bytes, check:published-files, check:test-source-alias,
 check:type-check-debt, check:empty-changeset, check:adr-0087-registration)

ffa87516:
pnpm --filter @object-ui/app-shell type-check             os-verify-lock VERDICT command-exit 0
pnpm --filter @object-ui/i18n type-check && test          106 files, 1978 tests passed
vitest run (the 4 new/changed 36748 + 12079 files)        20 tests passed
node scripts/pm/dispatch-gates.mjs --commands → 41 commands, all exit 0 (same list derived at a572abee)
vitest run plugin-form/src/affordanceGrantMap-12082.test.tsx (a572abee)  55 tests passed

f5e4dca5 (L1 round 2: M1, S1):
pnpm --filter @object-ui/app-shell type-check && i18n type-check && i18n test   os-verify-lock VERDICT command-exit 0 (i18n 106 files, 1978 passed)
vitest run (the 4 36748 + 12079 files)                    24 tests passed

The full @object-ui/app-shell suite is left to CI.

Verification

Live, showcase stack (objectstack dev --seed-admin --fresh) plus the console dev server, zh-CN, 1440×900. Screenshots are in the project thread (not committed, per ui/AGENTS.md):

  1. Landing → 「新建自己的应用」 → dialog 「新建应用」 with name 客户回访: description 「给应用起个名字,其余都会自动填好。创建后立即可以打开。」, Advanced hint 「应用 ID、命名空间、版本和类型…」, button 「创建应用」.
  2. 「创建应用」 → toast 「已创建应用「客户回访」。」, Studio header 「返回应用 · 客户回访 · Studio」, no Create app button.
  3. 「返回应用」 → /apps/com.default.kehu-hui-fang, the app switcher shows 客户回访.
  4. A package created through the API with no app (仅有软件包): header 「返回应用 · 仅有软件包 · Studio」, Create app still offered.
  5. At ffa8751, a fresh 客户回访 from the door: opening the app (menu empty) shows 「客户回访 的菜单还是空的」, 「在 Studio 里为这个应用新建对象,它们会自动加入菜单;也可以在设计模式里添加。」 and 「在 Studio 中打开」 (data-reason="empty-menu").
  6. Studio 新建对象 「回访记录」, then opening the app: the menu holds 回访记录 and the app opens on it (/apps/com.default.kehu-hui-fang/kehu_hui_fang_hui_fang_jilu); GET /api/v1/meta/app answers navigation: [{ id: "nav_kehu_hui_fang_hui_fang_jilu", type: "object", objectName: "kehu_hui_fang_hui_fang_jilu" }].

Two-minute check: open /studio, click 「新建自己的应用」, type a name, click 「创建应用」; expect the header to name the new app. Open the app: it says its menu is empty. Back in Studio, 新建对象; open the app again: the object is in its menu.

Acceptance notes


Generated by Claude Code

… names a package with no app

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JQwxbXT7Mhxfq3Zqk9Vbt2
@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 23, 2026
…f family

The dialog's newApp step writes app metadata through the metadata client, not
a record through a data source; its member is named create like one.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JQwxbXT7Mhxfq3Zqk9Vbt2
@objectstack-fleet objectstack-fleet Bot changed the title fix(studio): 「新建自己的应用」 ends with an app; the top bar names a package with no app fix(studio): 「新建自己的应用」 ends with an app; a new object joins its menu; an empty menu is not blamed on access Nov 23, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj

Contract review

Served-tier: TIER_DEFAULT
Head-sha: a572abeecb6370615ce4b470c7534fe800863182
Local-runs: none
Scope: whole diff against merge-base 0e83fe0 (declaration face, no hits) + ui/packages/app-shell/src/views/studio-design/newAppDoor.ts, newObjectJoinsAppMenu.ts, StudioDesignSurface.tsx, StudioBackToApp.tsx, BuilderLanding.tsx, metadata-admin/PackageFormDialog.tsx, console/AppNoAccessEmptyState.tsx, plugin-form/src/affordanceGrantMap-12082.test.tsx, the i18n packs, the changeset
Security-touching: yes
Rule-change-verified: none

① Derived judgments

  • Pending draft (seat rule). saveAppMenu → writeAppMenu (designModeMenuSave.ts:160, outside the diff, read only) writes the draft with ifNoneMatch: '*', so a pending app draft gets a 409. That becomes texts.pendingDraft, and no publish follows. The PR never publishes someone else's pending draft on their behalf. The door's newApp.create uses the same pin and then publishSavedItem(…, hadDraft=false). Its package was created moments earlier, so a pinned draft that succeeds is the door's own draft, and a refused publish discards only that draft. Held.

  • Several apps, installed apps and read-only apps. Several apps return skipped/several-apps with zero writes (pinned by a test and an ablation). The call site runs only when target.packageId === railPackageId && !packageReadOnly, so a customization pair or a read-only base never reaches prepareAppMenuSave's ensure-pair branch from here. Held.

  • Name reservation race. reserve only reads (findTakenIdentifier, published plus drafts, every package). A draft that lands in the window is refused by the pin. A published app cannot appear in the new package during the window, because nobody else holds that package yet. A same-name app published in another package during the window is the race every Studio create already accepts (findTakenIdentifier jsdoc). The failure mode is a package with no app: the toast says so and points at Create app. Accepted.

  • Publish permission for the actor. The server enforces it. PUT and POST /meta/:type/:name/publish both ask metaWriteCapabilityVerdict (manage_metadata) and the walled-catalog refusal before anything is promoted (packages/rest/src/meta-item-history-routes.ts:550ff). POST /api/v1/packages has its own 403 arm in the dialog. Held.

  • Empty-menu branch: who sees it, and is the menu really empty? See M1. The gate is setupPath !== null, which means isWorkspaceAdmin (a role or position read, useWorkspaceAdminStatus.ts:219). That is not authoring. /layers serves the stored, unpruned app only to a caller with mayWriteItem (the manage_metadata save verdict, meta-item-read-gate.ts:320–360). Every other caller gets the pruned app.

  • Write census. outOfFamily is defined as "a write that is not a CRUD affordance on a record the caller browses" (affordanceGrantMap-12082.test.tsx:636). newApp.create writes app metadata through the metadata client. The entry is honest.

  • Check-runs at the head: every run is success or skipped, and none is failed, cancelled or in progress (Test UI 16/16, Type Check UI, Lint UI, Build & E2E UI, Live E2E UI, Governed Surface Queue Guard, Check Changeset ×2).

  • M1 (must-fix): AppNoAccessEmptyState asks for the stored menu whenever setupPath !== null, which is isWorkspaceAdmin. That holds for an organization owner or admin who lacks manage_metadata and studio.access. The organization_admin set withholds both on purpose (default-permission-sets.ts:356–359), and this is the ruled EE/cloud hosted posture (useCanAuthorMetadata.ts jsdoc, objectstack#8270). For that caller, /layers is not author-exempt and serves the pruned app. When server-side pruning removed every entry, storedMenuIsEmpty answers true, and the screen says 「X 的菜单还是空的」 and offers 「在 Studio 中打开」, a surface that caller cannot open. That is the "hidden by permissions" case the PR promises keeps the access answer. The test 'a stored menu with entries this caller is not shown keeps the access answer' stubs an unpruned /layers body that the server would not return to this caller, so the case goes untested. Fix: AND useCanAuthorMetadata() into ask (the authors are the only callers /layers serves whole, and the only ones the Studio link serves). Add a test for an admin who cannot author: no fetch, and no-navigation with the Setup link.

  • S1 (should-fix): In addNewObjectToAppMenu (newObjectJoinsAppMenu.ts), await client.list('app', { packageId }) runs before the try. A failed list read is therefore thrown, not answered. It reaches doCreateObject's outer catch, which setError(plainRefusal(e))s a refusal strip over the object just created and published. The success toast is already up, and the promised toast.warning never shows. This contradicts the module's own contract ("a failure is answered to the caller") and the PR's "On failure it keeps the object and shows a warning toast". Fix: move the list into the guarded block, or catch at the call site and warn. Add a test for a rejected list.

② Semver level

@object-ui/app-shell and @object-ui/i18n are both patch, with Metadata-protocol: none. There is no spec key, route or protocol change, and AGENTS.md says a non-protocol widening ships patch. Correct. Clause-②: yes (widening) holds on the new keys in the published @object-ui/i18n packs. The three export names it also lists live in @object-ui/app-shell, which is private: true and does not reach them from ./index.ts, so they are outside the published acceptance set. That is an over-declaration, harmless, and noted for accuracy only. The PR body and changeset lines start at the beginning of the line and agree with each other.

③ Boundary flags

  • PR author objectstack-fleet[bot]: no author note owed.
  • SQL push-down: n/a. These are client-side metadata reads and writes, with no record id materialisation and no in-app join.
  • Dev open_questions: none. out_of_scope_findings 1 and 2 were folded in under claim amendment 7107657300 (the maintainer's 16:45Z 「这张卡里一起做」), and the diff stays inside the amended surface.
  • Smaller points I accept, with no grade effect: (a) /layers does not fold navigationContributions (applyNavContributions runs only on served reads), so an app whose whole menu arrives as another package's contributions reads as stored-empty. (b) saveAppMenu is not pinned to the active version, so two concurrent object creates in one package can lose one menu entry. That window predates this PR (设计模式(二)菜单编辑:添加已有的菜单项,上移下移、移到分组、移除、改名和图标 #36363). (c) The already-there check and the append read only top-level navigation, not areas.
  • Tests and ablations: six ablations, each reported as failing its target and restored with git diff HEAD empty. The happy paths, the zero-write refusals, the pending-draft refusal and the header fallback are pinned. The gaps are the M1 persona and the S1 list failure above.

Implemented-by: claude/project-thread-b4zdh8
Reviewed-by: session_01JQwxbZeHNsF3RWcWpj7rGj

VERDICT: FAIL

…list is answered, not thrown

An administrator who cannot author is served the pruned app by /layers, so an
empty read there is the access case, and Studio would refuse them. A failed read
of the package's apps after a new object goes live warns instead of drawing the
create's refusal over the live object.

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj

Contract review

Served-tier: TIER_DEFAULT
Head-sha: 5f310229a8f58bdb75cfb7ce093ab2a74d75611f
Local-runs: none
Scope: delta a572abe..5f31022 against round 1 (comment 7109243522): ui/packages/app-shell/src/console/AppNoAccessEmptyState.tsx, views/studio-design/newObjectJoinsAppMenu.ts, views/studio-design/StudioDesignSurface.tsx, their three test files, ui/packages/i18n/src/namespaces/studio/{en,zh}.ts, the changeset
Security-touching: yes
Rule-change-verified: none

① Derived judgments

  • M1 (must-fix): closed.

AppNoAccessEmptyState now requests the stored menu only when reason === 'no-navigation' && setupPath !== null && useCanAuthorMetadata(). Every path into the empty-menu answer goes through that request. When ask is false, useStoredMenuEmpty returns false and fetches nothing, and menuEmpty && packageId is the only branch that can draw empty-menu. So an organization admin without manage_metadata never fetches and keeps the access answer with Setup.
hasCapabilities fails open only when the server reports no systemPermissions, which is a pre-ADR-0066 backend. MePermissionsProvider shows its loading fallback until it has an answer, so a non-author cannot see the screen during a loading window.
The tests use realistic server bodies. In the new case the non-author is served a pruned {effective:{navigation:[]}}, and the test asserts no fetch, no-navigation and the Setup link. At 5f31022 the "entries filtered away" case is renamed to cover an author. An author is the caller /layers serves unpruned, so a stored body with entries is what the server would actually send. The stated ablation (dropping && canAuthor fails 1 of 6) is consistent with the test: with the request enabled, the first render is the pending div, so getByRole('status') throws and the no-fetch assertion fails as well.

  • S1 (should-fix): closed.

client.list('app', …) now sits in its own try. A rejected list returns { kind: 'failed', app: null, error }. The AppMenuJoin type allows app: null, and its only caller, doCreateObject, branches on join.app and warns with engine.studio.data.appMenu.failedNoApp. Nothing is thrown into the outer catch, so no refusal strip is drawn over the live object.
The unit test rejects list with a 503 and expects exactly failed/app: null with zero writes. The DataPillar test uses the real pillar and expects the warning text, the calls limited to save object draft and publish object, the object open on the rail, and no toast.error, alert or studio-refusal. The stated ablation (catch → throw fails 2 of 10) holds when read: without the catch the unit promise rejects, and the pillar takes setError, so no warning is shown.

  • failedNoApp locales. The key ships in en and zh only. That covers the whole studio namespace: it ships exactly those two catalogues (STUDIO_LANGUAGE_CODES = en plus a lazy zh), and every other language falls back to en (STUDIO_FALLBACK_LANGUAGE). The 11-pack set is the app-shell empty.* keys, which did not change in this delta. Nothing is missing.
  • Anything else that moved. Apart from the two fixes, the delta changes only the Clause-② wording in the changeset and PR body (now only the published @object-ui/i18n keys, dropping the private @object-ui/app-shell export names), the changeset prose describing the two fixes, and test-file comments and fixtures. No other source file moved, and the merge-base is unchanged (0e83fe0).
  • Check-runs at 5f31022: still running. Six runs exist so far: Governed Surface Queue Guard, Check Changeset, PR-body guards and Check PR Size are in progress, and two are skipped. Test UI, Type Check UI and Lint UI have no run on this head yet. At 72d0cc2 the runs were cancelled or still in progress when the push superseded them, so no full green UI run exists on any round-2 head yet. Landing still waits for green checks on this head.

No must-fix, no should-fix.

② Semver level

Unchanged: @object-ui/app-shell and @object-ui/i18n patch, Metadata-protocol: none. Clause-②: yes (widening) now names only the new keys in the published @object-ui/i18n packs, which is accurate. The changeset and PR body lines start at the beginning of the line and agree with each other.

③ Boundary flags

Implemented-by: claude/project-thread-b4zdh8
Reviewed-by: session_01JQwxbZeHNsF3RWcWpj7rGj

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj

维护者速读

Studio 里「新建自己的应用」现在真的建出一个应用,并马上可用。之后在 Studio 新建的对象会自动加进这个应用的菜单。应用菜单为空时,能编辑应用的管理员会看到「菜单还是空的」和「在 Studio 中打开」,不会再被引导去 Setup 授权。没有编辑权限的组织管理员看到的仍是原来的提示。
要你做的:无。

席位核对 — ACCEPT (L1) · repo:objectstack#1 · head 5f310229 · 2026-11-23T18:24Z

  • Shape: Fixes #36748, with the menu follow-up folded in by the maintainer's decision (claim amended 7107657300). Clause-②: yes (widening), for the published i18n keys. Metadata-protocol: none. Not governed.
  • Record half: same-head TIER_DEFAULT r2 PASS 7109527777 at 5f310229. It closes round 1's M1 (the empty-menu branch is now gated on useCanAuthorMetadata()) and S1 (a failed app list reads as a warning, never a refusal over a created object).
  • Read: the menu write uses the first-write pin, so another person's pending app draft gets a 409 and is never published. With several apps in the package, nothing is written. Read-only and customization packages are never written. The server enforces manage_metadata on save and on publish.
  • Evidence (thread): ablations bite on every new branch: the call site, empty-menu, the several-apps guard, the non-author gate and list failure. Live screenshots are in issue-36748/ in the project files.
  • Gates: 58 check-runs on 5f310229: 45 success, 13 expected skip, 0 failed. 8 behind main (< 15). mergeable_state clean.
  • Landing: ready + auto-merge now.
    No must-fix, no should-fix.

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

2 participants