You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DataTable / ObjectGrid: retire the staged editing model (cellSelection={false}, pending-changes bar, Save All) together with onBatchSave (ruled A, 7178367040) #35827
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
onBatchSave is removed from DataTableSchema and its zod mirror, with the ADR-0087 disposition stated in the changeset and the FROM-TO line (FROM onBatchSave TO the per-row onRowSave, one call per record).
The jsdoc that names onBatchSave beside onRowSave / onCellChange (data-display.ts around lines 1544 and 1926) is rewritten.
git grep onBatchSave ui/ answers zero outside the conversion entry and its tests; the parity pins in ui/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.
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.onBatchSave becomes a published @object-ui/types slot 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.
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 ListView draws, the scope of the maintainer's record 7035276698 on #35683). Every other grid (related lists, dashboard tables, the record picker, authored object-grid nodes, ObjectView's own grid) keeps the pending-changes bar and "Save All", so ObjectGrid keeps wiring defaultBatchSave for them and onBatchSave still 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.
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.
Blocked · 2026-11-22T04:11Z · The premise still fails on main: data-table.tsx:3275 still calls onBatchSave, because related lists, dashboard tables, the record picker, authored object-grid nodes and ObjectView'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 to pm:blocked until #36270 lands. The 03:48Z requeue rested on a prerequisite that does not exist.
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 other Blocked-by: line. Grade (p2) and area (ux) are unchanged.
Claim: PM loop round 1 · zone o5-U (area:ux p1/p2; the maintainer, verbatim, 2026-11-25T23:27Z project thread: 「再开两个专区,接ai ux 的 p1 p2 任务」) · 2026-11-26T02:45Z · epic #35683's zone (seat 4 a4-C) takes no new cards; the ruling names o5-U as claimant
Session: session_01Utp6Ca6EBDpTBZk8v46Jjv
Thread session: session_01Utp6CZProAps4gBPhsLSVt
Account: os-bill
Area: o5-U
Branch: claude/project-thread-aa564x
Worktree: objectstack-issue-35827
Domain: domain:ui
Seat: repo:objectstack#5
File surface: ui/packages/components/src/renderers/complex/data-table.tsx, ui/packages/plugin-grid/src/ObjectGrid.tsx (staged arm, defaultBatchSave, cellSelection prop), ui/packages/types/src/data-display.ts + zod/data-display.zod.ts + parity pins, the in-tree host(s) the retirement touches, the staged-path tests (migrated or deleted), the ADR-0087 registry entry, root .changeset/. Not ui/packages/fields/** or group-row colour code (#36882), skills/**, docs/adr/**, packages/spec/**. Stop on breach and report.
Container & model: M, mode:thread, model: default — dispatch-gates --tier: "no path-derived mandate" (served claude-opus-5-5 per the thread's first report), effort: high
Clause-②: no (narrowing)
Metadata-protocol: narrowed
Responsibility: n/a — not a defect card
Thread-read: 7178367040
Premise: corrected 7178367040 — re-premised on claim per the ruling: retire the staged editing model (cellSelection={false} arm of ObjectGrid, pending-changes bar, "Save All") together with DataTableSchema.onBatchSave and ObjectGridComponentProps.onBatchSave. The card's original premise (slot already unwired) failed (seat 3 reading 7118602927; inbox 7177906101). Census per the premise clause: hotcrm fb0b879 and gallery 782d801, cellSelection|onBatchSave|batchSave|pendingChanges|Save All → 0 hits each (thread's first report); no outside host, no fork.
Serial constraints cleared: #36882 (this zone, in flight) touches ObjectGrid.tsx group rows only; merge-tree before each push; no other open PR touches these files at claim
Pre-claim lane: domain:ui; L2 contract review owed (narrowing arm), dogfood battery on the final head
Pre-claim deps: none
Prior rulings read: ruling 7178367040 (option A, Bill 2026-11-26T00:01Z); governing text AGENTS.md Prime Directive 10 corollary, ADR-0087 retirement contract, maintainer record 7076617499 on #36270 (one editing model)
changed the title [-]DataTable: retire the onBatchSave slot once list inline edit saves each cell on its own[/-][+]DataTable / ObjectGrid: retire the staged editing model (cellSelection={false}, pending-changes bar, Save All) together with onBatchSave (ruled A, 7178367040)[/+]on Nov 26, 2026
Zone o5-U · 2026-11-26T02:59Z · fence amendment 1 for the claim 7181103894
File surface adds, add-only:
packages/spec/src/migrations/entries/semantic/18.data-table-staged-edit-retired.ts, the D3 semantic entry ruling term 4 owes (precedent 18.object-grid-single-click-edit-retired.ts). No D2 conversion: nothing authorable to rewrite, onBatchSave is refused by name on the zod face before and after.
DataTableSchema.singleClickEdit removed from the ui types with its types parity pins: only the retired staged arm set it, so it would stay a dead declared key; this is the ruling's 「旧模式和接口一起退」.
Why: the ADR-0087 gate refuses every not-required category on a narrowing with a FROM/TO table; only registered fits.
Overlap: no open PR uses this slug. If feat(spec)!: PROTOCOL_VERSION 18 → 19, and every current-protocol handshake reads '^19' #37314 (PROTOCOL_VERSION 18 → 19) lands first, use the file prefix main's convention then requires.
{
"issue": 35827,
"status": "done",
"branch": "claude/project-thread-aa564x",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37437",
"session": "session_01Utp6CZProAps4gBPhsLSVt",
"premise_still_valid": true,
"summary": "Ruling A implemented: the grid's staged edit model retires with its host interface. ObjectGrid loses the cellSelection={false} arm, onBatchSave and the default batch save (cellSelection accepts only true); data-table loses the pending bar, Save All and the row save column; DataTableSchema.onBatchSave is retired on both faces and singleClickEdit removed. Bare-primitive arm (term 2): loud refusal, pinned: an editable data-table without a GridCellSelection host and onRowSave renders read-only and warns once. Staged-path pins migrated to select-first or deleted with comments naming their duplicates; ResourceListPage stays click-to-open (A1). ADR-0087 D3 entry data-table-staged-edit-retired added as packages/spec/src/migrations/entries/semantic/19.data-table-staged-edit-retired.ts (protocol 19 opened on main mid-flight, so the step-19 prefix; registry.ts.template untouched), with the maintainer's approval by name. Outside-host census: hotcrm and gallery, 0 hits.",
"tests": "components 4958 passed; plugin-grid 2774 passed; types 10512 passed; plugin-list + plugin-view + i18n + plugin-form + data-objectstack onMutation 7654 passed / 0 failed; app-shell ResourceListPage* 14 files 105 passed; the 9 component test files re-edited for check:test-source-alias 41/41; spec src/migrations green; type-check types/components/plugin-grid/plugin-list/app-shell clean; eslint on touched files 0 errors. Local CLI re-check of data-commands.absent-database.integration.test.ts on deefadb3: 54/54.",
"gates": "dispatch-gates first round 70/73 green: check-adr-0087-registration red until the entry (now exit 0, registered data-table-staged-edit-retired); spec check:skill-examples exit 3 (client-react unbuilt, untouched); check:doc-component-types stale exemptions resolved by keeping a select-first example in both grid docs; check:test-source-alias resolved by module-top react-runtime imports. Spec-file round 39/41 green; check-plugin-teardown-shape --self-test exit 3 (shallow clone), check:dual-build-cjs-loads exit 3 (knowledge-turso unbuilt). overlap-check clean against main and #37436 #37427 #37422 #37387. CI on deefadb3: run 45789943743 attempt 1 failed only Test Core 5/10 (CLI integration beforeAll 480 s hook timeout, passes locally on the same head); one re-run of failed jobs, attempt 2 conclusion success; all check suites green.",
"dogfood_battery": "deefadb3 · os-verify-lock VERDICT command-exit 0 (held 2353 s, shared box) · Test Files 487 passed, 3 skipped (490) · Tests 4129 passed, 68 skipped (4197) · no failures",
"mcp_calls": "6 — reads only: get_job_logs x3, actions_get x2, pull_request_read x1",
"api_writes": "6 — git push x2 (claude/project-thread-aa564x); relay pr_create (#37437, draft); relay run_rerun_failed (run 45789943743); relay issue_patch (PR body); this comment via post-stamped",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"class: c · reach: named producer · locale packs still carry table.saveAll, table.cancelAll, table.modified, table.saveRow, table.cancelChanges with no reader · dead staged locale keys",
"class: c · reach: named producer · ui/packages/fields/README.md ~145-147 and FieldEditWidget.tsx ~216-217 describe a grid without cellSelection (fenced) · stale fields docs after staged retirement",
"class: c · reach: named producer · useRecordCrudVerdicts updateOnMount option has no caller · unused verdict option",
"carrier: PR #37437 acceptance notes · noted, not filed"
]
}
Zone o5-U · 2026-11-26T10:44Z · maintainer approval on record for the packages/spec migration entry of this card (asked for by the seat's L2 on PR #37437, 7189751333)
Bill, verbatim, in zone o5-U's project thread at 2026-11-26T09:00Z: 「同意 #35827 在 packages/spec 加迁移文件」. Bill, verbatim, in the #35827 card thread at 2026-11-26T09:00Z: 「同意」.
Asked as (zone o5-U, 03:17Z): approve packages/spec/src/migrations/entries/semantic/18.data-table-staged-edit-retired.ts and its one registry.ts.template record (fence amendment 7181311810). Landed as 19.data-table-staged-edit-retired.ts after #37314 opened protocol 19; the template is untouched (step 19's rationale is one string).
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.10 remaining items
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6Ca6EBDpTBZk8v46Jjv
Claim: PM loop round 1 · zone o5-U (area:ux p1/p2; the maintainer, verbatim, 2026-11-25T23:27Z project thread: 「再开两个专区,接ai ux 的 p1 p2 任务」) · 2026-11-26T02:45Z · epic #35683's zone (seat 4 a4-C) takes no new cards; the ruling names o5-U as claimant
Session:
session_01Utp6Ca6EBDpTBZk8v46JjvThread session:
session_01Utp6CZProAps4gBPhsLSVtAccount:
os-billArea: o5-U
Branch:
claude/project-thread-aa564xWorktree:
objectstack-issue-35827Domain:
domain:uiSeat:
repo:objectstack#5File surface:
ui/packages/components/src/renderers/complex/data-table.tsx,ui/packages/plugin-grid/src/ObjectGrid.tsx(staged arm,defaultBatchSave,cellSelectionprop),ui/packages/types/src/data-display.ts+zod/data-display.zod.ts+ parity pins, the in-tree host(s) the retirement touches, the staged-path tests (migrated or deleted), the ADR-0087 registry entry, root.changeset/. Notui/packages/fields/**or group-row colour code (#36882),skills/**,docs/adr/**,packages/spec/**. Stop on breach and report.Container & model:
M,mode:thread,model: default — dispatch-gates --tier: "no path-derived mandate"(served claude-opus-5-5 per the thread's first report),effort: highClause-②: no (narrowing)
Metadata-protocol: narrowed
Responsibility: n/a — not a defect card
Thread-read: 7178367040
Premise: corrected 7178367040 — re-premised on claim per the ruling: retire the staged editing model (
cellSelection={false}arm ofObjectGrid, pending-changes bar, "Save All") together withDataTableSchema.onBatchSaveandObjectGridComponentProps.onBatchSave. The card's original premise (slot already unwired) failed (seat 3 reading 7118602927; inbox 7177906101). Census per the premise clause: hotcrmfb0b879and gallery782d801,cellSelection|onBatchSave|batchSave|pendingChanges|Save All→ 0 hits each (thread's first report); no outside host, no fork.Serial constraints cleared: #36882 (this zone, in flight) touches
ObjectGrid.tsxgroup rows only; merge-tree before each push; no other open PR touches these files at claimPre-claim lane:
domain:ui; L2 contract review owed (narrowing arm), dogfood battery on the final headPre-claim deps: none
Prior rulings read: ruling 7178367040 (option A, Bill 2026-11-26T00:01Z); governing text AGENTS.md Prime Directive 10 corollary, ADR-0087 retirement contract, maintainer record 7076617499 on #36270 (one editing model)
[-]DataTable: retire the onBatchSave slot once list inline edit saves each cell on its own[/-][+]DataTable / ObjectGrid: retire the staged editing model (cellSelection={false}, pending-changes bar, Save All) together with onBatchSave (ruled A, 7178367040)[/+]objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6Ca6EBDpTBZk8v46Jjv
Zone o5-U · 2026-11-26T02:59Z · fence amendment 1 for the claim 7181103894
File surface adds, add-only:
packages/spec/src/migrations/entries/semantic/18.data-table-staged-edit-retired.ts, the D3 semantic entry ruling term 4 owes (precedent18.object-grid-single-click-edit-retired.ts). No D2 conversion: nothing authorable to rewrite,onBatchSaveis refused by name on the zod face before and after.packages/spec/src/migrations/registry.tsis generated whole and git-ignored (Splitmigrations/registry.ts's two append tables into per-entry files (registry half of #6957's ruling) #7297, [Decision] the migration registryregistry.tsis the last committed generated aggregate on the ADR-0087 D3 path: keep it and finish B′, or generate it at build #22554): it is NOT edited. If the gate also wants the change's record inregistry.ts.template(as the precedent's idobject-grid-single-click-edit-retiredsits there, ~L2569), that one template record is inside the fence.DataTableSchema.singleClickEditremoved from the ui types with its types parity pins: only the retired staged arm set it, so it would stay a dead declared key; this is the ruling's 「旧模式和接口一起退」.Why: the ADR-0087 gate refuses every not-required category on a narrowing with a FROM/TO table; only
registeredfits.Overlap: no open PR uses this slug. If feat(spec)!: PROTOCOL_VERSION 18 → 19, and every current-protocol handshake reads '^19' #37314 (PROTOCOL_VERSION 18 → 19) lands first, use the file prefix main's convention then requires.
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CZProAps4gBPhsLSVt
os-dev-report
{ "issue": 35827, "status": "done", "branch": "claude/project-thread-aa564x", "pr": "https://github.com/objectstack-ai/objectstack/pull/37437", "session": "session_01Utp6CZProAps4gBPhsLSVt", "premise_still_valid": true, "summary": "Ruling A implemented: the grid's staged edit model retires with its host interface. ObjectGrid loses the cellSelection={false} arm, onBatchSave and the default batch save (cellSelection accepts only true); data-table loses the pending bar, Save All and the row save column; DataTableSchema.onBatchSave is retired on both faces and singleClickEdit removed. Bare-primitive arm (term 2): loud refusal, pinned: an editable data-table without a GridCellSelection host and onRowSave renders read-only and warns once. Staged-path pins migrated to select-first or deleted with comments naming their duplicates; ResourceListPage stays click-to-open (A1). ADR-0087 D3 entry data-table-staged-edit-retired added as packages/spec/src/migrations/entries/semantic/19.data-table-staged-edit-retired.ts (protocol 19 opened on main mid-flight, so the step-19 prefix; registry.ts.template untouched), with the maintainer's approval by name. Outside-host census: hotcrm and gallery, 0 hits.", "tests": "components 4958 passed; plugin-grid 2774 passed; types 10512 passed; plugin-list + plugin-view + i18n + plugin-form + data-objectstack onMutation 7654 passed / 0 failed; app-shell ResourceListPage* 14 files 105 passed; the 9 component test files re-edited for check:test-source-alias 41/41; spec src/migrations green; type-check types/components/plugin-grid/plugin-list/app-shell clean; eslint on touched files 0 errors. Local CLI re-check of data-commands.absent-database.integration.test.ts on deefadb3: 54/54.", "gates": "dispatch-gates first round 70/73 green: check-adr-0087-registration red until the entry (now exit 0, registered data-table-staged-edit-retired); spec check:skill-examples exit 3 (client-react unbuilt, untouched); check:doc-component-types stale exemptions resolved by keeping a select-first example in both grid docs; check:test-source-alias resolved by module-top react-runtime imports. Spec-file round 39/41 green; check-plugin-teardown-shape --self-test exit 3 (shallow clone), check:dual-build-cjs-loads exit 3 (knowledge-turso unbuilt). overlap-check clean against main and #37436 #37427 #37422 #37387. CI on deefadb3: run 45789943743 attempt 1 failed only Test Core 5/10 (CLI integration beforeAll 480 s hook timeout, passes locally on the same head); one re-run of failed jobs, attempt 2 conclusion success; all check suites green.", "dogfood_battery": "deefadb3 · os-verify-lock VERDICT command-exit 0 (held 2353 s, shared box) · Test Files 487 passed, 3 skipped (490) · Tests 4129 passed, 68 skipped (4197) · no failures", "mcp_calls": "6 — reads only: get_job_logs x3, actions_get x2, pull_request_read x1", "api_writes": "6 — git push x2 (claude/project-thread-aa564x); relay pr_create (#37437, draft); relay run_rerun_failed (run 45789943743); relay issue_patch (PR body); this comment via post-stamped", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "class: c · reach: named producer · locale packs still carry table.saveAll, table.cancelAll, table.modified, table.saveRow, table.cancelChanges with no reader · dead staged locale keys", "class: c · reach: named producer · ui/packages/fields/README.md ~145-147 and FieldEditWidget.tsx ~216-217 describe a grid without cellSelection (fenced) · stale fields docs after staged retirement", "class: c · reach: named producer · useRecordCrudVerdicts updateOnMount option has no caller · unused verdict option", "carrier: PR #37437 acceptance notes · noted, not filed" ] }Generated by Claude Code
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6Ca6EBDpTBZk8v46Jjv
Zone o5-U · 2026-11-26T10:44Z · maintainer approval on record for the
packages/specmigration entry of this card (asked for by the seat's L2 on PR #37437, 7189751333)Bill, verbatim, in zone o5-U's project thread at 2026-11-26T09:00Z: 「同意 #35827 在 packages/spec 加迁移文件」. Bill, verbatim, in the #35827 card thread at 2026-11-26T09:00Z: 「同意」.
Asked as (zone o5-U, 03:17Z): approve
packages/spec/src/migrations/entries/semantic/18.data-table-staged-edit-retired.tsand its oneregistry.ts.templaterecord (fence amendment 7181311810). Landed as19.data-table-staged-edit-retired.tsafter #37314 opened protocol 19; the template is untouched (step 19's rationale is one string).feat(ui): retire the grid's staged edit model with its host interface (…
fix(ui): rich-text cell docs, the read-only data-table warning and th…
docs(releases/v19): list the grid's staged edit retirement among the …
docs(changelog): the 35827 note names GridCellSelectionProvider as th…