Skip to content

fix(app-shell): every door into a package's Studio opens its overview - #38501

Merged
objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/issue-38392-studio-doors-overview
Nov 29, 2026
Merged

objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/issue-38392-studio-doors-overview

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Leehom · project thread
Fixes #38392
Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到的变化:搭建者从 ⌘K、应用里的「在 Studio 中设计」、空菜单的「在应用搭建中打开」、设置 → 软件包这几个入口打开软件包时,以前先到对象列表,现在先到「概览」页。
  • 为什么做:按你对「所有入口都先进概览页」的决定(App Studio 概览页这条线的收尾),让每个入口落在同一个页面。
  • 出错会怎样:最坏是某个入口仍落在对象列表或概览页,不丢数据;对象列表的地址照常可用,可以直接撤回本改动。
  • 要你做的:无。

What changes

Every door that opens a package's Studio now builds studioPackageOverviewPath (/studio/PKG/overview) instead of studioHomePath (/studio/PKG/data, the object list). Ruling record 7247357556 on #37958 (maintainer 「OK」 to 「⌘K、应用里的「在 Studio 中设计」、空菜单和设置页这几个入口,现在打开的还是对象列表。要不要都改成先进概览页?」).

Door census on main d89d3e23 (every non-test caller of studioHomePath under ui/packages/app-shell/src, measured by grep and now held by the new census test):

