Skip to content

feat(studio): a permission set opens full-screen at its metadata address; the sharing overview gets its own route - #37089

Merged
os-zhuang merged 23 commits into
mainfrom
claude/issue-36905-permission-fullscreen
Nov 25, 2026
Merged

os-zhuang merged 23 commits into
mainfrom
claude/issue-36905-permission-fullscreen

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Fixes #36905

Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:管理员在 Studio 里点开一个权限集,右侧整块显示权限矩阵,左上角 × 回到权限集列表,页签里能看引用、历史和源码;「谁能看到哪些记录」有了自己的页面,在左侧菜单「访问」里;旧书签自动跳到新地址。
  • 为什么做:Studio 重构专题里「权限集矩阵全屏、默认共享总览独立」这一项,让权限集和其他元数据一样从列表点开、全屏编辑。
  • 出错会怎样:有未保存修改时点 ×、切菜单、刷新或关标签页会先问(浏览器后退键不问);AI 留下的草稿有提示并可一键放弃;本改动可以直接撤回。
  • 要你做什么:这个改动超过 3,000 行(主要是删掉旧的权限侧栏和只为它服务的测试),按您的安排开发完等您审核合入。

What changes

A permission set now opens full-screen at its metadata address, and the organization-wide default sharing overview has a route of its own. The Access pillar draws no page any more: every address it answered redirects.

