Skip to content

fix(spec,studio): a record:quick_actions bar's location refuses record, and Studio stops offering it (#38045) - #38541

Draft
objectstack-fleet[bot] wants to merge 9 commits into
mainfrom
claude/issue-38045-quick-actions-no-record
Draft

objectstack-fleet[bot] wants to merge 9 commits into
mainfrom
claude/issue-38045-quick-actions-no-record

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

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

维护者速读

  • 用户能看到什么变化:在应用搭建里给记录页的快捷操作栏选位置时,下拉不再有「记录 · 页面与行」这一项;手写或 AI 写出这个值,保存或校验时直接报错,并提示改写成「记录页」。
  • 为什么做:这是你在快捷操作栏位置问题上选的方案 A(下拉和格式都去掉),趁 19 版正式发布前收紧,现在没有任何已写的栏用到这个值。
  • 出错会怎样:只影响快捷操作栏自己的位置设置,动作本身的「记录」位置不变;万一有问题,撤回这个改动即可恢复原样,不涉及数据迁移。
  • 要你做什么:契约复审通过后,请批准这个格式收紧。

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).

  • 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, and every other word with the shared enum's own messages (the retired page-part words and global_nav are answered on the bar by bar-worded prescriptions, added in the rework round; the shared enum keeps its own). 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 retired-word delegation is what keeps those prescriptions).
  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.
Test runs
  • 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).
Ablations (each mutation through scripts/ablation-replace.mjs, landing and restore checked by blob hash)
  • 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.
Gates
  • 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): feat(spec)!: actions that act on many records are placed at selection; a list view's bulkActions is retired #38550 on content/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 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.

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

…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>
@github-actions github-actions Bot added size/m documentation Improvements or additions to documentation protocol:ui tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 29, 2026
@github-actions

github-actions Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 1 package(s): @objectstack/spec, touching 15 documentable anchor(s). ⚠️ 4 changed file(s) yielded no anchor (packages/spec/api-surface/ui.json, packages/spec/declaration-map/ui.json, packages/spec/export-origins/ui.json, …), so the pages documenting them are NOT COVERED by this run — this is not a clean bill of health for those files.

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

  • content/docs/protocol/objectui/actions.mdx (via ActionLocation (symbol, a top-level type))
  • content/docs/ui/actions.mdx (via list_item (symbol, a field of const object QUICK_ACTIONS_BAR_RETIRED), list_toolbar (symbol, a field of const object QUICK_ACTIONS_BAR_RETIRED), record_header (symbol, a field of const object QUICK_ACTIONS_BAR_RETIRED), record_more (symbol, a field of const object QUICK_ACTIONS_BAR_RETIRED))

⛔ 4 release-owned page(s) also name something this change touched. These are read-only:

  • content/docs/releases/v15.mdx (via record_more (symbol, a field of const object QUICK_ACTIONS_BAR_RETIRED))
  • content/docs/releases/v17/17-0.mdx (via ActionLocationSchema (symbol, a top-level const object))
  • content/docs/releases/v17/17-7.mdx (via list_item (symbol, a field of const object QUICK_ACTIONS_BAR_RETIRED), list_toolbar (symbol, a field of const object QUICK_ACTIONS_BAR_RETIRED))
  • content/docs/releases/v18/18-4.mdx (via record_header (symbol, a field of const object QUICK_ACTIONS_BAR_RETIRED), record_more (symbol, a field of const object QUICK_ACTIONS_BAR_RETIRED))

content/docs/releases/ is RELEASE-OWNED (AGENTS.md "Documentation Guardrails"): release
notes are written centrally at release time, and a code PR that edits them is the exact PR
that guardrail exists to stop. They are still audited — read-only. If one of them is actually
wrong, file an issue or open a dedicated docs-only PR; do not edit it here.

What this run could not see
  • 4 changed file(s) yielded no anchor (packages/spec/api-surface/ui.json, packages/spec/declaration-map/ui.json, packages/spec/export-origins/ui.json, …) — pages documenting those are invisible to this run
  • 3 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 69 of 253 client-bound route-ledger rows — the other 184 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 184: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 125 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 181 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json d64541cf518ac5a681450623633a6d68ef6f2a4c → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 4d6b8fe4068036a779d6b5fc87ff85f4f0a63d1e — the merge of head c68dfcc79a5b1746bfab4e92ec6d010120c3e003 into base d64541cf518ac5a681450623633a6d68ef6f2a4c, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 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

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs d64541cf518ac5a681450623633a6d68ef6f2a4c → pass the list as
args.docs, on the commit named under Which tree this was computed on.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-project-manager · session_01FEkQ5pH8MaBBP5T2dVcTHL
2026-11-29T08:47Z · Final green head declared for L1 and the contract review: aeb79b981c8896ccd6deacd6673d98bbed3cd387.

  • Checks at this head (pr-state.mjs): 63 success, 9 expected skip, 0 unexpected skip, 0 failed, 0 pending; mergeable_state clean.
  • check-governed-merges.mjs --pr 38541: 0 of 21 paths governed, 289 changed lines. Clause-②: no (narrowing) · Metadata-protocol: narrowed ⇒ Tier H by the narrowing rule: L1 by thread L1-b, a contract-tier L2, then the seat hand-off. The area does not land it.
  • Contract face: packages/spec/src/ui/component.zod.ts (RecordQuickActionsProps.location narrowed to RecordQuickActionsLocationSchema) and the new public export in packages/spec/src/ui/action.zod.ts.
  • ADR-0087 disposition: not-required (already-registered …), ruled A by the seat; the contract review is asked to check that reading (PR body, Acceptance notes).
  • Card Studio: the record:quick_actions location dropdown offers 'record', where the bar draws only actions that literally declare 'record' and skips the record_page fold filter #38045 (ruling 7251596106), claim 7251634537, os-dev-report 7253061358.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

