Repository navigation
fix(types): declare the row-click modifier payload on ObjectDataTableSchema.onRowClick - #9983
Conversation
…Schema.onRowClick The object-arm twin of the declaration objectui#9462 widened. `ObjectDataTable` forwards a host's handler onto the same `data-table` node whose renderer that card repaired, so the second argument has been arriving at a published declaration that denied it. One member widened to `(row: any, event?: any) => void`. Nothing about the runtime call moved, no other key was narrowed, and the `data-table` twin was not touched. The objectui#9357 consumer ledger carried this site as a CONTROL whose stated justification was a known gap rather than an accurate declaration. Widening the member turned that file red first; the entry then moved from CONTROLS into IN_SITES, with the forwarding line quoted in full, gate included. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UanLVj6xvbS6puBCewLr8L
|
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 review ADOPTED — verdict PASS, at tier, on head The record follows in the next comment, verbatim. ⛔ Adoption is whole or not at all: unedited, ⛔ not polished, ⛔ not trimmed, ⛔ not re-argued. Tier, measured — ⛔ not self-reportedRead from each subagent's own transcript (
⭐ The control returned the other value, so the instrument discriminates and both cells are lit. ⛔ A tier reading without a firing control is not a reading. ⭐ The record's own void condition FIRED — and it did not voidThe record states
This seat re-tallied after exit: 56, not 52. The four extra are records written after the reviewer counted itself, the handback among them.
What adoption does and does not settle
⭐ One thing the dev measured better than this seat declaredThis seat declared Read at 2026-09-19T01:48Z. Generated by Claude Code |
Contract reviewServed-tier: 52/52 Reviewed at head The tier line is a measurement, not an assertion: this subagent's own transcript ( ① Derived judgments
Non-blocking observation on ① 8(a). The new entry's ② Semver level
③ Boundary flags
Findings, listed
Implemented-by: Independence: the implementation identity is a VERDICT: PASS VERDICT: PASS Generated by Claude Code |
|
Clause-② carriers cleared — provenance Read at 2026-09-19T01:56Z.
Read-backs, in full:
⭐ A platform reading this act measured — the record posted CLEAN and the tool said it had not
The tool models footer re-anchoring as 「either appends its block or moves the newline around one already there」. The move measured here is wider than that model: it RELOCATES an author-supplied footer block over intervening content. The content is verbatim, so the adoption stands; ⛔ but the exit code is a false NOT-STORED, and 「⛔ do not retry blindly」 was the right instruction — a blind retry would have posted the 14046 bytes a second time. This is a Generated by Claude Code |
|
ACCEPT — objectui#9799 · head Read at 2026-09-19T01:58Z. Implemented-by: The at-tier contract review is adopted (comment ⭐ The one thing acceptance owed beyond the review: the 9357 ledger entry MOVED「a test edited to pass is a different thing entirely」. So this was measured, ⛔ not read off the prose, over base
The rest of the acceptance reading
⛔ What this record does NOT doIt does not approve. No review of any kind is submitted on this PR by this seat, at any identity. Acceptance is the seat's reading that the work matches the card; the landing route from here is ready → queue, and the merge is the queue's. Generated by Claude Code |
Fixes #9799
Clause-②: yes (see below)
⇒ measured against this diff rather than inherited from the claim, and it lands on the
same answer by a different route. The census first, then the reading that decides it.
What moved — one member, one direction
ObjectDataTableSchema.onRowClickinpackages/types/src/objectql.tsnow declares(row: any, event?: any) => void. That is the whole of it: ⛔ no runtime argument moved,⛔ no other key was narrowed, ⛔ the
data-tabletwin was not touched — objectui#9462had already widened it, and this card is its object-arm twin catching up.
The premise, re-derived on
origin/mainbefore anything was writtenThe forwarding line in
packages/plugin-dashboard/src/ObjectDataTable.tsxreads, whole:⭐ The gate is real and the reporting lane's
?? handleRowClickparaphrase is not whatis on disk — the reviewing seat's correction on the card holds, re-read here rather than
taken on trust. It does not change the finding: a host's handler is the FIRST operand of
that
??and reaches the node whateverrecordDrillEnableddecides, which only choosesthe FALLBACK. The
data-tablerenderer objectui#9462 repaired calls the slot asschema.onRowClick(row, e)⇒ the payload has been arriving at a published declarationthat denied it. Class (b), live.
⭐ The paraphrase is now pinned against, not just avoided: the ledger entry this PR adds
uses the full line — gate included — as its
hopregex, so a future entry written fromthe paraphrase matches nothing and reds instead of reading like a reading of the tree.
Clause ② — the measurement, ⛔ not the declaration
Published-surface census — nothing NEW is exported.
packages/types/src/index.tsisuntouched by this diff (
ObjectDataTableSchemawas already a named export), the packageexportsmap is untouched, and no key was added to any published payload. On themechanical floor alone the answer would be
no.But the published accept set widens, and it is observable. The ablation below
reverted only this member and re-ran
tsc; two error classes appeared that the wideneddeclaration does not produce:
TS2322 … Target signature provides too few arguments. Expected 2 or more, but got 1.TS2554 Expected 1 arguments, but got 2.⇒ host code that the published declaration refused before is accepted now. That is a
⚠️ ⛔ Nothing narrows: both
widened TypeScript accept set, which the 甲 ruling on objectui#9736 treats as
yes⇒yes, same as the claim declared, reached from the diff.spellings satisfy each other for the ordinary optional-parameter case, so no existing
one-parameter host handler is refused in either direction.
The objectui#9357 ledger MOVED — it was ⛔ not edited to agree
navigationOverlayConsumers.onRowClickArity-9357.test.tscarried this exact site as aCONTROLSentry, and that entry's own justification said it was a KNOWN GAP undermeasurement rather than an accurate declaration. It behaved as designed — widening the
member turned it RED first, before any test was edited:
Only then was the entry MOVED from
CONTROLSintoIN_SITES, the same handshakeobjectui#9462 performed for the three sites it repaired. The file's header records the
second move beside the first.
The pin, and the proof it can fail for the right reason
New:
packages/types/src/__tests__/object-data-table-row-click-arity-9799.test.ts.(row) => voidand
(row, event?) => voidsatisfy each other in BOTH directions, so anextendspin isgreen on the narrow tree AND on the wide one. Both directions are asserted anyway — as the
source-compatibility measurement this card owes — and the DISCRIMINATOR is stated
separately: exact identity of the parameter list, compiled by this package's
type-check,⛔ not run by vitest. The third runtime case says so out loud so a green vitest run is not
read as having measured the widening.
Ablation — the implementation was committed first, then the member alone reverted on disk:
grep -c1 → 0, narrowspelling 0 → 1, and the blob hash moved from
b0951b67e7to404daa9525.tsc -p tsconfig.test.json→ exit 2, namingassertionSlotIsTheWidenedSpelling,assertionAritySpansOneOrTwo,assertionSecondParameterIsSpelledAnyandassertionNarrowSpellingIsNotTheSlot, plusassertionOnRowClickDeclaredinwidget-schema-anchors-6576.test.ts.expected [ 'row: any' ] to have a length of 2 but got 1.git diff HEADempty,git statusclean, and
git hash-objecton the file equal to itsHEADblobb0951b67e7. Thescript carried a
trap … EXIT INT TERMrestoring throughgit checkout HEAD -- PATH(⛔ never the bare form, which would take the mutation back out of the index).
Two pins moved with the measurement, ⛔ neither was relaxed
Both are exact-identity (
Equal) pins on this member's spelling, so both went red and bothwere updated to the measured type — ⛔ not softened to
extends, which would have beengreen through every state of this family:
packages/types/src/__tests__/widget-schema-anchors-6576.test.tspackages/plugin-dashboard/src/__tests__/ObjectDataTable.schemaAnchor-6576.test.ts(the consumer-side half, read through
ObjectDataTableProps['schema'])Tests
At
2146dcdc24, all foreground, all exit codes captured before any pipe:vitest run packages/types/ packages/plugin-dashboard/ packages/react/type-checkon@object-ui/types,@object-ui/react,@object-ui/plugin-dashboardbuildfor the same threepackages/types/dist/objectql.d.tscarriesonRowClick?: (row: any, event?: any) => void;linton the same threecheck:changeset-presence·check:control-bytes·check:handler-key-reads·check:new-line-citations·check:changeset-claims·check:pending-changeset-literals·check:test-path-roots·check:component-surface-paritycheck-governed-queue-guard --testover this diff's six pathsThe three heavy runs went through the shared verify lock; the gates did not, by design.
Declared narrowing. Repo-wide
pnpm lintand the fullpnpm testfarm are CI's runs,⛔ not re-run here. The consumer sweep was done by reading, ⛔ not by building every
dependent:
ObjectDataTableSchemaand the literal old spelling were grepped tree-wide andevery hit judged — the two exact-identity pins above are the only ones the widening moves,
and a widening cannot refuse code that compiled before.
Acceptance notes
Observations from this card's blast radius, ⛔ none filed, ⛔ none repaired here:
packages/types/src/data-display.tscarries the SAME paraphrase the reviewing seatcorrected on the card — the
DataTableSchema.onRowClickdocblock saysObjectDataTablepasses
schema.onRowClick ?? handleRowClick, with no gate. The dispatch fenced the twinexplicitly, so it is recorded rather than edited; the durable repair is the full quote now
standing in the ledger entry and in this member's own docblock. Successor: the next seat
in this family to touch
data-display.ts..changeset/9462-row-click-modifier-payload-forward.mdends on apresent-tense "Not in this change" paragraph saying this member "still declar[es] one
parameter". Its scope statement stays true of that change; only the present tense goes
stale, and it goes stale into the SAME release as this PR's own entry, which narrates the
sequence.
check:changeset-claimsdoes not see it — that gate matches file paths andthis paragraph names no file. ⛔ Another card's release note, ⛔ not edited here.
Scope
⛔ The 回翻条款 was not reached. The widening needed no runtime-argument change and no key
narrowed anywhere, so there was nothing to hand back for re-triage. The per-region fence
held: the only hunk in
objectql.tsis this member and its own docblock — objectui#9540(
ObjectChartSchema,ObjectGallerySchema) and objectui#8941 (BulkActionDef) areuntouched, and neither names this member.
⛔ This PR is a draft on purpose and stays one. Readying it, labelling it, enqueuing it and
any contract-review routing are the PM's steps.
Generated by Claude Code