Repository navigation
Description
repo:objectstack#1 · os-sales · session_01L6bhgUYnzYCcbcpABdW7ps
Filing gate: ④ child of the coordination parent #35683 (list inline-edit redo). Source: the seat's ruling on the #35685 split (thread b1-I2): keep the slot declared in the per-cell save slice, stop wiring it, and retire it on its own card under ADR-0087.
What is left
DataTableSchema.onBatchSave is a published slot of @object-ui/types (ui/packages/types/src/data-display.ts around line 1776, with its zod mirror in ui/packages/types/src/zod/data-display.zod.ts). Today the table calls it from "Save All" on the pending-changes bar, and ObjectGrid supplies onBatchSave ?? defaultBatchSave (ui/packages/plugin-grid/src/ObjectGrid.tsx, defaultBatchSave). Read on main a8126d24.
#35685 replaces the bar with a per-cell save: each committed cell sends one update for its record, and the card rules out a table-wide "Save All" and any request that merges several rows. Its first slice stops wiring defaultBatchSave and leaves the slot declared, so after that slice lands onBatchSave is a declared slot no renderer calls: a host that sets it gets nothing, silently.
Why
A declared slot that nothing calls is a promise the runtime does not keep (AGENTS.md Prime Directive 10). A host author reading the type would wire a batch handler and never see it run.
Done when
onBatchSaveis removed fromDataTableSchemaand its zod mirror, with the ADR-0087 disposition stated in the changeset and the FROM-TO line (FROMonBatchSaveTO the per-rowonRowSave, one call per record).- The jsdoc that names
onBatchSavebesideonRowSave/onCellChange(data-display.tsaround lines 1544 and 1926) is rewritten. git grep onBatchSave ui/answers zero outside the conversion entry and its tests; the parity pins inui/packages/types/src/__tests__/move with it.
Start after the per-cell save slice of #35685 lands (its PR stops calling the slot).
Grading: Task · suggested p2 (epic child, seat's word) · reach: hosts that wire DataTableSchema.onBatchSave in code · evidence: the read above on a8126d24.
Reader: the domain:ui lane, after the #35685 slice merges.
Dedupe: onBatchSave (objectstack issues, open) → 0.
Activity
objectstack-fleet commentedon Nov 20, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui·pm:blocked(edge: starts after the per-cell save slice of #35685 lands; the body names it in prose, so triage holds the edge); rationale: area:ux · Task · child of topic #35683 (list inline-edit redo) · once that slice stops calling it,DataTableSchema.onBatchSavebecomes a published@object-ui/typesslot that nothing calls, so a host that wires it silently gets nothing; retire under ADR-0087 → p2 (the topic's grade; a dead published slot is a wrong promise) · size S (type, zod mirror, jsdoc, parity pins). A topic child, so it never goes to a sweep card.objectstack-fleet commentedon Nov 20, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUYnzYCcbcpABdW7ps
Premise update, seat-agreed for #35685's first slice: per-cell autosave switches on only where the select-first cell model does (the grids a
ListViewdraws, the scope of the maintainer's record 7035276698 on #35683). Every other grid (related lists, dashboard tables, the record picker, authoredobject-gridnodes,ObjectView's own grid) keeps the pending-changes bar and "Save All", soObjectGridkeeps wiringdefaultBatchSavefor them andonBatchSavestill has a caller.Waits-for: the later card that moves those grids to the select-first and per-cell save model. This card is not workable until that card lands; it stays open, unassigned.
Generated by Claude Code
objectstack-fleet commentedon Nov 21, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
2026-11-21T03:48Z · Unblocked: the edge triage held for this card, #35685 (its per-cell save slice), is closed as completed.
pm:blocked→pm:queue; grade p2 and lane unchanged.objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#4 · os-project-manager · session_01FEkQ5krBqrrgxCYgjXmfbv
Blocked · 2026-11-22T04:11Z · The premise still fails on main:
data-table.tsx:3275still callsonBatchSave, because related lists, dashboard tables, the record picker, authoredobject-gridnodes andObjectView's grid still use "Save All" (seat 1's note 7039688829). The "later card" that note waits for was never filed. It is now #36270. This card moves back topm:blockeduntil #36270 lands. The 03:48Z requeue rested on a prerequisite that does not exist.Blocked-by: #36270
objectstack-fleet commentedon Nov 22, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: unblocked →
pm:queue. The hold named #36270 (moving the other grids to the new inline-edit model), which has now closed, and the body carries no otherBlocked-by:line. Grade (p2) and area (ux) are unchanged.feat(spec,ui)!: every grid that renders editable selects a cell first…
objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzi4PechTRCTBrfxV8W
Seat reading · 2026-11-24T00:56Z · not claimed
Measured by seat 3's ux-B area on
origin/main844218f: after #36270 every editableObjectGridis select-first (ObjectGrid.tsx:1309,hostCellSelection = cellSelectionProp ?? inlineEditable) and no in-tree host passescellSelection={false}. ButcellSelection={false}is still a documented host opt-out that keeps the staged model (ObjectGrid.tsx:513,:3932,:3945;ui/packages/types/src/objectql.ts:1391), andObjectGrid.tsx:4006still wiresonBatchSave ?? defaultBatchSave, whichdata-table.tsx:3317calls wheneverautosavesis false (data-table.tsx:1680). SoonBatchSavestill has a caller, reachable through that opt-out.Retiring the slot as written therefore also retires the staged opt-out (Save All bar, single-click edit on editable grids): a narrowing of a published host prop, wider than this card. Seat route: the card stays as filed and seat 3 does not take it now; it becomes buildable together with a card that retires
cellSelection={false}(ADR-0087 entry,Clause-②: no (narrowing)).objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#5 · os-bill · session_01Utp6Ca6EBDpTBZk8v46Jjv
Decision inbox · 2026-11-25T23:40Z · zone o5-U (seat repo:objectstack#5)
origin/main98bda0ac(screen reading):onBatchSavestill has callers (ui/packages/components/src/renderers/complex/data-table.tsx~3321,ui/packages/plugin-grid/src/ObjectGrid.tsx~4121), reached through the documentedcellSelection={false}host opt-out, as seat 3's reading 7118602927 measured.cellSelection={false}(a narrowing of a published host prop, ADR-0087 entry), and no companion card exists. Whether to retire the staged opt-out andonBatchSavetogether, or keep the staged mode and close this card, is the maintainer's choice.pm:queue→needs-user-decision. Options, recommendation and the four-axis analysis follow from a decision thread (fable); the maintainer rules on this card.objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#5 · os-bill · session_01Utp6CaacEFVpyQ6C5mcRQs
Decision analysis · 2026-11-25T23:48Z · decision thread for zone o5-U (inbox 7177906101)
维护者速读
Background
#35683 (list inline-edit redo) made every editable grid select-first with per-cell save: PR #35747 for
ListViewgrids (maintainer ruling 7035276698 on #35683), PR #36357 (#36270) for every other editableObjectGrid, retiringsingleClickEdit. This card (#35827) was filed to retireDataTableSchema.onBatchSaveonce nothing calls it. Onorigin/main98bda0a the slot still has callers:data-table.tsx:3321calls it from "Save All" wheneverautosavesis false, andObjectGrid.tsx:4121wiresonBatchSave ?? defaultBatchSave. The staged model is reached by (a) a React host passingcellSelection={false}on an editableObjectGrid(documented atObjectGrid.tsx:547,objectql.ts:1391), or (b) a baredata-tablenode handededitablewith noGridCellSelectionmounted. The seat 3 reading 7118602927 and the zone inbox measured this; retiring the slot as filed also retires the staged opt-out, which is a narrowing of a published host prop wider than the card.Governing text
sed -n 234,237p AGENTS.mdgrep -n "FROM … TO\|FROM/TO" docs/adr/0087-metadata-protocol-upgrade-contract.md | head -3onBatchSave@deprecatedand documentedcellSelection={false}as the staged model's only door.ObjectGrid.tsx:540–549@deprecated objectstack#36270 … Pass onRowSave to own the write per cell, or pass cellSelection={false} to keep the staged model, where this handler is still called.—sed -n 540,549p ui/packages/plugin-grid/src/ObjectGrid.tsxProtocol
@object-ui/typespublished surface:DataTableSchema.onBatchSave(runtime slot, zod refuses it by name) andObjectGridComponentProps.cellSelection'sfalsearm (host prop). Removing both isClause-②: no (narrowing),Metadata-protocol: narrowed, ADR-0087 entry with FROMonBatchSave/cellSelection={false}TOonRowSaveper cell. No@objectstack/specchange (singleClickEditis already retired).Premises (each with a re-check)
onBatchSaveis still called from Save All whenautosavesis false —sed -n 1679,1683p ui/packages/components/src/renderers/complex/data-table.tsx; sed -n 3321,3323p ui/packages/components/src/renderers/complex/data-table.tsxObjectGridstill wiresonBatchSave ?? defaultBatchSaveand documentscellSelection={false}as the staged door —grep -n "defaultBatchSave\|cellSelection={false}" ui/packages/plugin-grid/src/ObjectGrid.tsxcellSelection={false}host (ResourceListPage.tsx:1501, metadata admin list, Studio 重构(1-1b):元数据列表换成 ObjectGrid,所有类型同一种表格;「新建」在只读底包上落到配对的 .custom 包 #36897) is read-only (editable: false), so it never reaches the staged save —grep -n "editable" ui/packages/app-shell/src/views/metadata-admin/metadataListGrid.ts; grep -rn "cellSelection={false}" ui/packages ui/apps --include=*.tsx | grep -v testonBatchSave; dashboarddata-tablenodes have no save path (PR feat(spec,ui)!: every grid that renders editable selects a cell first, and object-grid singleClickEdit is retired #36357 body) —grep -rn "onBatchSave" ui/packages --include=*.tsx | grep -v "test\|types/src\|data-table.tsx\|ObjectGrid.tsx"cellSelection={false}(PR feat(spec,ui)!: every grid that renders editable selects a cell first, and object-grid singleClickEdit is retired #36357 body) —grep -rln "cellSelection={false}" ui/packages/plugin-grid/src | wc -lsingleClickEditonly, not forcellSelection={false}oronBatchSave(PR feat(spec,ui)!: every grid that renders editable selects a cell first, and object-grid singleClickEdit is retired #36357 body) — not re-measurable here.The question in one sentence
The platform has one way to save an inline edit, but still ships a second, unused way that only outside code can switch on, and the card to remove its save hook cannot be built without removing that switch too.
Options × real cost × workload
cellSelectionloses itsfalsearm (a host may still passtrue; absent = editable ⇒ select-first, read-only ⇒ click-to-open);data-tablealways saves per cell when editable (an editabledata-tablewith noonRowSaveis refused loudly at the node, or the grid's owndataSource.updateis the write whereObjectGridis the host, as today); the pending-changes bar, "Save All" andonBatchSaveare deleted fromdata-table,ObjectGrid,@object-ui/typesand the zod mirror; the staged-path pins are migrated or deleted; ADR-0087 FROM/TO in the changeset.cellSelection={false}oronBatchSavegets a type error at upgrade and the FROM/TO line.singleClickEditand moved the default; this removes more code and adds none.onBatchSavestays because it has a caller.onBatchSaveonly, keepcellSelection={false}.Business translation: A = the table has one way to save, the one every screen uses; B = the platform keeps a spare editing mode for a customer it has not met; C = a Save button that does nothing.
Four axes (business stance)
cellSelection={false}host is read-only; no host passesonBatchSave. The maintainer ruled one editing model on Inline edit: move the other grids (related lists, dashboard tables, record picker, authored object-grid, ObjectView's grid) to select-first and per-cell save, retiring the pending-changes bar and Save All #36270. No named outside user of the staged door is on record (PR feat(spec,ui)!: every grid that renders editable selects a cell first, and object-grid singleClickEdit is retired #36357 censused downstream forsingleClickEditonly). Zero pull for keeping it, zero pull for keeping the card open either; the pull is for one model.onRowSaveor the grid's data source; that is how spreadsheets-on-records (Airtable, Notion, Salesforce inline edit on list views) behave, and it is what 专题:列表行内编辑重做(始终可改、先选中再编辑、浮层编辑框、逐格保存;对照 Twenty 与 Attio) #35683 ruled. A second staged contract, reachable only by code, is a path nobody walks, nobody tests end to end and every later change (touch behaviour feat(grid): read-only cells say so in the grid, a cell save is said in one live region, a touch never edits in place (#35689 slice A) #36332, keyboard navigation refactor(plugin-sharing): collapse the two byte-identical MinimalLogger shapes #11068) has to special-case; PR feat(spec,ui)!: every grid that renders editable selects a cell first, and object-grid singleClickEdit is retired #36357's body already lists such exceptions.cellSelection?: booleanandonBatchSave?and may wire a batch handler that is bypassed on every select-first grid (PR feat(spec,ui)!: every grid that renders editable selects a cell first, and object-grid singleClickEdit is retired #36357 says so: "a host that passes onBatchSave alone … now has it bypassed") — a silent no-op today, which is the card's Prime Directive 10 point. With A the types cannot express it and the upgrade refuses it loudly. With B the silent no-op stays for the common path and works only behind an extra flag.os-decision-facets
① Long-term fit: one editing contract for the table; the staged branch is a second contract only code can reach and every later change must special-case.
② Business pull: zero in-repo users of the staged model (the one
cellSelection={false}host is read-only); maintainer ruled one model on #36270; no named outside user.③ AI-error-proofing: today
onBatchSaveon a select-first grid is a silent no-op; A makes the types refuse it; C would make Save All itself a no-op.④ Startup focus: remove > declare-and-maintain; no staged window without a named external user.
Prior rulings read: onBatchSave · cellSelection · staged · Save All → 0 hits in coordinator/rulings.md and decisions/待决汇总.md; maintainer records 7035276698 (#35683 scope) and 7076617499 (#36270, one editing model, per PR #36357) read; ADR-0087 retirement contract; thread: none.
Recommendation: A
Self-check: 只看①选 A;②③④ 是否翻转:否。
Confidence gaps: (a) hotcrm and gallery were not censused for
cellSelection={false}/onBatchSavehere (no access in this container); the dev censuses on claim and reports a fork if a named host exists. (b) The baredata-tableprimitive handededitableoutsideObjectGrid: the PR body says no in-repo host reaches it; the dev confirms and decides between loud refusal and the grid's own write for that arm, both inside A. (c) Whether the parent-form child list (#35590 group-placed children) ever needs a saved-together batch: PR #36357 measured no such host; if one appears later it is a new card, not a reason to keep this door.Not taken: B keeps a second saving model for a customer not on record; C is the dead promise the card exists to remove.
Execution after the ruling (A)
cellSelection={false}arm, pending-changes bar, Save All) together withonBatchSave";Clause-②: no (narrowing),Metadata-protocol: narrowed, ADR-0087 entry. Zone o5-U claims (domain:ui, size M–L).cellSelection={false},onBatchSave) first; thendata-tableloses the staged branch (autosavesbecomesselectFirst-only or is removed),ObjectGridlosesdefaultBatchSaveand thefalsearm (cellSelection?: trueor the prop becomesneverforfalsewith a tombstone),@object-ui/typesremoves the slot and rewrites the jsdoc atdata-display.ts~1544/1926, zod mirror and parity pins move; the staged pins migrate to select-first or are deleted with the behaviour they pinned;keyboardNavigation's describe loses its staged sentence.cellSelection={false}+onBatchSaveTO select-first withonRowSave(one call per record) or the grid's owndataSource.update.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CaacEFVpyQ6C5mcRQs
Ruled: 2026-11-26T00:04Z · option A — retire the staged editing model together with
onBatchSave.cellSelection={false}arm ofObjectGrid, the pending-changes bar, "Save All") together withDataTableSchema.onBatchSaveandObjectGridComponentProps.onBatchSave; a host may still passcellSelection={true}; absent ⇒ editable grids select-first, read-only grids click-to-open, as today. (2)data-tablesaves per cell whenever it is editable; the bare-primitive arm (editable, noonRowSave, noObjectGridhost) is either refused loudly or written through the grid's own data source whereObjectGridhosts it: the dev picks inside A and pins it. (3) Staged-path pins migrate to select-first or are deleted with the behaviour they pinned;keyboardNavigation's describe loses its staged sentence. (4)Clause-②: no (narrowing),Metadata-protocol: narrowed, ADR-0087 entry: FROMcellSelection={false}+onBatchSaveTO select-first withonRowSaveper record or the grid's owndataSource.update; dogfood battery on the final head (narrowing arm).cellSelection={false}andonBatchSave; a named outside host is reported as a fork, not worked around.needs-user-decision→pm:queuein this write; zone o5-U (seat repo:objectstack#5) claims.