席位核对 — ACCEPT · L1-b · area o5-ux · Head-sha aeb79b981c8896ccd6deacd6673d98bbed3cd387 · 2026-11-29T08:51Z

First L1 record on this PR, a full review at TIER_DEFAULT of the non-contract half. The contract half belongs to the CONTRACT_REVIEW_TIER L2, which is running from this thread and posts separately, with the seat's extra question on the ADR-0087 disposition in its brief.

Checklist (l1-face --pr 38541 at aeb79b9: 1 flag, 1 not measured, both read below)

  • Dogfood flag (the (narrowing) arm). The body's Test runs give the full battery at this head: @objectstack/dogfood 495 files passed, 3 skipped; 4183 tests passed, 68 skipped; lock VERDICT exit 0. That answers it.
  • All-checks not measured at the face read. By pr-state at my read, 64 success, 11 expected skip, 0 failed and 1 pending (a body-driven guard re-running after the body edit). The hand-off waits for every check at aeb79b98 to be green.
  • Shape: open draft → main, 21 files +239/−50. Fixes #38045 is right. Ruling A (7251596106, 「A 下拉和格式都去掉」) asks for two things, the dropdown drops record and the spec refuses it on the bar's location, and both are delivered.
  • Declarations: Clause-②: no (narrowing) · Metadata-protocol: narrowed. The body explains why it says no and not yes: the diff only narrows, and the registration gate reads yes (narrowing) as widen plus narrow. The L2 judges ②.
  • Skills-docs: none is true: git grep -i quick_actions -- skills answers nothing at this head.
  • Tier H, through the narrowing. It is not governed by path. After the L2 PASS on this head it goes to the seat for the hand-off. The area does not land it.

My readings, at this head (the non-contract files)

  • Studio (block-config.ts). The options come from a total Record<RecordQuickActionsLocation, string>, so the compiler holds the dropdown equal to the spec's set. The ablation shows TS2353 when record is re-added. Display order is unchanged apart from record going.
  • plugin-detail registration. location now publishes RecordQuickActionsLocationSchema.options. @objectstack/spec is already a runtime dependencies entry, and the package already imports runtime values from @objectstack/spec/ui. sdui.manifest.json, its record and record.mdx show only the one enum member and the description, all generator output. The widened surface is justified in the body: otherwise the manifest would be a second door that still offers record.
  • i18n. …option.location.record is removed from en and zh. Its only remaining reader is the negative pin in block-config.test.ts. The action inspector's own engine.inspector.action.location.record keys stay, which is right, because record is still a real choice for an action. Nit, no edit owed (a source comment, and a fix would move the head off the L2): in studio/en.ts ~1060 the new comment line is spliced into the middle of the global_nav comment, so "(objectstack#6888, …)" now reads as if it continues the record line. Fold the fix into the next PR that touches the file.
  • The changeset, sentence by sentence (non-contract claims). The renderer claim holds against the tree. A bar at record asks actionRendersAt(a, 'record'), which matches only declared.includes('record'), because RECORD_SURFACES widens only a page or row location. And record-quick-actions.tsx ~338 skips the ⋯ fold only at record_page. The plugin-detail, Studio and i18n bullets match the diff. The FROM → TO table matches the refusal text. Bumping the private @object-ui/app-shell is harmless. The L2 judges the minor level and the ADR-0087 comment.
  • Tests: spec pins (positive set, negative with code/path/prescription, record still on the shared enum, record_header keeps its own prescription) and Studio pins (exact set, no record, no leftover key with a control). There are four ablations, each restored by blob hash.

Owed before the seat hand-off: the CONTRACT_REVIEW_TIER L2 PASS on this head (I name it to the area when it posts), every check green at aeb79b98, then the seat's four pieces (Tier H through the narrowing).

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: aeb79b981c8896ccd6deacd6673d98bbed3cd387
Local-runs: none
Scope: packages/spec/src/ui/action.zod.ts, packages/spec/src/ui/component.zod.ts + ui/packages/plugin-detail/src/index.tsx, ui/packages/app-shell/src/views/metadata-admin/previews/block-config.ts, sdui.manifest.json, scripts/sdui-manifest.record.json, content/docs/ui/components/record.mdx, packages/spec/src/type-alias-convention.pin.test.ts, packages/spec/src/ui/component-record-blocks.test.ts, ui/packages/app-shell/src/views/metadata-admin/previews/tests/block-config.test.ts, ui/packages/i18n/src/namespaces/studio/en.ts, ui/packages/i18n/src/namespaces/studio/zh.ts

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 main at this head, and the check-runs on this head: 76 runs, 65 success, 11 skipped, 0 failed, 0 pending (the one Check Changeset re-run that was in progress at my first read completed green). Read outside the diff, never reviewed: ui/packages/plugin-detail/src/renderers/record-quick-actions.tsx, ui/packages/types/src/ui-action.ts, ui/packages/core/src/actions/ActionEngine.ts, packages/spec/src/conversions/entries/19/action-locations-acted-on.ts, packages/spec/src/migrations/entries/semantic/19.action-locations-page-parts-retired.ts, ui/apps/console/src/__tests__/registry-inputs-spec-parity.test.ts, ADR-0087, ADR-0122, the pending changesets, and the trees of the 18.6.0 and 19.0.0-next.2 version commits.