Door Where (symbol) Before After
1. ⌘K package entries CommandPalette.tsx useStudioPaletteEntries /studio/PKG/data /studio/PKG/overview
2. An app's Design in Studio appRoute.ts appStudioDesignPath, also the bare-app / system / interface-list fallback of appStudioRoutePath (AppHeader, ShellPageActions, PageView) /studio/PKG/data /studio/PKG/overview
3. Empty menu "Open in App Studio" AppNoAccessEmptyState.tsx (app-empty-menu-open-studio) /studio/PKG/data /studio/PKG/overview
4. Setup → Packages detail "Open in Studio" PackagesPage.tsx (pkg-detail-open-in-studio) /studio/PKG/data /studio/PKG/overview
5. Setup → Packages landing after New Package PackagesPage.tsx CreatePackageDialog onCreated /studio/PKG/data /studio/PKG/overview
6. Setup → Packages customizations "Customize in Studio" PackageCustomizationsPanel.tsx (pkg-detail-customize) /studio/BASE/data /studio/BASE/overview
  • PackagesPage.tsx loses its local const studioPackagePath = (id) => studioHomePath(id), which shadowed the exported builder of the same name.
  • Docblocks that still said the object list (appRoute.ts, the palette's Studio entries, the empty state, the customizations panel, studioHomePath in studioAddress.ts) now say 概览.
  • /studio/PKG/data stays a working address for anyone who wants the object list; studioHomePath keeps its builder and route.
  • Not changed, deliberately: setupMetadataRedirect.ts (a retired Setup bookmark that lands on the objects it named, not a door); the pair's bare /studio/BASE.custom, which already lands on its base's 概览 since feat(studio): App Studio's package overview gets Export as a button, a Publish history tab with the revert, and is where opening a package lands #38318; and the copilot / MCP review link studioChangesReviewPath (/studio/PKG/data?changes=review), see Acceptance notes.
  • Copy: the empty menu's description ("Create objects for this app in App Studio and they join its menu, or add entries in Design layout."), "Open in App Studio" and "Open this app in App Studio, where its items are customized" all stay true on 概览, so no string changes and no locale file is touched.

ADR-0084 row owed (ask 3)

Proposed text for the lander's ADR revisions row (#38438), to be added under ADR-0084's 2026-11-28 amendment, item (3):

(Amended 2026-11-29, card #38392, ruling record comment 7247357556, the maintainer's 「OK」 to 「⌘K、应用里的「在 Studio 中设计」、空菜单和设置页这几个入口,现在打开的还是对象列表。要不要都改成先进概览页?」: one landing for every door is ruled. Every door that opens a package's Studio lands on /studio/PKG/overview, not on the object list: the command palette's (⌘K) package entries, an app's design-in-Studio entry (ui/packages/app-shell/src/utils/appRoute.ts#appStudioDesignPath, also the bare-app fallback of appStudioRoutePath), the "Open in App Studio" of an app's empty menu, and Setup → Packages' "Open in Studio", its landing after New Package and its customizations section's "Customize in Studio". The pair's bare address /studio/BASE.custom, landed by #38318, lands on its base's 概览 and is covered by this ruling. /studio/PKG/data stays a working address for the object list.)

Tests

  • Re-pointed every pin of the old targets to /overview: appRoute.test.ts (door 2, five assertions), CommandPalette.studioScope-11863.test.tsx and StudioPaletteGroups.surfaceScope-36900.test.tsx (door 1), AppNoAccessEmptyState.emptyMenu-36748.test.tsx (door 3), PackagesPage.installedAppsUpdates-34722.test.tsx (doors 4, 5 and 6), PackageCustomizationsPanel.test.tsx (door 6), and the create harness in PackageFormDialog.newAppStep-36748.test.tsx (it mounts CreatePackageDialog as Setup → Packages does).
  • New studioDoorsOverview-38392.test.ts: (1) parses every non-test source of @object-ui/app-shell and refuses any studioHomePath reference outside the two files that mean the object list (an alias counts), with a control that the census sees those two; (2) one case per door (6) that finds the door's own studioPackageOverviewPath(...) call inside the element, function or handler that is the door.
Local readings at head 7be2d5f (worktree off main d89d3e2)
  • Build closure pnpm turbo run build --filter='@object-ui/app-shell^...' --concurrency=2: 72/72 tasks, lock VERDICT command-exit 0.
  • Door and pin files (12 files, incl. studioAddress*.test.ts, SidebarItemMenu.designFollowsPackagePosture-12615, PageView.editInStudioOpensStudio-12540): Test Files 12 passed (12), Tests 206 passed (206).
  • Narrowed @object-ui/app-shell run, every test file naming a touched door, component or builder (grep for AppNoAccessEmptyState, PackagesPage, PackageCustomizationsPanel, appStudioDesignPath, appStudioRoutePath, studioHomePath, CommandPalette, StudioPaletteGroups and the door test ids): Test Files 142 passed (142), Tests 1565 passed (1565). Declared narrowing: the whole package (2462 test files) is left to CI's Test UI; vitest related over the changed sources ran out of heap at 4096 MB building the import graph.
  • pnpm --filter @object-ui/app-shell run type-check (src and tsconfig.test.json): lock VERDICT command-exit 0.
  • Ablation 1 (palette door rewritten to the object list on disk, scripts/ablation-replace.mjs): the census door case and CommandPalette.studioScope-11863 "opens a package on its 概览 Overview" both red (expected '/studio/com.acme.hr/data' to be '/studio/com.acme.hr/overview'); restored, blob equals HEAD.
  • Ablation 2 (a studioHomePath alias added to PackagesPage.tsx): census case 1 red, naming the two references; restored, blob equals HEAD.
  • Derived gate families (dispatch-gates --commands, 40): all exit 0; --ran reconciliation "40 derived, 40 run, 0 NOT-MEASURED, 0 UNRUN" (a derived zero, every exit recorded). Also pnpm --dir ui run check:new-line-citations: 0 new citations.

Acceptance notes

  • Missed by the PM census, not changed here (out of this card's file surface, and a shared server contract): the copilot's "review changes" link studioChangesReviewPath builds /studio/PKG/data?changes=review, and the server prints the same address (packages/types/src/studio-review-links.ts, used by the MCP authoring tools and os meta register --draft). It opens the Changes drawer over the object list. Whether that link is a "door that opens a package's Studio" under the ruling is put to the seat in the report; 概览 has a Pending tab (?tab=pending) that could be its target.
  • Out of scope: studioChangesReviewPath (the review-changes deep link) is unchanged (seat reading, 2026-11-29T06:12Z: not a door under ruling 7247357556, no new card).
  • Overlap: node scripts/pm/overlap-check.mjs reports a textual conflict with feat(app-shell): select loose items on Studio's cross-package list and move them into a package; the Packages page counts them (#38150 PR-A2) #38389 in PackagesPage.tsx: feat(app-shell): select loose items on Studio's cross-package list and move them into a package; the Packages page counts them (#38150 PR-A2) #38389 inserts an import directly after the studioHomePath import line this PR replaces. One-line resolution for whichever lands second (keep both imports).
  • SidebarAppMenu.tsx reads appStudioDesignPath only to gate Design layout on the package's posture (useStudioEntryGate reads the package id off the path); it never navigates there, and studioPathPackageId parses the /overview path the same way (SidebarItemMenu.designFollowsPackagePosture-12615.test.tsx green).

Verification

Files to read first, by risk:

  1. ui/packages/app-shell/src/utils/appRoute.ts — appStudioDesignPath is also the fallback of appStudioRoutePath, so the app header's bridge moves on the app root, system routes and interface lists.
  2. ui/packages/app-shell/src/views/metadata-admin/PackagesPage.tsx — the shadowing local const removed; both doors now call the builder directly.
  3. ui/packages/app-shell/src/views/studio-design/studioDoorsOverview-38392.test.ts — the census and its allowlist.

Two-minute check: pnpm --dir ui exec vitest run packages/app-shell/src/views/studio-design/studioDoorsOverview-38392.test.ts — expect 8 passed. In the running console as a workspace admin: press ⌘K in Studio, pick a package; the address reads /studio/PKG/overview and 概览 is shown.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FEkQ5orhB2g5mxU6E4fciu

The command palette's package entries, an app's Design in Studio, the
empty menu's Open in App Studio, and Setup -> Packages' Open in Studio,
create landing and Customize link now build studioPackageOverviewPath
instead of the object list address.

Claude-Session: https://claude.ai/code/session_01FEkQ5orhB2g5mxU6E4fciu
Co-Authored-By: Claude <noreply@anthropic.com>
Re-point the tests that pinned the object list address and add a census
that refuses studioHomePath outside the files that mean the object list.

Claude-Session: https://claude.ai/code/session_01FEkQ5orhB2g5mxU6E4fciu
Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/m 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 29, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-project-manager · session_01FEkQ5orhB2g5mxU6E4fciu

Final green head: 7be2d5f1d9e148fcdc5ee73ded4c3900d978ede6 · read 2026-11-29T06:31Z

L1 requested from thread L1-b.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-project-manager · session_01FEkQ5kjJ6Qm1z2mRox4ZbB

席位核对 — ACCEPT · L1-b · area o5-ux · Head-sha 7be2d5f1d9e148fcdc5ee73ded4c3900d978ede6 · 2026-11-29T06:33Z

First L1 record on this PR, a full review. Two things are owed before landing (see the end): a merge of main (the PR is mergeable_state: dirty), and the ADR-0084 row.

Checklist (l1-face --pr 38501 at 7be2d5f: CLEAN, 13 items)

  • Shape: open draft → main, 15 files +266/−52, Fixes #38392. That is right only if the lander does the ADR-0084 row (ask 3, below) in the same act. No other card is bound.
  • Scope: the six doors, their docblocks, the re-pointed pins and one census test, all on the claim (7251024061). Clause-②: no · Metadata-protocol: none. The changeset is @object-ui/app-shell patch: the package is private, l1-face reads no published package touched, and the root changeset follows precedent. Skills-docs: is not owed.
  • Gates at this head: 40 success, 15 expected skip, 0 failed, 0 pending. Lint & Repo Gates and TypeScript Type Check are both success. mergeable_state: dirty. The body names the textual conflict with feat(app-shell): select loose items on Studio's cross-package list and move them into a package; the Packages page counts them (#38150 PR-A2) #38389 in PackagesPage.tsx (keep both imports).
  • Contract face: none (no spec, governed path or declaration), so no L2 is owed. I confirm the area's reading. ③ SQL push-down does not apply.

My readings, at this head

  • The census holds on the tree. git grep 'studioHomePath(' over non-test ui/** now finds only studioAddress.ts (the builder, and studioChangesReviewPath at :324) and setupMetadataRedirect.ts:104. The body excludes both with reasons. The redirect is a retired bookmark that lands on the objects it named, not a door. studioChangesReviewPath is the seat's scope reading of 2026-11-29T06:12Z (not a door under ruling 7247357556, no card), so that residual has its checkable no-defect reason. All six doors call studioPackageOverviewPath directly. Removing the shadowing local studioPackagePath in PackagesPage.tsx removes the second name for the old target.
  • Door 2 reaches further than the bridge. appStudioDesignPath is also the bare-app, system and interface-list fallback of appStudioRoutePath (AppHeader, ShellPageActions, PageView), and appRoute.test.ts pins all five. SidebarAppMenu.tsx only reads the package id off the path (studioPathPackageId parses /overview the same way, and designFollowsPackagePosture-12615 is green). Ruling 7247357556 names 「应用里的「在 Studio 中设计」」, which covers it.
  • Pins: each re-pointed test now asserts /overview. The new census test refuses any studioHomePath reference outside the two object-list files, aliases included, with a control that the census sees those two, and it finds each of the six doors' own call. Two positive controls: ablation 1 (palette door back to /data) reds the census and the palette pin, and ablation 2 (an alias in PackagesPage.tsx) reds census case 1. Both are restored to the HEAD blob. The whole package is CI's Test UI, green at this head.
  • Copy: the three empty-menu and customize strings stay true on 概览, so no locale moves.
  • I read the changeset sentence by sentence: the doors listed (⌘K, Design in Studio with its three fallbacks, the empty menu, and Setup's detail sheet, its create landing and Customize); the bare address and Studio's own entry already landing there; /studio/<package>/data kept. Each sentence matches the diff.

Owed before landing (the area):

  1. Merge main (feat(app-shell): select loose items on Studio's cross-package list and move them into a package; the Packages page counts them (#38150 PR-A2) #38389 is in), resolving the PackagesPage.tsx import line by keeping both imports. The new head owes a delta L1 that reads the merge resolution only; send it to me.
  2. In the landing act, append the body's "ADR-0084 row owed (ask 3)" text to the weekly ADR revisions card ADR revisions, week of 2026-11-29: rolling checklist of ADR text out of step with main (one governed PR) #38438, so that Fixes #38392 delivers ask 3. Done-when names "ADR-0084 records the ruling".

Resolve the PackagesPage.tsx import conflict with the loose-items banner:
keep both imports, drop the studioHomePath import.

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-project-manager · session_01FEkQ5orhB2g5mxU6E4fciu

Final green head: 5b8a7b6ffca304f0f322680e2bf5e67695ee91f8 · read 2026-11-29T06:56Z (supersedes 7be2d5f, L1 ACCEPT 7251926314)

Delta L1 (merge resolution only) requested from thread L1-b.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-project-manager · session_01FEkQ5kjJ6Qm1z2mRox4ZbB

席位核对 — ACCEPT · L1-b · area o5-ux · Head-sha 5b8a7b6ffca304f0f322680e2bf5e67695ee91f8 · 2026-11-29T06:58Z

Delta review after ACCEPT 7251926314, reading the merge resolution only. The merge is 5b8a7b6f = 7be2d5f1 (the accepted head) + main ea82c962 (#38389).

The area may land it (non-governed). The ADR-0084 row still goes on weekly card #38438, as recorded in 7251926314.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-project-manager · session_01FEkQ5orhB2g5mxU6E4fciu

Landing · 2026-11-29T06:58Z · head 5b8a7b6ffca304f0f322680e2bf5e67695ee91f8

Probe Reading
L1 ACCEPT 7251926314 (7be2d5f) + delta ACCEPT 7252182469 (5b8a7b6); no contract face, no L2 owed
Gates 38 success, 13 skipped (check-expected-skips.mjs: OK, exit 0), 0 failing; mergeable clean
Governed check-governed-merges.mjs --pr 38501: NOT governed, 0 of 15 paths; 318 changed lines ≤ 3000
Generated outputs none in the file list (no merge=os-regen path)

State: draft → ready, auto-merge armed (merge queue). On MERGED, the ADR-0084 row from the PR body goes on #38438 in the same act; Fixes #38392 closes the card.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 29, 2026 06:59
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 29, 2026
Merged via the queue into main with commit 5684ee8 Nov 29, 2026
52 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-38392-studio-doors-overview branch November 29, 2026 07:21
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…s five records) (objectstack-ai#38774)

<!-- claude-projects-attribution: {"github_login":"os-support-ai"} -->
_Requested by **Yibo Wang** · [project
thread](https://claude.ai/code/project/chan_01BVUyyPie8gHwoPM18iABwB?thread=cmsg_01BVUyyPie8gHwoPM18iABwBHuLciv5hYVYUu4pypDP48J)_

Part of objectstack-ai#38438

Clause-②: no
Metadata-protocol: none

This pull request carries seven of the card's nine rows. The two
ADR-0161 rows stay on the card; see "Rows not carried".

## 维护者速读

- 用户能看到什么变化:用户无感;只在五份设计记录里补了七条带日期的说明,写明主线现在实际怎么做,原有的决定文字一个字没动。
- 为什么做:属于「每周设计记录修订」滚动清单(11 月 29
日这一周);清单每一行指出一处「记录写的和主线不一致」或「记录留给某项工作回答、那项工作已经做完」,这次把代码已在主线的七行一并补齐。
- 出错会怎样:最坏是某条说明写得不准,照着设计记录干活的人会被带偏;纯文档、只增不删,可以直接撤回,不影响任何功能。
- 要你做什么:请审这七条说明并批准一次(设计记录须由你本人批)。

## What changes

Five ADR files gain seven notes dated 2026-11-30. Every diff line is an
addition: 62 lines added, 0 removed. No original decision text is
rewritten, and no decision changes. Each note follows the note
convention its own record already uses, and each says that the passage
it is read with is left as written.

Each row's "what is true now" was read against the code on `main` before
its note was written. Where a row's wording did not match the tree, the
note says what `main` does; the last column says so and the list under
the table gives the detail.

| ADR · section | Was (the record's words) | Now (what the note records)
| Source PR | Row on the card · result |
|:---|:---|:---|:---|:---|
| ADR-0084 · amendment of 2026-11-28, item (3) | "one landing for every
door is not ruled"; the command palette's package entries, an app's
design-in-Studio entry, the empty menu's entry and Setup's doors "still
open the object list" | One landing is ruled: ruling record 7247357556
on objectstack-ai#37958, the maintainer's 「OK」, quoted with its question. Every door
lands on the package's overview, `/studio/PACKAGE/overview`.
`/studio/PACKAGE/data` stays a working address for the object list. The
review-changes deep link still opens the Changes drawer over the object
list and is read as no door, by a seat reading and not by a ruling |
objectstack-ai#38501 | Card body row and 7252442785 · **written, corrected to the
tree** (two labels, the date) |
| ADR-0084 · the note of 2026-11-29 on the `form` row (near line 219) |
"The same change takes the type off the directory's hidden types and
brings its designer" | True of card objectstack-ai#37087, loose for the change: objectstack-ai#38484
brought the designer, and objectstack-ai#38619, which wrote the row, lists the type
(off the hidden types, a place in the menu) | objectstack-ai#38484, objectstack-ai#38619 |
7258423977 · **written as an added note** (the row says "Reword") |
| ADR-0037 · TL;DR item 2 and the "What already exists" table | "the
streaming build tree (`data-build-progress` parts)", and a table row
that marks "`data-build-progress` stream parts" shipped | The
build-progress stream frame is retired. Its reader left with the build
chat frontend, its producer with the cloud build loop, and its
declaration left `@objectstack/spec/ai`. The upgrade guidance is the
migration entry `ai-build-progress-frame-retired` | objectstack-ai#38398 (reader:
objectstack-ai#37720) | 7250363289 · **written** (one sentence beyond the row) |
| ADR-0150 · the note of 2026-11-26, bullet "Reads stay the missing
name" | "Three reads at `_env` still answer `409` at this head
(`?state=draft`, `?preview=draft`, `?layers=true`), and card objectstack-ai#34261
carries their move to `404`." | The move has landed. For a name only
disabled packages hold, each of the three answers its own `404` and
names no package, on both transports. An enabled package's stored draft
that the plain read does not see keeps the `409` for the two draft reads
| objectstack-ai#38633 | 7259890438 · **written, corrected to the tree** (codes and
callers made exact) |
| ADR-0150 · D4, the engine's flow-map row | The table keys the engine's
flow map by `(package, name)` and says nothing of the status rows read
from it | Each status row carries the `packageId` of the engine slot it
reads, so `(packageId, name)` names one row. The toggle door reads back
the row of the slot it switched, and echoes the request only where the
reading cannot name that flow | objectstack-ai#38652 | 7266385586 · **written** |
| ADR-0085 · the note of 2026-11-27 | "Neither key is in the spec yet:
`ObjectSchema` is strict and refuses both until objectstack-ai#37792 lands
`pinOverview` and objectstack-ai#37802 lands `fieldTabs`." | `pinOverview` is in the
spec, an optional boolean on `ObjectSchema`; `false` means the desktop
full record page never pins. An object extension does not carry the key.
`fieldTabs` is still refused | objectstack-ai#38679 | 7271302663 · **written**, no
`fieldTabs` line |
| ADR-0146 · the note of 2026-11-24 (near line 908) | "A `.custom`
package that is not the object's pair is not applied, and the boot log
names it." | Maintainer ruling 7268226134 on objectstack-ai#36548, item 5, arm (c),
verbatim 「保存和安装都拒绝」. A non-pair `.custom` package that writes
`fieldGroups`, `relatedLists` or `actionLayout` on an object extension
is refused at the save, the restore, the draft promotion, a package
duplicate and marketplace install. Where no door can read the installed
packages, the sentence stands | objectstack-ai#38706 | 7272564306 · **written,
corrected to the tree** (statuses; the duplicate's answer corrected in
patch round 1) |

### Rows not carried

- **ADR-0161, two rows** (Consequences, "The service keeps none of its
own"; K7 components table, "Split algorithm version"). The claim for
this pull request leaves that file out, because pull request objectstack-ai#38764 was
open on the same record when the claim was written. objectstack-ai#38764 merged at
2026-11-30T13:15:16Z, while this branch was being verified, and the
prerequisites both rows name (objectstack-ai#38307, objectstack-ai#38401, objectstack-ai#38375, objectstack-ai#38452) are
merged. Pull requests objectstack-ai#38730 and objectstack-ai#38732 (card objectstack-ai#38692) are still open and
both write ADR-0161, so that record still has other writers. By the
seat's call on the card (comment 7280598106) the two rows stay on objectstack-ai#38438
behind them, and this pull request is `Part of objectstack-ai#38438`.
- **ADR-0085, a `fieldTabs` line.** Its pull request, objectstack-ai#38742, was open
and a draft when this was opened (read at 2026-11-30, head
`59220bf331`). The card says that line follows when it merges.

Every prerequisite of the seven rows is merged on `main`: objectstack-ai#38398,
objectstack-ai#38501, objectstack-ai#38484, objectstack-ai#38619, objectstack-ai#38633, objectstack-ai#38652, objectstack-ai#38679 and objectstack-ai#38706. The newest
comment on the card when this was opened is the claim, 7279134045; a row
added after it is not in this pull request.

### Where a note differs from its row

- **ADR-0084, item (3).** The row names Setup's doors "Open in Studio"
and "Customize in Studio". The labels on `main` are "Open in App Studio"
and "Customize in App Studio", and the note uses them. The proposed text
was dated 2026-11-29; the note is dated 2026-11-30, the day it was
written into the record. The note names the three Setup doors one by one
and says of the review-changes deep link what the row says: no door, by
a seat reading, not by a ruling.
- **ADR-0084, the `form` row.** The row says "Reword". The card's rule
is that a row lands as an added dated note, so the 2026-11-29 note stays
as written and a note under it says which pull request did which half.
- **ADR-0037.** One sentence goes beyond the row: Phase 2's first
invalidation source, the `buildProgress.items` diffs, was the same
signal as the chat held it, and no code under `ui/` holds it any more.
Cut it if the note should carry the row alone. The note also names the
producer's retirement in the cloud repository and what a host does that
still streams a progress part of its own.
- **ADR-0150, the reads.** The row's proposed sentence gives `404` for
`?preview=draft` and `?layers=true`. The note gives the code the tree
answers, `404 RESOURCE_NOT_FOUND`, says that these are the answers to a
caller admitted to the switch, and that a caller who is not admitted
gets the plain read's `404`. It adds two facts from the tree: a
package-less draft is withheld while a disabled package holds the name,
and the layered view answers `404` under the leak guard.
- **ADR-0150, D4.** The note spells out the three cases where the toggle
door still echoes the request. The row's proposed sentence leaves them
out.
- **ADR-0085.** The row offers a "Built by" line in the style of an
earlier note. The note carries it and also restates what `false` does
and why an object extension does not carry the key, both from the row's
own "what is true now".
- **ADR-0146.** The row gives one code for every door. The tree answers
`VALIDATION_ERROR` with status 400 at the save, the restore and the
draft promotion, and with status 422 at marketplace install, with
nothing installed. A package duplicate saves each copied row through the
save door and lists a refused row in its own `failed[]`, with the save
door's sentence and no code, storing nothing for that row. The note says
all three, and that no error code is minted.

## Patch round 1 (head `04cc5911`)

The contract review at `947b7e64` (comment 7280965486) passed with one
should-fix: the ADR-0146 note put `VALIDATION_ERROR` / 400 on the
package duplicate. Commit `04cc5911` corrects this branch's own
2026-11-30 note to the tree (`duplicatePackage` reports the refused row
in `failed[]`) and adds one sentence from item 3 of ruling 7268226134 (a
target whose owner the door does not know is not judged by role). Only
that note moves: +9 / -3 inside it, and the branch is still +62 / -0
against `main`. Dev report: card comment 7281379369. Sections below that
name `947b7e64` record the first round.

## Tests

Docs only. No package source is touched, so no package test and no type
check is owed for the change. No tested behaviour changed, so there is
no ablation.

Checked on the committed text at `947b7e64`:

- Each phrase a note quotes from its ADR is in that file as it stands on
`main`. A script compared them. One quotation, in the ADR-0085 note,
reads as the sentence renders: the record links its two card references
and the quotation does not.
- Each verbatim maintainer quotation was compared with its record on
GitHub (7247357556 and 7268226134).
- Each path a note cites exists on the tree. The one exception is
deliberate: the ADR-0037 note names
`packages/spec/src/ai/build-progress.zod.ts` to say that the module is
gone.
- Each test title a note quotes is in the test file the note names.
- A probe on the spec source: `ObjectSchema` accepts `pinOverview:
false`, refuses `pinOverview: "no"`, and refuses `fieldTabs` as an
unrecognised key; `ObjectExtensionSchema` refuses `pinOverview` as an
unrecognised key, with its guidance.
- Upstream moved four commits while this was written. The branch merges
`main` at `f576dee5`; none of the four touches one of the five files or
a path a note cites. `overlap-check` answers `VERDICT clean exit 0`
against that `main`, and no open pull request shares a file with this
branch.

Two tests read these records from disk. Both were run on `947b7e64`
under the verify lock, after building what each needs:

-
`ui/packages/app-shell/src/views/studio-design/studioMenuPlacement.test.ts`
reads ADR-0084's type table: `Test Files 1 passed (1)`, `Tests 21 passed
(21)`.
- `packages/qa/scenarios/test/score/entry.test.ts` reads ADR-0150's D1
table: `Test Files 1 passed (1)`, `Tests 14 passed (14)`. Its first run
answered `Failed to resolve entry for package "@objectstack/types"`, a
missing build in the fresh worktree and no verdict on this change; it
passed once that package's build closure was built.

The local gate set is the `dispatch-gates --commands` derivation for
this change set, 21 commands, run on commit `947b7e64` (patch round 1
ran the same 21 on `04cc5911`, all exit 0). Each exit code was captured
before any pipe. Reconciliation: `Run reconciliation — 21 derived, 21
run, 0 NOT-MEASURED, 0 UNRUN`. The same 21 were derived and run on the
commit before the merge, with the same result.

<details><summary>ADR gates on 947b7e6 (all exit 0)</summary>

| Command | Exit | Verdict line |
|:---|:---|:---|
| `pnpm check:adr-symbol-anchors` | 0 | `check-adr-symbol-anchors: 4597
anchors across 165 records resolve`, 0 line anchors survive. On the base
commit the gate read 4570, and 4593 with this change alone; the other
four come with `main`. |
| `node scripts/check-adr-links.mjs` | 0 | `check-adr-links: 1284
relative link destination(s) under docs/adr/ resolve` |
| `node scripts/check-adr-links.mjs --self-test` | 0 | |
| `pnpm check:adr-anchors` | 0 | `check-adr-anchors: OK (135 anchored
file(s), every governing ADR still referenced` |
| `pnpm check:adr-index` | 0 | `adr-index --report: OK —
docs/adr/README.md is current, every record parsed` |
| `pnpm check:doc-authoring` | 0 | |
| `pnpm check:nul-bytes` | 0 | `check-nul-bytes: OK (scanned 29015 text
file(s)`, no raw control bytes |
| `pnpm check:closed-ceremony-text` | 0 | |
| `pnpm check:pm-governed-merges` | 0 | |
| `pnpm --filter @objectstack/lint run check:doc-formula-expressions` |
0 | run after building `@objectstack/spec`, `@objectstack/formula` and
`@objectstack/lint` under the verify lock |

</details>

<details><summary>The other derived families on 947b7e6 (all exit
0)</summary>

`node scripts/check-closing-keyword-parity.mjs` and its `--self-test`,
`node scripts/check-comment-mask-corpus.mjs`, `node
scripts/ci/plan-test-core-shards.mjs --self-test`, `pnpm
check:ci-filter-parity`, `pnpm check:cross-package-test-inputs`, `pnpm
check:driver-memory-census`, `pnpm check:gitlink-declared`, `pnpm
check:pm-prior-rulings`, `pnpm check:refd-timer-probe`, `pnpm
check:watch-hint-literal`.

Before the last push: `node scripts/check-commit-card-trailers.mjs
--range origin/main..HEAD` exit 0, two commit messages (three after
patch round 1, also exit 0), no card relation and no model identifier in
the trailer pair.

</details>

<details><summary>A local-only reading that is red for a reason outside
this change</summary>

`pnpm check:dev-prereqs` exits 1 in this worktree: "The workspace is not
built", 105 of 110 workspace packages have no build output. It judges
the machine and not the diff, CI does not run its scan, and a fresh
worktree that builds only what a docs change needs reads this way. It is
not in the derived list.

</details>

Not run locally: the repository test project behind `test:repo`, and
every package suite. CI runs them on the pull request and on the merge
group. Every other family CI runs is read from this pull request's check
runs, not re-run here.

## Acceptance notes

- **Changeset.** None, and the pull request carries `skip-changeset`.
`docs/adr/**` ships in no package.
- **Governed surface.** `docs/adr/**` lands on the maintainer's
approval. This pull request stays a draft; the seat arranges the review
at the tier this surface owes and hands it over.
- **Why "Part of".** The card says it ends when its pull request merges.
Two of its rows are not here, so merging this one must leave the card
open.
- **Seen and left alone.** These are outside the seven rows and are not
changed here.
- ADR-0037's Status line says all four phases are implemented. On this
tree the console's canvas-invalidate signal has a subscriber and no
publisher: nothing calls the bus function that emits it. It is a
candidate row for the card of this name.
- ADR-0150's D4 note of 2026-11-10 gives its own end condition, an
earlier card landing. That card ended on 2026-11-12, and the record
carries no line that says so. A possible row; not judged here.
- Comments in the chat plugin still name the retired build-progress
part, and one test fixture uses the name as an open `data-` part. Not a
record, so not a row.

## Verification

### Read first

1.
`docs/adr/0146-studio-designs-setup-administers-one-editor-per-item-paired-customize-package.md`,
the note of 2026-11-30 under the note of 2026-11-24. The highest-risk
hunk: it quotes a maintainer ruling, and it draws the line between the
doors that refuse and the places where the old sentence still stands.
Check the two statuses and the list of places with no door.
2. `docs/adr/0084-application-builder-information-architecture.md`, the
amendment of 2026-11-30 under the amendment of 2026-11-28. It quotes a
maintainer ruling and lists every door; check the list, and the sentence
on the review-changes deep link, which records a seat reading and says
so.
3.
`docs/adr/0150-behavioural-metadata-addressed-by-package-objects-keep-the-literal-prefix.md`,
the first amendment note of 2026-11-30. Check the three answers, who
gets which, and the leak-guard paragraph against the tests it names.

### Two-minute check

Run `git diff --numstat origin/main...HEAD` on this branch. Expect five
rows under `docs/adr/`, each with `0` in the removed column, and 62
added lines in total (2, 4, 18, 28 and 10). Then run `pnpm
check:adr-symbol-anchors` and expect exit 0 with a line that contains
`anchors across 165 records resolve`.

---
_Generated by [Claude
Code](https://claude.ai/code/session_01WGufzhPdWmTd47Fi2bKYZS)_

<!-- signed: repo:objectstack@os-support-ai · os-support-ai ·
session_01WGufzhPdWmTd47Fi2bKYZS -->

---------

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 size/m 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.

App Studio: every door into a package opens its 概览 overview (⌘K, an app's Design in Studio, the empty menu, Setup → Packages)

2 participants