Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

finding(plugin-grid): ObjectGrid's generateColumns() is untyped (any[]), so nothing type-checks what it writes into DataTableSchema.columns: TableColumn[] — the hole that hid #5853 and #5453 #6004

Closed
1 of 1 issue completed

Description

@yinlianghui

Found while measuring #5853 (TableColumn.type's three-way divergence). Filed unassigned, deliberately NOT absorbed into #5853, whose fence is data-display.ts + its zod mirror + data-table.tsx. This card is in plugin-grid and is the structural reason that class of drift stays invisible.

Measured (at 8d3a5294a)

packages/types/src/data-display.ts:487 types the boundary strictly:

columns: TableColumn[];

But the producer that fills it is untyped — packages/plugin-grid/src/ObjectGrid.tsx:1495:

const generateColumns = useCallback(() => {

No return-type annotation, and its call site at :2197 re-widens explicitly:

const columns = generateColumns().map((col: any) => {

So every column object ObjectGrid hands to data-table reaches a TableColumn[] slot as any. tsc checks nothing there.

Why it matters

The untyped boundary is not cosmetic — it is what lets producer/consumer vocabularies drift with a green build. Two independently-filed cards are the same hole seen from two sides:

Typing the boundary turns both classes into build errors at the point they are introduced, instead of findings discovered months later by hand.

Suggested direction (not a decision — needs sizing)

Annotate generateColumns(): TableColumn[] and drop the (col: any) at the call site. Expect this to go red immediately and usefully: the type widening decision in #5853 is a prerequisite for the type key specifically, and the extra keys ObjectGrid attaches (headerIcon, options, pinned, wrap, essential) each need a verdict — declare on TableColumn, or stop forwarding. That triage is the substance of the card, so it should be sized before dispatch rather than treated as a one-line annotation.

Related

Generated by Claude Code

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    domain:ui
    on Aug 24, 2026
  2. os-zhuang commented on Aug 24, 2026

    @os-zhuang
    Contributor

    Triage (label repair): filed bare — finding + domain:ui applied (plugin-grid producer boundary; observation awaiting first-touch grading). Note for the grading round: this is the structural hole named by both the #5853 escalation (now back in the decision box) and #5453 — grade it after #5853's ruling lands, since the ruled canonical-vocabulary shape decides what typing this boundary should assert.


    Generated by Claude Code

  3. claude commented on Aug 25, 2026

    @claude
    Contributor

    Concentrated triage round: finding → pm:queue, Task, domain:ui stands. Structural typing fix: annotate generateColumns(): TableColumn[] and remove the (col: any) re-widening at :2197, then repair the fallout honestly (each compile error is a real producer/consumer divergence of the class that hid #5853 and #5453 — fixing one by widening a type back to any is the outcome this card exists to prevent). Size: M, opus.


    Generated by Claude Code

  4. added theissue type on Aug 25, 2026
  5. os-support-ai commented on Aug 26, 2026

    @os-support-ai
    Collaborator

    Claimed + dispatched — the sibling convention is now on main

    domain:ui @ objectui execution seat, PM session session_011SfZeFWrhGLHmfq61xbz4q,
    branch claude/issue-6004-generatecolumns-typed. All agents share one GitHub identity — this
    comment's session ID is the claim
    , not the assignee.

    ⭐ Read #6373 first — it is the same defect shape, it just landed, and it wrote you a rule

    #6373 applied this remedy to the second producer (plugin-dashboard's ObjectDataTable
    enrich()); it merged as PR #6427. Its criterion, which you should apply to your key set
    rather than re-inventing:

    write only what the consumer reads; measure the consumer's read set from its source; never
    declare a key nothing reads; before retiring, prove the value has a second road to its consumer.

    That last clause is what makes "retire" safe rather than lossy — each of its six retirements
    carried a measured read-count of 0 plus the second road the value still travels.

    ⚠️⚠️ The obvious remedy is INERT here — this is the finding that PR paid for

    The card (and this family's earlier framing) says "annotate the producer's return as
    TableColumn[]". That raises no error: TypeScript's excess-property check exempts properties
    arriving through a spread
    , so a { ...col, ...fieldMeta }-style emit type-checks against a
    TableColumn[] annotation while enforcing nothing. It is a blind instrument — green gate, no
    guard.

    What holds instead, landed at packages/plugin-dashboard/src/ObjectDataTable.tsx, is a derived
    tombstone intersection that bites by assignability:

    & { [K in Exclude<keyof FieldMeta, keyof TableColumn | 'name'>]?: never }

    ⭐ Derived, never hand-listed — a hand-written tombstone set goes stale the moment the source
    type grows a key.

    ⚠️ Your surface is wider than #6373's, and the any casts are a second inert layer

    Censused on origin/main 129c7a9e7:

    packages/plugin-grid/src/ObjectGrid.tsx:1525  const generateColumns = useCallback(() => {
                                           :2108  generateColumns().filter((c: any) => …)
                                           :2176  generateColumns().filter((c: any) => …)
                                           :2227  generateColumns().map((col: any) => {
    

    Three consumers, and every one of them casts to any. So even a tombstone-bearing return type
    is defeated at the call site unless those casts go too. ⛔ Do not leave them: an emit type nothing
    downstream honours is the same blind-instrument failure one hop later. If removing a cast surfaces
    a real type error, that is a finding to report — not a reason to reinstate the cast.

    ⛔ Re-derive all of this yourself; these are my numbers on today's main.

    Adjudication boundaries

    Each surfaced key gets declare / retire / hold-as-alias with a stated reason. ⛔ Do not make the
    type-check pass by widening TableColumn with an index signature or a cast — that converts a
    surfaced-key census into a silenced one, which is the failure this family exists to undo.

    ⛔ Keys already adjudicated elsewhere are not yours: type is #5853's (closed), name is
    #5120's (open). If your key set overlaps #6424 / #6425 (filed off #6373), report the overlap rather
    than folding them in.

    Pre-dispatch gate

    Ghost-assertion guard

    The defect is type-level, so a test that merely renders the grid is blind — it stays green with
    the annotation removed. Pin something the annotation's absence actually breaks, prove it red by
    mutating to the pre-fix condition, restore by hash, and measure type-check coverage with
    tsc -p … --listFiles rather than assuming a green gate covers your files.

    Deliver a draft PR with Fixes #6004. ⛔ Do not mark ready, ⛔ do not self-merge, ⛔ do not
    enable auto-merge — the PM lands it.


    Generated by Claude Code

  6. claude commented on Aug 26, 2026

    @claude
    Contributor

    os-dev-report

    {
      "issue": 6004,
      "status": "done",
      "branch": "claude/issue-6004-generatecolumns-typed",
      "pr": "https://github.com/objectstack-ai/objectui/pull/6461",
      "premise_still_valid": true,
      "summary": "Typed ObjectGrid's column emit against the TableColumn[] slot it fills, at 289749402. The card's suggested remedy is inert here and MORE inert than at #6373: measured on this program, `generateColumns(): TableColumn[]` raises zero diagnostics even for an undeclared key written out longhand AND for a wrong-typed declared key, because every emit literal is a .map() callback's return value and so reaches the annotation non-fresh. Root cause underneath that: `objectSchema` is useState<any>, and an `any` spread into an object literal collapses the WHOLE literal to `any` -- path A's emit was literally `any[]`. Fix is three parts: name the four inference locals so `any` stops at that boundary; carry ADR-0049 `?: never` tombstones DERIVED from `Exclude<keyof ListColumn, keyof TableColumn | 'wrap' | 'pinned'>` (never hand-listed) which bite by assignability; and drop every `any` cast. The census was wider than the card's: FIVE `any`s defeated the type, not three -- a fourth call site at :3398 (mobile card view) and a fifth INSIDE the producer (`const generatedColumns: any[]`) that left one emit path unchecked even after the return was annotated. Verdicts with read-counts: headerIcon HELD (data-table x2, live; the TableColumn-declaration decision stays #6424's), pinned HELD (ObjectGrid x5, consumed before the slot and re-expressed as the sticky className data-table reads), wrap HELD and deliberately NOT retired (0 reads anywhere, so my rule would retire it -- but #5453 owns that key and is pm:blocked on #5415, so retiring it here would settle a blocked card from outside), options RETIRED (0 reads on either side; second road proven -- cell renderers read options off the fieldMeta built inside generateColumns, and the inline editor reads them off the object schema via renderCellEditor, neither ever consulted col.options). type stays #5853's, name is not emitted here at all. No rendering change. CENSUS CORRECTION to the card: `essential` is NOT on the emit surface -- it is read off the authored column and turned into a className, and it is not a ListColumn member either; recorded on #6458. OVERLAP REPORTED not folded: #6424 (headerIcon is mine and held; fitContent is written on the _actions column outside generateColumns, untouched), #6425 (no write-side overlap; its read-side mirror at this producer filed as #6458), #5453 (wrap, held). Also flagging one deliberate narrowing for review: the fold pass's `if (!col || ...)` null guard is gone now that the emit is typed non-nullable -- that converts a tolerated-null path into a throwing one if an `any` ever leaks back.",
      "tests": "ALL GATES RUN ON THE FINAL COMMIT 289749402 (`git rev-parse --short HEAD` from that run), via the shared lock `bash ../objectstack/scripts/pm/os-verify-lock.sh -c '...'`; exit codes captured before any pipe. (1) `pnpm --filter @object-ui/plugin-grid type-check` = `tsc --noEmit && tsc -p tsconfig.test.json` -> exit 0, script name echoed in output so this is not a zero-match no-op. (2) `pnpm exec vitest run packages/plugin-grid/` (from repo root, path filter, no bare `--`) -> 'Test Files 92 passed (92) / Tests 861 passed (861)', lock VERDICT command-exit 0. (3) `node scripts/check-changeset-presence.mjs` -> '2 source file(s) of 1 released package(s) changed, and this change declares 1 changeset(s)'. (4) `pnpm --filter @object-ui/plugin-grid lint` -> '679 problems (0 errors, 679 warnings)', vs 680 measured pre-fix -- one fewer, consistent with the removed `any` casts; 0 errors both times. (5) DOWNSTREAM (prefix filter = consumers) `pnpm --filter @object-ui/app-shell --filter @object-ui/plugin-view --filter @object-ui/plugin-report --filter @object-ui/plugin-designer type-check` -> all four 'Done', exit 0 (run on the pre-squash tree; ObjectGrid.tsx source byte-identical, and the only later edit was an eslint-disable comment in a test file no downstream package reads). Dependency closure built first (`pnpm --filter '@object-ui/plugin-grid^...' build`, exit 0) -- the first downstream attempt failed with `Cannot find module '@object-ui/plugin-form'`, which is a missing build, NOT a measurement, and was re-run after building. TYPE-CHECK COVERAGE MEASURED, NOT ASSUMED: `tsconfig.json` EXCLUDES `**/__tests__/**`, so `tsc --noEmit` never sees the new test; `tsc -p tsconfig.test.json --noEmit --listFiles` -> 1751 program inputs INCLUDING both `src/__tests__/columnEmitBoundary-6004.test.ts` and `src/ObjectGrid.tsx`. INERTNESS MEASUREMENT (3 probes, each mutation confirmed on disk by grepping BOTH the injected text and the removed anchor, and by comparing `git hash-object` against the HEAD blob to prove it was not a no-op; each restored with `git checkout HEAD -- <path>` and verified byte-identical by hash, absolute paths in the trap): probe 1b `generateColumns(): TableColumn[]` + import -> tsc exit 0, ZERO diagnostics. probe 2 same + undeclared key `wrapControl: true` WRITTEN OUT -> exit 0, zero diagnostics. probe 4b same + wrong-typed DECLARED key `sortable: 'NOT_A_BOOLEAN'` -> exit 0. Instrument-liveness control (probe 5): `return 'DEFINITELY_NOT_AN_ARRAY'` -> TS2322, so the annotation WAS honoured and the greens above are real inertness, not a dead compiler. Root cause isolated (probe): assigning path A's chain to `const x: number` printed `Type 'any[]' is not assignable to type 'number'` -- the emit really was `any[]`; the same probe with a simplified callback printed a proper object type, isolating the `any`-in-spread collapse. FORWARD REVERSE-VERIFICATION, direction PREDICTED RED before each run, all 5 confirmed red and all 5 emit paths therefore live: leg1 wrong-typed declared key path A -> TS2322 'Types of property sortable are incompatible: string is not assignable to boolean | undefined'; leg2 tombstoned key via SPREAD path A -> TS2322 naming `summary`, 'Type \"none\" is not assignable to type undefined'; leg3 tombstoned key WRITTEN OUT path B -> TS2322 naming `label`; leg4 path C (inline data) -> TS2322 naming `link`; leg5 path D (schema-derived push) -> TS2322 'Type true is not assignable to type undefined'. ABLATION of the fix (tombstone intersection deleted from BOTH emit types): on-disk confirmed 'tombstone lines before=2 after=0' plus mutated blob b99ebb4e != head f7c06304 (so not a no-op); NO PACKAGE BUILD is interposed here and none is needed -- the ablation target is `ObjectGrid.tsx` and the measuring gate `tsc -p tsconfig.test.json` reads it as SOURCE (it is in the --listFiles output above), so there is no dist/ copy that could serve a stale marker; the dependency closure that supplies the real `TableColumn`/`ListColumn` d.ts WAS built beforehand. Result exit 2: TS2578 'Unused @ts-expect-error directive' at test lines 102 and 113 (the two tombstone pins) + TS2339 on the derived-set pins (field/link/action/prefix/hidden); restored byte-identical to f7c063048ae6c45040c5aa775d784fbab67f6e58. ISOLATION HELD as designed: the `options` pin and the `type`-fold pin stayed GREEN under that ablation, proving each @ts-expect-error is refused by its own machinery rather than riding on the tombstone (#6373's ghost-assertion lesson). One earlier probe was VOID and is reported as such rather than silently re-run: my first on-disk check counted 2 occurrences because my own docblock contains the same string, so the check was wrong, not the mutation; re-anchored to code-only lines. Probe 1 (first attempt) was likewise NOT MEASURED -- TS2304 'Cannot find name TableColumn' because the import was missing, so it was re-run with the import rather than being read as a red gate. Repo-wide lint NOT run (CI owns it); narrowing DECLARED and measured on all three required counts: population read from eslint's own config = 129 files for this package via `--format json`, my diff touches 3 files all inside that package, and `eslint.config.js` sets no `parserOptions.project`/`projectService` so type-aware linting is OFF and my diff cannot move any untouched file's verdict. NUL/control-byte scan `grep -naP '[\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f]'` over all three changed files -> no matches.",
      "open_questions": [],
      "out_of_scope_findings": [
        "filed as #6457: ObjectGrid writes the persisted column width as `size` (ObjectGrid.tsx:2286) and data-table never reads a column-level `size` -- USER-VISIBLE: resize a column, reload, the width is dropped on the ungrouped path. Decisive checks: 0 `col.size` reads in data-table, `setColumnWidths` has exactly 1 call site (the resize handler, never seeded from the schema), and ObjectGrid never passes `columnWidths` down. Grouped mode stamps `width` and works -- the asymmetry is both the corroboration and the fix direction. Existing columnStatePersistence.test.tsx pins only the outbound half, which is why it stayed invisible. Not folded in: different seam (persistedColumns, downstream of generateColumns) and a behaviour change needing its own test + sizing against #6303/#6259.",
        "filed as #6458: ObjectGrid honours four undeclared authored column keys via `(col as any)` -- `format` (:1815), `options` (:1840-41), `appearance` (:1846), `essential` (:1951) -- none declared by the spec's strict `ListColumn`, so an author writing them gets `unrecognized_keys` at publish while the renderer reads them. The #6425 shape at the other producer. A fifth cast, `(col as any).prefix` (:1925), is unnecessary -- `prefix` IS declared. Carries the `essential` census correction to #6004.",
        "filed as #6459: `const dataTableSchema: any` (ObjectGrid.tsx:3210) means the `DataTableSchema` this file already IMPORTS is never applied to the object that receives the emit -- the slot half of the seam #6004 fixed the producer half of. Includes a sizing warning that a bare annotation is likely inert there too, for the freshness reason measured on this card."
      ]
    }

    Generated by Claude Code

  7. claude commented on Aug 26, 2026

    @claude
    Contributor

    os-dev-report

    {
      "issue": 6004,
      "status": "done",
      "branch": "claude/issue-6004-generatecolumns-typed",
      "pr": "https://github.com/objectstack-ai/objectui/pull/6461",
      "premise_still_valid": true,
      "summary": "SECOND REPORT, superseding the first: both PM review items are addressed and pushed as 356d0d93a (PR head, still draft, auto_merge None). (1) NULL GUARDS RESTORED in the enrichment map and the fold pass, each with a comment naming why they survive a non-nullable type -- this producer had five separate `any` leaks defeating that very boundary, one inside generateColumns() itself, so the guard is defence in depth behind the typing rather than dead code the next reader should delete. I also verified the guards are NOT stripped: TS narrows `col` to `never` there, which is exactly when a bundler might drop them, so I grepped the built dist/index.js and confirmed both survive minification (`if (!e || e.accessorKey === \"_actions\") return e;` and `if (!e) return e;`). A guard the bundler deletes would be no guard at all. (2) RENAMED off the exported-name collision: GridColumn -> ObjectGridColumn, GridColumnDraft -> ObjectGridColumnDraft, GridColumnHolds -> ObjectGridColumnHolds, matching this file's own ObjectGridColumnState precedent rather than the aliased-import pattern the gate cites generically; renamed apart rather than re-pointed because a fields-widget column config and this producer's emit type are genuinely different shapes. RetiredListColumnKey keeps its name -- it is unique repo-wide (checked) and describes ListColumn's keys, so an ObjectGrid prefix would misname it. ⛔ KNOWN_COLLISIONS untouched: it is a shrink-only baseline, so the entry the failure message offers would have weakened the gate rather than satisfied it; `git diff --quiet <base> -- scripts/` is clean, this PR carries no scripts/ diff at all. The rename used a `(?<!Object)\\bGridColumn` lookbehind precisely so the pre-existing ObjectGridColumnState was not corrupted into ObjectObjectGridColumnState -- asserted before and after (3 -> 3 occurrences, and no 'ObjectObjectGrid' substring). Nothing else changed: tombstones, the five removed `any` casts, and every per-key verdict stand exactly as accepted. NOTE (platform behaviour, not another actor): GitHub appended a second, bare `_Generated by [Claude Code](https://claude.ai/code)_` footer under my session-URL one on the PR body edit; the session-URL form is intact and the bare one is stripped on the next edit, so I left it rather than churning the body.",
      "tests": "ALL GATES RE-RUN ON 356d0d93a via the shared lock (`bash ../objectstack/scripts/pm/os-verify-lock.sh -c '...'`); exit codes captured before any pipe. THE GATE THAT WAS RED IS GREEN: `pnpm exec vitest run scripts/__tests__/one-authority-per-exported-name-6273.test.ts` from the repo root -> 'Test Files 1 passed (1) / Tests 11 passed (11)', lock VERDICT command-exit 0. Combined final run `pnpm exec vitest run packages/plugin-grid/ scripts/__tests__/one-authority-per-exported-name-6273.test.ts` -> 'Test Files 93 passed (93) / Tests 872 passed (872)' (92/861 for the package plus the 1/11 gate). `pnpm --filter @object-ui/plugin-grid type-check` = `tsc --noEmit && tsc -p tsconfig.test.json` -> exit 0, script name echoed so this is not a zero-match no-op. `pnpm --filter @object-ui/plugin-grid lint` -> '679 problems (0 errors, 679 warnings)', unchanged from the accepted run and one below the 680 pre-fix baseline. `node scripts/check-changeset-presence.mjs` -> green, 1 changeset. Control-byte scan over all three changed files -> no matches. Dependency closure rebuilt first in the recreated worktree (`pnpm --filter '@object-ui/plugin-grid^...' build`, exit 0), then plugin-grid itself rebuilt so dist matched src before any judgement. GUARD-SURVIVAL CHECK (new, and the reason it was worth doing): the restored guards are unreachable BY TYPE -- TS narrows to `never` -- so I did not assume they reach runtime; `pnpm --filter @object-ui/plugin-grid build` then grepping dist/index.js shows both emitted verbatim. ABLATION RE-RUN ON THE FINAL TREE rather than cited from the earlier one, because the guard comments shifted line numbers and the rename changed the type name in the diagnostics -- the previously reported line numbers would have been stale: on-disk confirmed 'tombstone lines before=2 after=0' plus ablated blob 35835c37 != head blob 4116bcfb (so not a no-op); no package build is interposed and none is needed, since the ablation target is ObjectGrid.tsx and the measuring gate `tsc -p tsconfig.test.json` reads it as SOURCE (it is in the --listFiles output), so no dist copy could serve a stale marker. Result exit 2: TS2578 'Unused @ts-expect-error directive' at test lines 105 and 116 (the two tombstone pins) + TS2339 on the derived-set pins naming field/link/action/prefix/hidden on type 'ObjectGridColumnDraft'; restored byte-identical to 4116bcfbf4b97c7a79a9c6f4a9a42fde6e653ffc via `git checkout HEAD -- <path>` with an absolute-path trap and a hash comparison. ISOLATION STILL HOLDS after the rename: the `options` pin and the `type`-fold pin stayed GREEN under that ablation, so each @ts-expect-error is still refused by its own machinery rather than riding on the tombstone. The type-check passing is itself corroboration the pins survived the rename -- a broken pin would have surfaced as TS2578. All earlier evidence (the three inertness probes, the probe-5 instrument-liveness control proving those greens were real inertness and not a dead compiler, the five-leg forward reverse-verification, the --listFiles coverage proof, the downstream/prefix-direction type-check of app-shell/plugin-view/plugin-report/plugin-designer) is unchanged by these two edits and is restated with corrected identifiers in the PR body. Repo-wide lint remains CI's; the narrowing is declared and measured on all three counts (population 129 files for this package from eslint's own config via --format json; diff touches 3 files all inside it; no parserOptions.project/projectService, so type-aware linting is off and my diff cannot move an untouched file's verdict).",
      "open_questions": [],
      "out_of_scope_findings": [
        "filed as #6457: ObjectGrid writes the persisted column width as `size` (ObjectGrid.tsx) and data-table never reads a column-level `size` -- USER-VISIBLE: resize a column, reload, the width is dropped on the ungrouped path. Decisive checks: 0 `col.size` reads in data-table, `setColumnWidths` has exactly 1 call site (the resize handler, never seeded from the schema), ObjectGrid never passes `columnWidths` down. Grouped mode stamps `width` and works -- both the corroboration and the fix direction. Confirmed once more in this PR's built bundle (`size: t` in the persisted-width map). Existing columnStatePersistence.test.tsx pins only the outbound half, which is why it stayed invisible.",
        "filed as #6458: ObjectGrid honours four undeclared authored column keys via `(col as any)` -- `format`, `options`, `appearance`, `essential` -- none declared by the spec's strict `ListColumn`, so an author writing them gets `unrecognized_keys` at publish while the renderer reads them. The #6425 shape at the other producer. A fifth cast, `(col as any).prefix`, is unnecessary -- `prefix` IS declared. Carries the `essential` census correction to #6004.",
        "filed as #6459: `const dataTableSchema: any` means the `DataTableSchema` this file already IMPORTS is never applied to the object that receives the emit -- the slot half of the seam #6004 fixed the producer half of. Includes a sizing warning that a bare annotation is likely inert there too, for the freshness reason measured on this card."
      ]
    }

    Generated by Claude Code

  8. os-support-ai commented on Aug 26, 2026

    @os-support-ai
    Collaborator

    ACCEPT — both review items discharged, verified against the branch rather than the report. PR #6461, head 356d0d93a.

    1. Null guards — restored, and one of them is better than what I asked for

    I asked for if (!col || col.type == null) return col; on the fold pass. The branch carries if (!col) return col; followed by if (producerType == null) return rest; after the destructure. I went looking for a missing limb and found the opposite: splitting it is the more correct shape. The single guard I specified would have returned col with the producer-spelled type still attached — and type is precisely the member whose vocabulary differs between ObjectGridColumnDraft and ObjectGridColumn. Returning rest strips it. My phrasing was the weaker one; the dev's split stands.

    The enrichment guard at :2407 matches the ask exactly, and both carry the five-any history in the comment, including the point that mattered — const generatedColumns: any[] was inside generateColumns() itself, so annotating the return had left a whole emit path unchecked.

    2. The dist check was the right instinct

    Both guards are unreachable by type — TS narrows col to never there — which is exactly the condition under which a bundler is entitled to delete them. Verifying they survive minification in dist/index.js rather than assuming it is the difference between defence in depth and a comment. That check was not asked for and should have been.

    3. Gate discipline held where it was designed to fail

    git diff --stat origin/main...356d0d93a -- scripts/ is empty. The collision gate's failure message prints a ready-to-paste KNOWN_COLLISIONS entry one line below its own SHRINK-ONLY warning; taking it would have weakened the gate instead of satisfying it. The card was resolved by renaming, and scripts/ carries no diff at all.

    4. Rename — measured, not asserted

    • ObjectObjectGrid — 0 occurrences, so the pre-existing ObjectGridColumnState was not corrupted by the lookbehind.
    • ObjectGridColumnState — 3 occurrences, unchanged.
    • The surviving bare GridColumn hits are CHANGELOG.md (history, correctly not rewritten) and GridColumnAddress in columnSpellingDiagnostics.ts — a different symbol, correctly left alone.

    5. Clause-② — no public surface change, and this is measured

    The report did not state this, so I measured it: git diff origin/main...356d0d93a -- packages/plugin-grid/src/index.tsx is empty. ObjectGridColumn, ObjectGridColumnDraft and ObjectGridColumnHolds are file-level exports that the package entry never re-exports; the only column type on the published surface is ObjectGridColumnState, whose name did not move. So the rename cannot reach a consumer, and this stays at ordinary tier rather than contract-review.

    Enqueue is held only on CI: 29 checks, zero failed, 5 pending (4 test shards + Type Check). It goes to the merge queue when those complete green.

    The three out-of-scope findings (#6457, #6458, #6459) are filed and left ungraded for triage. #6457 is the one worth reading first — a user-visible dropped column width on reload, with the grouped path working as both the corroboration and the fix direction.


    Generated by Claude Code

  9. added 2 commits that reference this issue on Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

domain:uipm:dispatched

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions