Repository navigation
fix(plugin-grid,components,react): row-menu and data-table row-action disabled gates fail closed while permissions load, and ActionProvider binds current_user on its runner (objectui#11242) - #11268
Conversation
… disabled gates fail closed; ActionProvider binds current_user Work in progress for objectui#11242 (Rider 1 of objectui#4421). The two authored-action `disabled` legs pass their key's fail direction (`true`) to the row-predicate entry, counted only where a gate is declared, and `ActionProvider` binds the predicate scope's subject as `current_user` on its runner. Pin added under app-shell providers. Claude-Session: https://claude.ai/code/session_011p7ikEivgXefNDaE5S5Uec Co-authored-by: Claude <noreply@anthropic.com>
…g writes, page-header docs and changeset (objectui#11242) `ActionRunner.execute`'s `disabled`-gate comment said a fault defaults to NOT-disabled; `evaluateCondition` answers its fail-soft `true` on a fault, so the action is refused. The code is right; only the comment changes. `useActionEngine` states which runners it still binds now that `ActionProvider` binds its own. `page-header.mdx` covers the row-menu `disabled` legs and the runner bag's `current_user` / `user` asymmetry. Claude-Session: https://claude.ai/code/session_011p7ikEivgXefNDaE5S5Uec Co-authored-by: Claude <noreply@anthropic.com>
|
changeset-claim-re-read
|
✅ Console Performance Budget
The eager closure is every chunk the entry reaches through static imports — what the browser fetches and parses before the app renders. The entry chunk on its own is a small fraction of it. 📦 Bundle Size Report
Size Limits
|
Contract reviewServed-tier: Inputs: card objectui#11242 (body, claim ① Derived judgments
② Semver level
③ Boundary flags
Implemented-by: VERDICT: PASS Generated by Claude Code |
…, mirror two chatbot keys, file eighteen runtime slots by name (objectui#6152, round 4) (objectstack-ai#11285) Refs objectstack-ai#6152 Clause-②: yes (narrowing). The two mirrors widen `@object-ui/types/zod` and the strict authoring face to keys the TypeScript face already invited and the renderers read (`requestBody`, `floatingConfig`). The four retirements (`label.content`, `report.chartConfig`, `report.reportType`, `detail-view.autoDiscoverRelated`) narrow both faces at once, under the startup no-gradualism rule. It is priced in `.changeset/6152-unmirrored-round4.md` as `minor`, with the break stated. Round 4 of objectui#6152, dispatched under claim `5919877490` (the `domain:devx` seat 2, session `session_01TdiauJaVCHuj45EzZGUxHh`, on the maintainer's direct order). The rulings are the seat review `5914490915`: Q1 B, Q2 A, Q3 B. ⛔ This is a draft from a dispatched dev: do not mark it ready and do not enable auto-merge. The card stays open, because `ObjectGridSchema`, the spec-derived pairs and three `DataTableSchema` keys (below) are not this round's. ## What changed 1. **Q1 B: `LabelSchema.content` is retired.** It is `?: never` on `form.ts` and a `retirementTombstone` on `form.zod.ts` that names the kept spellings `text` and `label`. The `label` renderer drops its third read limb (`schema.text || schema.label`). Re-measured: 0 documents author it (JSON, Markdown JSON fences and typed literals); its only author was a test in `form-renderers.test.tsx`, which now pins the refusal. Which of `text` / `label` is canonical is not decided here. 2. **Q2 A: `DetailViewSchema` `activities`, `comments`, `history` and `recordNavigation` go to `RuntimeOnlyDeclared` by name.** Each has a row with its reason on `RuntimeOnlyNamedAllowList`, in round 3's shape. They carry host-fetched runtime data, and `recordNavigation.onNavigate` is a required function. 3. **Q3 B, under objectui#7654 ruling B: `displayMode` keeps its TypeScript-only refusal.** It gets no zod arm, because stored designer documents carry `displayMode: 'floating'` (pinned by `chatbot-display-mode-retired.test.ts`). The ledger entries no longer call the mirror half "owed"; the key stays listed by decision. Separately, after a reader census for each: - `ChatbotSchema.requestBody` is mirrored through the shared pick. All three chatbot registrations read it (`body: schema.requestBody`). - `ChatbotFloatingSchema.floatingConfig` is mirrored through a module-private restatement of `FloatingChatbotConfig`. That restatement judges the six members `FloatingChatbot` destructures, and carries the `triggerIcon` tombstone's runtime half that the objectui#7654 tripwire asked for. 4. **The three zero-read candidates are retired on both faces.** They are `ReportComponentSchema.chartConfig`, `ReportComponentSchema.reportType` and `DetailViewSchema.autoDiscoverRelated`, each `?: never` plus a `retirementTombstone`. `reportType`'s one in-code producer, `specReportToPresentation` in `spec-report.ts`, no longer writes it, and `LegacyReportPresentationLike` no longer declares it. 5. **`DataTableSchema`: 14 of 17 keys go to `RuntimeOnlyDeclared` by name.** They are produced only in code, by `ObjectGrid`'s in-code `data-table` node or `RelatedList`'s, and authored by no document. Three keys fit none of the classes, so the round stopped at them (see "Stopped" below). 6. **The pagination corpus fix, carried from round 3.** `components-basic-pagination/with-item-count.json` no longer authors `pageSize` / `totalItems`, which neither face declares and nothing reads. The plaintext interface block on `content/docs/components/basic/pagination.mdx` stops listing them, and its section is retitled from "With Page Size" to "On a Later Page". 7. **Changesets.** One new: `.changeset/6152-unmirrored-round4.md` (`@object-ui/types` minor, `@object-ui/components` minor, with the break stated). Four dated, append-only corrections were added, each 2 lines with frontmatter unchanged: `6639-objectgrid-title-mirrored.md` (the stale "97 + 1 + 23" sentence), `7654-floating-chatbot-trigger-icon-tombstone.md`, `7655-chatbot-registration-authoring-faces.md` and `9447-detail-view-handler-key-refusal.md`. Every other pending changeset was re-read after the merges, including the 8 that landed since the base, and none is made false by this round. ## Ledger totals, before and after These are read by the file's own pins (`objectui#7279` derives every figure) and re-counted with the TypeScript parser on the final head. | ledger | before (`origin/main` `e420df3`) | after (`2cc4ab9`) | | --- | --- | --- | | `UnmirroredDeclared` | 9 entries / 44 keys: 3 / 14 spec-derived, 6 / 30 local | **6 / 20**: 3 / 14 spec-derived, 3 / 6 local | | `RuntimeOnlyDeclared` | 4 / 9 | **4 / 27** | | `RuntimeOnlyNamedAllowList` | 1 entry / 2 rows | 3 / 20 | | cross-ledger | 2 of the 4 are in `UnmirroredDeclared`; union 11 = 9 + 2 | **1 of the 4**; union **9** = 6 + 3 | | `KnownDrift` | 49 / 86 | 49 / 86, unchanged. This round does not edit its total line; PR objectstack-ai#11269's 87 to 86 edit is kept as merged. | | `WiderThanDeclared`, `MirroredUndeclared` | 3 / 3, 2 / 2 | unchanged | The 24 keys that left `UnmirroredDeclared` moved by three routes, which must not be added up as one repair: 2 were mirrored, 4 were retired, and 18 were reclassified by name. The reclassification is one move seen from both ledgers: it is not new debt, and it mirrors nothing. ## Per-key table | pair · key | measured (type-checker read census over 5548 sources; authored census over tracked JSON, Markdown JSON fences and `type` literals) | route | | --- | --- | --- | | `label` · `content` | 1 read (the third limb in `label.tsx`), 0 documents (1 test) | retired on both faces; the read is dropped | | `report` · `chartConfig` | 0 typed reads. The untyped `widget?.chartConfig` hits are plugin-dashboard's `DatasetWidget` (`widget: any`, a dashboard widget), which plugin-report never imports. 0 documents | retired on both faces | | `report` · `reportType` | 0 reads; one in-code producer (`specReportToPresentation`); 0 documents | retired on both faces; the producer write is removed | | `detail-view` · `autoDiscoverRelated` | 0 reads (typed or untyped), 0 documents | retired on both faces | | `chatbot` · `requestBody` | 3 reads (all three chatbot registrations) | mirrored (shared pick) | | `chatbot-floating` · `floatingConfig` | 1 read (`floatingConfig={schema.floatingConfig}`); 6 of 7 `FloatingChatbotConfig` members read, and `triggerIcon` 0 | mirrored, with a `FloatingChatbotConfig` restatement | | `chatbot`, `chatbot-floating` · `displayMode` | 0 reads; stored documents carry it | unchanged by ruling (TypeScript-only refusal) | | `detail-view` · `activities` (7 reads), `comments` (4), `history` (7) | host-fetched rows; 0 documents | `RuntimeOnlyDeclared` by name | | `detail-view` · `recordNavigation` | 11 reads; its value carries a required function | `RuntimeOnlyDeclared` by name | | `data-table` · `disableInnerScroll`, `manualPagination`, `manualSearch`, `manualSorting`, `page`, `rowActionDefs`, `rowClassName`, `rowCount`, `rowStyle`, `search`, `selectionResetKey`, `showAddRow`, `showSelectionCount`, `sort` | read by `data-table`; produced only in code (`ObjectGrid`, `RelatedList`); 0 docs and 0 catalog documents | `RuntimeOnlyDeclared` by name; the reasons are on the allow-list | | `data-table` · `editable`, `singleClickEdit` | read; produced in code by `ObjectGrid`; 0 documents, but `data-table.mdx` lists both and teaches `editable: true` | **stopped**, ruling needed | | `data-table` · `selectionStyle` | read; 0 producers and 0 documents (0 hits in objectstack too) | **stopped**, ruling needed | ## Runtime probe for the three zero-read retirements AGENTS.md requires more than a source census, because leftover keys reach a renderer as spread props. So the probe used the real `SchemaRenderer` and the real registry, and varied only the key. It was a one-off: the files were deleted afterwards and `git diff HEAD` is empty. - `report`: the DOM is identical with and without `chartConfig` plus `reportType` (797 = 797 characters, byte-equal). Lit control: changing `title` changes the DOM (805). - `detail-view`: the DOM is identical with and without `autoDiscoverRelated: true`, after normalising React's `useId` tokens. The only raw difference was `radix-_r_5_` against `radix-_r_d_`. The data-source and `fetch` call log is identical: `getObjectSchema(account)` and two `security/explain` fetches. Lit control: changing `title` changes the DOM (5943 against 5951). ## Ablations The predictions were written at `4c272dc` before any run, and every leg was restored with the blob equal to `HEAD` and `git diff HEAD` empty. - **A1:** plant a `LabelSchema` literal carrying `content` into `label.tsx`. Components `tsc --noEmit` exits 2 with exactly one TS2322 there (`'string' is not assignable to type 'undefined'`), as predicted. This red direction also shows the consumer read the rebuilt `.d.ts`. - **A2:** restore the four `zod/*.zod.ts` files to base `f61dab1`. `unmirrored-declared-round4-6152.test.ts` reads `27 failed | 6 passed (33)`, exactly as predicted, and `tsc -p tsconfig.test.json` exits 2 with its only error in the ledger reconciliation of `zod-mirror-parity.test.ts`. - **A3:** rename the allow-list row `rowCount` to `rowCountRenamed`. `tsc -p tsconfig.test.json` exits 2 with exactly two TS2344, at the two allow-list pins, as predicted. ## Verification on the final head `2cc4ab9` This round resumed after two container restarts, so every run below was redone on `2cc4ab9`. That head carries `origin/main` `e420df3`, merged twice (never rebased): once through PR objectstack-ai#11275, and before that through PRs objectstack-ai#11267, objectstack-ai#11268, objectstack-ai#11269, objectstack-ai#11271, objectstack-ai#11273 and objectstack-ai#11274. Each run went through the shared verify lock with at most 2 workers. - `@object-ui/types`: `type-check` (the `--noEmit`, `tsconfig.examples.json` and `tsconfig.test.json` legs) exits 0; `vitest run packages/types/` gives 299 files and 7498 tests passed; `build` exits 0 (138 emitted files verified). - Consumers, from the type-checker census: `type-check` exits 0 with 0 TS errors for `components`, `plugin-report`, `plugin-detail` and `plugin-chatbot`. `vitest run packages/plugin-report/ packages/plugin-chatbot/` plus `form-renderers.test.tsx` gives 78 files, 827 passed and 7 skipped. All 228 `plugin-detail` test files, run in two halves, give 227 files passed plus 1 skipped, and 2264 tests passed plus 8 skipped. - Zod-face consumers: `vitest run examples/schema-catalog/ packages/cli/` plus the 17 app-shell files that import `@object-ui/types/zod` or sit in `metadata-admin/previews/__tests__` give 77 files and 2741 tests passed. - Gates, all exit 0: `check:changeset-claims`, `check:pending-changeset-literals`, `check-changeset-presence` (16 source files of 2 released packages, 1 changeset), `check-changeset-no-major`, `check-changeset-fixed`, `check-changeset-overwrite` (report-only; its 4 findings are the 4 dated appends above), `check:control-bytes` (9717 files), `check:doc-fences`, `check:doc-snippets` (697 of 697 blocks judged, 0 failed), `check:doc-examples`, `check:doc-types`, `check:doc-example-ids`, `check:doc-example-readers`, `check:skill-examples`, `check:handler-key-reads`, `check:component-surface-parity` (report-only), `check:designer-field-key-parity`, `check:element-data-source-declaration`, `check:new-line-citations` (0 new), `check:prompt-keys`, `check:readme-exports`, `check:spec-symbols`, `check:test-path-roots`, `check:unreferenced-sources` and `check-type-check-coverage`. `doc-snippets` and `doc-examples` ran after the scoped build their own `--build-filter` names (35 turbo tasks, all successful). - Lint, narrowed: `eslint --no-inline-config --format json` over the 16 lintable changed files gives 0 errors. All 16 were judged and 0 were ignored, a population read from eslint's own output. The 39 warnings are pre-existing `no-explicit-any`, and the diff adds no explicit `any`. `eslint.config.js` declares no `parserOptions.project` or `projectService`, and no custom rule in `eslint-rules/` reads the disk, so this diff cannot move any untouched file's verdict. The repo-wide `pnpm lint` is CI's. - Governed surface: `check-governed-queue-guard.mjs --test` over the 23 paths reports NOT GOVERNED. - NOT MEASURED: - `check:sdui-registration-pins`: it needs a console build, and this diff changes no registration. - The full `pnpm test` farm and repo-wide lint: CI's. - `plugin-grid`: its code and tests are untouched. The 14 reclassified keys moved between two test ledgers and no declaration changed. ## Stopped (ruling needed; reported in the card report with options) - `DataTableSchema.editable` and `singleClickEdit`. `data-table` reads both and `ObjectGrid` sets both in code, while no document authors them. But `content/docs/components/complex/data-table.mdx` lists both in its interface block and teaches `editable: true`. Filing them runtime-only would contradict that page. Mirroring them would rest on no authored document, and, from the source, an authored `editable: true` stages cell edits locally and persists nothing without the `onRowSave` / `onCellChange` function slots. - `DataTableSchema.selectionStyle`. `data-table` reads it (`'always'` or `'hover'`), and nothing authors or produces it in either repository. - Noted, not narrowed: `ChatbotSchema.floatingConfig` has 0 reads on the `chatbot` node (only `chatbot-floating` reads it), which makes it an ADR-0049 narrowing candidate. The `chatbot` half of `floating-chatbot-trigger-icon-retired.test.ts` pins its absence as a tripwire. ## Parallel discipline PR objectstack-ai#11269 and PR objectstack-ai#11273 edited `zod-mirror-parity.test.ts` in disjoint hunks: the `KnownDrift` total line, the Kanban entry and one `EXCLUSIONS` row. Both merges were clean. This round's ledger edits stay in the `UnmirroredDeclared` / `RuntimeOnlyDeclared` / `RuntimeOnlyNamedAllowList` blocks, their prose totals and its own pairs' entries. Every prose total was reconciled to the measured count above. The diff does not touch `zod/objectql.zod.ts`, `zod/index.zod.ts`, `zod/nested-component-walk.ts`, `strict-authoring-face.ts`, `zod/README.md`, `field-types.ts`, the `DetailViewField` member, or `data-table.tsx` (read only). ## Acceptance notes - 23 files, under the ~25-file size guard, so no pair was cut. - Every pending changeset this round made false carries a dated append. The ones it leaves true were re-read: `7654-chatbot-display-mode-tombstone.md`, `6150-…`, `7804-…`, `6175-…`, `7722-…`, `7947-…` and `8072-…`. Session: `https://claude.ai/code/session_01TdiauJaVCHuj45EzZGUxHh` --- _Generated by [Claude Code](https://claude.ai/code/session_01TdiauJaVCHuj45EzZGUxHh)_ --------- Co-authored-by: Claude <noreply@anthropic.com>
Fixes #11242
Clause-②: yes (widening)
Rider 1 of objectui#4421 on the last two authored-action
disabledlegs, and the "one bag" rule (objectui#6493) for the shared action runner. The ruling, verbatim: "permission-shaped bindings are fail-closed while the permissions payload has not loaded — the opposite of the predicate default — or the first-paint leak reappears. Pin this." For adisabledgate, closed means DISABLED.What changed
Measured through the real
MePermissionsProvider,ExpressionProvider,ActionProviderand the production renderers, one verb (delete), three states. The "before" column was measured at the base615346d61with the new pin copied into an unmodified tree, before any source edit: exactly the 6 arms marked in capitals were red there.RowActionMenu),disabled: !current_user.can('account', 'delete')data-table, a related list's rows), same gatedisabledWhen, both menus (the control)disabledre-check throughuseAction(), no action-engine block on the pagepage:headerclick, granted, no action-engine block on the page@object-ui/plugin-grid) and data-table row action (@object-ui/components). The same mechanism PR objectui#11237 gavepage:header'sdisabledleg: the caller passes its key's own fail direction (fallback: true) to the row-predicate entry, and the policy is per key, not acan()special case. That entry's fallback also answers an ABSENT predicate, so the verdict counts only where a gate is declared, read through core's one definition of that question (hasDeclaredPredicate). An absent, empty or blankdisabledstays not disabled (pinned).page:header: adisabledthat faults on an unbound root (nope.deep == 1) is DISABLED on both legs (pinned).disabledWhen(RowActionMenu,data-table) is untouched and stays fail-soft, as documented and pinned since PR objectui#4515 (option B was not taken). TheBuiltinRowActionPredicatesdocblock inRowActionMenu.tsxsaid that posture renders the item disabled; it leaves it enabled (the spec's own wording, and the existingRowActionMenu.test.tsxpin). The docblock is corrected in the file this PR already edits, and now says where the two families part.ActionProvider(@object-ui/react) binds the predicate scope's subject (usePredicateScope().current_user) ascurrent_useron its runner: the same object, not a copy, bound during render and keyed on the subject's serialisable fields and its permissions map, never on its identity (AGENTS.md [WIP] Enhance every detail of the designer #10). The runner'suser/ctx.user/os.userstay the host's object. So everyexecutegate under a provider mounted inside the scope answerscurrent_user, whatever else the page mounts.useActionEngine's PR objectui#11237 write is KEPT, because it is measured still needed (ablation legs A4 and A5 below). Under a provider mounted inside the scope it only re-binds the object the provider already bound (A4: 0 red). It is the only writer for two runners: the hook's own standalone runner (A5: the standalone arm goes red), and a shared runner whose provider sits ABOVE the scope (probe P1:record:quick_actionsGRANTED reads HIDDEN without it). The console's global provider is that shape:GlobalActionRuntimeProviderwraps the routes andExpressionProvideris mounted inside them. Only its comment changed.ActionRunner.execute'sdisabled-gate comment (@object-ui/core), comment only. It said a fault "defaults to NOT-disabled".evaluateConditionhandles its own faults and answers its fail-softtrue, which on this key refuses the action; thecatchis reached only by a throw from outside that handling. The code is right.content/docs/layout/page-header.mdx). The row menu's items now take the samedisableddirection as the header, in a grid and in a related list's table, and the built-indisabledWhenis named as the exception. The page also states that on the runner's own gatescurrent_user.can(…)answers whileuser.can(…),ctx.user.can(…)andos.user.can(…)fault (probe P3), as the review of PR objectui#11237 noted. Nouserbinding is added.Mechanism assumptions (PM Zone 2), measured
mainas8bab1571d(merge-base --is-ancestorexit 0), and its diff and review were read first.usePredicateScopeis exported frompackages/react/src/hooks/useExpression.ts, same package asActionProvider: held.MePermissionsProvider:/forms/:name, standalone embeds). It was not re-measured through the realApphere.Ablation (HEAD
17a2920d9, fix committed first)Every mutation went through
ablation-replace.mjs(the anchor had to hit once, the landing was proven by the anchor count and the blob hash, and each restore was proven as blob == HEAD with an emptygit diff HEAD). Each leg ran 7 files, 100 tests: this pin, the objectui#11212 and objectui#4421 pins,RowActionMenu.test.tsx, two data-table row-action suites, and the throwaway probe. The red counts were written down before the run, and all eight matched:fallback: trueback tofalsefallback: trueback tofalseActionProviderbinding offuseActionEngineshared-runner write offuseActionEnginestandalone binding offAll four mutated files ended as their HEAD blobs, and the tree was clean afterwards.
Tests and gates (HEAD
17a2920d9, clean tree, heavy runs through the shared verify lock)packages/app-shell/src/providers/__tests__/currentUserCan-disabledLegs-11242.render.test.tsx, 23 tests: both legs × three states, plus unbound and absent/blank arms; the built-in control × two menus × three states; the runner gate × three states, plus a realpage:headerclick; andrecord:quick_actionswith no provider × three states. Each arm has an ungated companion and its own action name.pnpm exec vitest runfrom the root, in chunks undertimeout 300, every chunk exit 0:packages/plugin-grid/src/: 174 files, 1595 tests, all passed (two halves: 87 / 758 and 87 / 837). A first single-chunk attempt hit thetimeout 300wall after 125 files with 0 failures and was replaced by the two halves.packages/components/src/__tests__/andpackages/components/src/renderers/complex/:Test Files 105 passed | 1 skipped (106),Tests 1158 passed | 7 skipped; thenTest Files 106 passed (106),Tests 905 passed.packages/react/src/andpackages/app-shell/src/providers/:Test Files 129 passed (129),Tests 1609 passed.ActionProvider,useActionEngine,RowActionMenu,DataTableRowActionItemorrowActionDefs(app-shell views, plugin-detail, plugin-view, plugin-dashboard, core, …):Test Files 87 passed (87),Tests 957 passed.scripts/__tests__/(this diff edits markdown):Test Files 177 passed | 2 skipped (179),Tests 5371 passed | 2 skipped.turbo run build --filter='@object-ui/app-shell^...' --concurrency=2, 28 tasks successful (after theplugin-grid^...closure, 13 tasks).type-checkexit 0 for@object-ui/core,@object-ui/react,@object-ui/components,@object-ui/plugin-gridand@object-ui/app-shell(itstsconfig.test.jsonincludessrc/**/*.test.tsx, so the new pin is typed).registered()'sComponentTypeof any, as in the objectui#11212 pin).node scripts/check-changeset-presence.mjs,check:control-bytes,check:new-line-citations,changeset:check,check:changeset-claims(report-only),check:pending-changeset-literals,check:doc-types,check:doc-fences,check:doc-example-ids,docs:check-links,node scripts/markdown-test-inputs.mjs --audit,check:action-forward-parity,check:test-path-roots.check-governed-queue-guard.mjs --testover the 8 paths: NOT GOVERNED.check:doc-snippetsandcheck:doc-examples. Both printed PRECONDITION NOT MET (exit 2): they need the 36-package docs build filter, and this tree has the 28-package closure. The doc edit adds prose only, with no fenced code.Acceptance notes (not filed)
ActionProviderbinds only from a scope above it. The console'sGlobalActionRuntimeProvidersits aboveExpressionProvider, so probe P2 (provider above the scope, no engine block) still refuses a grant holder at this head. The routes that execute through that runner alone (dashboard, report, component,/forms/:name) answercurrent_useronexecutegates only after an engine consumer has mounted, as before. No authored gate there was found to reach it: dashboard header defs carry only name, type, target and label. The options are in the report.disabled.RowActionInlineButton(RowActionMenu.tsx) never reads the key. Probe P4:disabled: trueand a denieddisabled: !current_user.can(…)both render an enabled button, and only the runner refuses the click. This is the declared-gate class (objectui#3812), not this card's fault-policy class, and no producer of a primarylist_itemaction withdisabledwas found. The docs above say "the row menu's items" deliberately. Carrier: none.page:headerrenders a BLANKdisableddisabled. Probe P5:disabled: ' 'and a{ dialect: 'cel', source: ' ' }envelope render DISABLED.''and the empty-source envelope render enabled.resolveDisabledtests!srcwithout trimming, and since PR objectui#11237 the blank branch of the row-predicate entry returns the header'struefallback. Core'shasDeclaredPredicate(objectui#3850 / objectui#3960) calls both values not declared, asActionRunner,action:buttonand now both row legs do. So on a blankdisabledthe header and the row menu disagree.containers.tsxis outside this claim. Carrier: none.Generated by Claude Code