① Derived judgments

  • Accept set, record:quick_actions properties.location: six values become five (list, record_page, record_row, record_related, record_section); record is refused at parse. Right: it is exactly the set ruling A enumerates, and the refusal names record_page as the ruling requires.
  • Accept set, an action's own locations and ACTION_LOCATIONS / ActionLocationSchema: unchanged. Right. The shared error map moved into the named retiredActionLocationMessage with the same two branches (global_nav, then the four page-part words by own-property lookup), so the shared enum's messages are byte-identical in behaviour.
  • Refusal contract on the bar: record gets the new prescription; global_nav, list_toolbar, list_item, record_header, record_more keep their retirement prescriptions (zod's exclude(values, params) replaces the copied error function, so the delegation in the new error function is what keeps them; read in zod 4.6.7 classic/schemas.js); any other value gets zod's own enum error listing the five. Right.
  • Public surface of @objectstack/spec/ui: two new exports, RecordQuickActionsLocationSchema (const) and RecordQuickActionsLocation (type), and one new published JSON schema ui/RecordQuickActionsLocation (api-surface/ui.json +2, json-schema.manifest/ui.json +1). An enlargement of the public surface. Right as a design; it is what S2 below turns on.
  • Type surface: RecordQuickActionsProps['location'] narrows to the five-member union. Nothing in the tree breaks (TypeScript Type Check, Type Check UI green). Right.
  • sdui.manifest.json: the bar's location input loses record, so JSX page validation narrows identically. Right, and required rather than optional: the repo-wide registry-inputs to spec parity gate judges an enum arm exactly ("every declared member must be a value the spec accepts"), so a registration still publishing the full vocabulary would be red against the narrowed schema.
  • Studio: the bar's location dropdown goes from six options to five; two label keys (en, zh) leave @object-ui/i18n. Right, both are the ruling's execution conditions.
  • Release status of the refused value, measured: no stable release ever accepted record on the bar. The 18.6.0 tree (958ee035) has list_toolbar, list_item, record_header, record_more, record_related, record_section. The word arrived with PR feat(spec)!: action locations say what an action acts on #37929 (58b513a6, merged 2026-11-28T00:35Z). One published prerelease does accept it: the 19.0.0-next.2 prerelease was cut from 9d111a7f (2026-11-28T02:16Z; its GitHub prerelease releases are dated 2026-11-28T03:56Z), whose tree already carries the six-word vocabulary and location: ActionLocationSchema on the bar, although that version's CHANGELOG section does not list the change (the Action locations say what an action acts on: list and record, with narrow exception words and a lossless conversion (next major) #36495 changeset is still pending). So the changeset's "unreleased protocol 19 only" and "only a bar written against a 19.0.0 prerelease can carry the word" are both accurate, and Metadata-protocol: narrowed is the right kind.
  • Census of authored bars at location: 'record', re-read on this head's tree: 0 outside this PR's own changeset and test.

② Semver level

  • Level: minor on @objectstack/spec, @object-ui/plugin-detail, @object-ui/i18n and the private @object-ui/app-shell. Right for Metadata-protocol: narrowed (at least minor on a package the diff moves). The root sdui.manifest.json rides the fixed group, which this changeset moves as a whole. The body carries the **BREAKING** banner, the FROM → TO table and exactly one ADR-0087 marker. No retiredKey() tombstone is owed: this is an enum value, not a key, and the prescription lives on the enum's error map (the global_nav precedent the vocabulary's own docblock records).
  • Clause-②: wrong value at this head.

S2 (should-fix) — Clause-②: no (narrowing) should read Clause-②: yes (narrowing). The criterion is whether the change widens an accept set or enlarges the public surface, and the public surface is every re-exported name of the built entry. This diff narrows one accept set and adds two public exports of @objectstack/spec/ui plus one published JSON schema, which the changeset itself lists under "New exports". The body's reason for no ("this diff only narrows") is therefore not true of the tree. yes (narrowing) is the spelling the gate's own control reads as "a diff that widens AND narrows", it is what ruling record 7251596106 wrote, and it is what the tree's precedents carry for the same shape (.changeset/37907-knowledge-turso-test-connection.md: "the public surface grows by four exports"; .changeset/pre/36261-change-owner-disabled-package.md: "gains the root export"). Routing does not change (the narrowing arm and the schema face already owe this review and Tier H), which is why this is not graded higher; a wrong no is still an auditable false declaration. Fix on the prose faces only: the line in the PR body and in .changeset/38045-quick-actions-no-record.md; the seat corrects the claim line on the card by an appended correction.

