Provenance: measured while implementing objectui#7154, by the same rendering measurement that card asked for. Filed unassigned. Not folded into objectui#7154 — that card is about four keys NOT on the copy set; this is about keys that ARE on it.
What is measured
On 51449a043, RELATIONAL_META_KEYS derives to 10 keys:
reference, reference_to, displayField, display_field, descriptionField, description_field, lookupColumns, lookupFilters, lookup_filters, id_field
applyRelationalMeta writes them onto fieldMeta, and fieldMeta in ObjectGrid.tsx is handed to CellRenderer as the field prop and to nothing else — grepped, all six occurrences are that one JSX prop across the three column-building paths. getCellRenderer sends a relational column to LookupCellRenderer (packages/fields/src/index.tsx) and a user column to UserCellRenderer.
LookupCellRenderer reads exactly reference_to, reference, display_field, displayField, reference_field off that prop (plus options).UserCellRenderer destructures { value } only — it reads no field meta at all.
Intersecting: 6 of the 10 copied keys have no reader on the bag they are copied onto — descriptionField, description_field, lookupColumns, lookupFilters, lookup_filters, id_field.
That is the shape objectui#6711 (reference_to_field) and objectui#6874 (titleFormat) each retired: a member written from the schema def on every column build that nothing on the receiving path reads.
Why the docblocks say otherwise
Both relationalMetaKeys.ts and relationalMetaCopySet.derivation.test.ts stated that the grid's inline editor "dispatches the same bag" into LookupField and UserField. It does not. ObjectGrid.renderCellEditor looks the field up in the object schema and spreads the WHOLE def into the widget:
const fieldDef = (objectSchema)?.fields?.[ctx.column?.accessorKey];
let field: any = { name: ctx.column.accessorKey, ...fieldDef };
So every key a def carries reaches LookupField whether or not it is copied. objectui#7154's PR corrected those two docblocks and pinned the consequence by rendering: four spec-declared picker keys that are NOT on the copy set (multiple, allowCreate, lookupPageSize, dependsOn) all take effect in the inline picker with the table unchanged, and an ablation that strips them from the editor's spread turns 4 of those 5 assertions red while the copy-set assertion stays green.
Why this matters beyond tidiness
The keys are not equally inert.
id_field, lookup_filters, description_field were copied for the inline picker, on the docblock's stated reasoning ("the extra keys drive the inline picker's query"). The picker gets them from the def instead, so the copies are dead writes — the objectui#6711 class, and retirable on the same reasoning.descriptionField and lookupColumns were ADDED by objectui#6875 as its fix, on the reading that they were "read, never copied" spellings the picker needed. Under this measurement that half of objectui#6875 delivered nothing: their only reader is LookupField, which was already receiving them off the def. objectui#6875's third key, displayField, is genuinely delivered — LookupCellRenderer reads it, and lookupDisplayFieldSpelling-6875.test.tsx renders the difference. So objectui#6875 is 1-for-3, not wrong.
What is NOT measured
- Whether the DERIVATION should be re-scoped. The gate sweeps three consumers, but only one of them is fed this bag; a read set that mixes the cell's bag with the editor's def is why a "read, never copied" verdict can be reached for a key that needed no copying. Rebuilding it around the cell alone (with the editor widgets classified separately) is a design change to objectui#6875's mechanism, not a call to make from here.
- Whether any host
DataSource outside these two repos feeds fieldMeta to something else. The sweep bounds packages/ and apps/ in this repo, as objectui#6875's own docblock notes for its verdicts. - Whether retiring the four legacy spellings is safe on back-compat grounds.
id_field, lookup_filters, description_field are recorded as legacy-alias precisely because a host outside these repos may hand-feed them; that argument is about producers, and is untouched by this reader-side measurement.
Generated by Claude Code
Provenance: measured while implementing objectui#7154, by the same rendering measurement that card asked for. Filed unassigned. Not folded into objectui#7154 — that card is about four keys NOT on the copy set; this is about keys that ARE on it.
What is measured
On
51449a043,RELATIONAL_META_KEYSderives to 10 keys:reference,reference_to,displayField,display_field,descriptionField,description_field,lookupColumns,lookupFilters,lookup_filters,id_fieldapplyRelationalMetawrites them ontofieldMeta, andfieldMetainObjectGrid.tsxis handed toCellRendereras thefieldprop and to nothing else — grepped, all six occurrences are that one JSX prop across the three column-building paths.getCellRenderersends a relational column toLookupCellRenderer(packages/fields/src/index.tsx) and ausercolumn toUserCellRenderer.LookupCellRendererreads exactlyreference_to,reference,display_field,displayField,reference_fieldoff that prop (plusoptions).UserCellRendererdestructures{ value }only — it reads no field meta at all.Intersecting: 6 of the 10 copied keys have no reader on the bag they are copied onto —
descriptionField,description_field,lookupColumns,lookupFilters,lookup_filters,id_field.That is the shape objectui#6711 (
reference_to_field) and objectui#6874 (titleFormat) each retired: a member written from the schema def on every column build that nothing on the receiving path reads.Why the docblocks say otherwise
Both
relationalMetaKeys.tsandrelationalMetaCopySet.derivation.test.tsstated that the grid's inline editor "dispatches the same bag" intoLookupFieldandUserField. It does not.ObjectGrid.renderCellEditorlooks the field up in the object schema and spreads the WHOLE def into the widget:So every key a def carries reaches
LookupFieldwhether or not it is copied. objectui#7154's PR corrected those two docblocks and pinned the consequence by rendering: four spec-declared picker keys that are NOT on the copy set (multiple,allowCreate,lookupPageSize,dependsOn) all take effect in the inline picker with the table unchanged, and an ablation that strips them from the editor's spread turns 4 of those 5 assertions red while the copy-set assertion stays green.Why this matters beyond tidiness
The keys are not equally inert.
id_field,lookup_filters,description_fieldwere copied for the inline picker, on the docblock's stated reasoning ("the extra keys drive the inline picker's query"). The picker gets them from the def instead, so the copies are dead writes — the objectui#6711 class, and retirable on the same reasoning.descriptionFieldandlookupColumnswere ADDED by objectui#6875 as its fix, on the reading that they were "read, never copied" spellings the picker needed. Under this measurement that half of objectui#6875 delivered nothing: their only reader isLookupField, which was already receiving them off the def. objectui#6875's third key,displayField, is genuinely delivered —LookupCellRendererreads it, andlookupDisplayFieldSpelling-6875.test.tsxrenders the difference. So objectui#6875 is 1-for-3, not wrong.What is NOT measured
DataSourceoutside these two repos feedsfieldMetato something else. The sweep boundspackages/andapps/in this repo, as objectui#6875's own docblock notes for its verdicts.id_field,lookup_filters,description_fieldare recorded aslegacy-aliasprecisely because a host outside these repos may hand-feed them; that argument is about producers, and is untouched by this reader-side measurement.Generated by Claude Code