Repository navigation
fix(spec,studio): a record:quick_actions bar's location refuses record, and Studio stops offering it (#38045) - #38541
objectstack-fleet[bot] wants to merge 9 commits into
Conversation
…dio stops offering it (#38045) WIP: spec narrowing, Studio dropdown, registration enum, pins. Claude-Session: https://claude.ai/code/session_01FEkQ5pH8MaBBP5T2dVcTHL Co-Authored-By: Claude <noreply@anthropic.com>
#38045) Claude-Session: https://claude.ai/code/session_01FEkQ5pH8MaBBP5T2dVcTHL Co-Authored-By: Claude <noreply@anthropic.com>
… location set (#38045) Claude-Session: https://claude.ai/code/session_01FEkQ5pH8MaBBP5T2dVcTHL Co-Authored-By: Claude <noreply@anthropic.com>
) Claude-Session: https://claude.ai/code/session_01FEkQ5pH8MaBBP5T2dVcTHL Co-Authored-By: Claude <noreply@anthropic.com>
…ick-actions-no-record
…ADR-0122 (#38045) Claude-Session: https://claude.ai/code/session_01FEkQ5pH8MaBBP5T2dVcTHL Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEkQ5pH8MaBBP5T2dVcTHL Co-Authored-By: Claude <noreply@anthropic.com>
📓 Docs Drift CheckThis PR changes 1 package(s): 2 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:
⛔ 4 release-owned page(s) also name something this change touched. These are read-only:
What this run could not see
Coarse fallback — 181 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 4d6b8fe4068036a779d6b5fc87ff85f4f0a63d1e && git checkout 4d6b8fe4068036a779d6b5fc87ff85f4f0a63d1e
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin d64541cf518ac5a681450623633a6d68ef6f2a4c c68dfcc79a5b1746bfab4e92ec6d010120c3e003 && git checkout -B drift-repro d64541cf518ac5a681450623633a6d68ef6f2a4c && git merge --no-ff c68dfcc79a5b1746bfab4e92ec6d010120c3e003
node scripts/docs-audit/affected-docs.mjs --json d64541cf518ac5a681450623633a6d68ef6f2a4c
|
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5pH8MaBBP5T2dVcTHL
|
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5kjJ6Qm1z2mRox4ZbB 席位核对 — ACCEPT · L1-b · area o5-ux · Head-sha
|
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5kjJ6Qm1z2mRox4ZbB Contract reviewServed-tier: PR #38541 (card #38045, maintainer ruling A, record 7251596106, 「A 下拉和格式都去掉」). Inputs read: the card body and its six comments, the PR body, its 21-file list and the net diff against ① Derived judgments
② Semver level
S2 (should-fix) — ③ Boundary flags
S1 (should-fix) — the
④ Design judgment
Implementing files:
Must-fix: none. Open on this head: S1 and S2 above. Nits, no effect on correctness or the contract:
Verdict basis: the schema change, its refusal and every implementing file hold against ruling A and the cited code; no must-fix. PASS with S1 and S2 open on this head: S2 is fixed on the prose faces, S1 moves the head and is closed by a delta record. Implemented-by: VERDICT: PASS |
…ick-actions-no-record
…s; bar-worded retired-word prescriptions; Clause-② yes (#38045) Claude-Session: https://claude.ai/code/session_01FEkQ5pH8MaBBP5T2dVcTHL Co-Authored-By: Claude <noreply@anthropic.com>
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5pH8MaBBP5T2dVcTHL
|
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5kjJ6Qm1z2mRox4ZbB 席位核对 — ACCEPT · L1-b · area o5-ux · Head-sha
|
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5kjJ6Qm1z2mRox4ZbB Contract reviewServed-tier: DELTA review of PR #38541 (card #38045, maintainer ruling A, record 7251596106, 「A 下拉和格式都去掉」). The previous record is 7253506178 on head ① Derived judgments
② Semver level
S2: closed.
③ Boundary flags
S1: closed. Read against the tree, part by part:
④ Design judgment
S3 (should-fix) — on the bar, the
Implementing files:
N1: closed by the fold-in, apart from S3. New nits, no effect on correctness or the contract:
Verdict basis: S1 and S2 are closed against the tree. The merge is clean and the net diff is the old one plus Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · zhuangjianguo · session_01QsR2jTsdScTh3o2fSjbxSz 2026-11-29T12:29Z · Superseded by #38581 (card #38045, seat 1 takeover 7255614866, amendment 7255639984): the same commits on |
…onsole entries (objectstack-ai#38150 PR-B1) (objectstack-ai#38545) <!-- claude-projects-attribution: {"github_login":"os-project-manager"} --> _Requested by **Leehom** · [project thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1XMRkgb3gwbVL5znx9yxJb7x)_ Part of objectstack-ai#38150. This is PR-B1: the server retirement of `adopt-orphans` and the two console entries that called it. It replaces closed draft objectstack-ai#38364, whose four commits are cherry-picked here onto main after PR-A2 (objectstack-ai#38389, merged as `ea82c96212`), plus the conflict resolution, the re-measured generated outputs and A2's L1 nit N1. PR-B2 (Studio `~org`, the redirects to `?source=loose`, the classifier objectstack-ai#38061, the ADR marks) follows. This PR does not close the card. Clause-②: no (narrowing) Metadata-protocol: narrowed Skills-docs: none (no file under `skills/**` or `.claude/skills/**` names `adopt-orphans`, `adoptOrphans` or "Adopt loose items"; searched at `37aae5aa1`) **Size: 3,387 lines** (additions + deletions, generated files included: 586 added, 2,801 deleted, 79 files; `git diff --numstat origin/main...HEAD` at `37aae5aa1`, merge base `dccf836a8`). With A1's 1,947 and A2's 1,380 the card stands at **6,714**. This PR alone passes 3,000, so it is Tier H. **Metadata-protocol, measured on this head.** `packages/spec/authorable-surface/api.json` loses exactly the four `api/ReassignOrphanedMetadataResponse:*` keys (`reassigned`, `reassignedCount`, `success`, `targetPackageId`) and gains nothing, so the shard moves and the line is `narrowed` (the closed vocabulary has no `removed`). `authorable-surface.base.json` is untouched: only `gen:authorable-surface-base` writes it. ## 维护者速读 - 用户能看到什么变化:软件包页的「收编散落项」按钮和 Studio「⋯」菜单里的同名项去掉了,旧的一次性收编接口改答 404;散落项改用上一个已合并的改动里的「勾选后移入软件包」。移入成功的提示现在写软件包名称,不再写编号。 - 为什么做:App Studio 改版专题的第二步。旧接口一次把全环境的散落项都收进一个包,不走保存时的检查,实测会收进没安装的包、收进前缀不对的对象。 - 出错会怎样:本改动只删东西,外加一处提示文字;出问题最多是某处还引用已删的入口,可以整体撤回。调用旧接口的脚本会收到 404,需要改用新的移入接口。 - 要你做什么:这张卡总行数超过 3000 行,属于需要你本人批准的一档,请审批。 ## Deliberate correction One pending release note, not added by this PR, was made false by it and is corrected in the same stroke: `.changeset/37958-studio-overview-full.md`, line 16. `check-empty-changeset` stays red on it by design (DELIBERATE CORRECTION class); the dispatching seat confirms it by its own record, and the file is not restored. - Before: "- The ⋯ menu keeps "Edit package info", "Duplicate as a new package", "Adopt loose items" and "Manage in Setup…"." - After: "- The ⋯ menu keeps "Edit package info", "Duplicate as a new package" and "Manage in Setup…"." ## What changes **Runtime.** The attribution docblock above `resolvePackageWriteActor` no longer says a body `actor` is ignored on `move-in`: there the strict body refuses it 400 and nothing moves (comment only). The `POST /packages/:id/adopt-orphans` block leaves `packages/runtime/src/domains/packages.ts`, with its mount in `dispatcher-plugin.ts`, its row in `route-ledger.ts` (the census line goes to 157 rows), and `reassignOrphanedMetadata` on the protocol handle type. The route answers 404 (pinned on a booted stack, below). **Protocol.** `ObjectStackProtocolImplementation#reassignOrphanedMetadata` and its facet body in `protocol-package-commits.ts` are removed, and so is `releaseAdoptedObjectOwner` (its only caller was the adoption): the class member, the host entry in `protocol-host.ts`, and the body in `protocol-object-owner.ts`. Comments that named the old door now name the move door, or say it retired. **SDK.** `client.packages.adoptOrphans` is removed from `@objectstack/client`. **Spec.** `ReassignOrphanedMetadataResponseSchema` and its two types leave `package-lifecycle.zod.ts`. The def is registered in `RETIRED_DEFS_BY_MAJOR` (`retired-defs/19.api__ReassignOrphanedMetadataResponse.ts`); its manifest line and shard keys are removed; `api-surface`, `declaration-map`, `export-origins` and the reference docs are regenerated on this base (the reference index now counts 1,741 schemas, 528 in API; main moved the per-module reference page to `packages/spec/docs/references/api/package-lifecycle.md`). `packages_orphan_adoption_unsupported` leaves `operation-message.ts` (four locales). The ADR-0087 disposition is the registered semantic entry `19.packages-adopt-orphans-door-retired.ts`. **Console.** The Packages page's development face loses the "Adopt loose items" button, its dialog, handler and state (`PackagesPage.tsx`); A2's loose-items banner stays as merged. Studio's 「⋯」 menu loses its `adopt` item: on this base (after objectstack#37958 moved Export and the revert to the overview page) `STUDIO_PACKAGE_MENU_ITEMS` is three items, `edit`, `duplicate`, `manage`. With the adoption gone the menu changes nothing a package holds, so its `onChanged` prop and its `run` helper go too, and `StudioDesignSurface` no longer passes `onChanged` to it (`onPackageChanged` still feeds the overview page). `packageActions.tsx` loses `adoptLooseItems`, `adoptedText` and `AdoptLooseItemsDialog`; `@object-ui/i18n`'s studio namespace loses the six `engine.packages.detail.adopt*` keys in en and zh. A2's `engine.looseMove.*` keys are untouched. **N1 (A2's L1 nit).** The move-in success toast filled `{package}` with `answer.targetPackageId` while the confirm title used the package name. `ResourceListPage.tsx` now passes the label the dialog was opened on (`looseMove.target.label`), which is already the id when the package list could not be read. **Docs.** `content/docs/api/metadata-api.mdx`, `protocol/knowledge.mdx` and the system-context register's row 55b name `move-in` where they listed `adopt-orphans`. Left as history: the three spec `18.*` semantic entries, `content/docs/releases/v18/*`, the consumed `.changeset/pre/*` entries, and the historical sentence in `http-dispatcher.ts`. **Changeset.** `38150-adopt-orphans-door-retired.md`, BREAKING with the FROM → TO table and the one-line fix: `@objectstack/spec` major (pre mode), metadata-protocol, runtime, client, `@object-ui/app-shell` and `@object-ui/i18n` patch. One sentence changed from objectstack-ai#38364: the console's move door is now named as "the move-in confirm step on Studio's cross-package list (`?source=loose`), which ships in the same release" (A2 landed first, so "the next change" was no longer true). ## Each removed assertion, and what pins its rule now Deleted files (the old door's own tests): | removed | what it pinned | now pinned by | |:--|:--|:--| | `metadata-protocol/…/protocol.adopt-orphans-owner-judges.test.ts` | the adoption asked the object-owner and permission-set-owner judges | `package-move-in.dogfood.test.ts`: "the object owner: … refused with the save door's mismatch" and "the permission-set owner: …" | | `metadata-protocol/…/protocol.adopt-orphans-platform-record.test.ts` | the platform's own record is not adopted | new facet case in `protocol-package-move-in.test.ts`: "the platform's own record is not loose: refused NOT_LOOSE …", with its control | | `metadata-protocol/…/protocol.reassign-orphans-durability.test.ts` | a refused rebind was logged once while the door answered success | the move door has no partial success; `protocol-package-move-in.test.ts` pins the fault (500, nothing moved) and the failed undo (500 naming what did not go back) | | `objectql/…/protocol-adopt-orphans-draft-view-registry.test.ts` | an adopted draft view reached no registry, before, after and at the next boot; a draft beside an active row served the active body | through `moveIntoPackage`: `package-move-in.dogfood.test.ts` (booted CRM stack) "objectstack-ai#23690: a loose DRAFT view moves as the target's draft, and the registry serves nothing before or after", "objectstack-ai#23690: a draft beside an active row of the same view: the active body is served at the target, never the draft" and "objectstack-ai#23690: at the next boot the moved draft is still served nowhere, and the pair still serves its active body"; and `protocol-package-move-in.test.ts` "a loose DRAFT moves as a draft: saved into the target in draft mode, never published, and answered states [draft]" and "a draft beside an active row: … states [active, draft]" (with an active-only control) | | `objectql/…/protocol-adopt-orphans-object-registry.test.ts` | the registry owner followed an adopted object | `package-move-in.dogfood.test.ts` A3 and "whole or nothing", and `package-first-authoring.dogfood.test.ts`'s D5 case, driven through `moveIntoPackage` | | `runtime/…/packages-adopt-orphans-readonly.test.ts` | the door's gates and their order | the `move-in` rows that replace `adopt-orphans` in the runtime route tables (capability gate, read-only remedy, walled refusal, knowledge-source gate, closed query, vetted org source, partial-host 501 and its message key) | | `ui/…/PackagesPage.adoptLooseItems-13339.test.tsx` | the console's Adopt dialog | the entry is removed; A2's `LooseMoveDialog-38150` and `ResourceListPage.looseMove-38150` pin the replacement | Edited files, as in objectstack-ai#38364 (metadata-protocol, objectql, runtime, client, spec, dogfood, `scripts/engine-double-contract.pinned.json`), with these changes at this head: - `packages-write-actor-session.test.ts`: its `adopt-orphans` row (a body naming another user, a body naming no one, a system context) is replaced by a `move-in` describe: a signed-in caller's move, and its dry run, hand the protocol the session user as `actor`; CONTROL: a system context sends no actor; a body `actor` (another user, or the session user itself) answers 400 `Invalid move-in body` naming the key, and the protocol is never called. - `StudioPackageMenu-37139.test.tsx`: three items (`edit`, `duplicate`, `manage`) in en and zh-CN, not five; the read-only case greys Edit and Duplicate; the adopt action case and the adopt rows of the one-copy list are removed; the guard that no surface spells the `/adopt-orphans` door stays. - `StudioPackageOverview-37454.test.tsx` (added on main by objectstack#37958 after objectstack-ai#38364 was built): the menu pin lists three rows, no adopt row. - `ResourceListPage.looseMove-38150.test.tsx` (N1): "the success toast names the package by its name, as the confirm title does", and its control "when the package list cannot be read the confirm and the toast both fall back to the id". - `package-move-in.dogfood.test.ts`: "the retired all-at-once door is gone: POST …/adopt-orphans answers 404 and moves nothing", and the three objectstack-ai#23690 cases above. - Comments that named the retired entry as live: `protocol.ts` (the object-owner import line) and `package-duplicate-adopt-org-scope.integration.test.ts` (two docblocks). ## Acceptance notes - `overlap-check.mjs` at `37aae5aa1`: clean against main; one textual overlap with open objectstack-ai#38541 in `content/docs/references/index.mdx` (generated; whichever lands second regenerates it with `gen:docs`). The overlap with objectstack-ai#38527 read at the previous head no longer shows. - The claim on objectstack-ai#38150 (7251650149) names the branch `claude/project-thread-j4n4b0` (A2's). This PR is on `claude/project-thread-pf8r6c`, the branch the seat's dispatch for this thread named. ## Verification Files to read first, by risk: 1. `ui/packages/app-shell/src/views/studio-design/StudioPackageMenu.tsx`: the conflict with objectstack#37958 resolved to three rows, with `onChanged` and `run` removed. 1a. `packages/qa/dogfood/test/package-move-in.dogfood.test.ts`: the objectstack-ai#23690 cases and their state fixture (draft rows inserted at the first boot). 2. `packages/runtime/src/domains/packages.ts` and `route-ledger.ts`: the route block and its ledger row. 3. `ui/packages/app-shell/src/views/metadata-admin/ResourceListPage.tsx`: N1's label hunk. Two-minute check: `pnpm --dir ui exec vitest run packages/app-shell/src/views/studio-design/StudioPackageMenu-37139.test.tsx packages/app-shell/src/views/metadata-admin/ResourceListPage.looseMove-38150.test.tsx`. Expect both files to pass, and the menu case to list three items. <details><summary>Suites (local; the package suites ran on the tree before the A2 merge commit `6742ce449`, the spec suite again after it; UI and gates at the heads named)</summary> | suite | result | |:--|:--| | `@objectstack/client` test | 59 files, 828 tests passed | | `@objectstack/spec` test | 913 files, 28,889 passed, 1 todo | | `@objectstack/metadata-protocol` test | 372 passed, 9 skipped files; 23,629 tests passed, 45 skipped | | `@objectstack/objectql` test | 640 files, 14,530 tests passed | | `@objectstack/runtime` test | 655 files, 12,481 passed, 25 skipped | | typecheck: client, spec, metadata-protocol, objectql, runtime | each lock VERDICT command-exit 0 | | UI touched files + `ui/packages/i18n` (8 named files + the i18n dir) | 117 files, 1,988 passed, 13 skipped | | full `@object-ui/app-shell` suite at `6742ce449` | 2,464 files: 2,462 passed, 1 skipped, 1 failed: `StudioPackageOverview-37454` "the ⋯ menu holds … adopt loose items …" (a main pin of the removed row). Fixed in `c9c49d97e`; that file and `StudioPackageMenu-37139` then 2 files, 71 tests passed | | `@object-ui/app-shell` and `@object-ui/i18n` type-check | lock VERDICT command-exit 0 | | `@objectstack/spec check:generated` after the A2 merge | all 14 artifacts current | | `check-platform-checklist --changed-from origin/main` | OK, 54 anchors judged, 0 lost | </details> <details><summary>Round 1 (review FAIL at `c9c49d97e`, M1 and M2), at `448cffe6f` and `37aae5aa1`</summary> - `packages-write-actor-session.test.ts` + `package-duplicate-adopt-org-scope.integration.test.ts`: 2 files, 25 tests passed. Ablation (`scripts/ablation-replace.mjs`, `resolvePackageWriteActor(_context)` before `protocol.moveIntoPackage` replaced by `undefined`, anchor 1 → 0): "a signed-in caller's move hands the protocol the session user" and "so does a dry run" failed, 2 failed and 20 passed (the system-context control and the 400 cases green); restored, blob equals HEAD. - `protocol-package-move-in.test.ts`: 11 passed. `Type Check · workspace` was red at `448cffe6f` on this file's new draft case (TS2532 / TS2493 on the commit read); `37aae5aa1` types it, and `pnpm --filter @objectstack/metadata-protocol run typecheck` (its `tsc` lists this file) and `@objectstack/runtime` typecheck exit 0, the file 11 of 11. Ablation (`mode: state === 'active' ? 'publish' : 'draft'` → `mode: 'publish'`): both draft cases failed, 2 failed and 9 passed; restored, blob equals HEAD. - `package-move-in.dogfood.test.ts`: 24 passed. Ablation of the same line on the built output (mutation held, `@objectstack/metadata-protocol` rebuilt, `ablation-dist-preflight.mjs` found the marker in `dist/`): all three objectstack-ai#23690 cases failed, 3 failed and 21 passed. Restored, rebuilt, preflight `--absent` clean, the file 24 of 24 again. - Derived gates for this round's seven paths (`dispatch-gates.mjs --commands PATHS`): 78 families, 77 exit 0, and `check-empty-changeset` exit 1 on the DELIBERATE CORRECTION above (expected). `--ran`: "78 derived, 78 run, 0 NOT-MEASURED, 0 UNRUN". `check-nul-bytes`: exit 0. </details> <details><summary>N1 ablation</summary> `scripts/ablation-replace.mjs` replaced `looseMove?.target.label ?? answer.targetPackageId` with `answer.targetPackageId` (anchor 1 → 0, blob `90937804f355` → `ed3e458acb2a`): "the success toast names the package by its name" failed (`expected "vi.fn()" to be called with arguments: [ 'Moved into Alpha: 1.' ]`), 1 failed and 8 passed, the control among the passing. Restored: blob equals HEAD, `git diff HEAD` empty. </details> <details><summary>Derived gates</summary> `node scripts/pm/dispatch-gates.mjs --commands` (no paths, change set from the merge base `dccf836a8`): 149 families. All 149 exit 0. Five first answered 99 or 3 (two vitest families queued behind the app-shell suite; `check:skill-examples`, `check:dual-build-cjs-loads`, `check:published-readme-exports` needed `client-react`, `studio` and `scenarios` built) and passed on the re-run after that build. `--ran`: "149 derived, 149 run, 0 NOT-MEASURED, 0 UNRUN". The commands re-derived at `c9c49d97e` give the same 149. </details> <details><summary>Dogfood battery</summary> Full battery at head `448cffe6f`, `pnpm --filter @objectstack/dogfood test` under the verify lock (no shard, no path): lock VERDICT command-exit 0; Test Files 495 passed, 3 skipped (498); Tests 4,187 passed, 68 skipped (4,255); no failure. `37aae5aa1` after it changes one line of a metadata-protocol unit test's typing, which no dogfood file reaches. (The battery at `c9c49d97e`: 495 / 4,184 passed.) </details> ## Owed before landing - CONTRACT_REVIEW_TIER L2 (the seat's). - A dogfood battery from the landing head. - Maintainer approval (Tier H). - Ships in the same version as PR-B2 (seat rule): after approval this PR is not enqueued until B2 is approved too; both enqueue together, with no Version Packages merge between them. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- signed: repo:objectstack#5 · os-project-manager · session_01FEkQ5pc3eJbLUEYRBLjxn5 --> --------- Co-authored-by: Claude <noreply@anthropic.com>
…rd`, and Studio stops offering it (objectstack-ai#38045) (objectstack-ai#38581) <!-- claude-projects-attribution: {"github_login":"zhuangjianguo"} --> _Requested by **Jianguo** · [project thread](https://claude.ai/code/project/chan_018ETKaNwMZCNRYD7D8Q9Ubb?thread=cmsg_018ETKaNwMZCNRYD7D8Q9Ubb1YRLSVWfEBbNBCfs6vKG6L)_ Fixes objectstack-ai#38045 Clause-②: yes (narrowing) Metadata-protocol: narrowed Skills-docs: none — no text or eval under skills/ writes a record:quick_actions bar's own location; action locations themselves are unchanged ## 维护者速读 - 用户能看到什么变化:在应用搭建里给记录页的快捷操作栏选位置时,下拉不再有「记录 · 页面与行」这一项;手写或 AI 写出这个值,保存或校验时直接报错,并提示改写成「记录页」。 - 为什么做:这是你在快捷操作栏位置问题上选的方案 A(下拉和格式都去掉),趁 19 版正式发布前收紧,现在没有任何已写的栏用到这个值。 - 出错会怎样:只影响快捷操作栏自己的位置设置,动作本身的「记录」位置不变;万一有问题,撤回这个改动即可恢复原样,不涉及数据迁移。 - 要你做什么:契约复审通过后,请批准这个格式收紧。 Supersedes objectstack-ai#38541 Seat: repo:objectstack#1 · zhuangjianguo · session_01QsR2jTsdScTh3o2fSjbxSz (takeover of seat repo:objectstack#5) Claim: governing claim amendment 7255928921 on objectstack-ai#38045 (takeover Claim 7255614866, amendments 7255639984 and 7255928921) Branch: claude/project-thread-y2muak (started at claude/issue-38045-quick-actions-no-record @c68dfcc7) Ruling-ref: record 7251596106 on the card (maintainer ruling A, verbatim 「A 下拉和格式都去掉」). Analysis: 7251023956. ## Takeover round (seat 1, governing claim amendment 7255928921) This PR replaces objectstack-ai#38541: its dev's account ran out of tokens, and the new branch starts at that PR's head `c68dfcc7`, where the seat L1 (7255089417, ACCEPT) and the contract review (7255183085, PASS with S3 open) were recorded. Every prior commit was re-read and kept; nothing was dropped or rewritten. - **Merge of main.** `40b0b59a` merges `origin/main` at `30141766` through `scripts/pm/os-regen-merge.sh`. The only conflict was the generated `content/docs/references/index.mdx`. It was regenerated from the merged tree (`gen:schema`, spec `build`, `gen:api-surface`, `gen:export-origins`, `gen:declaration-map`, `gen:docs`) in `7fb066f7`: main dropped one published schema while this PR adds `RecordQuickActionsLocation`, so the counts read 1742 total and 187 in UI. No other generated file moved, and no hand-written file needed a resolution (en.ts and zh.ts auto-merged). - **S3 (contract review 7255183085).** On the bar, the `global_nav` prescription no longer ends with the `os migrate meta --from 18` sentence, which no conversion backs for that word (protocol 19's step covers a bar's four page-part words; the protocol-17 step stripped `global_nav` from `action.locations` only). `QUICK_ACTIONS_BAR_PLACES_TAIL` is split into the places sentence (all five rows) and the house migrate sentence (the four page-part rows). The bar's pin now asserts the `global_nav` message has no `os migrate meta --from` and each of the four names `` `os migrate meta --from 18` ``. Commit `5496b7a4`. - **N5.** The older test comment no longer calls the `global_nav` message proof that the row rides the shared enum; it points at the positive pin. - **N6.** The two body sentences below ("What changes, Spec" and "Read first 1") now describe the bar's own map, not a delegation. - **Readings at `5496b7a4`.** Spec `component-record-blocks.test.ts`, `action.test.ts`, `retired-key-migrate-sentence.test.ts`, `type-alias-convention.pin.test.ts`: 4 files, 209 passed. Ablation through `scripts/ablation-replace.mjs`: the `global_nav` row put back on the migrate tail turns "answers each retired word on the bar with a single place, never `record`" red (1 failed / 35 passed); restored, blob == HEAD. PR body gates (`check-closing-keyword-parity`, `check-changeset-no-major --base origin/main`, `check-adr-0087-registration --base origin/main`, `check-partof-closing-keyword`): exit 0. Full dogfood battery (closure built, then `pnpm --filter @objectstack/dogfood test`): lock VERDICT command-exit 0, Test Files 495 passed, 3 skipped (498), Tests 4187 passed, 68 skipped (4255), no failures. `pnpm --filter @objectstack/spec test`: Test Files 913 passed (913), Tests 28893 passed, 1 todo. `dispatch-gates --commands` derives 132 families; `--ran` with exit codes: 131 run with exit 0, 1 NOT MEASURED (`check:dual-build-cjs-loads`, exit 3 PREREQUISITE NOT MET: it reads dists of packages not built here, such as `packages/qa/scenarios/dist`; CI runs it). `overlap-check`: main merges cleanly; objectstack-ai#38550 conflicts on three generated files (`content/docs/references/ui/component.mdx`, `content/docs/ui/components/record.mdx`, `scripts/sdui-manifest.record.json`), landing order set by the seat (this PR first, objectstack-ai#36496's thread regenerates after). ## Rework round (contract review 7253506178, seat ruled both should-fix its way) Head c68dfcc (merges main at d64541c first). - **S1.** The protocol-19 upgrade step `action-locations-page-parts-retired` (`packages/spec/src/migrations/entries/semantic/19.action-locations-page-parts-retired.ts`) now says, in `surface`, `replacement` and `acceptanceCriteria`, that a `record:quick_actions` bar's own `location` takes one place only (`record_page`, its default, `record_row`, `record_related`, `record_section` or `list`) and that `record` there is refused at parse with the prescription naming `record_page`. No new id, no new entry. The changeset's ADR-0087 marker now says this change extends that entry's surface, and no longer says the conversion maps every protocol-18 bar location: it maps `record_header`, `list_item` and `list_toolbar`, and leaves a bar at `record_more` as stored with a TODO. The ledger feeds only gitignored projections (upgrade guide, `spec-changes.json`); `check:upgrade-guide` and `check:spec-changes` are green and nothing else regenerated. - **S2.** `Clause-②: yes (narrowing)` here and in the changeset (see Acceptance notes). - **N1 (folded in).** On the bar, a retired word (`record_header`, `list_item`, `list_toolbar`, `record_more`, `global_nav`) now gets a prescription written for a bar: it names the one place to write and never offers `record`. The shared enum's action-side prescriptions are unchanged. N2 and N3 are untouched. ## What changes Ruling A, carried out as one PR. On the `record:quick_actions` bar, `record` is not a place the bar can be set to; `record` on an action's own `locations` is untouched. - **Spec (contract face).** `packages/spec/src/ui/action.zod.ts` adds `RecordQuickActionsLocationSchema` (and its type `RecordQuickActionsLocation`): `ActionLocationSchema.exclude(['record'])`, so it rides the shared enum (a location the vocabulary adds reaches the bar too). Its error map answers `record` with a prescription that names `record_page`, the five retired words (`global_nav` and the four page-part words) from the bar's own map of bar-worded prescriptions, and every other value with zod's own enum error; the shared enum keeps its action-side prescriptions. `RecordQuickActionsProps.location` uses it; its describe says "any action location but `record`". Proposed refusal text (the contract review judges it): > `record` is not a place a `record:quick_actions` bar can be set to. On an action, `record` says what the action acts on: one record, drawn on the record page and on each list row. A bar sits in one place and draws that place's actions. On a record page write `location: 'record_page'` (the bar's default, so the key can be left out): it draws the record page's actions, the ones placed at `record` included. A bar for another single place names it: `record_row`, `record_related`, `record_section` or `list`. - **Studio.** The bar's location dropdown (`block-config.ts`) is built from a total label map keyed by `RecordQuickActionsLocation` (a TypeScript Record type) (the `ActionDefaultInspector` `LOCATION_LABELS` mechanism), so the compiler keeps the options equal to the spec's set: re-adding `record` is TS2353. Display order unchanged except `record` is gone (`record_page` first). - **i18n.** `engine.inspector.pageBlock.option.location.record` removed from en (`Record · page and rows`) and zh (「记录 · 页面与行」). - **Outside the claimed file surface, and why.** `ui/packages/plugin-detail/src/index.tsx` (the bar's registration, not the renderer) published `location` as `[...ACTION_LOCATIONS]`; that list is serialized into `sdui.manifest.json`, which JSX page validation reads. Left as it was, the manifest would still offer `record` on the bar, a second door that accepts what the spec now refuses. It now publishes `RecordQuickActionsLocationSchema.options`; `sdui.manifest.json`, `scripts/sdui-manifest.record.json` and `content/docs/ui/components/record.mdx` are regenerated by their generators (the manifest diff is the one enum member and the description). The renderer (`record-quick-actions.tsx`) is unchanged. - **Generated.** `api-surface/`, `export-origins/`, `declaration-map/`, `json-schema.manifest/ui.json` and `content/docs/references/**` regenerated by the spec gates (no hand edits). `type-alias-convention.pin.test.ts` pins the new alias as isomorphic (ADR-0122; `check:spec-parsed-alias` asked for it) and its count line moves 879 → 880. - **Changeset.** `.changeset/38045-quick-actions-no-record.md`: `minor` on spec, plugin-detail, app-shell and i18n, the two declaration lines, a FROM → TO table, and ADR-0087 disposition `not-required (already-registered action-locations-acted-on, action-locations-page-parts-retired)`, whose semantic entry this PR extends (rework round, S1). Census of authored bars at `location: 'record'` (any quoting, any file type): **0** in objectstack (`git grep -nE "[\"']?location[\"']?\s*:\s*[\"']record[\"']"` at 545a4fa), **0** in HotCRM (same pattern at origin/main d48b030b; its one `record:quick_actions` mention is a test). The authored bars are `showcase_task_detail` and `sys_user`, all at `record_section`, and both still parse. ## Read first 1. `packages/spec/src/ui/action.zod.ts`, the `RecordQuickActionsLocationSchema` hunk: the refusal text and the `.exclude()` with an explicit error (the explicit param replaces the copied one, so the bar's own retired-word map, `QUICK_ACTIONS_BAR_RETIRED`, is what answers those words on the bar). 2. `ui/packages/app-shell/src/views/metadata-admin/previews/block-config.ts`, the `QUICK_ACTIONS_LOCATION_LABELS` map and the dropdown's `options`. 3. `ui/packages/plugin-detail/src/index.tsx`, the registration's `location` enum (the surface addition above). ## Two-minute check `pnpm --filter @objectstack/spec exec vitest run src/ui/component-record-blocks.test.ts` — expect 36 passed, including the four cases under "record:quick_actions `location` — single places only, never `record`". ## Tests All at head aeb79b9 unless noted. - Spec pins (`component-record-blocks.test.ts`, new top-level describe in the bar's existing harness): positive (the bar accepts exactly `ACTION_LOCATIONS` minus `record`, each parses), negative (`location: 'record'` refused, one issue, `code: 'invalid_value'`, `path: ['location']`, message first sentence and `location: 'record_page'`), `record` still on the shared enum, and each retired word on the bar is answered with one issue (`invalid_value`, `location`), a message that opens with the word, names a single place and never offers `record`, while the shared enum's `record_header` prescription still offers `record`. A schema refusal carries no ADR-0112 `status` (that envelope is the API's), so the pin is `code` + `path` + prescription, the `add-record-config-retirement.test.ts` precedent. - Studio pins (`block-config.test.ts`): offers exactly `RecordQuickActionsLocationSchema.options`; does not offer `record` (with the non-empty guard); no leftover `…option.location.record` translation in either locale, with a still-offered key as control. <details><summary>Test runs</summary> - Rework round, at c68dfcc: `pnpm --filter @objectstack/spec test` 913 files passed, 28896 tests passed, 1 todo; spec `component-record-blocks.test.ts` + `action.test.ts` + `action-locations-acted-on.test.ts` 198 passed; `pnpm --filter @objectstack/spec build && check:generated` all 14 up to date. - `pnpm --filter @objectstack/spec test` (at 8a55fce, before the merge of main and the pin-count commits): Test Files 913 passed (913), Tests 28896 passed, 1 todo. - `pnpm --filter @objectstack/spec typecheck`: exit 0 (`check:test-typecheck: OK`), rerun after the pin edit. - spec `component-record-blocks.test.ts` + `type-alias-convention.pin.test.ts`: 2 files, 39 passed. - `ui`: `block-config.test.ts` + `block-config-i18n.test.ts`: 2 files, 68 passed. - `ui`: plugin-detail quick-actions and registration tests + all of `packages/i18n/`: 125 files, 1978 passed, 13 skipped. (The whole plugin-detail suite did not finish inside one 10-minute foreground run; narrowed to the files that read the registration or the bar, and left to `Test UI`.) - `pnpm --filter @object-ui/plugin-detail type-check`: exit 0. `pnpm --filter @object-ui/app-shell type-check` (both tsconfigs): exit 0. - Rework round, full dogfood at c68dfcc (closure built, then `pnpm --filter @objectstack/dogfood test`): lock VERDICT command-exit 0, Test Files 495 passed, 3 skipped (498), Tests 4183 passed, 68 skipped (4251). - Full dogfood at aeb79b9 (`pnpm --filter @objectstack/dogfood test` after building its closure): lock VERDICT command-exit 0, Test Files 495 passed, 3 skipped (498), Tests 4183 passed, 68 skipped (4251). </details> <details><summary>Ablations (each mutation through scripts/ablation-replace.mjs, landing and restore checked by blob hash)</summary> - Spec negative pin: `location: RecordQuickActionsLocationSchema.optional()` → `ActionLocationSchema.optional()`: "refuses `location: 'record'` …" red (1 failed / 35 passed); restored, blob == HEAD. - Spec positive pin: `.exclude(['record'])` → `.exclude(['record', 'record_row'])`: "accepts every action location except `record` …" red; restored. - Studio: re-add `record` to `QUICK_ACTIONS_LOCATION_LABELS`: "offers exactly the locations the spec accepts" and "does NOT offer `record`" red (2 failed / 45 passed), and `tsc --noEmit` in app-shell red with `TS2353`: `'record'` does not exist in the type, a Record keyed by exactly `list`, `record_page`, `record_row`, `record_related` and `record_section` — the reverse check that the Console compiles against the rebuilt, narrowed `.d.ts`. A first attempt was refused by the tool (its replacement contained its anchor) and changed nothing; the run quoted is the second. - Rework round, N1: the bar's retired-word branch pointed back at the shared action-side prescriptions: "answers each retired word on the bar with a single place, never `record`" red (1 failed / 35 passed); restored, blob == HEAD. - i18n: re-add the zh label: "has no leftover translation for the removed `record` option" red; restored. </details> <details><summary>Gates</summary> - Rework round, at c68dfcc: `dispatch-gates --commands` derives 130 families; `--ran` with exit codes: 129 run, 1 NOT MEASURED (`check-plugin-teardown-shape --self-test`, exit 3, shallow clone cannot reach its pinned fixture commit). Six gates first answered exit 3 on an unbuilt closure in the fresh worktree and `pnpm --dir ui exec vitest run scripts/` was SIGKILLed on the shared box; after building the CLI and lint closures each was rerun: exit 0 (ui scripts: 172 files passed, 2 skipped). `check-adr-0087-registration --base origin/main`: exit 0 with the reworded marker. - Overlap at c68dfcc: `overlap-check` exit 1. Textual conflicts with two open draft PRs on files this PR changed in its first round (generated outputs): objectstack-ai#38550 on `content/docs/references/ui/component.mdx`, `content/docs/ui/components/record.mdx`, `scripts/sdui-manifest.record.json`; objectstack-ai#38545 on `content/docs/references/index.mdx`. Not resolved by hand; whichever lands second regenerates. - `dispatch-gates --commands` (derived at c1cb23b, the same list at aeb79b9): 127 families run; `--ran` with exit codes: 124 run, 3 NOT MEASURED, all three `PREREQUISITE NOT MET` exit 3, none reading a file this diff changes: `check-plugin-teardown-shape --self-test` (shallow clone cannot reach its pinned fixture commit), `spec check:skill-examples` (reads `packages/client-react/dist`, not built here), `check:dual-build-cjs-loads` (reads dists of packages not built here). CI runs all three. - One real finding along the way, fixed in this PR: `check:spec-parsed-alias` asked for a pin of the new alias (exit 1, then 0). - `pnpm --filter @objectstack/spec check:generated` after rebuilding spec on the merged tree: all 14 artifacts up to date. - `check-adr-0087-registration --base origin/main`: exit 0 (the already-registered disposition). `check-sdui-manifest`, `check:sdui-reference`, `check:nul-bytes`, `check:issue-citations`, `check-empty-changeset`, `check-changeset-no-major`: exit 0 at aeb79b9. - `check:query-options-erasure` and `check:type-check-debt` exceed 300 s; rerun without that cap: exit 0 both. </details> ## Acceptance notes - **ADR-0087 disposition: settled by the contract review (record 7253506178, option C).** `not-required (already-registered …)` stands, and the semantic entry it names is extended here so the claim is a fact (rework round, S1). The original argument, kept for the record: The dispatch left open whether this narrowing needs a conversion entry. The registration gate refuses `no-migration-prescription` on any `Metadata-protocol: narrowed` changeset; what it accepts is a new semantic entry or a category resting on a fact. This PR claims `already-registered action-locations-acted-on, action-locations-page-parts-retired`: the word became legal on the bar only inside unreleased 19, by the change those entries register, and their conversion maps every protocol-18 bar location to a single place (`record_header` → `record_page`, `list_item` → `record_row`, `list_toolbar` → `list`) and never writes `record` on a bar. ADR-0087 records that the gate checks such an id is old, never that it covers the change, so this rests on the argument above. The alternative is a new semantic entry for prerelease authors. Seat repo:objectstack#5 ruled this disposition (option A, not-required) on 2026-11-29 at 08:24 UTC and asked the contract review to check the reading; if the contract review rules a semantic entry is owed, this PR switches to that entry. - **`Clause-②: yes (narrowing)`.** The diff narrows one accept set (the bar's `location` refuses `record`) and also enlarges the public surface of `@objectstack/spec/ui`: two new exports, `RecordQuickActionsLocationSchema` and `RecordQuickActionsLocation`, and one new published JSON schema, `ui/RecordQuickActionsLocation`. Clause-② judges both accept sets and the public surface, so the honest value is `yes` with the `(narrowing)` arm, the spelling ruling record 7251596106 wrote and the claim's amendment 7253515149 now carries. The first round's `no (narrowing)` treated the new exports as outside the clause; the contract review corrected that (S2). - The generic `action:bar` and `action:group` blocks also take a `location` from the full vocabulary, `record` included, and match it literally. Neither has a Studio dropdown; outside this card, left as they are. - The `record` option's label keys stay in the action inspector (`engine.inspector.action.location.record`), where `record` is a real choice for an action. --- _Generated by [Claude Code](https://claude.ai/code/session_01QsR2jT4byCJU6xgZwQDh8y)_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01QsR2jT4byCJU6xgZwQDh8y <!-- signed: repo:objectstack#1 · zhuangjianguo · session_01QsR2jT4byCJU6xgZwQDh8y --> --------- Co-authored-by: Claude <noreply@anthropic.com>
Fixes #38045
Clause-②: yes (narrowing)
Metadata-protocol: narrowed
Skills-docs: none — no text or eval under skills/ writes a record:quick_actions bar's own location; action locations themselves are unchanged
维护者速读
Seat: repo:objectstack#5 · os-project-manager · session_01FEkQ5pH8MaBBP5T2dVcTHL
Branch: claude/issue-38045-quick-actions-no-record
Ruling-ref: record 7251596106 on the card (maintainer ruling A, verbatim 「A 下拉和格式都去掉」). Analysis: 7251023956.
Rework round (contract review 7253506178, seat ruled both should-fix its way)
Head c68dfcc (merges main at d64541c first).
action-locations-page-parts-retired(packages/spec/src/migrations/entries/semantic/19.action-locations-page-parts-retired.ts) now says, insurface,replacementandacceptanceCriteria, that arecord:quick_actionsbar's ownlocationtakes one place only (record_page, its default,record_row,record_related,record_sectionorlist) and thatrecordthere is refused at parse with the prescription namingrecord_page. No new id, no new entry. The changeset's ADR-0087 marker now says this change extends that entry's surface, and no longer says the conversion maps every protocol-18 bar location: it mapsrecord_header,list_itemandlist_toolbar, and leaves a bar atrecord_moreas stored with a TODO. The ledger feeds only gitignored projections (upgrade guide,spec-changes.json);check:upgrade-guideandcheck:spec-changesare green and nothing else regenerated.Clause-②: yes (narrowing)here and in the changeset (see Acceptance notes).record_header,list_item,list_toolbar,record_more,global_nav) now gets a prescription written for a bar: it names the one place to write and never offersrecord. The shared enum's action-side prescriptions are unchanged. N2 and N3 are untouched.What changes
Ruling A, carried out as one PR. On the
record:quick_actionsbar,recordis not a place the bar can be set to;recordon an action's ownlocationsis untouched.packages/spec/src/ui/action.zod.tsaddsRecordQuickActionsLocationSchema(and its typeRecordQuickActionsLocation):ActionLocationSchema.exclude(['record']), so it rides the shared enum (a location the vocabulary adds reaches the bar too). Its error map answersrecordwith a prescription that namesrecord_page, and every other word with the shared enum's own messages (the retired page-part words andglobal_navare answered on the bar by bar-worded prescriptions, added in the rework round; the shared enum keeps its own).RecordQuickActionsProps.locationuses it; its describe says "any action location butrecord". Proposed refusal text (the contract review judges it):block-config.ts) is built from a total label map keyed byRecordQuickActionsLocation(a TypeScript Record type) (theActionDefaultInspectorLOCATION_LABELSmechanism), so the compiler keeps the options equal to the spec's set: re-addingrecordis TS2353. Display order unchanged exceptrecordis gone (record_pagefirst).engine.inspector.pageBlock.option.location.recordremoved from en (Record · page and rows) and zh (「记录 · 页面与行」).ui/packages/plugin-detail/src/index.tsx(the bar's registration, not the renderer) publishedlocationas[...ACTION_LOCATIONS]; that list is serialized intosdui.manifest.json, which JSX page validation reads. Left as it was, the manifest would still offerrecordon the bar, a second door that accepts what the spec now refuses. It now publishesRecordQuickActionsLocationSchema.options;sdui.manifest.json,scripts/sdui-manifest.record.jsonandcontent/docs/ui/components/record.mdxare regenerated by their generators (the manifest diff is the one enum member and the description). The renderer (record-quick-actions.tsx) is unchanged.api-surface/,export-origins/,declaration-map/,json-schema.manifest/ui.jsonandcontent/docs/references/**regenerated by the spec gates (no hand edits).type-alias-convention.pin.test.tspins the new alias as isomorphic (ADR-0122;check:spec-parsed-aliasasked for it) and its count line moves 879 → 880..changeset/38045-quick-actions-no-record.md:minoron spec, plugin-detail, app-shell and i18n, the two declaration lines, a FROM → TO table, and ADR-0087 dispositionnot-required (already-registered action-locations-acted-on, action-locations-page-parts-retired), whose semantic entry this PR extends (rework round, S1).Census of authored bars at
location: 'record'(any quoting, any file type): 0 in objectstack (git grep -nE "[\"']?location[\"']?\s*:\s*[\"']record[\"']"at 545a4fa), 0 in HotCRM (same pattern at origin/main d48b030b; its onerecord:quick_actionsmention is a test). The authored bars areshowcase_task_detailandsys_user, all atrecord_section, and both still parse.Read first
packages/spec/src/ui/action.zod.ts, theRecordQuickActionsLocationSchemahunk: the refusal text and the.exclude()with an explicit error (the explicit param replaces the copied one, so the retired-word delegation is what keeps those prescriptions).ui/packages/app-shell/src/views/metadata-admin/previews/block-config.ts, theQUICK_ACTIONS_LOCATION_LABELSmap and the dropdown'soptions.ui/packages/plugin-detail/src/index.tsx, the registration'slocationenum (the surface addition above).Two-minute check
pnpm --filter @objectstack/spec exec vitest run src/ui/component-record-blocks.test.ts— expect 36 passed, including the four cases under "record:quick_actionslocation— single places only, neverrecord".Tests
All at head aeb79b9 unless noted.
component-record-blocks.test.ts, new top-level describe in the bar's existing harness): positive (the bar accepts exactlyACTION_LOCATIONSminusrecord, each parses), negative (location: 'record'refused, one issue,code: 'invalid_value',path: ['location'], message first sentence andlocation: 'record_page'),recordstill on the shared enum, and each retired word on the bar is answered with one issue (invalid_value,location), a message that opens with the word, names a single place and never offersrecord, while the shared enum'srecord_headerprescription still offersrecord. A schema refusal carries no ADR-0112status(that envelope is the API's), so the pin iscode+path+ prescription, theadd-record-config-retirement.test.tsprecedent.block-config.test.ts): offers exactlyRecordQuickActionsLocationSchema.options; does not offerrecord(with the non-empty guard); no leftover…option.location.recordtranslation in either locale, with a still-offered key as control.Test runs
pnpm --filter @objectstack/spec test913 files passed, 28896 tests passed, 1 todo; speccomponent-record-blocks.test.ts+action.test.ts+action-locations-acted-on.test.ts198 passed;pnpm --filter @objectstack/spec build && check:generatedall 14 up to date.pnpm --filter @objectstack/spec test(at 8a55fce, before the merge of main and the pin-count commits): Test Files 913 passed (913), Tests 28896 passed, 1 todo.pnpm --filter @objectstack/spec typecheck: exit 0 (check:test-typecheck: OK), rerun after the pin edit.component-record-blocks.test.ts+type-alias-convention.pin.test.ts: 2 files, 39 passed.ui:block-config.test.ts+block-config-i18n.test.ts: 2 files, 68 passed.ui: plugin-detail quick-actions and registration tests + all ofpackages/i18n/: 125 files, 1978 passed, 13 skipped. (The whole plugin-detail suite did not finish inside one 10-minute foreground run; narrowed to the files that read the registration or the bar, and left toTest UI.)pnpm --filter @object-ui/plugin-detail type-check: exit 0.pnpm --filter @object-ui/app-shell type-check(both tsconfigs): exit 0.pnpm --filter @objectstack/dogfood test): lock VERDICT command-exit 0, Test Files 495 passed, 3 skipped (498), Tests 4183 passed, 68 skipped (4251).pnpm --filter @objectstack/dogfood testafter building its closure): lock VERDICT command-exit 0, Test Files 495 passed, 3 skipped (498), Tests 4183 passed, 68 skipped (4251).Ablations (each mutation through scripts/ablation-replace.mjs, landing and restore checked by blob hash)
location: RecordQuickActionsLocationSchema.optional()→ActionLocationSchema.optional(): "refuseslocation: 'record'…" red (1 failed / 35 passed); restored, blob == HEAD..exclude(['record'])→.exclude(['record', 'record_row']): "accepts every action location exceptrecord…" red; restored.recordtoQUICK_ACTIONS_LOCATION_LABELS: "offers exactly the locations the spec accepts" and "does NOT offerrecord" red (2 failed / 45 passed), andtsc --noEmitin app-shell red withTS2353:'record'does not exist in the type, a Record keyed by exactlylist,record_page,record_row,record_relatedandrecord_section— the reverse check that the Console compiles against the rebuilt, narrowed.d.ts. A first attempt was refused by the tool (its replacement contained its anchor) and changed nothing; the run quoted is the second.record" red (1 failed / 35 passed); restored, blob == HEAD.recordoption" red; restored.Gates
Rework round, at c68dfcc:
dispatch-gates --commandsderives 130 families;--ranwith exit codes: 129 run, 1 NOT MEASURED (check-plugin-teardown-shape --self-test, exit 3, shallow clone cannot reach its pinned fixture commit). Six gates first answered exit 3 on an unbuilt closure in the fresh worktree andpnpm --dir ui exec vitest run scripts/was SIGKILLed on the shared box; after building the CLI and lint closures each was rerun: exit 0 (ui scripts: 172 files passed, 2 skipped).check-adr-0087-registration --base origin/main: exit 0 with the reworded marker.Overlap at c68dfcc:
overlap-checkexit 1. Textual conflicts with two open draft PRs on files this PR changed in its first round (generated outputs): feat(spec)!: actions that act on many records are placed atselection; a list view'sbulkActionsis retired #38550 oncontent/docs/references/ui/component.mdx,content/docs/ui/components/record.mdx,scripts/sdui-manifest.record.json; feat(runtime)!: retire POST /packages/:id/adopt-orphans and its two console entries (#38150 PR-B1) #38545 oncontent/docs/references/index.mdx. Not resolved by hand; whichever lands second regenerates.dispatch-gates --commands(derived at c1cb23b, the same list at aeb79b9): 127 families run;--ranwith exit codes: 124 run, 3 NOT MEASURED, all threePREREQUISITE NOT METexit 3, none reading a file this diff changes:check-plugin-teardown-shape --self-test(shallow clone cannot reach its pinned fixture commit),spec check:skill-examples(readspackages/client-react/dist, not built here),check:dual-build-cjs-loads(reads dists of packages not built here). CI runs all three.One real finding along the way, fixed in this PR:
check:spec-parsed-aliasasked for a pin of the new alias (exit 1, then 0).pnpm --filter @objectstack/spec check:generatedafter rebuilding spec on the merged tree: all 14 artifacts up to date.check-adr-0087-registration --base origin/main: exit 0 (the already-registered disposition).check-sdui-manifest,check:sdui-reference,check:nul-bytes,check:issue-citations,check-empty-changeset,check-changeset-no-major: exit 0 at aeb79b9.check:query-options-erasureandcheck:type-check-debtexceed 300 s; rerun without that cap: exit 0 both.Acceptance notes
not-required (already-registered …)stands, and the semantic entry it names is extended here so the claim is a fact (rework round, S1). The original argument, kept for the record: The dispatch left open whether this narrowing needs a conversion entry. The registration gate refusesno-migration-prescriptionon anyMetadata-protocol: narrowedchangeset; what it accepts is a new semantic entry or a category resting on a fact. This PR claimsalready-registered action-locations-acted-on, action-locations-page-parts-retired: the word became legal on the bar only inside unreleased 19, by the change those entries register, and their conversion maps every protocol-18 bar location to a single place (record_header→record_page,list_item→record_row,list_toolbar→list) and never writesrecordon a bar. ADR-0087 records that the gate checks such an id is old, never that it covers the change, so this rests on the argument above. The alternative is a new semantic entry for prerelease authors. Seat repo:objectstack#5 ruled this disposition (option A, not-required) on 2026-11-29 at 08:24 UTC and asked the contract review to check the reading; if the contract review rules a semantic entry is owed, this PR switches to that entry.Clause-②: yes (narrowing). The diff narrows one accept set (the bar'slocationrefusesrecord) and also enlarges the public surface of@objectstack/spec/ui: two new exports,RecordQuickActionsLocationSchemaandRecordQuickActionsLocation, and one new published JSON schema,ui/RecordQuickActionsLocation. Clause-② judges both accept sets and the public surface, so the honest value isyeswith the(narrowing)arm, the spelling ruling record 7251596106 wrote and the claim's amendment 7253515149 now carries. The first round'sno (narrowing)treated the new exports as outside the clause; the contract review corrected that (S2).action:barandaction:groupblocks also take alocationfrom the full vocabulary,recordincluded, and match it literally. Neither has a Studio dropdown; outside this card, left as they are.recordoption's label keys stay in the action inspector (engine.inspector.action.location.record), whererecordis a real choice for an action.Generated by Claude Code