Repository navigation
fix(plugins,react,i18n): bound registrations stop requiring objectName, and a node with neither shows a no-object hint (objectui#11605) - #11612
Conversation
…e, and a node with neither shows a no-object hint (objectui#11605) The object-bound registrations whose spec row or binding doc waives `objectName` (object-grid, view:grid, list-view, view:list, object-form, view:form, embeddable-form, object-master-detail-form, object-kanban, object-metric, object-pivot, object-chart, view:chart) drop `required: true` and describe the binding, so the page compile accepts a node bound by `dataSource.object`. `ElementDataSourceGate` gains `requiresObject`, and each member whose neither-node answered with a blank opts in, so that node shows "No object named: set objectName or dataSource.object." (`view.noObject`, ten packs). Pins: the manifest enumeration pin and per-member compile rows, the neither-node hint rows, and the gate's own rows. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FjqrwXPfSMkSfkKYDSRkN2
…rce, so a static board shows no no-object hint (objectui#11605) The board keeps a lane's own `cards` when it merges rows into its lanes, so a board authored with card-carrying `columns` and no object draws cards. The kanban call site now opts out of `requiresObject` for it, and the neither-hint pin gains that control. Two fixtures follow the hint: the kanban registration probe names its object, and the html-tier `object-name` spelling (6598 form 8a) now fails loudly through the block's hint rather than the compile. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FjqrwXPfSMkSfkKYDSRkN2
…of the binding doc The pin parses `content/docs/guide/data-source.md`'s "which keys each one honours" table, so the markdown-test-inputs ledger records that read and a markdown-only change to that page runs the pin. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FjqrwXPfSMkSfkKYDSRkN2
…tName, so it reads the same before and after (objectui#11605) Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FjqrwXPfSMkSfkKYDSRkN2
…no-object hint (objectui#11605) With the `data` binding stripped, the workbench's list names no object, so the block now draws the "no object named" hint instead of mounting `ListView`. The control's data-call assertions are unchanged; only its "the block has answered" signal moves to the hint. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FjqrwXPfSMkSfkKYDSRkN2
… `any` (objectui#11605) Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FjqrwXPfSMkSfkKYDSRkN2
✅ 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
|
…`bind` as BaseSchema members, with no second `bind` declaration (objectui#11605) `chartNeedsObject` read the record sources through a type literal that re-declared `bind` beside `BaseSchema`'s, which the `bind`-declared-once pin (`base-bind-declared.test.ts`, objectui#6357) refuses. It now reads `data` and `bind` as the `BaseSchema` members they are and `dataset`, this block's own key, by name with `Reflect.get`. The helper also moves above the `ObjectChartBlock` doc comment it had been inserted beneath, so that comment documents the block again. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FjqrwXPfSMkSfkKYDSRkN2
… collector, not a node that names no object (objectui#11605) The `object-form` / `view:form` opt-out read non-empty `customFields` only. `ObjectForm` dispatches the `tabbed`, `wizard`, `split`, `drawer` and `modal` variants to renderers that also treat sections whose every field is an inline runtime `FormField` as an inline field source (objectui#10254), so such a node with no object and no binding had the "no object named" hint painted over a working collector. The predicate is now `!hasInlineFieldSource(schema)`, the shared helper those renderers use. The neither-hint pin gains one row per sectioned variant on both tags, red before this change; the published `objectName` description, the plugin-form changeset and the binding doc name inline sections beside `customFields`. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FjqrwXPfSMkSfkKYDSRkN2
✅ 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: Resume after the HELD draft on What ① Derived judgments
② Semver level
③ Boundary flags
Implemented-by: VERDICT: PASS Written 2026-10-04T13:24Z. The HELD draft's two open items are cleared on this head: the |
|
Generated by Claude Code |
…ys; the snake_case spellings are refused by name (objectui#11610) (objectstack-ai#11614) Fixes objectstack-ai#11610 Clause-②: yes (narrowing) The `grid` widget's eight field-level keys become camelCase in one move across the published type, its zod mirror, the form-field face and every reader. The snake_case spellings retire at once and are refused by name on all three faces, each refusal naming the camelCase key. Ground: objectstack-ai/objectstack#21704 fork 2, ruled B (record `5978663135`); claim `5979906990` (seat ruling: refuse by name, no load-time conversion, premised on no stored producer). Dispatch session `session_01CPvhwGcirXqBGEdPSb72TZ`, `mode:subagent`. ## Premise (measured before any edit): no stored producer outside objectui's own fixtures - **objectstack `origin/main` `316be321`** (read through `git grep` on a private ref, nothing edited): the eight snake_case words occur only in comments, test strings and one changeset line. `packages/spec` `component.zod.ts` names them in three comments (the line-items guidance block, the `customFields` fork note, the master-detail `sortField` retirement note); the retirement test for `details.sortField` carries one as a must-not-match judge string; `conversions/registry.ts`, `migrations/registry.ts` and the retired-key entry for `details.sortField` carry it in comments. No schema declares or emits any of the eight as a field's metadata, and the spec's `FieldType` enum has no `grid` member at all, so the spec cannot store a `grid` field. The seat's reading is confirmed. - **objectui at base `b508ac50`** (every tracked file, `git grep` on that commit), each hit classified: - grid field metadata, READERS: `GridField.tsx` (the eight reads). - grid field metadata, PRODUCERS (in-repo, render-time, not stored): `MasterDetailForm` and `LineItemsPanel` (both hand the grid an object cast through `any`), and `apps/console` `DevLookup` (a dev harness). - grid field metadata, DECLARATIONS: `GridFieldMetadata`, the form-field face (`FormField`), its zod mirror (`FormFieldSchema`). - grid field metadata, STORED fixture: `examples/schema-catalog` `fields-grid/line-items-grid.json` (the only stored document). - docs: `content/docs/fields/grid.mdx`; the clipboard-paste RFC (states `max_rows` / `allow_add` as GridFieldMetadata's API in its proposed wiring); ADR 0001 (reported below, not edited). - tests: seven `GridField` test files in `packages/fields` (the triage counted five), the master-detail members test and the line-items total test in `packages/plugin-form`, three `packages/types` tests (strict face, form-field coverage, mirror parity comment), the console registry pin's prose. - SAME NAME, DIFFERENT READER (not renamed): the `## MAX_ROWS vs MIN_ROWS` heading-anchor string in `plugin-markdown`'s toc test; the en locale comment (a comment about the grid's label, updated); every `CHANGELOG.md` (history, untouched). The master-detail `details.sortField` the spec retired is a different key on a different object and stays untouched. - Existing facts not re-measured: the objectstack#21464 census (0 `customFields` entries) and the triage's hotcrm / cloud reading (0 hits). ## Rename map | FROM | TO | | --- | --- | | `min_rows` | `minRows` | | `max_rows` | `maxRows` | | `allow_add` | `allowAdd` | | `allow_delete` | `allowDelete` | | `allow_reorder` | `allowReorder` | | `total_field` | `totalField` | | `add_label` | `addLabel` | | `sort_field` | `sortField` | One list holds it: `GRID_FIELD_RETIRED_KEYS` (new export of `@object-ui/types`, with its key type `GridFieldRetiredKey`). The zod arms and the widget both read it; a type-level pin holds its keys equal to the `never` tombstones and its values equal to the live camelCase members. ## The retirement form, per face (refused by name, never stripped) - **TypeScript.** `GridFieldMetadata` and `FormField` each declare the eight snake_case keys as `never` tombstones with a `@deprecated` note naming the replacement. `{ type: 'grid', name: 'lines', min_rows: 1 }` typed `GridFieldMetadata` does not compile; on the docs face the gate's compile of `grid.mdx` reports `TS2322: Type 'number' is not assignable to type 'undefined'` for the same key. - **zod (`@object-ui/types/zod`).** `FormFieldSchema` declares each snake_case key as an `aliasKeyRefusal` arm. On the mirror, the tolerant face (`safeValidateSchema`, the `objectui validate` door) and the strict authoring face, `fields[0].min_rows: 1` answers exactly one issue, `invalid_type` at `fields.0.min_rows`, whose message leads ``Unrecognized key(s) on this form field: `min_rows`. Did you mean `min_rows` → `minRows`?`` and goes on to say the value stays the same. Any value is refused (the refusal is by name). The camelCase key with the same value parses and is kept on all three doors. - **The widget (`@object-ui/fields`).** `GridField` is now a thin gate over the grid body: a field whose metadata carries any snake_case key (with a defined value) is drawn as `RetiredGridFieldKeys` instead of the grid, an inline `role="alert"` (`data-testid="grid-field-retired-keys"`) reading for example ``[object-ui] Grid field `lines` carries retired snake_case key(s): `min_rows` → `minRows`. …``, plus the same text on `console.error` once per message. This is `RetiredFieldTombstone`'s settled shape in this package: nothing thrown, nothing silently substituted, rows untouched (`onChange` is never called). Producers move with it: both plugin-form adapters write the camelCase keys, and their grid object is now `satisfies` Partial of `GridFieldMetadata` instead of `as any`, so a snake_case key written there no longer compiles. ## Pins and guards, with ablation readings All ablations ran through the anchored mutation tool (anchor must hit; blob change and restore proven on disk; restore leg `git checkout HEAD`, blob after restore equal to the HEAD blob, `git diff HEAD` empty), from committed state. 1. **The eight camelCase keys draw**, each through the real `GridField` with a lit control without the key (`GridField.retiredSnakeKeys-11610.test.tsx`): `minRows` disables every Remove at the minimum; `maxRows` disables Add and every Duplicate at the maximum; `allowAdd: false` removes Add and Duplicate; `allowDelete: false` removes Remove; `allowReorder: false` removes the drag handles; `totalField` draws the footer total (30); `addLabel` labels Add; `sortField` stamps the new indices after a drag. Through the real form path too: `fields-grid-keys-camelcase-11610.test.tsx` renders the catalog fixture through `SchemaRenderer` and the form renderer (label `Add line item`, total `109.97`, two drag handles / Duplicate / Remove, all enabled), with the snake_case respelling as its control. 2. **A snake_case key is answered by the refusal, never dropped**: per key, the alert names the key and its replacement, the grid is not drawn, `console.error` is called once with the alert's text; edges pinned: several keys in one alert in map order, a snake key beside its camelCase twin is still refused, an `undefined` value is not refused (as on the TS and zod faces), a nameless field reads "This grid field", a second mount logs nothing new. - ABLATION (widget gate disabled): 12 refusal tests red, the 10 others (the eight draws, the lit control, the `undefined` row) green. Restored. 3. **zod refusal by name** (`grid-field-keys-camelcase-11610.test.ts`, three doors × eight keys, plus lit controls and an any-value row). - ABLATION (delete the `min_rows` arm): 8 tests red (the `min_rows` row and the any-value row on each of the three doors, and both `form-field-zod-coverage` rows). Restored. 4. **TS tombstones, each with a deletion guard that does not lean on an index signature** (same file, read by `tsc -p tsconfig.test.json`): an `Equal` row per member on both faces, a `keyof` membership row on `FormField`, and the map-equals-tombstones rows. - ABLATION A (delete all eight `GridFieldMetadata` tombstones): the eight `Equal` rows red, `TS2339` naming each key; the two map rows red; the strict-face lit-control row red; the map's `satisfies` red (`TS2561`).⚠️ The eight `@ts-expect-error` rows over fresh `GridFieldMetadata` literals stayed SILENT: with the member gone the key is still an excess property and the directive swallows it. That is the objectui#8347 lesson, reproduced; the `Equal` rows are what catch the deletion. - ABLATION A1 (delete `total_field` alone): exactly its `Equal` row (`TS2339`), the map row and the `satisfies` red. - ABLATION B (delete all eight `FormField` tombstones): the eight `Equal` rows and the `keyof` row red, four `TS2578` unused `@ts-expect-error` (the index signature now accepts the key), the strict-face by-reference rows red, and the mirror-parity ratchet red on `FormFieldSchema`. - ABLATION B1 (delete `sort_field` alone): its `Equal` row, the `keyof` row, its `TS2578`, the strict-face rows and the parity ratchet red, naming `sort_field`. - Every leg restored with blob equal to HEAD; the green `tsc -p tsconfig.test.json` runs are in the gates below. 5. **Docs face**: respelling one key of `grid.mdx`'s snippet snake_case turns `pnpm check:doc-snippets` red at that line (`TS2322`), restored green. Repo-wide pin sweep: every assertion that read a grid key by its snake_case spelling now asserts the camelCase key's substance (the master-detail grid object's exact key set and values, the strict face's accept and wrong-type rows, the coverage key set, the widget draws). The rejection rows for genuinely wrong values (a string `minRows`, a numeric `addLabel`, …) stay, respelled; the guarded surface grows by the eight refusals. ## Files and landing point The claim's surface, plus two adjacent files the census named: `apps/console` `DevLookup.tsx` (a producer) and its registry pin's prose; `packages/i18n` en locale (one comment naming `add_label`); the RFC. The landing point is the claim's list; no producer was found in another package. ## ADR and RFC - `docs/adr/0001-master-detail-subform.md` (governed, ⛔ not edited) names the keys in three sentences: "Honors `min_rows` / `max_rows` / `allow_add` / `allow_delete` from the …", "Drag reorder of lines (`allow_reorder`), grouping/subtotal rows." and "… **drag-to-reorder** (a `sort_field` …". Reported for whoever owns that record. - `content/docs/rfcs/0001-clipboard-paste.md` (status Draft) stated `max_rows` "from GridFieldMetadata" and wired `field.allow_add` / `field.max_rows` as the current API, so it is edited to the camelCase keys. ## Serial and overlap The claim's serial step is done. objectui#11605's PR objectstack-ai#11612 (`fd060f07`) and objectui#8347's PR objectstack-ai#11607 (`b403bb36`) both landed. `main` at `b403bb36` is merged into this branch by merge commit `8b56ef26`. Its combined diff is empty, so no hunk was hand-resolved. The four files this branch shares with them carry `main`'s hunks outside this branch's hunks: `packages/i18n/src/locales/en.ts`, `packages/types/src/form.ts`, `packages/types/src/index.ts` and `zod-mirror-parity.test.ts`. The contract review on the merged head (`5981193754`) reads every hunk of this branch as byte-identical to the reviewed head. The gate verdict on the merged head is its own check-runs. ## Gates (the dev's local readings, tree `82b400f9`; the current head's verdict is its check-runs) - type-check, package and test program: `@object-ui/types`, `@object-ui/fields`, `@object-ui/plugin-form`, `@object-ui/i18n`, `@object-ui/example-schema-catalog`, `@object-ui/console` — all exit 0 (the console run after building `@object-ui/plugin-tree`, which its import graph needs). The fields and plugin-form test programs list the touched test files (`--listFilesOnly`). - vitest, repo-root form: `packages/types/` 353 files / 9482 tests passed; `packages/fields/` 233 passed + 1 skipped / 3647 passed + 7 skipped; `packages/plugin-form/` 163 / 1889 passed + 1 skipped; `examples/schema-catalog/` + the console registry pin + `packages/i18n/` 121 / 3807 passed + 13 skipped. The `types` / `fields` / `plugin-form` runs measured a working tree byte-identical to `82b400f9` (its two later-committed files, the changeset and the catalog test, were already on disk); the rest ran at `82b400f9`. - lint (`eslint` with the root config, as each package's `lint` runs it) over the 25 touched TS/TSX files, counted from `--format json`: 0 errors; the one finding on a touched line is the pre-existing `as any` warning in `GridField.test.tsx`'s fixture. Narrowing statement: the population is every file under the touched packages, read by the one root `eslint.config.js`; it enables no type-aware linting and no custom rule reads the filesystem, so this diff cannot move a verdict on an untouched file. `pnpm lint` itself is CI's. - `check:doc-snippets` (777 blocks judged, 0 failed), `check:doc-examples`, `check:readme-exports`, `check:new-line-citations` (0 new), `check:control-bytes`, `check:spec-symbols`, `check:designer-field-key-parity`, `check:prompt-keys`, `check:handler-key-reads`, `check:unreferenced-sources`, `check:phantom-deps`, `check:self-import`, `check:test-path-roots`, `check:doc-types`, `check:doc-example-ids`, `check:doc-fences`, `check:doc-example-readers`, `check:i18n-drift`, `check:i18n-keys`, `check:esm-specifiers`, `check:side-effects-array`: all exit 0. - changeset checkers: presence, no-major, fixed, overwrite, claims, pending-literals: all exit 0. `.changeset/11610-grid-keys-camelcase.md`: `@object-ui/types` and `@object-ui/fields` `minor`, breaking banner, FROM → TO for all eight, `Clause-②: yes (narrowing)`. - Governed surface: `node scripts/check-governed-queue-guard.mjs --test` over the diff answers NOT GOVERNED. ## Acceptance notes -⚠️ Same name, different meaning: the grid's `totalField` names the CHILD column summed (the value a spec `amountField` carries), while the spec's own `totalField` on a master-detail subform or `record:line_items` names the PARENT field the sum is saved to. The mechanical camelCase of `total_field` lands on that homonym. Every declaration, the doc page and the changeset say so; the open question in the report asks the seat whether the spec's runtime form field should carry it under this name. - When the spec seat adds the camelCase keys to the runtime form field (objectstack-ai/objectstack#21704), the three objectstack comments that still name the snake_case keys can move with it. Carrier: that stage. - `DevLookup.tsx` keeps its `as any` field (a dev harness; only the key moved). The dispatching session is `https://claude.ai/code/session_01CPvhwGcirXqBGEdPSb72TZ`. --- _Generated by [Claude Code](https://claude.ai/code/session_01CPvhwGcirXqBGEdPSb72TZ)_ --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Leehom <pm@objectstack.ai>
Fixes #11605
Clause-②: yes
What changes
Every object-bound registration whose spec row, or the documented binding contract, waives
objectNamestops declaring itrequired: true, and each one gains adescriptionthat names the binding. So the page compile (compile()in@object-ui/sdui-parser, whoseokis the save gate) accepts a node whosedataSource.objectnames the object. This is the triage ruling (a), the same move as objectui#11569 (PR objectui#11604).Each member that answered a node with neither key with a blank now shows a visible hint instead: "No object named: set objectName or dataSource.object." The hint comes from one place.
ElementDataSourceGategains an opt-inrequiresObjectprop, and each call site states whether its block has another record source. The hint is drawn after the binding lands, so a bound node never sees it. The string is the newview.noObjectkey in all ten packs, worded aselement.number.noObjectwith the property as a hole.No new manifest vocabulary and no new compile rule (ruling (a), "no (b)").
packages/typesandsdui-parserare not edited.The census, and one evidence line per site
The census was re-run at the base
b92329cthree ways:git grep "name: 'objectName'.*required: true"finds 16 sites.name: 'objectName',alone on a line) on 3 inputs (action:button,action:icon,object-tree), none required. A double-quoted spelling finds 0.sdui.manifest.json,objectNamewas required on 10 public tags: the 9 members below plusrecord:related_list. The other 6 sites are non-public aliases or blocks.Per site, the reading is: does the registered renderer wrap
ElementDataSourceGate(sodataSource.objectlands onobjectName, the default mapping key), and what do the spec row and the binding doc say.plugin-gridGRID_QUERY_INPUTSobject-grid,view:gridObjectGridRenderer)dataSourcebinding can supply the object instead"plugin-kanbanOBJECT_KANBAN_INPUTSobject-kanbanObjectKanbanRenderer)plugin-dashboardobject-metricregistrationobject-metricObjectMetricBlock)plugin-dashboardobject-pivotregistrationobject-pivotObjectPivotBlock)object-pivotplugin-dashboardobject-data-tableregistrationobject-data-table(not public)ObjectDataTableis registered bareplugin-listlist-viewregistrationlist-viewListViewBlock)list-viewrecord-source rule that counts the bindingplugin-listlistregistrationview:list(not public)ListViewBlock)list-viewlist-viewplugin-chartsObjectChart.tsxobject-chartregistration (outside triage's 15)object-chartObjectChartBlock)object-chartplugin-chartsindex.tsxchartregistrationview:chart(not public)ObjectChartBlock)object-chartobject-chartplugin-formobject-formregistrationobject-formObjectFormRenderer)OBJECT_FORM_OBJECT_NAME_INPUT)plugin-formformregistrationview:form(not public)object-formobject-formplugin-formembeddable-formregistrationembeddable-formEmbeddableFormRenderer)formIdstays required)plugin-formobject-master-detail-formregistrationobject-master-detail-formMasterDetailFormRenderer)detailsstays required)plugin-detaildetailregistrationview:detail(not public)DetailViewplugin-detailrelated_listregistrationrecord:related_listobjectNameplugin-viewobject-viewregistrationobject-view(not public)ObjectViewRendererreads no binding"Before" was measured through
SchemaRendererunder a provider with a recording adapter, at the base. Every member made zero data calls, and none threw. After the change, each opted-in member draws the hint and still makes zero data calls (pin rows below).Other record sources opt out of the hint, each read from the block's own fetch guard. Lists take inline
data. Forms (object-form,view:form) take inline fields, answered by the sharedhasInlineFieldSource: non-emptycustomFields, orsectionswhose every field is inline, the collector thetabbed,wizard,split,drawerandmodalvariants render. Kanban takesdata, abindpath, a parent view's rows, or lanes that carry their owncards. Metric takesfallbackValue. Chart takesdata,datasetorbind. Pivot takesdataorbind. Embeddable and master-detail have none.Accept-set changes (for the contract review)
Measured against the manifest the console ships (
buildArtifactsoverdev/manifest-registry.ts). "Before" is the baseb92329c; "after" is this head.dataSource={{ object: "account" }}and its other required props, noobjectNameok: false, onemissing-required-properror namingobjectNameok: true, no diagnostics, the binding site recordedobjectNamenor a bindingok: false, the same errorobjectName; the runtime answers with the hint (or the grid's own error)embeddable-formnamingobjectNamebut noformId(control)formIdrecord:related_listwithoutobjectName(control)objectNameGenerated artifacts move with it, from the same generator: the
sdui.manifest.jsonentries,sdui-intrinsics.d.ts(objectName?: stringon the 9 tags) and thesdui-blocks.mdrequired-props column. None of them is tracked.The zod faces (
objectui validate) were read and not touched. A bound node of each member passessafeValidateSchemaat this head, and the record-source refinements still refuse some neither nodes there.Pins
New:
apps/console/src/__tests__/objectname-binding-required-11605.test.ts, judged against the shippedsdui.manifest.json:dataSourceinput withbinding: 'object'. For each, everyrequired: trueinput must be required by itsComponentPropsMaprow, not supplied by the binding, or in theLEDGERwith a reason. It runs one test per tag, so a new contradiction is red by name. What the binding supplies is read off the binding doc's "which keys each one honours" table: the object key (objectName,childObjectonrecord:line_items,objectonelement:*), pluscolumnswhere a named view fills them.record:related_list.columns(see Acceptance notes). A stale row is red.objectNamenot required with a description namingdataSource.object; the bound node compilesok; the neither node draws noobjectNamediagnostic. Plus the two controls in the table above.apps/console/src/__tests__/objectname-neither-hint-11605.test.tsx, for 11 tags (the 9 public members plusview:list,view:formandview:chart):TESTID-no-objectwith the exact sentence and makes zero data calls.objectName, none when bound bydataSource.object, none with the block's other record source, and none on a kanban whose lanes carrycards.object-formandview:form, each sectionedformType(tabbed,wizard,split,drawer,modal) with fully-inline sections renders its collector, not the hint (10 rows, red before34eda84).packages/react/src/element-data-source/__tests__/ElementDataSourceGate.requiresObject-11605.test.tsx: the gate's own rows.childObjectunderobject: 'childObject').object: false, changes nothing.Reproduced first. The two console pins were run against the base
b92329cin a separate worktree. 47 rows were red: 9 enumeration rows, 9 published-input rows, 9 bound-compile rows, 9 neither-compile rows and 11 hint rows. Each enumeration row named its tag, for example "object-grid declares "objectName" required, but itsdataSourcebinding supplies it and its spec row does not require it". All controls were green. At34eda84all 108 rows pass across the three new files (hint 53, enumeration 48, gate 7).Ablations, on the committed fix, through
ablation-replace.mjs. The console project aliases each@object-ui/plugin-*and@object-ui/reacttosrc, so a mutation reaches the test without a build.required: trueput back onobject-grid'sobjectName(packages/plugin-grid/src/index.tsx, blob103b678daf64becameb146f9f85b4d): 4 rows went red (enumeration, published input, bound compile, neither compile), each namingobject-grid, with 44 passed.object-form, throughOBJECT_FORM_OBJECT_NAME_INPUT(69df173d5b9fbecame4706c474205e): the same 4 rows went red, namingobject-form.requiresObjectpredicate (54919dea475ebecame21d282a24bf0): exactly theobject-kanbanneither-hint row went red, with 42 passed.customFields-only predicate (packages/plugin-form/src/index.tsx, blobb730e588d559becamedb8cd30dafb7): exactly the 10 sectioned-variant rows went red, 43 passed; restored by blob hash.Each restore is proven by blob hash: blob equals HEAD and
git diff HEADis empty. Ablations 1 and 3 each had a first attempt the tool refused before any test ran, because the replacement contained its own anchor. Those attempts restored to HEAD and measured nothing.Reverse type check.
requiresObject={was renamedrequiresObjekt={inplugin-kanban.tsc --noEmitthen failed with TS2322 against the rebuilt@object-ui/reactdeclarations, and the file was restored by blob hash (54919dea475e).Other edits
plugin-kanbanindex.test.ts: "objectName is required" became "declared, not required, namesdataSource.object".plugin-formembeddable-form-arm-inputs-11440.test.ts: the required list is now['formId']. The arm's record-source rule is unchanged.plugin-kanbanregistration.test.tsx: the stub probe now names its object.plugin-listhtmlTierColumnSpellings-6598.test.tsxform 8a:object-namestill fails loudly, now through the block's hint rather than the compile error. The invariant's "(b) fails loudly" names both.sdui-workbench-preview-listview-binding-8510.test.tsx: the stripped-binding control waits on the list's hint. Its data-call assertions are unchanged.guideCrudAppRenderstest headers said the block "declaresobjectNameas required".scripts/markdown-test-inputs.mjs: anADJUDICATEDentry for the new pin's read ofcontent/docs/guide/data-source.md. Its--auditis green, andscripts/__tests__/markdown-test-inputs.test.tspasses.content/docs/guide/data-source.md: one prose paragraph, no code fence. It says the page compile accepts a bound node on theobjectNamerows, withrecord:related_listas the exception. It also states the hint, the grid's own error, and which record sources opt out.packages/react/README.md: one prose paragraph onrequiresDataSourceandrequiresObject, no code fence.minor, each widening paragraph opening**Clause-②: yes (widening)** —:@object-ui/plugin-grid,plugin-kanban,plugin-dashboard,plugin-list,plugin-charts,plugin-form,react(the new optional prop) andi18n(the new key).@object-ui/consolechanges only test files, the same standing objectui#11604's review accepted.Verification (head
34eda84)The patch round,
582982e→34eda84:067f3f0:chartNeedsObjectreadsdataandbindasBaseSchemamembers anddatasetwithReflect.get, so there is no secondbinddeclaration (base-bind-declared.test.tsgreen;plugin-chartssuite 89 files, 1213 passed / 9 skipped; type-check exit 0).34eda84: the form opt-out useshasInlineFieldSource(plugin-formsuite 163 files, 1889 passed / 1 skipped; type-check exit 0).34eda84: 127 package/app files (2576 passed) and 69 scripts files (2816 passed). The gates listed below were re-run at34eda84, each exit 0.582982e.Build:
pnpm exec turbo run build --concurrency=2filtered to the^...closure of the six changed plugins. Exit 0, 14 tasks, 7 cache hits;@object-ui/reactand@object-ui/i18nrebuilt.type-check: each ofreact,i18n,plugin-grid,plugin-kanban,plugin-dashboard,plugin-list,plugin-chartsandplugin-formexits 0 (tsc --noEmit && tsc -p tsconfig.test.json).reactwas re-run at this head.Full package suites (
pnpm exec vitest run packages/PKG/):plugin-dashboard+plugin-charts: 257 files, 2882 passed, 15 skipped.plugin-form: 163 files, 1889 passed, 1 skipped.plugin-grid: 185 files, 1711 passed.plugin-list+plugin-kanban: 178 files, 1663 passed.react+i18n: 187 files, 2689 passed, 13 skipped.plugin-view+examples/schema-catalog: 104 files, 2861 passed.apps/console: 145 files, all pass after the 8510 control above.582982e, apart from three test files andscripts/markdown-test-inputs.mjs. Those were re-run at582982e: 12 files, 538 passed.Narrowed consumer sweep: the 53 test files outside the moved packages that name a moved tag (
app-shell,components,cli,sdui-parser,plugin-detail,plugin-calendar,plugin-map,plugin-gantt), pluselement-data-source-objectname-waiver-11117(it readsdata-source.md) andmarkdown-test-inputs: 55 files, 882 passed. Selected by tag literal and by source-text read of a changed file. A consumer that renders a moved block without naming its tag is outside this selection, and CI covers it.Gates at this head, each exit 0:
changeset:check,check-changeset-presence(8 changesets over 9 released packages),check-changeset-overwrite,check:changeset-claims,check:pending-changeset-literals;check:control-bytes,check:new-line-citations(0 new citation(s));check:i18n-keys,check:i18n-drift(1 key added, 0 en values changed),check:i18n-dead-keys(view.noObjectnot listed);check:element-data-source-declaration,check:test-path-roots,docs:check-links,check:doc-types,markdown-test-inputs --audit.check:handler-key-reads,check:doc-example-readers,check:spec-symbols,check:doc-fences,check:doc-example-ids,check:component-surface-parity,check:registry-bare-names,check:prompt-keys,check:vi-mock-override-shape,check:unreferenced-sources,check:side-effects-array.check-governed-queue-guard --testover the 40 paths: NOT GOVERNED.eslint (
--no-inline-config --format json) over the 30 touched ts/tsx/mjs files: 0 errors. For each modified file, the warning count and the multiset of rule ids are equal at base (fed by--stdin --stdin-filename) and at head. The three new test files carry 0 warnings. The config has no type-aware linting (noproject/projectService), so this diff cannot move the verdict on an untouched file.NOT MEASURED, left to CI:
check:eager-closure,check:eager-locale-cataloguesandcheck:sdui-registration-pinsneed a built console (PREREQUISITE NOT MET). This diff adds one short string to each eager pack and a small component to the gate.check:doc-snippetsandcheck:doc-examplesneed built packages (exit 2). Neither docs edit adds a code fence.check:readme-exportsis judged on built type entries and could not judge any README here. The README edit adds no fence.Acceptance notes
record:related_list.columnsis ledgered, not moved. The registration requirescolumns, but the spec row leaves it optional, and the gate maps a named view's field list onto it (columns: true). So a node bound to a view with its owncolumnsis refused. Measured at this head:record:related_listwithobjectName,relationshipFieldanddataSource={{ object: "task", view: "open_tasks" }}getsok: false,missing-required-propnamingcolumns. It is outside this card'sobjectNamescope, and a node bound byobjectalone still needs columns. The dev report carried it to the seat, which filed it as objectui#11613.object-gridis not opted into the hint. Its own error already answers the neither node.fallbackValueopts out of the hint, because the author chose a static tile. With an adapter in context the tile still shows its dash rather than that value, as before this change. Recorded only.list-view,object-grid,object-kanban,embeddable-formandobject-pivot.simple(or unset)formTypewhose sections are fully inline also opts out of the hint now, becausehasInlineFieldSourceanswers for every variant.ObjectForm's simple path does not read inline sections, so with no object that node still draws an empty form, as it did before this PR. It is a missed hint, not a regression.app-shelltests that name these tags are green.Implemented by the os-dev run under session
https://claude.ai/code/session_01FjqrwXPfSMkSfkKYDSRkN2, for the claim on the card.Generated by Claude Code