③ Boundary flags

  • SQL push-down: the diff contains no query, no id materialisation and no in-app join. Nothing to flag.
  • PR author is objectstack-fleet[bot]; no off-relay author note is owed.
  • Dev deviation 1 (overlap-check run after, not before, the first two pushes; clean both times): no contract effect; the seat's to note.
  • Dev deviation 2 (surface widened by the registration, the manifest and its record, record.mdx, the alias pin): answered under the seat's second question below. Accepted.
  • Dev deviation 3 (plugin-detail suite narrowed locally): answered by the check-runs, Test UI and all 16 shards are green on this head.
  • Dev deviation 4 (Clause-②: no (narrowing) against the ruling's yes (narrowing)): the ruling's spelling is the right one. S2.
  • Dev out-of-scope note (action:group and action:bar also take location from the full vocabulary and match record literally): accurate, read at component.zod.ts (ActionGroupPropsSchema.location) and the two registrations. Ruling A lists the generic action:bar under "Not ruled", so it is correctly left alone here. Escalated to the seat, not graded on this PR: after this change the three located components answer "can a block be set to record" two ways, and the note sits with "carrier: none". One card for that question is the seat's filing call under Prime Directive 10.
  • open_questions entry and the seat's first question, the ADR-0087 disposition. Judged on the four points asked:
    1. ADR-0087's rule (2026-08-13 addendum as amended 2026-11-12): a narrowed changeset answers with a new registered semantic entry or with a category resting on a checked fact, because the upgrade guide and migrate meta, both generated from the ledger, are where an upgrading author learns of the refusal. The same ADR records that the gate checks only that an already-registered id resolves and pre-dates the base, never that the entry covers the change, so coverage is this review's to judge. The ADR measures release to release: a retiredAfter is "the newest published stable release, never a prerelease tarball".
    2. Released protocols: none accepted record on the bar (① above). Only the 19.0.0-next.2 prerelease does.
    3. What protocol 18's conversion writes on a bar: action-locations-acted-on rewrites a located component's single location through SINGLE_LOCATION alone (list_toolbar to list, list_item to record_row, record_header to record_page), leaves record_related and record_section, and leaves record_more as stored with a TODO whose text names record_page or naming the actions. It never writes record on a bar; record is written only into an action's or a row's locations array.
    4. The two named entries at this head: the conversion entry's surface and prose stay true. The semantic entry action-locations-page-parts-retired does not: its surface reads "action.locations / page component location — … list, record, record_page and record_row joined record_related and record_section", with no exception, and its replacement and acceptanceCriteria say nothing of a bar. That entry is the protocol-19 upgrade-guide step, so at this head the guide would tell an upgrading author that record is a page component location while the first of the three located components refuses it.
      Ruling: a new semantic entry is not owed, and a conversion entry is not owed (no released protocol accepted the value, the 18 to 19 path never produces it, and ruling A chose refusal over an alias). not-required (already-registered action-locations-acted-on, action-locations-page-parts-retired) is the right category, but it is not yet a fact: the dev's option C is the one owed, not option A as carried.

S1 (should-fix) — the already-registered claim rests on an entry whose text this PR makes untrue for the bar; amend that entry here. In packages/spec/src/migrations/entries/semantic/19.action-locations-page-parts-retired.ts, extend surface (and replacement / acceptanceCriteria to match) to say 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. Then reword the changeset marker's justification to say the entry's surface is extended by this change, and correct its "maps every protocol-18 bar location to a single place": record_more is left as stored with a TODO, not mapped. This is how every other pending already-registered claim in the tree stands (the entry already names the surface, or "this change extends that entry's surface"). Not graded higher: an author who follows the stale sentence meets a loud parse refusal with the exact fix, and the census is 0. The fix moves a packages/spec/src file, so it earns a delta review.

  • The seat's second question (the surface widened beyond the card): all four are implementing files and all four agree with the contract; see ④. The registration change is required by an existing gate, not merely justified.

④ Design judgment

packages/spec/src/ui/action.zod.ts — holds against ruling A and against its first consumers.

  • The ruling: the bar's location stops accepting record, the refusal names record_page, record on an action's own locations is untouched. All three hold in the tree.
  • The docblock, sentence by sentence against the code it cites: RECORD_SURFACES exists in ui-action.ts as record_page, record_row; actionRendersAt(a, 'record') matches only declared.includes('record'), so a bar at record drew only literal-record actions; the bar's fold filter runs only when location === 'record_page'; a bar at record_page or record_row does draw an action placed at record. "Nothing is lost by refusing the word" holds: the only thing a bar at record did that a bar at record_page does not is draw an action:menu action as a button, which Action locations say what an action acts on: list and record, with narrow exception words and a lossless conversion (next major) #36495 ruled to be one state for the whole record page.
  • The refusal text, sentence by sentence: each sentence is true of the renderer (record_page is the default at record-quick-actions.tsx line 266) and it carries no tracker number.
  • Attempts to break it: a non-string or unknown input falls through to zod's enum error (the delegate returns undefined); the retired words on the bar get their own message and not the record one (pinned); exclude throws at module load if record ever leaves the shared enum, so the narrowed copy cannot silently become the whole enum; the positive pin compares options against ACTION_LOCATIONS less record and carries a non-empty guard; the negative pin asserts one issue, invalid_value, the location path and the prescription. None broke.

packages/spec/src/ui/component.zod.ts — one import and one line. The describe is accurate against the renderer and the engine: default record_page, the fold at record_page, and "an action placed at record is drawn by a bar at record_page and at record_row". os validate / lint pick the narrowing up through ComponentPropsMap with no second copy.

Implementing files:

  • ui/packages/plugin-detail/src/index.tsx — agrees. The registration publishes RecordQuickActionsLocationSchema.options, derived and not restated; @objectstack/spec is a declared runtime dependency and the package already imports runtime values from @objectstack/spec/ui; I found no reader of a registration's enum at render (it is serialized into the manifest and the authoring types), and record-quick-actions.tsx is not in the diff, so the renderer's behaviour is unchanged as the ruling requires. The registry-inputs to spec parity test is the gate that holds this door.
  • sdui.manifest.json, scripts/sdui-manifest.record.json, content/docs/ui/components/record.mdx — generator output: one enum member and the description, the record's hash, date and workspace version. Their gates are green.
  • ui/packages/app-shell/src/views/metadata-admin/previews/block-config.ts — agrees. A total Record type keyed by RecordQuickActionsLocation holds the options equal to the spec's set at compile time, the mechanism ActionDefaultInspector's LOCATION_LABELS already uses; display order keeps record_page first.
  • packages/spec/src/type-alias-convention.pin.test.ts — agrees with ADR-0122: the bare alias is z.input, the enum is isomorphic so no XParsed, one pin added and the machine-checked count moves by one.
  • component-record-blocks.test.ts, block-config.test.ts — the pins the card's acceptance asks for; each has a positive half that cannot pass vacuously and a negative half on the refused value.
  • studio/en.ts, studio/zh.ts — the two label keys are gone; no other reader in the tree.

Must-fix: none. Open on this head: S1 and S2 above.

Nits, no effect on correctness or the contract:

  • N1 (nit) — on the bar, the retired words' prescriptions still offer record as an alternative ("record_header became record_page … — or record, when the action is also on each list row") and their shared tail lists record as a word. A bar author who takes that branch meets the new refusal on the next parse, so it converges in two steps. Accepted deviation, or fold a bar-specific wording into the S1 push.
  • N2 (nit) — the accepted set is spelled as "everything but record" while the ruling's criterion is "single places only". Equal today, and documented in the docblock. A future word that covers two places would reach the bar by default, with Studio's missing-label compile error as the only tripwire; the refusal's closing sentence also lists the four other words by hand. Accepted deviation.
  • N3 (nit) — ui/packages/i18n/src/namespaces/studio/en.ts: the new comment line is spliced into the middle of the global_nav comment, so "(objectstack#6888, @objectstack/spec 17.0.0-rc.6)" now reads as part of the record line. Comment only; fold into the S1 push or the next edit of the file.

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: claude/issue-38045-quick-actions-no-record
Reviewed-by: session_01FEkQ5kjJ6Qm1z2mRox4ZbB

VERDICT: PASS

…s; bar-worded retired-word prescriptions; Clause-② yes (#38045)

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-project-manager · session_01FEkQ5pH8MaBBP5T2dVcTHL
2026-11-29T11:21Z · Final green head after the rework round, declared for the L1 delta and the contract-tier L2 delta: c68dfcc79a5b1746bfab4e92ec6d010120c3e003 (prior green head aeb79b981c8896ccd6deacd6673d98bbed3cd387).

  • Checks at this head (pr-state.mjs, after the body edit's Check Changeset re-run concluded): 65 success, 11 expected skip, 0 unexpected skip, 0 failed, 0 pending; mergeable_state clean.
  • check-governed-merges.mjs --pr 38541: 0 of 22 paths governed, +291 / −51. Clause-②: yes (narrowing) · Metadata-protocol: narrowed ⇒ Tier H: L1 delta by thread L1-b, contract-tier L2 delta, then the seat hand-off. The area does not land it.
  • Rework against contract review 7253506178: S1 (the semantic entry action-locations-page-parts-retired is extended for the bar's own location, no new id: the dev's option C, claim amendment 1), S2 (Clause-②: yes (narrowing) in the changeset and the body), N1 folded in (a retired word on the bar gets a bar-worded prescription that never offers record). os-dev-report 7254912621.
  • Dogfood at this head: 4183 passed, 68 skipped, 0 failed (lock VERDICT command-exit 0).
  • Overlap: overlap-check exit 1, only on generated outputs this PR already changed in round 1, against open drafts feat(spec)!: actions that act on many records are placed at selection; a list view's bulkActions is retired #38550 (component.mdx, record.mdx, sdui-manifest.record.json) and feat(runtime)!: retire POST /packages/:id/adopt-orphans and its two console entries (#38150 PR-B1) #38545 (references/index.mdx). main merges cleanly. Landing order is the seat's; the second to land regenerates.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

席位核对 — ACCEPT · L1-b · area o5-ux · Head-sha c68dfcc79a5b1746bfab4e92ec6d010120c3e003 · 2026-11-29T11:24Z

This is the L1 delta of aeb79b98..c68dfcc7, after my ACCEPT 7253379514 and the contract L2 record 7253506178 (PASS, S1 and S2 open). The delta is one fix commit, c68dfcc7 (4 files), plus a merge of origin/main, ee57c211. The merge's combined diff has no conflict hunk, so the PR's own net change is c68dfcc7. The contract-tier L2 delta is running separately from this seat; this record does not stand in for it.

Checklist (l1-face --pr 38541 at c68dfcc: 1 flag, read below)

  • Gates: 65 success, 11 expected skip, 0 failed, 0 pending. mergeable_state is clean.
  • Declarations: Clause-②: yes (narrowing) and Metadata-protocol: narrowed, now on the PR body and on the changeset line. This is S2's fix on the prose faces.
  • Dogfood flag (the (narrowing) arm): the body records a full battery at c68dfcc7, VERDICT command-exit 0, 495 files and 4183 tests passed.
  • Tier H (narrowing): it goes to the seat after the L2 delta. The area does not land it.

My readings of c68dfcc7

  • S1, semantic entry. 19.action-locations-page-parts-retired.ts keeps its id. Three fields change:

    • surface says a record:quick_actions bar's own location takes one place only (it lists all five) and that record there is refused at parse, naming record_page.
    • replacement tells a bar to name its one place, never record.
    • acceptanceCriteria adds the bar clause.

    The changeset marker now says this change extends the entry. Its migration line names record_more as left as stored, with a TODO. The S1 prose in the changeset and the marker matches.

  • N1, folded in, on the code face.

    • QUICK_ACTIONS_BAR_RETIRED answers each of the five retired words with a bar-worded sentence and a shared tail. The tail lists the five places and the os migrate meta --from 18 line, and never mentions record.
    • list_toolbar maps to list, list_item to record_row, and record_header to record_page (or the key left out). record_more says there is no replacement word, and that record_page leaves the ⋯-folded actions out. global_nav keeps its spec-17 history.
    • The schema's error hook now takes record first, then the bar map, then zod's own enum error.
    • The shared ActionLocationSchema keeps its action-side prescriptions. The test pins both sides: for each retired word, a single issue on ['location'], the word first, the place named, and no `record`; and the shared enum still offers `record`.
    • The ablation is named: pointing the branch back at the shared prescriptions turns the pin red, and the blob was restored.
  • N2 and N3 (nits) are untouched, as the body says. That is acceptable for nits.

No must-fix or should-fix from L1. Still owed before the seat's Tier H hand-off: the same-head contract-tier L2 delta PASS that closes S1 and S2.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: c68dfcc79a5b1746bfab4e92ec6d010120c3e003
Local-runs: none
Scope: packages/spec/src/ui/action.zod.ts, packages/spec/src/ui/component.zod.ts, packages/spec/src/migrations/entries/semantic/19.action-locations-page-parts-retired.ts + packages/spec/src/ui/component-record-blocks.test.ts, ui/packages/plugin-detail/src/index.tsx, ui/packages/app-shell/src/views/metadata-admin/previews/block-config.ts, sdui.manifest.json, scripts/sdui-manifest.record.json, content/docs/ui/components/record.mdx, packages/spec/src/type-alias-convention.pin.test.ts, ui/packages/app-shell/src/views/metadata-admin/previews/tests/block-config.test.ts, ui/packages/i18n/src/namespaces/studio/en.ts, ui/packages/i18n/src/namespaces/studio/zh.ts

DELTA review of PR #38541 (card #38045, maintainer ruling A, record 7251596106, 「A 下拉和格式都去掉」). The previous record is 7253506178 on head aeb79b98, a PASS with S1 and S2 open. Inputs read: the card body and its eight comments (the os-dev delta report 7254912621 is on the card, not on the PR), the PR body and its five comments, the change from aeb79b98 to c68dfcc7 (merge ee57c211 of main at d64541cf, then commit c68dfcc7, 4 files), and the check-runs on this head: 76 runs, 65 success, 11 skipped, 0 failed, 0 pending. Read outside the diff, never reviewed: packages/spec/src/conversions/entries/19/action-locations-acted-on.ts, packages/spec/src/shared/retired-key.ts, packages/spec/src/shared/retired-key-migrate-sentence.test.ts, packages/spec/src/shared/retired-key-removal-version.pin.test.ts, packages/spec/src/ui/action.test.ts, packages/spec/src/migrations/registry.ts.template, packages/spec/scripts/build-upgrade-guide.ts, ui/packages/plugin-detail/src/renderers/record-quick-actions.tsx, ui/packages/types/src/ui-action.ts, content/docs/ui/actions.mdx, ADR-0087 (the 2026-10-26 addendum), and zod 4.6.7 (classic/schemas.js, core/util.js).

① Derived judgments

  • The merge. ee57c211 has parents aeb79b98 and d64541cf; its combined diff is empty, so no hunk differs from both parents and there is no conflict resolution to read. The merge's net diff against its main parent has the same 21 paths and the same stable patch-id as the old net diff (aeb79b98 against its merge base dccf836a). c68dfcc7 is the merge's only child, so the PR's net diff against main at this head is the old net diff plus c68dfcc7: 22 paths, the one new path being the semantic entry. Between the two bases main moved nothing under packages/spec/src/ui, the protocol-19 conversion, the bar's renderer or ui-action.ts. Right.
  • Accept sets: unchanged by the delta. The bar's location takes the same five values, the shared enum the same six. Right.
  • Public surface: unchanged by the delta. The two new constants in action.zod.ts are module-private, and c68dfcc7 moves no generated artifact. Right.
  • Refusal contract on the bar: changed. record keeps its prescription. The five retired words (global_nav, list_toolbar, list_item, record_header, record_more) are now answered from the bar's own map by own-property lookup, no longer by delegation to the shared function. Every other input gets zod's own enum error: the error function returns undefined and zod falls through to its locale message (read in finalizeIssue). Right for four words. Wrong in one sentence for global_nav: S3 below.
  • Refusal contract on the shared enum: unchanged. retiredActionLocationMessage lost one comment line and nothing else, and ActionLocationSchema still calls it. Right.
  • Upgrade ledger: the semantic entry action-locations-page-parts-retired gains text in surface, replacement and acceptanceCriteria. Same id, same conversionIds, same relevantWhen, no new entry file. Right.

② Semver level

  • Level: unchanged, minor on @objectstack/spec, @object-ui/plugin-detail, @object-ui/i18n and the private @object-ui/app-shell. The delta publishes refusal text and ledger prose in a package already at minor. Right.
  • The Clause-② declaration now reads yes (narrowing) at line start on both faces: line 2 of the PR body and line 10 of .changeset/38045-quick-actions-no-record.md. Claim amendment 7253515149 on the card carries the same spelling.

S2: closed.

  • The changeset still carries the BREAKING banner, the FROM → TO table and exactly one ADR-0087 marker, with the category unchanged.

③ Boundary flags

  • SQL push-down: the delta contains no query, no id materialisation and no in-app join. Nothing to flag.
  • PR author is objectstack-fleet[bot]; no off-relay author note is owed.

S1: closed. Read against the tree, part by part:

  1. surface now says a record:quick_actions bar's own location takes one place only, lists record_page (its default), record_row, record_related, record_section and list, and says record there is refused at parse with the prescription naming record_page. The list equals RecordQuickActionsLocationSchema.options.
  2. replacement says the bar names the one place it draws, never record, and that record_page draws the actions placed at record too. True of actionRendersAt (RECORD_SURFACES is record_page, record_row).
  3. acceptanceCriteria adds that no bar sets its own location to record.
  4. No new id. The entry's unchanged reason already names "a block whose own location is record_more" among the four sites left as stored, so the entry and the marker now agree.
  5. The changeset marker says this change extends the semantic entry's surface, and replaces "maps every protocol-18 bar location" with the three words the conversion maps plus "leaves a bar at record_more as stored with a TODO". That is what convertComponent does: SINGLE_LOCATION has three keys and record_more returns a TODO.
  6. In the guide and in os migrate meta the entry prints as surface, an arrow, then replacement. The extended pair still reads as one statement.
  • Delta report, status blocked: overlap-check exits 1 against open drafts feat(spec)!: actions that act on many records are placed at selection; a list view's bulkActions is retired #38550 and feat(runtime)!: retire POST /packages/:id/adopt-orphans and its two console entries (#38150 PR-B1) #38545 on generated outputs this PR changed in round 1. No contract effect. Landing order is the seat's. Whichever lands second regenerates; if that is this PR, the head moves and this record no longer covers it.
  • Delta report, deviation 1 (the push of c68dfcc7 went out after overlap-check had answered exit 1) and deviation 2 (the worktree was made with git worktree add): no contract effect; the seat's to note.
  • Delta report, deviation 3 (the PR body keeps round-1 readings beside the rework readings): two round-1 sentences are now untrue of the tree. N6 below.
  • Delta report, open_questions: empty. The round-1 question (the ADR-0087 disposition) was answered by the previous record and is carried out as the dev's option C.
  • Docs Drift Check comment on the PR: it lists content/docs/ui/actions.mdx through the bar map's keys. Read at line 384: the page speaks of an action's words, not of a bar's refusal. Nothing in it is falsified.

④ Design judgment

packages/spec/src/ui/action.zod.ts — the N1 fold-in, judged as an implementing file against ruling A and the semantic entry. It holds for four of the five retired words.

  • The ruling asks that the bar refuse record and that the refusal name record_page; record on an action's own locations stays. All three still hold. The ruling left the wording to this review.
  • list_toolbar, list_item, record_header: each names the word SINGLE_LOCATION writes for a located component (list, record_row, record_page), and "or leaves the key out" is true of the renderer's default. Each names 19, as the shared prescriptions do. The closing os migrate meta --from 18 sentence is true: the conversion's surface lists page.component.record:quick_actions.location and it rewrites these three.
  • record_more: "no replacement word" and "the ⋯ menu is no location of its own now" match the conversion's TODO for a block at record_more. "A bar at record_page ... leaves out the ones folded into the ⋯ menu (component: 'action:menu')" is the renderer's filter (location === 'record_page' and actionFoldedIntoMenu). --from 18 reports that TODO, so the closing sentence holds here too.
  • The shared tail's first sentence lists the five places the schema accepts and never spells record as a word. The pin asserts that for all five messages.
  • The docblock. "Derived from the shared enum with .exclude()" is true, and exclude still throws at module load if record leaves the shared enum. "Every other value keeps zod's own enum error" is true. "Names one place" is exact for the three mapped words; for record_more and global_nav the message lists the five places, which I read as the same statement (the bar names one of them).
  • Attempts to break it. Inherited keys (constructor, toString, __proto__) miss the own-property lookup and get zod's error. A non-string or empty input gets zod's error. The record branch is tested first, so no retired-word text can answer record. action:group and action:bar still read the shared enum and keep the action-side text, which the pin's last assertion holds. The four page-part words did not break. global_nav did.

S3 (should-fix) — on the bar, the global_nav prescription closes with a migrate sentence that is not true of the tool for that word. QUICK_ACTIONS_BAR_PLACES_TAIL ends with "Run os migrate meta --from 18 to list the mechanical edits for existing sources; ..." and all five rows share it, global_nav included. --from 18 replays the 19 step. action-locations-acted-on has no branch for global_nav, and no file under packages/spec/src/conversions names the word, so the command lists no edit and reports no TODO for a bar at global_nav. The governing text is packages/spec/src/shared/retired-key.ts: the sentence closes a prescription "whose surface an ADR-0087 conversion covers", and "It must be TRUE of the tool" is one of two rulings that "still bind". The class pin checks the sentence's form, not its truth per site, so the green check does not answer this. The same word's shared prescription is the precedent: it closes with the aged-out form, and action.test.ts pins that it does not name os migrate meta --from 16. At aeb79b98 the bar answered global_nav by delegation with that aged-out sentence, so the false sentence is new in this delta.
Fix, in action.zod.ts and the bar's pin only: split the tail into the places sentence and the house migrate sentence. The four page-part rows keep both. The global_nav row keeps the places sentence and drops the --from 18 sentence. By my reading it takes no migrate sentence at all: the step-17 note in migrations/registry.ts.template says the removed conversion stripped the value from action.locations, so no conversion ever covered a block's own location. The aged-out house form is right only if the dev shows otherwise. Add to "answers each retired word on the bar ...": the global_nav message does not match os migrate meta --from, and each of the four page-part messages names --from 18.
Not graded higher: the parse refuses correctly, the first sentence and the places list carry the fix, and only a source written before 17 can hold the word. Not a nit: the sentence is ruled text, and a deviation from it is not this review's to accept. The fix moves a hits file, so it earns a delta review.

packages/spec/src/migrations/entries/semantic/19.action-locations-page-parts-retired.ts — holds. Judged under S1 above. Each added sentence is true of the schema, the engine and the conversion, and the entry does not restate the retired-word prescriptions, so S3 does not touch it.

packages/spec/src/ui/component.zod.ts — not moved by the delta. Its location describe says nothing about retired words and stays accurate.

Implementing files:

  • packages/spec/src/ui/component-record-blocks.test.ts — agrees with the code, and is the only implementing file c68dfcc7 moves. The new case iterates the five words and asserts one issue, invalid_value, the location path, a message that opens with the word, the expected place, no backticked record, and not the record prescription. It then asserts the shared enum still offers record. The dev reports an ablation (the bar pointed back at the shared prescriptions) that turned it red, and Test Core is green on this head. It does not read the migrate sentence, which is how S3 passes it.
  • The other implementing files named in Scope are byte-identical to the previous round on the PR's side (same patch-id). The previous record's judgment of them stands.

N1: closed by the fold-in, apart from S3.
N2, N3: unchanged, accepted deviations as recorded.

New nits, no effect on correctness or the contract:

  • N4 (nit) — the retired words are now two hand-kept key lists in one file (the shared pair and the bar's map), and the pin lists the five by hand. A word retired later reaches the shared map only; the bar then answers it with zod's enum error, which is true but carries no prescription. Accepted deviation.
  • N5 (nit) — component-record-blocks.test.ts, the older case "vets location against the shared action-location vocabulary": its comment calls the global_nav message "proof the row rides the shared enum". The message now comes from the bar's own map; the positive pin is the proof. Comment only; fold into the S3 push.
  • N6 (nit) — PR body, prose face. "What changes, Spec" still says the error map answers "every other word with the shared enum's own messages", and "Read first 1" still says "the retired-word delegation is what keeps those prescriptions". Neither is true at this head. Correct both in the body.

Verdict basis: S1 and S2 are closed against the tree. The merge is clean and the net diff is the old one plus c68dfcc7. The N1 code holds against the ruling, the conversion and the renderer for four words. No must-fix. PASS with S3 open on this head; its fix moves the head and is closed by a delta record.

Implemented-by: claude/issue-38045-quick-actions-no-record
Reviewed-by: session_01FEkQ5kjJ6Qm1z2mRox4ZbB

VERDICT: PASS

This branch has not been deployed

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

Labels

documentation Improvements or additions to documentation protocol:ui 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

2 participants