Skip to content

fix(plugin-grid): Tab leaves the import wizard's Save-current reason again - #33960

Merged
objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/project-thread-g6aaze
Nov 15, 2026
Merged

objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/project-thread-g6aaze

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Steve · project thread

Fixes #33862

Clause-②: no
Metadata-protocol: none

Claim by domain:ui#1, card-thread session session_01ADHkmQbwF4p3MGtT3JR5V3.

维护者速读

  • 改了什么:导入向导映射步骤里,「Save current」禁用原因的提示框(tooltip)改为渲染到 dialog 之外(portal 到 document.body)。原因 span 仍是可聚焦的 tab 停靠点,聚焦时照样弹出原因。
  • 为什么改:一列都没映射时,在原因 span 上按 Tab,tooltip 随失焦卸载;它挂在 dialog 里面,dialog 的焦点陷阱把「失焦间隙里有节点被移除」误判为「焦点元素被删」,把焦点拉回 dialog 本身,键盘用户永远到不了映射下拉框、Next、Cancel、Back、Close。
  • 风险与回滚:只动这一个 tooltip 的挂载位置(一行 portal),不改文案、不改禁用判定。回滚即 revert。
  • 先看:ui/packages/plugin-grid/src/ImportWizard.tsx(TemplateBar 的 nothingMapped 分支),ui/e2e/import-wizard-keyboard-tab-order.spec.ts。
  • 两分钟验证:pnpm --dir ui exec playwright test e2e/import-wizard-keyboard-tab-order.spec.ts --project=chromium,预期 4 passed;把 {createPortal( 换回内联渲染,预期「nothing mapped」与 tooltip 两条转红,两条对照仍绿。
  • 需要你做的:无,席位落地。

What changes

  • ui/packages/plugin-grid/src/ImportWizard.tsx (TemplateBar, the nothingMapped branch): the reason tooltip's TooltipContent is rendered through createPortal(…, document.body) instead of inline. The focusable reason span, its aria-describedby, the sr-only reason and the tooltip text are unchanged, so the disabled-control reason stays reachable by keyboard and is still announced with the tooltip closed.

Root cause

Focusing the reason span opens its tooltip, and @object-ui/components' TooltipContent mounts inline, so the content sat inside the dialog. Tab blurs the span, the tooltip closes and its content unmounts. In a native focus move Chromium runs microtasks between the blur and the focus, with document.activeElement on body; the dialog's Radix FocusScope (trapped) has a MutationObserver on its container that reads "a node under me was removed while focus is on body" as "the focused element was removed", and focuses the container. The browser then abandons the move. That is exactly the card's cycle: template select, reason span, dialog container.

Measured in Chromium before the fix (a probe observer on the dialog, removed after): the tooltip node was inside the dialog (tipInsideDialog: true), the one removal on Tab was the tooltip text "Map at least one column to save a template.", and focus ended on the dialog. Next's own reason span draws no tooltip, which is why it never trapped (the card's third control).

Other disabled-with-reason controls with the same wrapper

The trap needs both halves: a reason wrapper whose tooltip mounts inline, and a trapped focus scope (a modal Dialog, Sheet or AlertDialog) around it.

  • Next's reason span in this wizard: inside the dialog, no tooltip, no trap (control below, green).
  • The other sites of the tabIndex={0} tooltip wrapper, read statically: DeclaredActionsBar, record-quick-actions, containers.tsx, ObjectValidationsPanel, FlowLedgerSwitch, the inspectors' _shared and ObjectFieldInspector, HomePage, and the wrappers in StudioDesignSurface and MarketplacePackagePage (both files hold dialogs, but the wrappers are outside the dialog contents). None sits inside a modal dialog, so none has this trap; that matches the card's QA pass, which reached Archive, Publish, the field inspector rail, the validation body, the Properties group and Reassign….
  • DisabledReasonTrigger (@object-ui/components, the four action:* renderers) is the one site whose placement metadata decides: an action with a declared disabled predicate rendered inside a modal dialog would meet the same trap. Not measured.

Tests

  • New: ui/e2e/import-wizard-keyboard-tab-order.spec.ts (runs in Build & E2E UI, chromium). It bundles the real ImportWizard from source with Vite (the harness shape of e2e/dashboard-metric-tile-height.spec.ts), opens it on a CSV through initialFile, clicks the dialog title, then presses Chromium's own Tab and Shift+Tab and names the focused stop after each press. Nothing calls .focus().
    • nothing mapped (foo,bar): Tab visits the 8 stops in DOM order (template select, Save-current reason span, both mapping selects, Cancel, Back, Next reason span, Close) and loops to the first; Shift+Tab walks them back.
    • CONTROL title,project (Save current enabled, no wrapper) and CONTROL title,foo (only Next's reason span): the same walks, green before and after the fix.
    • the Save-current reason span is reached by keyboard, its tooltip reads the reason, and the next Tab moves on to the first mapping select.
  • Why not a vitest pin. The microtask checkpoint between blur and focus exists only in a native focus move. user-event's Tab in happy-dom moves focus with a scripted .focus(), so the mutation is observed after focus already sits on the next stop. Measured on the defect: a happy-dom user-event walk visited all 8 stops, so a vitest pin of this cannot go red. The spec header says this.
  • Ablation (fix committed first; scripts/ablation-replace.mjs, anchor {createPortal( hit 1 → 0, replacement rendering the content inline hit 0 → 1, blob 8c3f781e0f72 → 0d5bd53b2bd1): nothing-mapped case and tooltip case red with the card's cycle (import-template-select, reason:import-template-save-btn, dialog, …), both controls green. Restore proven: blob == HEAD, git diff HEAD empty.
  • No existing test was edited.
Local runs (head 71c3677)
playwright e2e/import-wizard-keyboard-tab-order.spec.ts --project=chromium
  base 895783a1 (no fix):  2 failed (nothing mapped; tooltip case), 2 passed (both controls)
  head 71c3677d (fix):     4 passed (7.7s)
  ablation on 71c3677d:    2 failed, 2 passed; restored blob == HEAD
vitest packages/plugin-grid/ (lock VERDICT command-exit 0): Test Files 283 passed (283), Tests 2443 passed (2443)
pnpm --filter @object-ui/plugin-grid run type-check && pnpm --dir ui run type-check:e2e (lock VERDICT command-exit 0)

Acceptance notes

  • The generic class is wider than this control: any node that a blur removes under a trapped Radix FocusScope reads to the trap as the focused element removed, and every inline TooltipContent with a focusable trigger inside a modal dialog is one such node. This PR fixes the card's control only; the class-wide options are in the os-dev report on the card for the seat.
  • The e2e lane's webServer serves the console build; this spec mounts its own page at a routed origin and does not read it.

Verification

Local, on head 71c3677d: node scripts/pm/dispatch-gates.mjs --commands derived 38 commands; all 38 ran and exited 0, and --ran with the exit codes recorded reconciles 38 derived, 38 run, 0 NOT-MEASURED. Also run: pnpm check:changeset-fixed (exit 0) and ui's check:new-line-citations (0 new). Everything else (the required eleven, including Build & E2E UI, which runs the new spec) is CI's.

Derived gates, each exit code
node scripts/check-adr-0087-registration.mjs --base origin/main :: exit 0
node scripts/check-adr-0087-registration.mjs --self-test :: exit 0
node scripts/check-changeset-no-major.mjs --base origin/main :: exit 0
node scripts/check-closing-keyword-parity.mjs :: exit 0
node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0
node scripts/check-comment-mask-corpus.mjs :: exit 0
node scripts/check-empty-changeset.mjs --base origin/main :: exit 0
node scripts/check-empty-changeset.mjs --self-test :: exit 0
node scripts/check-sdui-manifest.mjs :: exit 0
node scripts/check-sdui-manifest.mjs --self-test :: exit 0
node scripts/ci/snapshot-next.mjs --self-test :: exit 0
node scripts/pm/check-governed-queue-guard.mjs --self-test :: exit 0
node scripts/pm/release-rehearsal-clone.mjs --self-test :: exit 0
node scripts/release-pending-publish.mjs --self-test :: exit 0
pnpm --dir ui exec vitest run scripts/ :: exit 0
pnpm --filter @objectstack/spec run check:duration-unit-keys :: exit 0
pnpm --filter @objectstack/spec run check:error-code-provenance :: exit 0
pnpm check:changeset-gate-self-tests :: exit 0
pnpm check:closed-ceremony-text :: exit 0
pnpm check:cross-package-test-inputs :: exit 0
pnpm check:dispatcher-error-vocabulary :: exit 0
pnpm check:driver-memory-census :: exit 0
pnpm check:engine-double-contract :: exit 0
pnpm check:gitlink-declared :: exit 0
pnpm check:nul-bytes :: exit 0
pnpm check:published-files :: exit 0
pnpm check:query-options-erasure :: exit 0
pnpm check:refd-timer-probe :: exit 0
pnpm check:registry-log-declared :: exit 0
pnpm check:rest-log-spy-declared :: exit 0
pnpm check:skill-identifier-liveness :: exit 0
pnpm check:test-source-alias :: exit 0
pnpm check:tier-file-adoption :: exit 0
pnpm check:type-check-coverage :: exit 0
pnpm check:type-check-debt :: exit 0
pnpm check:undeclared-dep-imports :: exit 0
pnpm check:watch-hint-literal :: exit 0
pnpm check:where-matcher :: exit 0

Generated by Claude Code

…tip out of the dialog

The reason tooltip's content was mounted inside the dialog and unmounted
when Tab blurred its focusable wrapper. The dialog's focus trap saw a node
removed under it while focus sat between two elements and pulled focus to
the dialog, so Tab could never leave the wrapper. The content now renders
in a portal on document.body.

Pinned in real Chromium (ui/e2e/import-wizard-keyboard-tab-order.spec.ts):
native Tab and Shift+Tab walk every stop of the mapping step in DOM order,
with the two control files green.

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

Copy link
Copy Markdown
Contributor Author

domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf

席位核对

Verdict: ACCEPT · head 71c3677d · 2026-11-15T15:19Z

  1. Shape. Draft → main, Fixes #33862. 3 files: ui/packages/plugin-grid/src/ImportWizard.tsx (+11/−1: the Save-current reason's TooltipContent is portalled to document.body; the reason span, aria-describedby and copy are unchanged), new ui/e2e/import-wizard-keyboard-tab-order.spec.ts (real Chromium, native Tab / Shift+Tab over all 8 stops plus the card's two controls), one changeset (@object-ui/plugin-grid patch).
  2. Premise / root cause. Reproduced on 895783a1. The inline tooltip content unmounts on the trigger's blur, and Radix FocusScope's mutation handler reads the removal as the focused element gone and focuses the dialog container. The fix removes the unmount from the trapped subtree at this site; the class-wide root (the focus-scope patch or a portalled shared TooltipContent) is filed as Modal dialogs: Tab is trapped when an inline tooltip under a focused trigger unmounts (Radix FocusScope reads the removal as focus lost) — class-wide close after #33862 #33980, Blocked-by: #33862.
  3. Contract. Clause-②: no, Metadata-protocol: none; no spec path, no export change. Changeset patch is right.
  4. Gates on 71c3677d. 53 check runs: 40 success, 13 skipped, none failed, including Lint & Repo Gates, TypeScript Type Check, Type Check UI, Test UI and Build & E2E UI (which runs the new spec). Locally: 38/38 derived gates exit 0; the spec is red on base and on ablation, green on head.
  5. K. Merge base 895783a1; K = 2 (< 15). No sync needed.
  6. Governed. check-governed-merges --pr 33960: NOT governed; 305 changed lines.
  7. Deviations accepted. The pin is a Playwright spec under ui/e2e/ rather than a happy-dom user-event test: the dev measured that a happy-dom walk passes on the defect, so it could not go red. PR assignee / review request left to the seat. Open question A/B/C (class-wide close) → Modal dialogs: Tab is trapped when an inline tooltip under a focused trigger unmounts (Radix FocusScope reads the removal as focus lost) — class-wide close after #33862 #33980. Skills-docs: not owed.
  8. Landing. Held: this seat's --land is refused by the session's auto-mode classifier until the maintainer approves landing in the seat thread (same hold as PR fix(plugin-list): on a phone the list toolbar keeps the view name readable #33957, comment 6896702944).

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf

落地

Landing approved by the maintainer in the seat thread at 2026-11-15T16:10Z ("批准席位 本班复核通过的 PR 执行 --land"). The ACCEPT head 71c3677d was synced with origin/main by a merge-only relay pr_update_branch (K was 27); the PR's own delta is unchanged. This stroke: pr_ready + automerge_enable on head 6cd49b5c · 2026-11-15T16:36Z.

Reading Value
Queue membership not queued before this stroke; mergeable_state clean; 53 check runs on 6cd49b5c: 40 success, 13 skipped, 0 failed; check-governed-merges: NOT governed
origin/main 9db729f81a; K = 11 first-parent commits since the merge base (< 15, no sync owed)

State change: on MERGED, Fixes #33862 closes the card; the seat then removes pm:dispatched and the assignee there.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 15, 2026 16:37
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 15, 2026
Merged via the queue into main with commit 159757a Nov 15, 2026
54 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-g6aaze branch November 15, 2026 17:03
scbdzhwl pushed a commit to scbdzhwl/objectstack-analysis that referenced this pull request Nov 16, 2026
…p closes on blur (objectstack-ai#34091)

<!-- claude-projects-attribution: {"github_login":"os-steve"} -->
_Requested by **Steve** · [project
thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi9Sy653R4fA2ArwDP1QvFqq9)_

Fixes objectstack-ai#33980

Clause-②: no
Metadata-protocol: none

Claim by `domain:ui#1`, card-thread session
`session_01ADHkmPwoJquHrWGDjT1P4r`.

## 维护者速读

- 改了什么:给弹窗焦点陷阱(Radix
`FocusScope`)的补丁加一段:只有「上一个获得焦点的元素」真的不在弹窗里了,才把焦点拉回弹窗本身。导入向导里 objectstack-ai#33960
加的局部绕法(把 tooltip 挪出弹窗)随之撤掉。
- 为什么改:弹窗里一个带内联 tooltip 的按钮,按 Tab 离开时 tooltip
被卸载,陷阱误判为「焦点元素被删」,把焦点拉回弹窗,键盘用户出不去。除导入向导外,实测「管理视图」对话框也中招:Tab 过不了第一行的 Pin
按钮,其余视图、Done、Close 都到不了。修在陷阱上,所有弹窗一次修好。
- 风险与回滚:只改补丁里一个判断条件,焦点元素真被删除时仍拉回弹窗(单测对照钉住)。改动面是所有 Dialog / Sheet /
AlertDialog 的焦点处理;回滚即 revert(会同时带回导入向导的问题,因为局部绕法已撤)。
- 先看:`patches/@radix-ui__react-focus-scope.patch`(新增的 handleMutations
两行),`ui/packages/components/src/__tests__/dialog-popover-focus-scope.test.tsx`(新
describe),`ui/e2e/manage-views-keyboard-tab-order.spec.ts`。
- 两分钟验证:`pnpm --dir ui exec playwright test
e2e/manage-views-keyboard-tab-order.spec.ts
e2e/import-wizard-keyboard-tab-order.spec.ts --project=chromium`,预期 6
passed。
- 需要你做的:无,席位落地。

## What changes

- **`patches/@radix-ui__react-focus-scope.patch`** (the file
`pnpm-workspace.yaml`'s `patchedDependencies` applies) gains a second
hunk in `dist/index.js` and `dist/index.mjs`: the trapped scope's
`MutationObserver` callback returns early when the last focused element
is still inside the container. Stock radix focuses the container
whenever a node under it is removed while focus sits on `body`; between
the blur and the focus of a native Tab focus does sit on `body`, so a
node that a blur unmounts (an inline tooltip closing under its trigger)
pulled focus back to the container. The callback now acts only on the
case it exists for: the focused element, or an ancestor of it, was
itself removed. The earlier stack-race hunk is unchanged.
- **`ui/patches/@radix-ui__react-focus-scope.patch`** gets the same
bytes. It is an unreferenced copy (nothing reads it;
`pnpm-workspace.yaml` names the root file), kept identical rather than
left to drift; deleting it is not this card. **`ui/patches/README.md`**:
the entry now describes both halves, its Tracking/Upstream rows name the
second, and Remove-when requires every regression case green with the
patch removed.
- **`pnpm-lock.yaml`**: the patch hash for
`@radix-ui/react-focus-scope@1.1.16` (7 lines, from `pnpm install`).
- **`ui/packages/plugin-grid/src/ImportWizard.tsx`**: objectstack-ai#33960's local
`createPortal` of the Save-current reason tooltip is removed (`git apply
-R` of that hunk); the tooltip mounts inline again, and Tab still leaves
it (spec below).
- **Changesets**: new `.changeset/33980-focus-trap-blur-unmount.md`
(`@object-ui/console`, `@objectstack/console`, `@object-ui/plugin-grid`:
patch). **DELIBERATE CORRECTION** of the pending
`.changeset/33862-import-wizard-save-reason-tab-trap.md`: its last
sentence said "The tooltip now renders outside the dialog, so Tab and
Shift+Tab walk every control in order…", which this PR makes false; it
now reads "The dialog's focus trap no longer reads that removal as focus
lost, so Tab and Shift+Tab walk every control in order and the reason is
still read out when the wrapper is focused." `check-empty-changeset` is
red on that file by design.

### Why A (the focus-scope patch) and not B (portal `TooltipContent`)

Measured first, on `origin/main` `fb79d47c`: which inline-tooltip
triggers sit inside a modal dialog. Statically, 35 non-test files under
`ui/packages` name `TooltipContent`; six of them also render a Dialog /
Sheet / AlertDialog (ImportWizard, ManageViewsDialog,
MarketplacePackagePage, MarketplaceRowActions, StudioDesignSurface, the
Shadcn sidebar). Measured in Chromium with real Tab presses (Vite bundle
from `src/`, no stylesheet):

| Site | Before (fb79d47) | After |
|---|---|---|
| Import wizard, Save-current reason (with objectstack-ai#33960's portal removed) |
trapped (the objectstack-ai#33960 spec's ablation leg, and below) | all 8 stops |
| Manage Views dialog, each row's Pin / Set-as-default button
(`ObjectView` wires both) | trapped: search, drag, `All`, Pin,
**dialog**, search… | all 12 stops |
| A generic Dialog with a focusable tooltip trigger between two buttons
| trapped: a, b, **dialog**, a… | a, b, c, Close |

Not measured: `StudioDesignSurface` (a tooltip in an inspector its
selection Sheet may hold), tooltips in views a record drawer may host,
and `DisabledReasonTrigger` when metadata places a disabled action
inside a modal. A covers them whatever they turn out to be.

Why "no stylesheet" is the production case: the Console's `index.css`
leaves `@plugin 'tailwindcss-animate'` commented out, so
`data-[state=closed]:animate-out` has no rule and a closing tooltip
unmounts at once, inside the blur→focus gap. With an exit animation the
unmount waits for `animationend` and nothing traps (measured on the
generic probe: a, b, c, Close) — which is why this hides in some setups.

- **A** fixes the trap's heuristic, so every blur-driven unmount under a
modal is covered, not only tooltips, in every dialog at once; the repo
already patches this exact package and version for another focus race,
with a README entry and a removal condition.
- **B was not taken**: it closes only the tooltip half (any other node a
blur removes still traps); `ui/packages/components/src/ui/tooltip.tsx`
is a Shadcn-synced file (ui/AGENTS.md objectstack-ai#7), tracked from shadcn's
`default` style, which does not portal, so B is a local divergence to
declare in `ui/scripts/shadcn-local-patches.mjs`; and it moves every
tooltip in the app out of its subtree into `body`, a DOM change for
every tooltip to fix a defect that only exists under a focus trap.

## Tests

- **Unit,
`ui/packages/components/src/__tests__/dialog-popover-focus-scope.test.tsx`**
(the shared harness of the existing patch; new top-level `describe`): a
trapped scope whose trigger drops a sibling node on blur — after
`blur()` focus is not on the container (red on stock); CONTROL —
removing the focused element itself still focuses the container (green
either way). A scripted `blur()` puts focus on `body` before the
observer callback runs, so this unit case can go red in happy-dom,
unlike a `user-event` Tab walk.
- **New e2e, `ui/e2e/manage-views-keyboard-tab-order.spec.ts`** (Build &
E2E UI, chromium; the harness of objectstack-ai#33960's spec): the real
`ManageViewsDialog` bundled from source, native Tab and Shift+Tab over
two editable views (12 stops, past both Pins and Set-as-default) and a
CONTROL of two read-only views (no tooltip trigger, 7 stops).
- **`ui/e2e/import-wizard-keyboard-tab-order.spec.ts`**: green with the
local portal removed. Forced test edit: its header sentence "The reason
tooltip is now portalled out of the dialog…" became false and now names
the trap patch; no assertion changed.
- **Ablation** (fix committed first): the patch's guard line deleted
from the installed `dist/index.mjs` (marker `/* ablated */`, guard count
1 → 0, blob `4dfa11db5c8c` → `a97219dd468f`).
  - unit: the new case red, the control and the 3 existing cases green;
- e2e: Manage Views editable case red (`…, manage-views-pin-all, dialog,
manage-views-search, …`), import wizard nothing-mapped and tooltip cases
red (`…, reason:import-template-save-btn, dialog, …`), the 3 controls
green.
- Restore proven both times: blob back to `4dfa11db5c8c`, which is the
post-image blob the patch itself names for `dist/index.mjs`; guard count
1. (`scripts/ablation-replace.mjs` refused to certify the restore of a
path git does not track, so the restore was done by hand and proven by
hash.)

<details><summary>Local runs (head 279bded)</summary>

```
playwright e2e/manage-views-keyboard-tab-order.spec.ts e2e/import-wizard-keyboard-tab-order.spec.ts --project=chromium
  head 279bded:              6 passed
  ablation (guard deleted):   3 failed (manage-views editable; import-wizard nothing-mapped; import-wizard tooltip), 3 passed (controls)
vitest packages/components/src/__tests__/dialog-popover-focus-scope.test.tsx
  head:      5 passed
  ablation:  1 failed (a node a blur unmounts...), 4 passed
vitest packages/components/ packages/plugin-grid/ packages/plugin-view/ (lock VERDICT command-exit 0)
  Test Files 827 passed | 1 skipped (828); Tests 7755 passed | 24 skipped (7779)
type-check:e2e, @object-ui/components type-check, @object-ui/plugin-grid type-check (lock VERDICT command-exit 0)
Chromium probes on origin/main fb79d47 (before the patch; Vite bundle from src, no stylesheet):
  generic Dialog + tooltip trigger:  a, b, dialog, a, b
  same, with an exit-animation rule: a, b, c, Close, a
  ManageViewsDialog (2 views):       search, drag-all, All, pin-all, dialog, search, ...
after the patch:
  generic:            a, b, c, Close, a
  ManageViewsDialog:  search, drag-all, All, pin-all, actions-all, drag-mine, Mine, pin-mine, default-mine, actions-mine, done, Close, search
```

</details>

## Acceptance notes

- `ui/patches/README.md`'s header still says patches are "declared in
the root `package.json`"; they are declared in `pnpm-workspace.yaml`.
Doc drift, outside this card's file surface; noted, not fixed.
- No upstream radix issue is known for the mutation-handler half; the
README says so rather than citing one.

## Verification

Local, on head `279bded8` (merge base `fb79d47c`; `origin/main`
`63db7240`, none of its 10 commits touches these files): `node
scripts/pm/dispatch-gates.mjs --commands` derived 52; `--ran` with the
exit codes: 52 derived, 51 run, 1 NOT-MEASURED, 0 UNRUN.

- `check-empty-changeset --base origin/main` exits 1 **by design**: the
DELIBERATE CORRECTION of
`.changeset/33862-import-wizard-save-reason-tab-trap.md` above, for the
seat's record.
- `check:dual-build-cjs-loads`: NOT MEASURED locally (exit 3,
PREREQUISITE NOT MET: it reads every package's `dist/`, and only the
closures these tests need were built). It is derived from the lockfile
line only; CI's Lint & Repo Gates runs it on a full build.
- Also run: `ui` `check:new-line-citations` (0 new);
`check-governed-merges --branch HEAD`: NOT governed, 0 of 10 paths, 477
changed lines.

<details><summary>Derived gates, each exit code</summary>

```
node scripts/check-adr-0087-registration.mjs --base origin/main :: exit 0
node scripts/check-adr-0087-registration.mjs --self-test :: exit 0
node scripts/check-changeset-no-major.mjs --base origin/main :: exit 0
node scripts/check-closing-keyword-parity.mjs :: exit 0
node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0
node scripts/check-comment-mask-corpus.mjs :: exit 0
node scripts/check-dts-emitted.mjs --self-test :: exit 0
node scripts/check-empty-changeset.mjs --base origin/main :: exit 1
node scripts/check-empty-changeset.mjs --self-test :: exit 0
node scripts/check-osv-exemptions.mjs :: exit 0
node scripts/check-osv-exemptions.mjs --self-test :: exit 0
node scripts/check-sdui-manifest.mjs :: exit 0
node scripts/check-sdui-manifest.mjs --self-test :: exit 0
node scripts/ci/assert-turbo-remote-cache.mjs --self-test :: exit 0
node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0
node scripts/ci/prune-turbo-cache.mjs --self-test :: exit 0
node scripts/ci/snapshot-next.mjs --self-test :: exit 0
node scripts/osv-base-relative.mjs --self-test :: exit 0
node scripts/pm/check-governed-queue-guard.mjs --self-test :: exit 0
node scripts/pm/release-rehearsal-clone.mjs --self-test :: exit 0
node scripts/release-pending-publish.mjs --self-test :: exit 0
pnpm --dir ui exec vitest run scripts/ :: exit 0
pnpm --filter @objectstack/spec run check:duration-unit-keys :: exit 0
pnpm --filter @objectstack/spec run check:error-code-provenance :: exit 0
pnpm check:changeset-fixed :: exit 0
pnpm check:changeset-gate-self-tests :: exit 0
pnpm check:closed-ceremony-text :: exit 0
pnpm check:cross-package-test-inputs :: exit 0
pnpm check:dispatcher-error-vocabulary :: exit 0
pnpm check:driver-memory-census :: exit 0
pnpm check:dts-closure :: exit 0
pnpm check:dual-build-cjs-loads :: exit 3
pnpm check:engine-double-contract :: exit 0
pnpm check:gitlink-declared :: exit 0
pnpm check:lean-entry-closure :: exit 0
pnpm check:nul-bytes :: exit 0
pnpm check:override-consistency :: exit 0
pnpm check:published-files :: exit 0
pnpm check:query-options-erasure :: exit 0
pnpm check:refd-timer-probe :: exit 0
pnpm check:registry-log-declared :: exit 0
pnpm check:rest-log-spy-declared :: exit 0
pnpm check:skill-identifier-liveness :: exit 0
pnpm check:sourcemap-no-sources-content :: exit 0
pnpm check:test-source-alias :: exit 0
pnpm check:tier-file-adoption :: exit 0
pnpm check:type-check-coverage :: exit 0
pnpm check:type-check-debt :: exit 0
pnpm check:undeclared-dep-imports :: exit 0
pnpm check:vendor-export-contract-resolve :: exit 0
pnpm check:watch-hint-literal :: exit 0
pnpm check:where-matcher :: exit 0
```

</details>

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: objectstack-fleet[bot] <332303061+objectstack-fleet[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/m tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

1 participant