Three facts for the reviewer, up front:

  1. The set's full-screen page (StudioPermissionSetPage, new). On a package's leg, /studio/PACKAGE/metadata/permission/NAME opens the matrix (PermissionMatrixEditPage, its Studio presentation) in the area instead of sending the set to the Access pillar (AREA_DESIGNER_PAGE_TYPES / areaItemOpensDesignerPage in metadataArea.ts). The header is the full-screen detail's (ResourceDetailHeader, from Studio 重构(0-2):全屏详情的头部组合件——用 StudioItemHeader 的插槽放 ×、来源包、‹ › 加序号、⋯ 和主按钮 #36892/Studio 重构(2-1):通用详情换新头部,六个侧边抽屉改成页签(详情、预览、相关、被引用、历史、源码),出一套设计器也能用的页签组件 #36901): × back to the list with its context, ‹ › through it, label (the machine name on its tooltip), type and package, ⋯. The tab row is the matrix's five sections, then ItemToolTabs' References, History (with the audit log) and Source; a tool tab is addressable (?tab=) and keeps the matrix mounted and hidden. The matrix gains one optional seam for this, studio.frame (renderHeader, toolOpen, toolPanel, onDraftChangesRead); without it the matrix draws its own header exactly as before. The cross-package leg (/studio/~all/...) keeps the matrix's environment page.
  2. What the pillar drew around the matrix comes along. Discard draft, Explain access, the suggested-audience strip, and on a read-only base "New similar": in ⋯ on the page, and as a row action on the base's own rows in the list of sets (ResourceListPage; not on its pair's rows). The copy opens at its own metadata address with the strip saying where it landed (permissionNewSimilar.tsx, shared by the page and the list). Unsaved edits: the matrix registers with the shell's leave guard and the top bar's Save, so ×, ‹ ›, the menu, a reload and a tab close ask first; the browser's Back is not guarded (epic decisions 1 and 12). A discard sends a never-published set back to the list only when the package's sets were read and it is not among them: an unanswered read keeps the page on the set.
  3. Card item 6, decided here. An AI-written pending draft (copilot or MCP) gets the designers' notice (StudioAiDraftNotice) with 「放弃 AI 的改动」, which drops that one set's draft at its package and asks first only when the matrix holds unsaved edits: the rule feat(studio): the generic item page's Save takes effect at once; an AI draft gets the designers' notice and discard #37026 applied to the generic item page. A person's own leftover draft keeps Discard draft (decision 14). The matrix reports the draft's draftChanges from the read it already makes; no new request. Issue Studio: a person's Save on a permission set, hook, added action or OWD row publishes a pending AI draft of that item with no notice (the AI notice and its discard exist only on objects and flows) #36660 stays open: this PR applies its rule on the permission set page only; hooks, added actions and the sharing overview's rows are still its scope.
  4. The sharing overview's own route, /studio/PACKAGE/owd (StudioOwdOverviewPage, new; studioOwdOverviewPath, STUDIO_OWD_SECTION), the Access group's menu entry (studioMenuModel.ts: its to and the current-entry mapping). A set's per-object visibility badge opens it on that object (?object=NAME). Its one read-only mark is the header's (objectui#12453), so the panel's own duplicate is gone.
  5. Address switch. permission leaves STUDIO_ITEM_PILLAR, so studioItemPath (the palette, the AI artifact links, every producer) answers the metadata address; the menu's designer types are named explicitly so a permission set keeps its entry. /studio/PACKAGE/access?surface=permission:NAME redirects to the set's address, ?surface=owd:overview to the overview, a bare /access to the list of sets, other parameters kept (accessPillarRedirect.ts). A set a read-only base's .custom pair adds (every "New similar" copy among them) was listed on the base's pillar and opened at the pair, writable, while the address named the base: its old address now opens at the pair's, /studio/PAIR/metadata/permission/NAME?package=PAIR. For an address that names a set, AccessPillarLanding (accessPillarLanding.tsx, new) reads the base's and the pair's sets, published and draft, as the pillar listed them, and accessPillarSetHolder decides: the base when it holds the name, else the pair when it does, else the base; a failed pair read lists none of the pair's sets, a failed base read stays on the base. The pair is the spec's pairing rule (customizationPackageId), as the list of sets derives it. Every other address redirects at once. .../permission/NAME/history opens the History tab: AreaHistoryRedirect's own-editor exemption no longer covers a designer page. The address table's rows say where each moved (redirectsTo).
  6. The copilot keeps its context. The pillar put the set in ?surface=; the page's address carries it in the path, so the copilot's surface context reads a designer page's address too (areaDesignerItemOf, pillar metadata), and the page reports its label, so the chip still reads 「正在看:权限 · 组织成员」 (objectstack#35018). Only designer-page types are read this way, and PACKAGE/metadata/permission/new (the area's create page) is no item; every other area item is unchanged.
  7. Card item 5: the Access pillar and its rail are deleted (AccessPillar.tsx, maintainer's answer on epic 专题:Studio 重构——某个应用的开发界面:左侧按类型分组的菜单 → 列表 → 右侧全屏详情(去掉顶部分区) #36890, comment 7145880574: this card, reviewed by the maintainer as Tier H by size). Five test files go with it (accessCreateTaken-26836, accessGuard, accessRailLabelLive-26846, accessRailLabels-11862, accessTabs-12456), and the Access cases of StudioRail.noMatches-26733, emptyStates-12514, readOnlyWording-11781. Not all of that was pillar-only: accessTabs-12456's matrix cases (the five tabs and sections, the facet panels kept mounted for the Save gate, the bulk strip with keyboard focus, the CRUD write, the sharing chip and the object count) and accessCreateTaken-26836's discard cases (a declined question, a never-published set, a read-only package) moved to the page's pin; what went is the rail, the pillar's own header and its create dialog. The other pins of behaviour that lives on moved to the page too: the matrix's Studio Save (studioSave-36511, saveSurface-12725), New similar (accessNewSimilar-28573, now through ⋯), the suggestions strip on a read-only package (accessSuggestionsReadOnly-33158), the zh wording (accessWording-34795), the status place (statusPlace-12524) and the read-only banner. The page keeps objectstack#34795's ruling: the set's machine name is the title's tooltip, so its header draws no API-name chip.

Tests

New pins
  • StudioPermissionSetPage.fullScreen-36905.test.tsx (26 in round 1): the detail header and no matrix header; section and tool tabs; a tool tab addressable and the matrix kept mounted; × to the list; Discard draft at the set's package, CONTROL none without a draft; a declined question discards nothing; a never-published set's question and its discard back to the list, CONTROL a published set stays and re-reads; no discard on a read-only package; an unanswered sets read keeps the AI discard on the set; the AI notice for copilot and mcp drafts and its discard without a question on a clean page, CONTROL a person's draft; New similar in ⋯ landing at the copy's address with the strip, the no-package answer, CONTROL none on a writable package; the matrix's five sections (order and landing, each section, facets kept mounted, the bulk strip on every row, keyboard focus, CRUD and the header's count, the sharing chip opening the overview on its object and the object count).
  • metadataAreaHost.scope-28561.test.tsx (+4, "New similar" on a read-only base's rows): the base's row offers it and its pair's row does not; the copy opens at its metadata address in the package the clone door names; an answer naming no package opens nothing and says so; CONTROL a writable package offers none. The list's create button is queried by its new test id (metadata-list-create), not its label, which "New similar" no longer collides with.
  • accessPillarRedirect.test.ts (7): set, overview, bare and unknown surfaces, parameters carried; a set held in the pair opens at the pair's address while the overview and the list stay on the base; the set name an address opens; the holder decision (the pair's set, CONTROL the base's own set even when the pair holds the name too, neither, a failed pair read, a failed base read).
  • StudioDesignSurface.accessPairCopy-29674.test.tsx (+4, the retired pillar's address through the real surface): /studio/BASE/access?surface=permission:COPY lands on /studio/PAIR/metadata/permission/COPY?package=PAIR, the copy reads Custom and an edit saves at the pair; a set created in the pair, still a draft, lands there too; the address's other parameters reach the redirect and ride along (?ref=bookmark; ?changes=review is consumed by the surface, which opens the drawer); CONTROL the base's own set's old address stays on the base and reads Package.
  • StudioPermissionSetPage.fullScreen-36905.test.tsx (+3, the sharing chip's leave guard): with a dirty matrix the chip asks the unsaved-edits question once, and declined the page stays on the set with the edit; confirmed it opens the overview on its object; CONTROL a clean matrix asks nothing.
  • StudioMetadataArea.routes-28561.test.tsx (+4): the set opens in place on writable and read-only packages, CONTROL the cross-package leg keeps the generic page, the old history address opens the History tab.
  • metadataArea.test.ts, studioAddress.test.ts, studioMenuModel.test.ts: the predicate, the address reader (the create page is no item), studioOwdOverviewPath, the moved rows agree with the redirect, the menu entry and current key.
Pins moved to the new addresses
  • From feat(studio): ⌘K on every Studio design page lists the package's menu and items #37108 after the merge: StudioDesignSurface.metadataArea-28561 (⌘K's Default sharing from a set's page opens /studio/PACKAGE/owd), StudioPaletteGroups.surfaceScope-36900 (an item opens at /studio/PACKAGE/metadata/permission/NAME?package=PACKAGE, the menu entry at /studio/PACKAGE/owd), studioPaletteModel-36900 (leave, re-enter and stay read on the set's address; the overview's route is a leave).
  • StudioRoute.metadataArea-28561 (console): the Studio gate refuses /studio/PACKAGE/owd as it refuses the old overview address.
  • StudioDesignSurface.pillarNavGuard.test.tsx: decision 12 on the set page and the overview page (menu, Back to app, the shell seam; dirty matrix and dirty overview rows; CONTROL clean).
  • StudioDesignSurface.accessPairCopy-29674.test.tsx: a pair's copy at the pair's address lists the base's objects, saves at the pair, names the base by its label, reads Custom; CONTROL the base's own set. Its docstring now claims only the header's half it reads.
  • StudioItemHeader.statusPlace-12524: the read-only link is a direct child of the page's action group, the group a direct child of the actions slot.
  • StudioDesignSurface.aiChipLabel.test.tsx: the chip and the agent's surface context on the set page.
  • accessSegment-12452: the old Access address lands on the list of sets with its entry current. notFound-26708, readOnlyPosture-12453, pillarsClaimSlot-12725, rightSlot-12725, backToApp-36501, changesCount-11787, copilotDraftBadge-12725, publishPosture-12517 used the Access pillar as "a package page that claims nothing"; they use the overview page now.
Ablations (four, each reverted)
  • Round 1: const aiDraft = … forced to false through scripts/ablation-replace.mjs: anchor 1 → 0, blob 3dc44aa6 → fdd76cfd; the AI-draft describe went 2 failed, 1 passed (the CONTROL); restored blob == HEAD 3dc44aa6, git diff HEAD empty.
  • This round, on 11aaddcc: the never-published test put back to !read?.published.has(name) through scripts/ablation-replace.mjs: anchor 1 → 0, blob 3ac18e32 → 0923112b; the page's discard cases went 1 failed (the unanswered-read pin), 9 passed (the published CONTROL among them); restored blob == HEAD 3ac18e32, git diff HEAD empty. A first pass on 3d7c1d00 stayed green: the pin asserted the address right after the reset and raced the navigation, so it now waits for the re-read only a page that stays makes.
  • Round 3, on 7d5d87bd (tree identical to 79987757): the landing's holder ignored ({ setHeldIn: holder ?? packageId } → { setHeldIn: packageId } in accessPillarLanding.tsx) through scripts/ablation-replace.mjs: anchor 1 → 0, blob f9502964 → 169d7fcc; accessPairCopy-29674 went 3 failed (the copy, the pair's draft, the carried query), 8 passed (the base's CONTROL among them); restored blob == HEAD f9502964, git diff HEAD empty.
  • Round 3, on 7d5d87bd: the chip's guard removed (confirmUnsavedLeave(() => navigate(…)) → a bare navigate(…) in StudioPermissionSetPage.tsx) through scripts/ablation-replace.mjs: anchor 1 → 0, blob 3ac18e32 → 2b68c388; fullScreen-36905 went 2 failed (declined and confirmed both ask once), 27 passed (the clean CONTROL among them); restored blob == HEAD 3ac18e32, git diff HEAD empty. A first spelling was refused by the tool before anything ran (its replacement was a substring of the anchor, so the replacement count could not rise).

Acceptance notes

Verification

First to read:

  1. ui/packages/app-shell/src/views/studio-design/StudioPermissionSetPage.tsx — the page; the discard paths (dropDraft) and the New similar landing.
  2. ui/packages/app-shell/src/views/metadata-admin/PermissionMatrixEditor.tsx — the frame branch of renderStudio: the sections stay mounted under a tool tab.
  3. ui/packages/app-shell/src/views/studio-design/StudioAiCopilot.tsx — the copilot's context now reads a designer page's path.

Two-minute check: on HotCRM, open /studio/PACKAGE/access?surface=permission:NAME from an old bookmark — it lands on /studio/PACKAGE/metadata/permission/NAME?package=PACKAGE, the matrix full-screen with × in the header (for a "New similar" copy on a read-only base, on /studio/PACKAGE.custom/metadata/permission/NAME?package=PACKAGE.custom, writable); the menu's Access group opens 「谁能看到哪些记录」 at /studio/PACKAGE/owd.

Local runs

Round 3, head 79987757 (tree identical to 7d5d87bd, where these ran; only the two commit messages' trailer pair was reworded), through scripts/pm/os-verify-lock.sh:

  • ui/packages/app-shell/src/views/studio-design/ whole directory: 299 files passed, 2206 tests.
  • ui/packages/app-shell type-check (both tsc programs): exit 0, 0 errors.
  • eslint --no-inline-config on the six touched source and test files: exit 0, 0 errors (11 warnings, every one on an untouched line of StudioDesignSurface.tsx).
  • Run one by one, exit captured before any pipe, each exit 0: check:test-source-alias (also on 79987757), check:nul-bytes, check:cross-package-test-inputs, check:undeclared-dep-imports, check:tier-file-adoption, check:published-files, check-empty-changeset.mjs, check-adr-0087-registration.mjs, check-changeset-no-major.mjs, check-closing-keyword-parity.mjs. The other 28 families of the same 38-family derivation read no file this round changes and were green on bcde26a0; CI runs them all.

Round 2:

objectstack-ai/objectstack, head bcde26a0 (origin/main merged at 709d2c1e), through scripts/pm/os-verify-lock.sh:

  • Affected UI set on 80bd343a (73 files: every test this PR adds or edits, plus each that names the page, the list page, the area's address reader, the palette or the overview's route): 73 passed, 938 tests; the 15 files bcde26a0 then edited re-run there: 15 passed, 108 tests. CI runs the whole UI farm.
  • ui/packages/app-shell type-check (both tsc programs) on bcde26a0: exit 0.
  • check-i18n-call-site-keys.mjs exit 0; check-i18n-dead-keys.mjs exit 0 (report only; the 15 restored rows are listed as candidates).
  • dispatch-gates.mjs --commands (same 38 families on 80bd343a and bcde26a0): run one by one, exit captured before any pipe. check:test-source-alias exit 1 on 80bd343a (15 surface tests this PR edits now reach the palette's import('@object-ui/plugin-detail') since feat(studio): ⌘K on every Studio design page lists the package's menu and items #37108; collection-time import added in bcde26a0), re-run exit 0; every other family exit 0; pnpm --dir ui exec vitest run scripts/ 172 files passed, 2 skipped, 5130 tests. --ran reconciliation: 38 derived, 38 run, 0 NOT-MEASURED, every line with its exit code. On bcde26a0 re-run: check:test-source-alias, check:undeclared-dep-imports, check:cross-package-test-inputs, check:type-check-debt, check:nul-bytes, each exit 0.

Generated by Claude Code

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

Finalized head for L1 · 2026-11-24T23:41Z · 5e6e0037f · zone a4-S (#36905)

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

席位核对 — REWORK · L1 · head 5e6e0037f55ea31c19194c458fba50b698bafb79 · 2026-11-24T23:49Z

Requested by zone a4-S (7147702004) for card #36905. Tier H by size (4,531 changed lines; ruling 7145880574): after a delta ACCEPT the seat hands it to the maintainer.

Sound as built: all six card items are delivered. Item 5: AccessPillar is deleted and nothing imports, routes to or links to it. Leave guards, save paths (own package and installed .custom), permission gates, the #36660 AI-draft rule, the #36901 item-tool tabs, the AreaHistoryRedirect exemption removal and the old-address redirects all check out. PILLAR_FOR_SURFACE_TYPE, the publish toast's "open Access" and PILLARS still reach /access through the redirect and are handed to #36909. Size breakdown: deletion dominates (2,250 lines are whole files removed); nothing is generated. Check-runs: 47 success, 15 expected skip, 0 failed — at a base that predates #37108.

M1 (must-fix) — undeclared narrowing of the published i18n pack. All 15 removed keys (the engine.studio.access.* set and engine.studio.owd.railLabel, en and zh) ship in released @object-ui/i18n@18.6.0 under ./namespaces/studio (served by loadStudioCatalogue / studioString), yet the PR says Clause-②: no and the changeset says no locale key changes. Fix, as on #37049: restore the 15 rows in ui/packages/i18n/src/namespaces/studio/en.ts and zh.ts, left unread. (The alternative — the full narrowing kit — is not taken on a UI card.)
M2 (must-fix) — stale against #37108 (merged, not in this base): merge-tree is clean but three of its tests on main fail once merged — StudioDesignSurface.metadataArea-28561.test.tsx ~400-422 (waits for access-rail-set-sales_rep, expects /access?surface=owd%3Aoverview) and StudioPaletteGroups.surfaceScope-36900.test.tsx ~302-303 and ~316 (old addresses for a permission item and the sharing overview). Merge origin/main, repoint them to /metadata/permission/sales_rep?package=… and /studio/<pkg>/owd, re-run the palette and pillarNavGuard tests (and N8's studioPaletteModel-36900.test.ts shapes).
S1 (should-fix) — the deleted accessTabs-12456 was not pillar-only: it pinned matrix behaviour that still runs on the new page (five tabs and sections, facet panels mounted for the Save gate, the bulk strip with keyboard focus, the CRUD bulk write, the sharing chip and object count). Move those cases into StudioPermissionSetPage.fullScreen-36905.test.tsx; correct the body's "served only the pillar".
S2 (should-fix) — three discard cases from the deleted accessCreateTaken-26836 were not moved: a declined confirm discards nothing; a never-published set returns to the list; a read-only package shows no discard. Add them to the page test.
S3 (should-fix) — the list row's "New similar" (card item 2, ResourceListPage.tsx) has no test: one real MetadataResourceListPage case — base row, pair row, where the copy opens, no-package answer, writable-package CONTROL.

Nits: N1 PermissionMatrixEditor's non-frame Studio header branch has no host — delete or note for #36909, and doc comments still name the Access pillar; N2 assert a direct child of the action group (StudioItemHeader.statusPlace-12524); N3 query the create button by test id (metadataAreaHost.scope-28561); N4 accessPairCopy-29674's docstring claims a list-mark half it no longer asserts; N5 /permission/new reads as item permission:new in the copilot context; N6 a failed sets read makes a published set count as never published (discard would navigate to the list); N7 the console gate test should list /studio/<pkg>/owd; N9 the body says #36660 stays open for hooks, added actions and sharing-overview rows; N10 permissionNewSimilar.tsx header still says "shared with the pillar".

Brief: add the two items above (no published string removed; merged with #37108) and that the browser Back button is not guarded. Landing K: 14. Delta L1 on the new head, then the hand-off.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

Finalized head for delta L1 · 2026-11-25T02:17Z · bcde26a08 · zone a4-S (#36905), rework round on L1 7147848289

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

席位核对 — ACCEPT · L1 · head bcde26a08ea84574b3d8890889d710dc8f37ef4e · 2026-11-25T02:27Z

Delta L1 on the REWORK at 5e6e0037 (7147848289), reading the os-dev report 7150511533. I checked each item against the diff myself.

  • M1 closed. git diff 709d2c1e bcde26a0 -- ui/packages/i18n is empty, so the PR removes or renames no key in any locale.
    • All 15 rows match released @object-ui/i18n@18.6.0 (958ee03) line for line: en.ts :2255-2256, 2782, 2784, 2821-2827, 2943-2945, 3976; zh.ts :2042-2043, 2486, 2488, 2522-2528, 2642-2644, 3521.
    • Nothing outside the catalogues reads them.
    • The changeset now says the rows stay, unread.
  • M2 closed. origin/main is merged at 709d2c1e, which includes feat(studio): ⌘K on every Studio design page lists the package's menu and items #37108.
  • Merge commit 76088120: its tree fa30bfb0 equals git merge-tree --write-tree 5e6e0037 709d2c1e, so it is a clean auto-merge. The head merges cleanly onto current main.
  • S1 closed. accessTabs-12456's matrix cases are in StudioPermissionSetPage.fullScreen-36905 :403-509, against the real page and matrix:
    • the five tabs, Objects first
    • each section
    • the facet panels kept mounted
    • the bulk strip, with keyboard focus marking the row
    • the CRUD write and the header count
    • the sharing chip and the object count
  • The body's "only the pillar" wording is corrected.
  • S2 closed. The page pin now has these discard cases:
    • a declined question discards nothing (:261)
    • a never-published set returns to the list (:272), CONTROL a published set stays (:286)
    • no discard on a read-only package (:300)
  • S3 closed. metadataAreaHost.scope-28561 :255-338 runs the real list page and clone dialog:
    • the base row offers New similar and the pair row does not
    • the copy opens at /studio/<pair>/metadata/permission/<copy>?package=<pair>
    • a no-package answer toasts
    • CONTROL: a writable package offers none
  • N1 closed (noted). The frameless branch stays for Studio 重构(4-1):删掉分区路由和残留(:packageId/:tab 路由、AREA_PILLAR_FOR_TYPE、pillar 文案、旧 Studio 应用的菜单项) #36909. PermissionMatrixEditor.tsx:560-568 says so, and the doc comments no longer name the pillar.
  • N2 closed. statusPlace-12524 :281 asserts the link's parent is a direct child of the actions slot.
  • N3 closed. The create button is queried by metadata-list-create (ResourceListPage.tsx:852).
  • N4 closed. The docstring claims only the header half.
  • N5 closed. metadataArea.ts:148 returns null for new, pinned at metadataArea.test.ts:154.
  • N6 closed. StudioPermissionSetPage.tsx:191 is read !== null && …. It is pinned at :308 and ablated (1 red, CONTROL green, restored), and both stay pins wait for the re-read.
  • N7 closed. The console gate pin lists /studio/com.example.crm/owd.
  • N9 closed. Body item 3 says Studio: a person's Save on a permission set, hook, added action or OWD row publishes a pending AI draft of that item with no notice (the AI notice and its discard exist only on objects and flows) #36660 stays open.
  • N10 closed. The header comment is reworded.
  • Brief closed. What changes opens with the three facts: no published string removed, merged with feat(studio): ⌘K on every Studio design page lists the package's menu and items #37108, Back not guarded. 维护者速读 carries the Back line.
  • New items: none. The delta's production changes are the N5/N6 conditions, one test id and comments. Everything else is tests.
  • Body:
    • Clause-②: no holds: the i18n diff is empty and only private @object-ui/app-shell source changes.
    • Metadata-protocol: none holds.
    • ## 维护者速读 is accurate.
  • Gates: check-runs at head are 62: 47 success, 15 expected skip (path filters and opt-in), 0 failed, 0 pending. Test UI 1-16/16, all Lint and Type Check families, Check Changeset and PR-body guards are green.
  • K: 8.
  • Size: +2,275 / −2,678 = 4,953 changed lines (API). 2,250 of them are whole-file deletions, and nothing is generated.
  • Hand-off: this card is Tier H by size (ruling 7145880574). With this ACCEPT the seat hands it to the maintainer for review and merge.

No must-fix, no should-fix.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

Contract review

Served-tier: TIER_DEFAULT
Head-sha: bcde26a08ea84574b3d8890889d710dc8f37ef4e
Local-runs: none
Scope: .changeset/36905-permission-fullscreen.md, ui/packages/app-shell/src/views/studio-design/accessPillarRedirect.ts, accessPillarRedirect.test.ts, StudioDesignSurface.tsx, StudioPermissionSetPage.tsx, StudioPermissionSetPage.fullScreen-36905.test.tsx, StudioOwdOverviewPage.tsx, StudioMetadataArea.tsx, StudioMetadataArea.routes-28561.test.tsx, metadataArea.ts, studioAddress.ts, studioAddressTable.ts, StudioDesignSurface.pillarNavGuard.test.tsx, StudioDesignSurface.accessSegment-12452.test.tsx, StudioDesignSurface.accessPairCopy-29674.test.tsx, ui/packages/app-shell/src/views/metadata-admin/ResourceListPage.tsx, PermissionMatrixEditor.tsx, ui/apps/console/src/components/StudioRoute.metadataArea-28561.test.tsx, ui/packages/i18n/** (empty diff), the file list of all 58 paths + read, not reviewed: AccessPillar.tsx at the merge base, ui/packages/app-shell/src/chrome/unsavedEdits.ts, views/studio-detail/StudioDetailHeader.tsx, views/metadata-admin/ResourceDetailHeader.tsx, .changeset/config.json, ui/packages/app-shell/package.json, ui/apps/console/package.json

Full review of this head, made without the L1's conclusions. Inputs: git diff 709d2c1e6aec..bcde26a0 (the merge base with origin/main; 58 files, +2,275 −2,678), the files at this head, AccessPillar.tsx at the merge base, the PR body's declaration lines, and the 62 check-runs on this head (47 success, 15 skipped, 0 failed or pending). The face comes from the recogniser: the paths decide no face, and the changeset's Clause-②: no has no arm, so this is the declaration face at TIER_DEFAULT. It is owed here because the PR is Tier H by size. git merge-tree --write-tree origin/main bcde26a0 exits 0 against origin/main 753aae6 (K = 9).

① Derived judgments

Published @object-ui/* exports and types: none moved. Every source change is in @object-ui/app-shell, which is "private": true. That includes the dropped AccessPillar re-export from StudioDesignSurface.tsx, the new PermissionStudioFrame / PermissionStudioHeaderParts types and the new address helpers. The published @object-ui/console exports only ./plugin and bundles the SPA. The ui/packages/components and ui/scripts edits each drop one registry row from a test file.

i18n: git diff 709d2c1e..bcde26a0 -- ui/packages/i18n is empty, so no key in the released @object-ui/i18n@18.6.0 is removed or renamed. The keys the new code reads are all present at head.

api-surface baselines: the only ones are packages/spec/api-surface*. The PR touches nothing in packages/spec, so it owes no baseline.

Accept sets: no change. No schema, spec or authorable key moves. The route table grows by one segment (/studio/PACKAGE/owd, which used to be the pillar-not-found page). /studio/PACKAGE/metadata/permission/NAME now draws in place instead of redirecting to the pillar. Both changes are additive for users, and neither is a published accept set.

Redirects, judged against what the retired pillar actually wrote to the address bar:

  • A base set's ?surface=permission:NAME, the overview's ?surface=owd:overview, a bare /access, and the extra parameters carried along: correct. accessPillarRedirect.ts is pinned by its unit cases. The SDS Navigate branch is pinned through the real surface by accessSegment-12452 (bare /access lands on /metadata/permission).
  • The old history address /metadata/permission/NAME/history goes to ?tab=history on a package leg, and ~all keeps the standalone page. Pinned in StudioMetadataArea.routes-28561.

Unsaved-edits guards:

  • The menu, Back to app and shell departures from a dirty set or dirty overview rows are pinned on the real stack in pillarNavGuard, each with a CONTROL:
    • menu leave: cancel keeps the edit
    • the overview entry: asks once
    • dirty overview rows: they reach the seam through onDirtyChange={setPillarDirty}
    • shell departures: asked once even though two parties register
  • × and ‹ › go through confirmUnsavedLeave in StudioDetailHeader (outside the diff, unchanged), and the matrix registers with the seam.
  • Removing any of the wiring above turns a pinned case red.

M1 (must-fix) — the old address of a set that a read-only base's pair adds redirects to the base, not to the set.

  • On a read-only base with a .custom pair, the retired pillar listed the pair's sets in the base's rail and opened them at the pair, writable (AccessPillar.tsx at the merge base, :190-196, :346-380).
  • It mirrored the open set into the base's own address, /studio/BASE/access?surface=permission:COPY. That includes every "New similar" copy that landed in the pair, because the pillar kept those on the base's surface (:548-554).
  • accessPillarRedirect(BASE, …) sends that address to /studio/BASE/metadata/permission/COPY?package=BASE.
    • areaLocationRedirect leaves it alone, because ?package= equals the segment.
    • AreaItemOpen mounts the page with the base's read-only host.
    • So the set is read in the base's layered stack, which does not hold it, instead of writable at the pair.
  • The PR's own pin of this address, accessPairCopy-29674, used to open exactly /studio/BASE/access?surface=permission:COPY and expect the pair's copy, writable. The PR repointed it to the pair's new address instead of keeping the old address as a redirect case.
  • So "Old addresses keep working: … redirects to the set's address" (changeset) is false for this class of bookmarks.
  • Fix: resolve a pair-held name to the pair's address when redirecting. SDS already holds pairId and the base's customization marks. Pin it by keeping the old /studio/BASE/access?surface=permission:COPY entry as a redirect case in accessPairCopy-29674, with a CONTROL that the base's own set stays on the base.

S1 (should-fix) — the sharing chip's leave guard is pinned by no test that fails when it is reverted.

  • The guard: StudioPermissionSetPage.tsx:443-445 wraps the matrix's onOpenOwd in confirmUnsavedLeave.
  • Why nothing else catches its removal:
    • The chip is a role="button" badge that calls navigate(), not a link, so the shell's link-click listener never sees it.
    • SDS has no router blocker.
  • The only chip case, fullScreen-36905.test.tsx:498, clicks a clean matrix with window.confirm stubbed to true. Without the wrap that case stays green, and a dirty matrix's edits are dropped without a question.
  • The retired pillar's version (confirmDiscardEdits, base :1036-1042) was not pinned either, but this PR rewrites the path into a cross-route navigation and the changeset claims the guard.
  • Fix: add a dirty-matrix chip case to the real-stack set-page or pillarNavGuard harness:
    • cancel stays on the set and keeps the edit
    • confirm lands on /studio/PACKAGE/owd?object=…
    • CONTROL: clean, no question

N1 (nit) — the ?surface= redirects are pinned as a pure function plus one bare-/access case through the surface. No surface-level case shows that currentSearch reaches accessPillarRedirect. The M1 pin would cover it.

② Semver level

'@object-ui/app-shell': patch with Clause-②: no and Metadata-protocol: none, line-initial in both the changeset and the PR body: right.

  • none takes patch (AGENTS.md, changeset rule 3).
  • No published export, prop or locale key moves, so no other package is owed an entry.
  • updateInternalDependencies: "patch" carries the bump to @object-ui/console, which bundles the SPA.
  • No BREAKING banner or ADR-0087 marker is owed.
  • The changeset's closing sentence on exports and locale keys is true at this head. Its redirect sentence is not (M1).

Clause-②: no holds, and so does Metadata-protocol: none.

③ Boundary flags

  • PR author objectstack-fleet[bot]: no relay note owed.
  • SQL push-down: no server or query code is in the diff. The page reads the package's sets and drafts through the metadata client and tests membership by name, with no id materialisation or in-app join. No finding.
  • Permission gates: unchanged in substance. writable in the matrix is untouched. New similar on the page and on the list's base rows is gated on a read-only host, canAuthor and not walled. The person's Discard draft carries no canAuthor gate, which matches the retired pillar.
  • Deleted tests: accessTabs-12456 and the discard half of accessCreateTaken-26836 are re-homed in fullScreen-36905 against the real page. The rail-only files went with the rail.
  • Browser Back is unguarded by design (epic decision 12). The changeset and the page's doc both say so.

Implemented-by: claude/issue-36905-permission-fullscreen
Reviewed-by: fresh subagent of session_01QSeKYpEsWWE9Y5YtSsDgqZ

VERDICT: FAIL

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

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

This supersedes the seat's ACCEPT 7150757365 at this head. The PR is Tier H by size, so its hand-off needs a same-head contract review PASS. That review (7150969735, TIER_DEFAULT) is a FAIL. The seat checked its M1 against the diff and it holds.

  • M1 (must-fix) — Old bookmarks of a set that a read-only base's .custom pair adds no longer work. That includes every "New similar" copy. The retired pillar opened such a set at the pair, writable. Its old address /studio/BASE/access?surface=permission:COPY now redirects to /studio/BASE/metadata/permission/COPY?package=BASE, which is the base's read-only stack, and that stack does not hold the set. The PR repointed StudioDesignSurface.accessPairCopy-29674 from that old address to the pair's new one, so the regression has no test. Fix: resolve a pair-held name to the pair's address when redirecting. Keep the old address as a redirect case in accessPairCopy-29674, with a CONTROL that a base-held set stays on the base.
  • S1 (should-fix) — The sharing chip's leave guard (StudioPermissionSetPage.tsx:443-445) has no test that fails when it is removed; the only chip test uses a clean matrix. Add a dirty-matrix case: the chip asks first and stays on decline, and the ablation turns it red.
  • N1 — No full-surface test shows the URL's query reaching the redirect.
  • Everything else in 7150757365 stands: M1–N10 of the first round are closed, the i18n diff is empty, the merge is clean, 0 failed check-runs, K 8.

Next: fix M1 and S1. The seat then reads the delta and runs a delta contract review at the new head, then hands the PR to the maintainer. It does not self-land.

…s at the pair (#36905)

The retired Access pillar listed, on a read-only base, the sets its .custom
pair adds and opened them at the pair, writable, while the address kept
naming the base. The redirect now reads the base's and the pair's sets
(published and draft) for an address that names a set, and sends a set
only the pair holds to the pair's address.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYm19REy32icNSdWEsv
…the old pillar address's query reaches the redirect (#36905)

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

Finalized head for delta L1 + delta contract review · 2026-11-25T03:35Z · 79987757b · zone a4-S (#36905), rework round 2 on L1 7150986891 / contract FAIL 7150969735

  • CI on 79987757b: 47 success, 15 skipped, 0 failed.
  • Size: +2,547 / −2,676. Tier H by size.
  • os-dev report: Studio 重构(3-3):权限集矩阵在元数据地址上右侧全屏打开,组织级默认共享总览有自己的路由,权限集类型切到新地址 #36905 comment 7152033881 (cloud session session_01QSeKYm19REy32icNSdWEsv). Declared deviations: none.
  • M1: the retired pillar's address for a set held by the .custom pair of a read-only base (every 「New similar」 copy) now opens at the pair. The new accessPillarLanding.tsx reads the sets of both the base and the pair, published and draft. accessPillarSetHolder picks the base when it holds the name, otherwise the pair when it does, otherwise the base. If the pair read fails, the pair lists none of its sets. If the base read fails, the redirect stays on the base. accessPillarRedirect gains an optional setHeldIn.
  • S1: three dirty-matrix cases for the sharing chip's leave guard. N1 is also addressed (see the report).
  • Open question from the dev, on mechanism (for L1/contract review, not for the maintainer): which pair does the redirect use? The dev chose the spec's pairing rule (customizationPackageId) and reads both packages, instead of the surface's pairId. pairId is set only after the package list and its manifests answer, and a failed manifests read leaves it unset for good, which would hold the redirect. The dev recommends A: keep the spec rule, which never hangs. B: gate on readOnly + pairId with a timeout fallback.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

Contract review

Served-tier: TIER_DEFAULT
Head-sha: 79987757b989fffa2dd1f20ff6c78f0d56fd145b
Local-runs: none
Scope: the delta bcde26a0..79987757 (7 files, +288 −14): .changeset/36905-permission-fullscreen.md, ui/packages/app-shell/src/views/studio-design/accessPillarLanding.tsx (new), accessPillarRedirect.ts, accessPillarRedirect.test.ts, StudioDesignSurface.tsx, StudioDesignSurface.accessPairCopy-29674.test.tsx, StudioPermissionSetPage.fullScreen-36905.test.tsx, ui/packages/i18n/** (empty diff), the PR body's declaration lines + read, not reviewed: packages/spec/src/kernel/customization-package.ts (customizationPackageId), AccessPillar.tsx at the merge base (:184-196, :340-385), StudioDesignSurface.tsx:380-445 (pkgWritable, pairId), ResourceListPage.tsx:296 and useListOrderedNames.ts:100 (how the list of sets derives the pair)

Delta review of this head on the FAIL at bcde26a08ea84574b3d8890889d710dc8f37ef4e (7150969735), made without the L1's conclusions. Inputs: git diff bcde26a0..79987757, the files at this head, the retired pillar at the merge base 709d2c1e6aec, the PR body, the zone's report (#36905, 7152033881, 2026-11-25T03:34Z), and the 62 check-runs on this head (47 success, 15 skipped, 0 failed or pending). The delta is two single-parent commits (718a9f82, 79987757) and holds no merge. The face is unchanged: the paths decide no face and the changeset's Clause-②: no has no arm, so this is the declaration face at TIER_DEFAULT. It is owed because the PR is Tier H by size (now 59 files, +2,547 −2,676). git merge-tree --write-tree origin/main 79987757 exits 0 against origin/main 3570b81 (K = 14).

① Derived judgments

Published @object-ui/* exports and types: none moved. The delta's source is in @object-ui/app-shell ("private": true). accessPillarSetName, accessPillarSetHolder, AccessPillarLanding and the optional setHeldIn on accessPillarRedirect are package-internal. The runtime import of @objectstack/spec/kernel is already a declared dependency (package.json:97), and ResourceListPage.tsx imports it at runtime too.

i18n: git diff bcde26a0..79987757 -- ui/packages/i18n and git diff 709d2c1e..79987757 -- ui/packages/i18n are both empty. The ui/packages/i18n tree at this head is the merge base's (d70725f4), so no key in the released @object-ui/i18n@18.6.0 (958ee03) is removed or renamed by this PR. The delta reads no new key.

api-surface baselines and accept sets: no change. Nothing in packages/spec moves, and no schema or authorable key moves.

M1 (closed) — the old address of a set a read-only base's pair adds now opens at the pair.

  • AccessPillarLanding (accessPillarLanding.tsx) replaces the bare Navigate in StudioDesignSurface.tsx:1643-1648. For an address naming a set, it derives the pair with customizationPackageId(packageId). It then reads both packages' sets, published and draft. accessPillarSetHolder picks the base when its sets hold the name, else the pair when the pair's do, else the base. This is the retired pillar's rule (AccessPillar.tsx:357-385 at the merge base: the pair's sets the base's list does not hold).
  • accessPillarRedirect(…, { setHeldIn }) then writes /studio/PAIR/metadata/permission/COPY?package=PAIR. The overview and the bare address stay on the base and redirect at once, with no read.
  • Pinned through the real surface in accessPairCopy-29674 :358-406:
    • the old /studio/BASE/access?surface=permission:COPY lands on the pair's address, reads Custom, and an edit saves at the pair
    • a pair draft lands there too
    • CONTROL: the base's own set's old address stays on the base and reads Package
  • The unit cases in accessPillarRedirect.test.ts :49-78 pin the holder, including both failed reads.
  • The zone reports an ablation (holder ?? packageId → packageId): 3 red, CONTROL green, restored. The changeset's redirect sentence now names the pair case, and it is true at this head.

The mechanism (spec rule vs. the surface's pairId), judged from the code:

  • pairId (StudioDesignSurface.tsx:436-441) is null while the manifests read is out. It also stays null when that read fails, because pkgWritable goes null, readOnly goes false and pairId goes null. It is also null on a writable package and on a read-only base with no listed pair.
  • So a landing that waited for pairId would hang on a failed read and on every pair-less base. A landing that did not wait would race the read and send the copy to the base.
  • The spec rule is synchronous and never pending. It is the derivation the list of sets already uses (ResourceListPage.tsx:296, useListOrderedNames.ts:100). Whether the pair exists is answered by the set reads themselves.
  • The implemented choice is the right one.

Loading and failure states:

  • permissionSetNames catches every failure into null, so the Promise.all always settles and holder is always set. Then Navigate renders.
  • While the two reads are out, the landing renders nothing: no spinner, and no state that can stay up past the reads.
  • A failed base read lands on the base, whose page reports the failure.
  • A failed pair read lands on the base, as the pillar listed none of the pair's sets on a failed pair read.
  • The key is ${packageId}${currentSearch}, so a new address remounts and cannot keep a stale holder.
  • It never redirects wrong on answered reads:
    • a name both packages hold stays on the base, CONTROL pinned
    • on a writable package, the base holds its own sets, and a pair that does not exist answers empty or fails, so the set stays on the base
    • a .custom address derives no pair and redirects at once

S1 (closed) — the sharing chip's leave guard is pinned with a dirty matrix.

  • fullScreen-36905 :517-551:
    • declined: window.confirm is asked once with engine.edit.unsavedLeaveConfirm, the address stays on the set and the edit is kept
    • confirmed: lands on /studio/PACKAGE/owd?object=crm_lead
    • CONTROL: a clean matrix asks nothing
  • The zone reports an ablation of the confirmUnsavedLeave wrap: 2 red, CONTROL green, restored.

N1 (closed) — accessPairCopy-29674 :385-393 runs &ref=bookmark through the real surface to /studio/PAIR/metadata/permission/COPY?ref=bookmark&package=PAIR, so currentSearch reaches the redirect.

N2 (nit) — the landing's failed-read path is pinned only through the pure accessPillarSetHolder. No case drives a rejecting client.list through AccessPillarLanding. If the try/catch in permissionSetNames were dropped, the voided Promise.all would reject and the landing would stay blank. The code is right at this head.

② Semver level

'@object-ui/app-shell': patch with Clause-②: no and Metadata-protocol: none, line-initial in both the changeset and the PR body: still right. The delta adds no published export, prop or locale key, so no other package is owed an entry and no BREAKING banner or ADR-0087 marker is owed. The changeset's redirect sentence and its closing sentence on exports and locale keys are both true at this head.

Clause-②: no holds, and so does Metadata-protocol: none.

③ Boundary flags

  • PR author objectstack-fleet[bot]: no relay note owed.
  • SQL push-down: no server or query code in the delta. The landing reads the two packages' set lists through the metadata client and tests membership by name, with no id materialisation or in-app join. It reads only for an address naming a set (four reads, on a retired address).
  • Permission gates: unchanged. The pair's set opens writable at the pair, as the pillar opened it; the server's write gate stays the authority. A base-held set stays read-only on the base.
  • Deleted tests: none in the delta. The repointed accessPairCopy-29674 cases stay, and the old address is pinned again beside them.
  • Nothing new: the delta's production change is the landing, the holder decision and the optional setHeldIn. Everything else is tests, the changeset sentence and comments.

Implemented-by: claude/issue-36905-permission-fullscreen
Reviewed-by: fresh subagent of session_01QSeKYpEsWWE9Y5YtSsDgqZ

No must-fix, no should-fix.

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

席位核对 — ACCEPT · L1 · head 79987757b989fffa2dd1f20ff6c78f0d56fd145b · 2026-11-25T03:41Z

This is the delta L1 on the REWORK at bcde26a0 (7150986891). It reads the zone's report on #36905 (7152033881, 2026-11-25T03:34Z), and the seat checked each item against git diff bcde26a0..79987757 (7 files, +288 −14). It supersedes that REWORK.

  • M1 closed. The old address of a set a read-only base's .custom pair adds, "New similar" copies among them, opens at the pair, writable.
    • AccessPillarLanding (accessPillarLanding.tsx, new) takes the place of the bare Navigate (StudioDesignSurface.tsx:1643-1648). For an address naming a set, it reads the base's and the pair's sets, published and draft.
    • accessPillarSetHolder picks the base when it holds the name, else the pair when the pair does, else the base. That is the retired pillar's rule (AccessPillar.tsx:357-385 at the merge base).
    • accessPillarRedirect(…, { setHeldIn }) writes /studio/PAIR/metadata/permission/COPY?package=PAIR.
    • The old address is pinned again in accessPairCopy-29674 :358-406, through the real surface:
      • /studio/BASE/access?surface=permission:COPY lands on the pair's address, reads Custom, and an edit saves at the pair
      • a pair draft lands there too
      • CONTROL: the base's own set's old address stays on the base and reads Package
    • The holder's unit cases, including both failed reads, are at accessPillarRedirect.test.ts :49-78.
    • The zone's ablation (holder ?? packageId → packageId) turned 3 cases red, CONTROL green, restored.
  • S1 closed. fullScreen-36905 :517-551 pins the sharing chip on a dirty matrix:
    • declined: asked once with engine.edit.unsavedLeaveConfirm; the page stays on the set with the edit
    • confirmed: lands on /studio/PACKAGE/owd?object=crm_lead
    • CONTROL: a clean matrix asks nothing
    • The zone's ablation of the confirmUnsavedLeave wrap turned 2 cases red, CONTROL green, restored.
  • N1 closed. accessPairCopy-29674 :385-393 carries &ref=bookmark through the real surface to …/permission/COPY?ref=bookmark&package=PAIR.
  • Mechanism: the spec rule (customizationPackageId), as implemented. The seat agrees with the dev, for the reason the dev gives.
    • The surface's pairId (StudioDesignSurface.tsx:436-441) is null while the manifests read is out. It also stays null when that read fails (pkgWritable goes null, so readOnly goes false), on a writable package, and on a read-only base with no listed pair.
    • So a landing that waited on pairId would hang on a failed read and on every pair-less base. One that did not wait would race the read and send the copy to the base.
    • The spec rule is synchronous. It is how the list of sets already derives the pair (ResourceListPage.tsx:296, useListOrderedNames.ts:100). The set reads themselves answer whether the pair exists.
  • The implemented landing does not hang or redirect wrong.
    • permissionSetNames catches every failure into null, so both reads always settle and the landing always navigates. While they are out it renders nothing: no spinner.
    • A failed base read lands on the base, whose page reports the failure. A failed pair read lands on the base, as the pillar listed none of the pair's sets then.
    • A name both packages hold stays on the base (CONTROL). A writable package's sets stay on it. A .custom address derives no pair and redirects at once. The key remounts on a new address.
  • N2 (nit). The failed-read path is pinned only in the pure holder: no case rejects client.list through the landing. Noted; it does not block.
  • Merges: the delta is two single-parent commits (718a9f82, 79987757) with no merge in it. git merge-tree --write-tree origin/main 79987757 exits 0 against origin/main 3570b81.
  • i18n: ui/packages/i18n at this head is the merge base's tree (d70725f4). The diff against 709d2c1e is empty, so nothing in the released @object-ui/i18n@18.6.0 is removed or renamed.
  • New items: none. The delta's production change is the landing, the holder and the optional setHeldIn, all in private @object-ui/app-shell. The rest is tests, the changeset's redirect sentence (now true) and comments.
  • Body: Clause-②: no and Metadata-protocol: none hold, line-initial. Item 5 and the test list describe the delta accurately, and ## 维护者速读 still holds.
  • Gates: check-runs at head are 62: 47 success, 15 expected skip (path filters and opt-in), 0 failed, 0 pending.
    • Test UI 1-16/16 are green.
    • So are all Lint and Type Check families, Check Changeset, the PR-body guards and the Governed Surface Queue Guard.
  • K: 14 (709d2c1e..origin/main 3570b81, first-parent).
  • Size: +2,547 / −2,676 = 5,223 changed lines across 59 files (API). Nothing is generated.
  • Contract review: the same-head delta contract review (TIER_DEFAULT) is a PASS and closes M1 and S1.
  • Hand-off: this card is Tier H by size (ruling 7145880574). With this ACCEPT and the same-head contract review PASS, the seat hands it to the maintainer for review and merge. The seat does not self-land.

No must-fix, no should-fix.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

维护者速读

  • 用户能看到什么变化:管理员在 Studio 里点开一个权限集,右侧整块显示权限矩阵;左上角 × 回到权限集列表;页签里能看引用、历史和源码。「谁能看到哪些记录」(组织级默认共享)有了自己的页面,在左侧菜单「访问」里。旧书签自动跳到新地址。
  • 为什么做:Studio 重构专题(专题:Studio 重构——某个应用的开发界面:左侧按类型分组的菜单 → 列表 → 右侧全屏详情(去掉顶部分区) #36890)第 3-3 项,让权限集和其它元数据一样,从列表点开、全屏编辑。
  • 出错会怎样:有未保存的修改时,点 ×、切菜单、刷新或关标签页都会先问(浏览器后退键不问)。AI 留下的草稿有提示,可一键放弃。已发布的 15 条界面文案原样保留,没有删。自定义包里的权限集的旧书签,会跳到自定义包里可写的那一份(第 2 轮修好并有测试)。本改动可直接撤回。
  • 要你做什么:审核并合并。共 5,223 行,超过 3,000 行,主要是删掉旧的权限侧栏和只为它服务的测试;按你的安排,开发完等你审。契约审核复审 PASS:记录 7152146345,Head-sha 79987757b989fffa2dd1f20ff6c78f0d56fd145b;席位核对 ACCEPT:7152152994。0 个失败检查。

Hand-off · 2026-11-25T03:41Z · @os-zhuang — PR #37089 (card #36905) is ready for your review. Tier H by size (5,223 changed lines; ruling 7145880574). Seat ACCEPT 7152152994 and contract review PASS 7152146345 (TIER_DEFAULT), Head-sha 79987757b989fffa2dd1f20ff6c78f0d56fd145b; 0 failed check-runs. After your approval the seat lands it.

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 25, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 25, 2026 03:42
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit 886e970 Nov 25, 2026
68 checks passed
@os-zhuang
os-zhuang deleted the claude/issue-36905-permission-fullscreen branch November 25, 2026 04:04
os-justin pushed a commit that referenced this pull request Nov 25, 2026
#37089 (the permission designer) landed first: one designer-page list now
holds both types, AREA_DESIGNER_PAGE_TYPES = ['permission', 'object'].

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYoFqGdRM9Qmg7M2o2B
os-justin pushed a commit that referenced this pull request Nov 25, 2026
…r beside the flow designer)

Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F
Co-authored-by: Claude <noreply@anthropic.com>
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 pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue 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