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

fix(types,plugin-dashboard)!: retire DrillDownConfig.report's { name } reference arm on all three faces, refused by name (objectui#11517) - #11527

Merged
objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/issue-11517-drill-report-name-retired
Oct 3, 2026
Merged

objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/issue-11517-drill-report-name-retired

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Fixes #11517

Clause-②: no (narrowing)

Triage's ruling 5962814975 on the card: retire DrillDownConfig.report's { name } reference arm on the TypeScript, tolerant and strict faces, refused by name, with no alias window. The domain:ui reviewer's note 5963125397 is folded in: the pre-9.0 objectName drill report, which the tolerant face read as this arm, is now refused on that face with a message naming its retirement (objectui#11506).

What changes

  • TypeScript face (@object-ui/types). DrillDownConfig.report goes from SpecReportInput | { name: string } to SpecReportInput. The JSDoc that described the reference is replaced by a retirement paragraph. tsc now refuses a bare { name } because the spec requires other members (label first). The per-block shapes ObjectPivotDrillDownConfig and ObjectMetricDrillDownConfig inherit this.
  • Both zod faces. DrillDownReportSchema (zod/data-display.zod.ts) is no longer a union. It is stripImportedDefaults(SpecReportSchema) with two additions, and each one names a retirement:
    • objectName: aliasKeyRefusal('objectName', 'dataset', 'this drill report', …) is a declared refusal. Its message starts with the spec's own sentence ("Did you mean objectName → dataset?") and names objectui#11506. This is the reviewer's note: the tolerant face now refuses the pre-9.0 form by name too.
    • refuseRetiredDrillReportReference is a superRefine with when: () => true, following the requireRecordSource precedent. When a parsed value's only report member is name, it adds a custom issue with params.code: 'DRILL_REPORT_REFERENCE_RETIRED'. The message names objectui#11517 and the dataset-bound form to write instead.
    • The strict face is derived from the tolerant mirror, so it inherits both additions. No strict-face code changed.
    • DrillDownReportZodType stays a by-reference type, for the TS7056 reason ReportNodeZodType gives. In the rebuilt dist, emit prints it by name at 3 sites in data-display.zod.d.ts, 2 in objectql.zod.d.ts and 4 in index.zod.d.ts. PR objectui#11516's body reports the same counts; I did not re-measure BASE.
  • The drawer draws the same thing. The only change in DrillDownDrawer.tsx is a comment: the report prop doc now names the two retired forms. isDatasetBoundReport and the render path are byte-identical.
  • Docs. In content/docs/plugins/plugin-dashboard.mdx, section "Drilling into a report", the paragraph that said the tolerant face still accepts the old form, and that a { "name": "…" } reference "is declared too", is replaced. The section now lists the two retired forms and what each face does with them. The section's JSON example is unchanged.
  • Changesets. New: .changeset/11517-drill-report-name-retired.md, @object-ui/types minor, with a BREAKING line, FROM/TO, and the accept-set change stated per face. Dated notes are appended to 7352-drill-down-config-mirror and 11506-drill-drawer-runtime-filter (sweep below).

Before and after, per face (measured at BASE 8366accd1 and at head)

The zod columns come from a throwaway vitest probe, deleted and never committed. The TypeScript column comes from a scratch tsc program that restates BASE's member type (SpecReportInput | { name: string }) beside head's; refusals are TS2741 or TS2322.

value TypeScript tolerant (safeValidateSchema, objectui validate) strict (StrictAnyComponentSchema)
{ name: 'saved_report' } accepted → refused valid, as { name } → refused, named (DRILL_REPORT_REFERENCE_RETIRED) valid → refused, named
pre-9.0 { name, objectName, type, columns: [{ field }] } refused → refused valid, stripped to { name } → refused at report.objectName (invalid_type, names objectui#11506) refused (unrecognized_keys: objectName) → refused at report.objectName (invalid_type, names objectui#11506)
{ name: 'pipeline', columns: [] } accepted → refused valid, stripped to { name } → refused (the spec's own issues) refused → refused
incomplete inline matrix (no values) accepted → accepted (values is a spec refinement, enforced at runtime only) valid, stripped to { name } → refused, in the spec's words (a report needs dataset + values) refused → refused (same message)
{ name: 42 } refused → refused refused → refused, now also named refused → refused, now also named
dataset-bound summary report accepted → accepted valid → valid, every key kept valid → valid, every key kept

Each "valid → refused" cell on the tolerant face was a document objectui validate reported VALID, and the drawer then listed records for it.

Pins (the ruling's two, plus the reviewer's note)

  1. report: { name } is refused on all three faces: packages/types/src/__tests__/drill-down-report-name-retired-11517.test.ts (new).
    • TypeScript: @ts-expect-error on DrillDownConfig, ObjectPivotDrillDownConfig and ObjectMetricDrillDownConfig, and on a non-literal value typed { name: string }. A type-level Assert checks that { name: string } is not assignable to the report type.
    • zod: five doors (the mirror, tolerant object-pivot, tolerant chart, strict object-pivot, strict chart). Each must answer with exactly one custom issue at the report, carrying DRILL_REPORT_REFERENCE_RETIRED, and the message must name objectui#11517 and dataset.
    • Boundary: an incomplete inline report is refused in the spec's own words and is not flagged as the retired reference.
  2. The dataset-bound inline report still validates and still draws through the real drawer.
    • Validates: the same file, on all five doors, with every key kept.
    • Draws: apps/console/src/__tests__/drillDownReport.nameRetired-11517.test.tsx (new). One object-pivot document validates on the strict and tolerant faces. Its drillDown.report then goes through the real DrillDownDrawer over the real report registration of @object-ui/plugin-report. The drawer issues queryDataset('deals_ds', …) with runtimeFilter: { stage: 'Won' } and no find. A second case checks that a stored { name } is refused on both faces and that the real drawer still lists the records for it, as it did before the retirement.
  3. Reviewer's note: the same types file, on all five doors. The pre-9.0 form must answer invalid_type at objectName with a message naming objectui#11506, and no reference issue.

Corpus re-judged (every fixture that authored report: { name })

file verdict now
packages/types/src/__tests__/drill-down-config-mirror-7352.test.ts tested the arm: two ACCEPTED rows, "a named report reference" and { name, columns: [] } ("which the reference arm accepts") both re-judged to REFUSED rows (path report). The { name: 42 } row is relabelled. The docblock's "two structural forms" becomes one.
packages/types/src/__tests__/drill-down-report-dataset-bound-11506.test.ts tested the arm: reference: DrillDownConfig was accepted, and a test said the tolerant face "falls to the reference arm" @ts-expect-error on the reference. The tolerant test is re-judged to a named refusal at report.objectName. The strict assertion moves from unrecognized_keys to invalid_type at objectName, since objectName is now declared. The header is updated.
packages/types/src/__tests__/drill-down-per-block-10685.test.ts (4 sites) convenient value: the pivot accept control, the chart and object-data-table member refusals, and the object-data-table zod refusal dataset-bound report. The refusals now concern the member, not its value.
packages/types/src/__tests__/object-chart-undeclared-keys-8885.test.ts convenient value: the chart drill refuses report as a key dataset-bound report
packages/types/src/__tests__/object-metric-drill-down-config-9002.test.ts convenient value: accept control dataset-bound report
packages/plugin-dashboard/src/__tests__/ObjectPivotTable.drillDownRefusal-10685.test.tsx convenient value: accept control dataset-bound report
packages/plugin-dashboard/src/__tests__/objectMetricDrillDownMembers-8071.test.tsx already dataset-bound; no { name } untouched, ran green
packages/cli/src/__tests__/registered-types-validate-ratchet-10859.test.ts already dataset-bound untouched, ran green

Producer census (H1): zero non-test producers.

  • objectui at BASE: drillDown appears in 0 files under examples/, 1 under content/ (this docs page, whose example is dataset-bound), 0 under docs/, 0 in non-test apps/console/src, and 20 in non-test packages/*/src. None of those 20 authors a report: object literal.
  • objectstack origin/main 535d1d25: 0 drillDown files under examples/, and 0 report: { name literals there.
  • Controls that fire: 20 drillDown files in non-test packages/*/src; the docs page's report: { literal hits the report-literal matcher; 8 test files hit the bare-{ name } matcher; 6 object-metric files in objectstack's examples/; 4 report: { name hits in objectstack's packages/.
  • The cloud repo is not in this container: NOT MEASURED there.

Readers (H4): no edit needed beyond one comment

  • Method. A TypeScript language-service findReferences on DrillDownConfig.report. The program is 1524 non-test source files from every workspace that depends on @object-ui/types, with @object-ui/* mapped to source, and it was run at BASE and at head.
  • What it found.
    • ObjectMetricWidget.tsx: drillDown?.report as a Record of string to unknown (or undefined).
    • ObjectPivotTable.tsx: report={drillDown?.report}.
    • The object-data-table tombstone, report?: never.
    • Both readers hand the value to DrillDownDrawer's report?: prop, a Record of string to unknown and need nothing. @object-ui/plugin-dashboard type-check is green against the rebuilt types dist.
  • The drawer. isDatasetBoundReport takes unknown, so it needs nothing either. Only the prop's doc comment named the arm.
  • Control. A text grep finds the same two sites.

Contract notes

  1. Accept set. For JSON values, both zod faces now accept exactly what the spec's ReportSchema accepts. The two additions only add an issue to values the spec already refuses.
    • One edge, not reachable from JSON: an explicit objectName: undefined is now accepted by the optional never member, where the spec's strictness refused the key. JSON cannot carry undefined, and the TS face still refuses objectName.
    • Every retirementTombstone and aliasKeyRefusal in this package has the same edge.
  2. Why objectName is a declared member rather than a key test in the refinement. zod hands a check the object it built, not the input, so an undeclared key is invisible there. The first cut tested the key inside the refinement, and on the probe it never fired.
  3. A message change on the strict face, with the same accept set. For the pre-9.0 form, the strict face used to report unrecognized_keys at the report. It now reports invalid_type at report.objectName, and the message starts with the spec's own sentence.
  4. The issue an author reads for { name }. The named issue sits after the spec's own report.label issue, because zod reports shape issues before checks.
  5. Not changed:
    • ReportNodeSchema.report, the report node, is still the plain spec schema.
    • The drawer's render and its join rule.
    • object-data-table's report tombstone.
    • ChartSchema.drillDown.

Verification (final head ecf5fd38)

Every source file is byte-identical from 4b461bfa on: ecf5fd38 adds only the 3 .changeset files. The runs below were taken on that tree.

  • Type-checks. pnpm --filter @object-ui/types run type-check, all three legs: exit 0.
    • First run: red, TS2322 ×2, from a control in my own new pin. Fixed before commit.
    • tsc -p tsconfig.test.json --listFiles lists all 6 changed types test files.
  • pnpm --filter @object-ui/plugin-dashboard run type-check, after pnpm --filter @object-ui/types build: exit 0. Its tsconfig.test.json lists ObjectPivotTable.drillDownRefusal-10685.
  • pnpm --filter @object-ui/console run type-check: exit 0. The console closure (35 packages) was built first. tsc --listFiles lists the new console pin.
  • pnpm exec vitest run --maxWorkers=2 packages/types/: 345 files, 9180 passed. VERDICT command-exit 0.
  • One vitest run over 27 files, 906 tests passed (VERDICT command-exit 0). The set is every suite that names a changed file by path:
    • 5 console pins: the three drillDownReport.* pins (the new one included), registry-inputs-spec-parity and unfulfilled-chart-stubs-8760;
    • cli unfulfilled-chart-stubs-retired-8760 and registered-types-validate-ratchet-10859;
    • plugin-grid columnEmitBoundary-6004;
    • 10 plugin-dashboard drawer and drill suites;
    • 9 scripts/__tests__ suites that read a changed file by path.
  • Gates, exit 0 at head:
    • check:control-bytes
    • check:new-line-citations (0 new)
    • check-changeset-presence
    • changeset:check (no major)
    • check:changeset-claims, report-only. It named 14 pending entries that mention a touched file; each was read, and none mentions the drill report.
    • check:pending-changeset-literals
    • check:spec-symbols
    • check:doc-types
    • check:doc-fences
    • check:doc-snippets (777 of 777 blocks)
    • check:doc-examples
    • check:test-path-roots
    • check:phantom-deps
    • check:component-surface-parity, report-only
  • eslint over the 11 changed .ts/.tsx files: 0 errors and 34 warnings, all on lines this diff does not touch. The narrowing is proven three ways:
    1. Population: eslint.config.js lints every **/*.{ts,tsx} outside dist, .next, node_modules, public and .source, and three named build artefacts. No package has its own config.
    2. Count: --format json returned 11 files, none ignored.
    3. Invariance: there is no parserOptions.project or projectService, and no rule under eslint-rules/ reads the filesystem. So this diff cannot move the verdict of an untouched file.
  • NOT MEASURED:
    • check:sdui-registration-pins, which needs the console bundle (PREREQUISITE NOT MET, exit 2). No registration input moved, so it is not owed.
    • The Spec Main Shape Gate (TS7056 against objectstack main). It belongs to CI.

Reverse verification

Each leg ran from the committed head through objectstack's scripts/ablation-replace.mjs. Each mutation was proven on disk (anchor 1 → 0, blob changed), and each restore was proven: blob == HEAD and git diff HEAD empty. The prediction was written before each run.

  • A1, drop the { name } refinement. Predicted: the 6 named-{ name } rows go red and the rest stay green. Observed: 6 failed, 73 passed.
  • A2, un-declare objectName (renamed in the extension). Predicted: 5 doors plus 2 rows in the 11506 pin. Observed: 7 failed, 72 passed.
  • A3, put | { name: string } back on the TS face. Predicted: 5 × TS2578 (unused @ts-expect-error) and 1 × TS2344 (the Assert). Observed: exactly those, plus TS2322 LedgerMismatch in zod-mirror-parity.test.ts. The parity ledger also catches the TS face widening past the mirror, so the reading moved in the direction of more diagnostics than predicted.
  • A4, restore the BASE union arm. Predicted: 16 red. Observed: 17 failed, 58 passed.
    • The one I did not predict is the boundary row. With the arm back, an incomplete inline report is again read as { name } and reported valid.
    • In the console pin, the { name } refusal leg went red and the draw leg stayed green.

Pending changesets sweep

  • Note appended:
    • 7352-drill-down-config-mirror: it said "report's two structural forms", that the named-reference arm keeps { name } ({ name: 'x', columns: [] } accepted), and, in the 2026-10-02 note, "the { name } reference arm is unchanged".
    • 11506-drill-drawer-runtime-filter: its TO line was SpecReportInput | { name: string }, it said "the unchanged { name } reference arm", and it said objectui validate reports the object-bound form valid.
  • Left alone:
    • 11440-drill-drawer-report-node: its 2026-10-02 note's "recognises a report by its dataset" still holds.
    • Every other pending entry that mentions drill was grepped for report. The hits, in 10685-drilldown-per-block, 8885-object-chart-drilldown-title-compareto, 8970-object-metric-shared-drill-drawer, 6576-widget-schema-anchors, 10778-dashboard-bus-readers, 10814-report-line-items-bus-readers and 11440-object-pivot-drilldown-input, treat report as a member, as a per-block refusal or as a bus re-read. None names its { name } arm. The rest do not mention report.
    • The 14 entries check:changeset-claims named for a touched file: none mentions the drill report.

Acceptance notes (observations, not filed)

  • ObjectMetricWidget.tsx casts drillDown?.report as a Record of string to unknown (or undefined). The cast is redundant now that the member has one arm, and it is harmless. Not in this claim's file surface. carrier: none.
  • @object-ui/plugin-dashboard gets no changeset entry. Its src changes only in a comment, so no behaviour ships, and the ruling's order names one @object-ui/types changeset.

The PR body is written once. Session: https://claude.ai/code/session_01XvhGmGAP79ZB8swnkapxPC.


Generated by Claude Code

claude added 3 commits October 3, 2026 01:07
…me }` reference arm on all three faces, refused by name (objectui#11517)

The arm promised a named report reference that no renderer resolved: the
drill drawer draws a report only for a dataset-bound inline report, so a
`{ name }` drill listed the records. Nothing produced it.

- TS face: `report?: SpecReportInput`.
- Zod faces: the report member is the spec's `ReportSchema` by reference,
  with `objectName` declared as a named refusal (the pre-9.0 form,
  objectui#11506) and a refinement that names a bare `{ name }` as the
  retired reference. The tolerant face no longer reads the pre-9.0 form
  as `{ name }`.
- Fixtures that used `{ name }` as a convenient valid report move to a
  dataset-bound report; the ones that tested the arm are re-judged to
  refusals. The drawer and docs comments follow; the drawer draws the
  same thing.

Claude-Session: https://claude.ai/code/session_01XvhGmGAP79ZB8swnkapxPC
Co-authored-by: Claude <noreply@anthropic.com>
…ll draws through the real drawer; a stored `{ name }` is refused and drawn as before (objectui#11517)

Claude-Session: https://claude.ai/code/session_01XvhGmGAP79ZB8swnkapxPC
Co-authored-by: Claude <noreply@anthropic.com>
… drill report reference; dated notes on the 7352 and 11506 entries (objectui#11517)

Claude-Session: https://claude.ai/code/session_01XvhGmGAP79ZB8swnkapxPC
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added documentation Improvements or additions to documentation package: types plugin apps tests labels Oct 3, 2026
@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

changeset-claim-re-read

⚠️ 14 pending changeset(s) describe a file this change touches

Their bodies publish verbatim into the CHANGELOG at the next release, so this is a request to re-read them against your diff — addressed here because you are the one seat that can answer it without re-deriving anything.

⛔ Nothing here blocks, and nothing here is a verdict on your change. This gate exits 0, is not a required context, and judges name resolution, never meaning: it asked whether a pending body names a file you touched. "Is this sentence still true?" is the one question it will not answer, and the one you are being asked to answer.

.changeset/11483-metric-card-needs-value.md

  • names content/docs/plugins/plugin-dashboard.mdx → content/docs/plugins/plugin-dashboard.mdx — edited by this change

    • What changed. DashboardWidgetTypeSchema is now the spec's families plus list and custom, so the slot reads a metric-card through its component arm alone. The TypeScript twin, DashboardWidgetTypeName, drops DashboardComponentWidgetType the same way. DASHBOARD_COMPONENT_WIDGET_TYPES still lists metric-card: it is the component arm's type, and only that. - What now refuses that did not. Directly in widgets[], both faces refuse a metric-card with no value. That holds whatever else the card carries: title, description, id and layout, a dataset with values, or its figure under options (options: { value }), which the tolerant face accepted. On its own, DashboardWidgetSchema (zod) refuses type: 'metric-card' at type. On the TypeScript face, 'metric-card' is no longer a DashboardWidgetTypeName, so assigning it to that type is a compile error. - Why no widget key stands in for value. This was measured through the real DashboardRenderer and DashboardGridLayout. A dataset makes the dashboard draw DatasetWidget in the card's place, by a rule that does not read the type; the card is never mounted. options is spread onto the node as literal props: a second spelling of value, not a binding. No other widget key reached the figure. - What does not move. On the TypeScript face, DashboardWidgetSchema['type'] still includes 'metric-card'. That interface is also the read type of every widgets[] entry, and the component arm stays assignable to it. So a metric-card literal with no value still compiles directly in widgets[], while the validator refuses it on both faces. A metric-card in a widget's legacy component envelope is judged as before: there, the tolerant face's BaseSchema fallback still accepts a card that fails the arm. Every metric-card in the schema catalog, the READMEs and the docs fences carries its value. The one docs example that did not, under "TypeScript Support" in content/docs/plugins/plugin-dashboard.mdx, is rewritten.

.changeset/5926-empty-action-visible-when.md

  • names data-display.zod.ts → packages/types/src/zod/data-display.zod.ts — edited by this change

    emptyAction was the one authored-node exception in the tree. The empty-state CTA slot resolved the registry directly — ComponentRegistry.get(node.type) — and mounted the result itself, so the node never passed through SchemaRenderer and its visibleWhen was never evaluated. @objectstack/spec accepts the key (SchemaNodeSchema carries visibleWhen, and data-display.zod.ts types emptyAction as a SchemaNode), so an author wrote a gate, the platform took it, and nothing enforced it — declared-not-enforced, the same class c86185eb5 closed for record:alert, one level down.

.changeset/6349-types-internal-name-collisions-batch-1.md

  • names data-display.ts → packages/types/src/data-display.ts — edited by this change

    BreadcrumbItem / BreadcrumbSchema — re-pointed, because one copy was stale. Both were declared in data-display.ts and in navigation.ts. The data-display pair was not a second dialect but a strict SUBSET: no key declared differently on either side, and missing BreadcrumbItem.icon / onClick / siblings and BreadcrumbSchema.maxItems. Everything that reads a breadcrumb was already on the navigation declaration — registry.ts maps the 'breadcrumb' component type to it, src/index.ts re-exports it under the bare names, zod/navigation.zod.ts mirrors it (icon, onClick, siblings, maxItems included), the ui:breadcrumb renderer consumes it, and the component's own documentation page documents icon and maxItems. data-display.ts now re-exports the one authority.

.changeset/6881-retire-data-table-toolbar.md

  • names data-display.ts → packages/types/src/data-display.ts — edited by this change

    What was measured. The key was declared on both published faces — data-display.ts (toolbar?: SchemaNode[], "Table toolbar actions/content") and the Zod mirror (SchemaNode | SchemaNode[]) — documented, mirrored, and read by NOTHING: data-table.tsx, the registered renderer for type: 'data-table', contains the word only in two prose comments and never reads schema.toolbar. The sibling emptyAction slot on the same interface IS mounted through SchemaRenderer, so the census zero is a reading, not a blind query. An author who wrote a toolbar got a green document and a blank result, with no signal anywhere that said so — the declared-vs-enforced failure mode that is worst for AI-authored metadata, which has nothing but the declaration to go on.

.changeset/6940-rowactions-boolean-mirror.md

  • names zod/data-display.zod.ts → packages/types/src/zod/data-display.zod.ts — edited by this change

    The hand-written zod mirror in zod/data-display.zod.ts declared rowActions: z.array(z.any()).optional(). Every other face of the same key says boolean: the TS declaration it mirrors (rowActions?: boolean), the renderer's destructuring default (rowActions = false), its two truthiness gates and two colSpan arithmetic sites, the registered authoring input ({ type: 'boolean', label: 'Show Row Actions' }), defaultProps: { rowActions: true }, and the renderer's own docblock example, which authors "rowActions": true. The mirror was the single outlier — and the published one, so safeValidateSchema refused the exact spelling the component's documentation, defaults and authoring UI all teach. Two shipped examples/schema-catalog entries (user-table.json, full-featured-table.json) failed validation for this and no other reason; both now validate unchanged.

.changeset/6951-tree-view-data-retired.md

  • names data-display.ts → packages/types/src/data-display.ts — edited by this change

    Two published faces, one retirement — and why a tombstone, not a deletion. The TypeScript interface TreeViewSchema (@object-ui/types, data-display.ts) declares data?: never; the Zod mirror TreeViewSchema (@object-ui/types/zod, data-display.zod.ts) declares data as a retirementTombstone(). BaseSchema already declares data?: any (z.any().optional() on the mirror), so DELETING the member would not have refused the key — it would have ADMITTED it, unvalidated, through the base member, and the renderer would have drawn an empty tree. The tombstone on the extended schema shadows the base member on both faces; the pin measures the base accepting the very document the extended schema refuses.

  • names data-display.zod.ts → packages/types/src/zod/data-display.zod.ts — edited by this change

    Two published faces, one retirement — and why a tombstone, not a deletion. The TypeScript interface TreeViewSchema (@object-ui/types, data-display.ts) declares data?: never; the Zod mirror TreeViewSchema (@object-ui/types/zod, data-display.zod.ts) declares data as a retirementTombstone(). BaseSchema already declares data?: any (z.any().optional() on the mirror), so DELETING the member would not have refused the key — it would have ADMITTED it, unvalidated, through the base member, and the renderer would have drawn an empty tree. The tombstone on the extended schema shadows the base member on both faces; the pin measures the base accepting the very document the extended schema refuses.

.changeset/6972-markdown-inert-keys-retired.md

  • names data-display.ts → packages/types/src/data-display.ts — edited by this change

    What was measured, on this branch's base. sanitize was declared ?: boolean with @default true on both published faces — data-display.ts and the Zod mirror — documented, and read by NOTHING. Worse than an ordinary inert key, it implied a switch that does not exist: sanitization is unconditional. rehypePlugins in plugin-markdown/src/MarkdownImpl.tsx is a module-level const array whose last link is [rehypeSanitize, sanitizeSchema], handed to ReactMarkdown as-is — no ternary, no if, no runtime assembly. MarkdownRenderer forwards exactly content and className, and MarkdownImplProps accepts only those two. A repo-wide grep for schema.sanitize over packages/ and apps/ returns nothing, against a control of 20 .tsx files reading schema.content in the same query shape, so the zero is a reading, not a blind query. An author writing sanitize: false believed they turned XSS filtering off; one writing sanitize: true believed they turned it on. Neither was true.

.changeset/7694-chart-series-chart-type-alias-refusal.md

  • names zod/data-display.zod.ts → packages/types/src/zod/data-display.zod.ts — edited by this change

    • Before: series: [{ name: 'revenue', chartType: 'line' }] validated green through @object-ui/types/zod (safeValidateSchema, objectui check / objectui validate, any pipeline that keeps parse()'s output) — and the key was gone from the output, so a consumer of the parse result drew that series in the chart's own family, precisely what the author was overriding. On the TypeScript face the key was merely an excess property on a fresh literal; a widened object carrying it assigned structurally. - After: the same document REFUSES at series[i].chartType (issue code invalid_type) with one message on both channels — the parse-time issue and the .describe() metadata: Unrecognized key(s) on this chart series: \chartType`. Did you mean `chartType` → `type`? …followed by the reason and the remedy. Writetype: 'bar' | 'line' | 'area'. On the TypeScript face ChartDataSeries.chartTypeis a?: nevertombstone, so both the fresh literal and the widened assignment aretsc errors. - **Both written** ({ type: 'bar', chartType: 'line' }) is refused at chartTypealone — the key is not folded ontotypeand no precedence is minted between the two spellings. - **Which documents to scan.** The narrowing does not stop atChartDataSeriesSchema; it reaches every document through the parents that embed it — ChartSchema.series (zod/data-display.zod.ts, z.array(ChartDataSeriesSchema)) and, one level further out, ReportSectionSchema.chart (zod/reports.zod.ts, ChartSchema.optional()). Authors meet it through safeValidateSchema() (zod/index.zod.ts, which parses AnyComponentSchema) and through the CLI's objectui validate command (packages/cli/src/cli.ts). In practice: every chartnode'sseries[], and every report section whose chart` carries one.

.changeset/7722-wrapper-class-five-more.md

  • names data-display.ts → packages/types/src/data-display.ts — edited by this change

    Each of renderers/form/switch.tsx, textarea.tsx, date-picker.tsx, select.tsx and renderers/data-display/list.tsx reads schema.wrapperClass onto its wrapper element, and neither the TypeScript interface (form.ts, data-display.ts) nor the zod mirror (zod/form.zod.ts, zod/data-display.zod.ts) declared the key. The reads compiled through BaseSchema's index signature (objectui#5155) and the values parsed through .passthrough(), admitted unexamined. The same key, on the same class of read, is declared on CheckboxSchema (b74a8598d), FileUploadSchema and FilterBuilderSchema (objectui#6150); these five were left out only because their doc pages never listed it.

  • names zod/data-display.zod.ts → packages/types/src/zod/data-display.zod.ts — edited by this change

    Each of renderers/form/switch.tsx, textarea.tsx, date-picker.tsx, select.tsx and renderers/data-display/list.tsx reads schema.wrapperClass onto its wrapper element, and neither the TypeScript interface (form.ts, data-display.ts) nor the zod mirror (zod/form.zod.ts, zod/data-display.zod.ts) declared the key. The reads compiled through BaseSchema's index signature (objectui#5155) and the values parsed through .passthrough(), admitted unexamined. The same key, on the same class of read, is declared on CheckboxSchema (b74a8598d), FileUploadSchema and FilterBuilderSchema (objectui#6150); these five were left out only because their doc pages never listed it.

.changeset/8331-data-table-empty-action-primitive-node.md

  • names packages/types/src/data-display.ts → packages/types/src/data-display.ts — edited by this change

    Behaviour change on a published surface, deliberately. DataTableSchema.emptyAction is declared SchemaNode on both published faces — packages/types/src/data-display.ts and its Zod twin in packages/types/src/zod/data-display.zod.ts — and SchemaNode is BaseSchema | string | number | boolean | null | undefined. The empty-state render path additionally required typeof … === 'object', so an authored emptyAction: 'Create the first record' rendered nothing and reported nothing: declared wider than enforced, failing in the direction that loses the author's content without a diagnostic. A node that renders nothing today therefore starts rendering.

  • names packages/types/src/zod/data-display.zod.ts → packages/types/src/zod/data-display.zod.ts — edited by this change

    Behaviour change on a published surface, deliberately. DataTableSchema.emptyAction is declared SchemaNode on both published faces — packages/types/src/data-display.ts and its Zod twin in packages/types/src/zod/data-display.zod.ts — and SchemaNode is BaseSchema | string | number | boolean | null | undefined. The empty-state render path additionally required typeof … === 'object', so an authored emptyAction: 'Create the first record' rendered nothing and reported nothing: declared wider than enforced, failing in the direction that loses the author's content without a diagnostic. A node that renders nothing today therefore starts rendering.

.changeset/8478-describe-line-addresses.md

.changeset/8760-unfulfilled-chart-stubs.md

  • names content/docs/plugins/plugin-dashboard.mdx → content/docs/plugins/plugin-dashboard.mdx — edited by this change

    • At render. SchemaRenderer's lazy branch re-checks hasLazy(type) on every pass and returns the Loading ANGLE-BRACKETS(type)… placeholder. Registry.register() deletes a lazy entry only for keys the loaded module actually registers, so for an unfulfilled key the entry SURVIVES the load and every later pass takes the same branch. Measured on b775500af through the real chain: { "type": "line-chart" } painted role="status" / data-lazy-loading="line-chart" / Loading line-chart…, permanently. Not the OBJUI-001 panel the card expected — no alert, no error, no console warning. A skeleton that never resolves reads to a user as a slow network. - At authoring. A stub is enough to put a key into getKnownTypes(), so check:doc-types and the CLI's generated KNOWN_SCHEMA_TYPES snapshot both blessed all three. content/docs/plugins/plugin-dashboard.mdx taught "type": "line-chart" inside a card body, and every gate was green on it.

.changeset/9256-list-timeline-content-channels.md

  • names packages/types/src/data-display.ts → packages/types/src/data-display.ts — edited by this change

    These two were held out of the previous family-D slice for a SERIAL constraint on packages/types/src/data-display.ts and never for a verdict. Readership was re-derived for both rather than inherited: a TypeScript compiler-API sweep files every .body / .children read under the declared type of its receiver and answers zero for ListSchema and TimelineSchema while its live controls fire. timeline's bare-key owner is any-typed, so it was attributed directly as well — packages/plugin-timeline contains no channel read of any kind.

.changeset/table-renderer-declared-column-contract-5350.md

  • names packages/types/src/data-display.ts → packages/types/src/data-display.ts — edited by this change

    renderers/complex/table.tsx resolved a heading as col.header || col.label and a cell as row[col.accessorKey || col.name]. Neither label nor name is declared on TableColumn, which declares header and accessorKey — both required (packages/types/src/data-display.ts). This was the fourth site of the column-alias family, after data-table, ObjectDataTable and ObjectGrid (objectui#5350).

Read the paragraph, not the line: both false halves of the objectui#8617 claim sat in one paragraph, and correcting either alone would have left it asserting the same wrong thing.

If a claim did go false, correct the body. That is precedented and prose-only, frontmatter untouched; check-changeset-overwrite.mjs will report the correction as its own case 2 ("correcting a declaration on purpose … legitimate"), which is the intended shape — one gate asks for the read, the other records the write.

Not covered, stated so nobody reads this as more: a born-false claim that spells no line address at all (objectui#9495 coordinated one by ORDINAL — "a grep finds that member first" — and deciding that means reading what the sentence means), a claim spelled as a symbol or a package rather than a backticked file name, and a file named ambiguously.

Angle-bracketed names in the quoted prose above are rewritten as ANGLE-BRACKETS(name): GitHub deletes tag-shaped fragments from a stored body, and a quote that silently loses the identifier it is about is worse than a visible repair.

Compared the checked-out tree with 8366accd1 (merge-base with origin/main): 12 file(s) changed outside .changeset/, read against 2059 pending declaration(s) that publish a body (2690 pending in total). · run

@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 330 chunks) 3551.1 KB 3574.6 KB
Main entry chunk (gzip) 150.3 KB 350 KB
Entry file index-BaCqKBHB.js —
Status PASS —

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

Package Size Gzipped
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 16.88KB 6.25KB
app-shell (runtime-config.js) 20.68KB 7.36KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.11KB 3.87KB
auth (ActiveOrganizationStorage.js) 27.95KB 10.04KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.22KB 10.61KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.17KB 5.40KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.72KB 2.24KB
auth (SocialSignInButtons.js) 9.70KB 3.93KB
auth (UserMenu.js) 3.39KB 1.21KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.70KB 10.94KB
auth (createAuthenticatedFetch.js) 8.54KB 3.46KB
auth (index.js) 3.63KB 1.64KB
auth (invitation-status.js) 1.22KB 0.70KB
auth (org-roles.js) 6.66KB 2.78KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 5.30KB 1.02KB
auth (useWorkspaceAdminStatus.js) 11.08KB 4.58KB
collaboration (CommentThread.js) 27.11KB 7.97KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.28KB 2.60KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.50KB 2.52KB
collaboration (useCommentSearch.js) 1.98KB 0.88KB
collaboration (useConflictResolution.js) 7.75KB 1.86KB
collaboration (useMentionNotifications.js) 1.81KB 0.68KB
collaboration (usePresence.js) 6.33KB 1.84KB
collaboration (useRealtimeSubscription.js) 7.91KB 2.01KB
components (index.js) 571.09KB 136.86KB
core (index.js) 10.00KB 3.96KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 230.46KB 63.94KB
fields (index.js) 261.51KB 66.22KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 2.59KB 1.22KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 8.87KB 3.64KB
i18n (index.js) 5.24KB 2.27KB
i18n (pickLocalized.js) 9.86KB 3.95KB
i18n (provider.js) 39.35KB 12.88KB
i18n (translateFn.js) 0.20KB 0.18KB
i18n (useDisplayLocale.js) 3.52KB 1.76KB
i18n (useObjectLabel.js) 34.49KB 9.23KB
i18n (useSafeTranslation.js) 7.14KB 2.92KB
layout (index.js) 39.47KB 11.25KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.99KB 0.87KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 6.62KB 2.45KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 5.52KB 2.10KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 13.86KB 5.00KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.52KB 2.26KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.33KB 3.07KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 16.04KB 3.92KB
plugin-calendar (index.js) 53.17KB 15.46KB
plugin-charts (index.js) 83.53KB 22.84KB
plugin-chatbot (index.js) 198.22KB 46.97KB
plugin-dashboard (index.js) 142.41KB 38.32KB
plugin-designer (index.js) 231.28KB 48.76KB
plugin-detail (index.js) 245.43KB 64.53KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 172.73KB 44.50KB
plugin-gantt (index.js) 179.16KB 45.06KB
plugin-grid (index.js) 233.13KB 63.89KB
plugin-kanban (index.js) 49.51KB 15.54KB
plugin-list (index.js) 116.63KB 28.97KB
plugin-map (index.js) 25.60KB 8.62KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 44.12KB 12.29KB
plugin-timeline (index.js) 38.80KB 11.71KB
plugin-tree (index.js) 14.51KB 5.15KB
plugin-view (index.js) 90.23KB 22.73KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 11.81KB 3.58KB
providers (index.js) 0.45KB 0.23KB
providers (types.js) 0.01KB 0.04KB
react-runtime (index.js) 5.62KB 2.34KB
react (LazyPluginLoader.js) 4.47KB 1.63KB
react (SchemaRenderer.js) 120.63KB 39.56KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.50KB 2.06KB
react (schema-input.js) 4.25KB 2.04KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (body-dialect.js) 4.50KB 1.99KB
sdui-parser (codegen.js) 9.45KB 3.76KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 6.06KB 2.68KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 25.28KB 7.80KB
sdui-parser (provenance.js) 3.84KB 1.90KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 21.42KB 7.05KB
types (ai.js) 4.39KB 2.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 4.12KB 1.61KB
types (authoring-nodes.js) 0.20KB 0.19KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (cloud.js) 0.20KB 0.18KB
types (complex.js) 4.14KB 1.96KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
types (dashboard-widget-layout.js) 2.06KB 0.96KB
types (data-display.js) 3.75KB 1.85KB
types (data-protocol.js) 0.20KB 0.19KB
types (data.js) 0.20KB 0.18KB
types (designer.js) 1.85KB 0.85KB
types (disclosure.js) 0.20KB 0.18KB
types (error-code.js) 1.54KB 0.88KB
types (expression.js) 0.20KB 0.18KB
types (feedback.js) 0.20KB 0.18KB
types (field-types.js) 0.20KB 0.18KB
types (form.js) 0.20KB 0.18KB
types (http-inflight.js) 8.87KB 3.73KB
types (http-retry.js) 4.32KB 2.02KB
types (icon-key-migration.js) 4.26KB 1.63KB
types (index.js) 5.07KB 2.39KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 5.00KB 2.39KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 2.52KB 1.31KB
types (plugin-scope.js) 0.20KB 0.18KB
types (record-components.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (select-option.js) 0.20KB 0.19KB
types (spec-report.js) 4.99KB 1.96KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 19.93KB 7.25KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 8.11KB 3.32KB
types (views.js) 0.20KB 0.18KB
types (widget.js) 0.20KB 0.18KB

Size Limits

  • ✅ Core packages should be < 50KB gzipped
  • ✅ Component packages should be < 100KB gzipped
  • ⚠️ Plugin packages should be < 150KB gzipped

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: ecf5fd38348c6164603e39cabfc8cb9053eb5c11
Local-runs: none

Inputs read, and nothing else: card #11517 (body and its four comments: ruling 5962814975, domain:ui note 5963125397, claim 5963737022, dev report 5964138302); PR #11527 (body, 15-file list, net diff against main); the head's check-runs, read twice (below); the head's .changeset git tree (2694 entries, each read as text); and head copies of the files the diff's meaning depends on (tombstone.zod.ts, imported-defaults.ts, data-display.ts, zod-mirror-parity.test.ts, plugin-dashboard/src/index.tsx, the console __tests__ listing). Adversarial read: the dev's and the seat's conclusions were not inputs.

① Derived judgments

Every accept-set and public-surface change the diff implies, each named right or wrong:

  1. TypeScript face, narrows. DrillDownConfig.report goes from SpecReportInput | { name: string } to SpecReportInput. ObjectPivotDrillDownConfig and ObjectMetricDrillDownConfig extend DrillDownConfig and redeclare no report, so both inherit it; ObjectDataTableDrillDownConfig.report?: never is untouched. Named right (changeset FROM/TO; the types pin puts @ts-expect-error on all three shapes and on a non-literal value typed { name: string }, plus a type-level assert that { name: string } is not assignable to the report type).
  2. Tolerant zod face, narrows. DrillDownReportSchema is no longer a union: stripImportedDefaults(SpecReportSchema).extend({ objectName: aliasKeyRefusal(...) }), then .superRefine(refuseRetiredDrillReportReference) installed with an always-true when. A value that failed the spec report and carried a string name used to parse as { name } and validate; it is refused now. aliasKeyRefusal returns z.never({ error }).optional() (tombstone.zod.ts:185-189), so objectName answers invalid_type at the key, as the pins assert, and the type annotation's z.ZodOptional of z.ZodNever is the helper's real type. The refinement adds one custom issue with params.code DRILL_REPORT_REFERENCE_RETIRED when the parsed value's only key is name; the always-true when (zod skips a refinement once the shape has aborted the parse, and a bare { name } always fails the shape first) follows the requireRecordSource precedent (objectql.zod.ts:2454). Named right.
    • Two things make that predicate sound, both checked at the head: stripImportedDefaults removes the spec's defaults, so a stripped default never re-widens the parsed key set; and its walker clones nodes through cloneWithDef keeping def.checks (never z.object(shape)), so the spec's cross-field rule (a non-joined report needs dataset and non-empty values) stays on this face across the .extend(). The boundary pin (a matrix with dataset and no values is refused with an issue under report.dataset and is not flagged as the retired reference) is the witness; its shard is green on the head.
  3. Strict face, narrows. Derived from the mirror, no strict-face code changed. A bare { name } validated at BASE through the closed reference arm and is now refused with the same named issue. Same accept set, new message for the pre-9.0 form: unrecognized_keys at the report becomes invalid_type at report.objectName. Both named right in the changeset.
  4. The JS-only edge. An explicit objectName: undefined is now accepted on both zod faces by the optional never member where the strict object refused the key. Unreachable from JSON, still refused by the TS face, and every aliasKeyRefusal / retirementTombstone in the package carries the same edge. Named in the PR body; not in the changeset, which is the house precedent for this helper. Right.
  5. Public type DrillDownReportZodType moves from z.ZodUnion to z.ZodObject with $strict. $strip and $strict are structurally identical in zod's type space, so the annotation proves nothing about strictness; what holds is that .extend() keeps the base's catchall config, so this face is exactly as closed as the spec's ReportSchema. The changeset names the consequence (report is no longer a union; nothing is stripped to { name }) rather than the type by name, as the 11506 entry did when it introduced the type. Right.
  6. .describe() text of DrillDownConfigSchema.shape.report changes. Named in the changeset. Right.
  7. The drawer. The DrillDownDrawer.tsx diff is the report prop's JSDoc only; isDatasetBoundReport and the render path are unchanged bytes. The console pin shows a dataset-bound report still issues queryDataset('deals_ds', { runtimeFilter: { stage: 'Won' } }) with no find, and a stored { name } still lists the records. The claim's domain:ui constraint (no change to what the drawer draws) holds.
  8. Docs and registrations. The plugin-dashboard.mdx drill section is rewritten to list both retired forms and what each face does. A census of 434 head files (all of content/, docs/, skills/, every README.md, non-test plugin-dashboard and console sources, and the drill/report-named sources of types, core, react, plugin-report, plugin-charts, app-shell) finds no other page, docblock or registration description offering a named report reference or a report registry; object-pivot's registration describes report as "an analytical report" only. Right.
  9. Readers. ObjectMetricWidget.tsx:688 casts drillDown?.report to a Record; ObjectPivotTable.tsx:432 passes it through; both land on the drawer's report?: Record prop. No edit owed. Right.
  10. Re-judged fixtures. The 7352 mirror ledger's two ACCEPTED rows move to REFUSED at report; the 11506 pin's tolerant case moves to a named refusal at report.objectName and its strict assertion from unrecognized_keys to invalid_type; four convenient-value sites now author a dataset-bound report so each refusal is of the member, not of its value. Each re-judgment reads right against the diff.

Nothing the diff implies is left unnamed, and nothing named is wrong. ① PASS.

② Semver level

  • .changeset/11517-drill-report-name-retired.md: '@object-ui/types': minor, a BREAKING line, FROM/TO, and the accept-set change stated per face. minor is this repo's spelling for its own breaking changes (the 11506 entry states the same rule; Changeset Bump Policy and Changeset Fixed Group Check are green on the head). It matches what the diff publishes.
  • @object-ui/plugin-dashboard ships a JSDoc change on DrillDownDrawerProps.report and nothing else, with no changeset. The ruling named one @object-ui/types changeset, Changeset Declaration is green, and the house's comment-only precedent (10905-types-stale-docblocks) is for a PR that releases nothing else. Right.
  • Clause-②: no (narrowing): right. Every accept-set move on a JSON value is a narrowing; the one widening is the JS-only objectName: undefined edge in ①.4, within the helper's precedent.

Pending-changeset sweep, read not recalled: 2694 entries at the head's .changeset tree; 47 mention a drill, 19 of those a report, 11 objectName beside a drill.

  • 7352-drill-down-config-mirror: said "report's two structural forms", that the named-reference arm keeps { name } ({ name: 'x', columns: [] } accepted, parsing to { name: 'x' }), and, in its 2026-10-02 note, "the { name } reference arm is unchanged". All now false. The PR's dated note (2026-10-03, house form, append-only) names each sentence and points at the new entry. Covered.
  • 11506-drill-drawer-runtime-filter: its TO line SpecReportInput | { name: string }, "the unchanged { name } reference arm", "objectName is a member of neither arm", and the paragraph saying objectui validate reports the object-bound form valid as a { name } reference. All now false. The PR's dated note names each; its drawer sentence (a { name } reference lists the records) still holds and is kept. Covered.
  • Left alone, rightly: 11440-drill-drawer-report-node (its note's "recognises a report by its dataset" still holds); 10685, 6576, 8885, 8970, 10778, 10814, 11440-object-pivot-drilldown-input (each says report as a member, a per-block refusal or a bus re-read; none names the { name } arm); 10905 (its { name } arm is ObjectChartSchema.series); 10932, 11440-arm-passing-types, objectchart-schema-anchor-7946 and the other 28 drill entries (no report reading). No entry says the drawer resolves a named report. No pending reading is left false without a note. ② PASS.

③ Boundary flags

  • open_questions: none. deviations: none.
  • Out-of-scope finding (the ObjectMetricWidget.tsx:688 cast is redundant with one arm): confirmed at the head; harmless, outside the claim's surface, carrier none. Answered, nothing to file.
  • Reviewer note 5963125397: answered. The tolerant face now refuses the pre-9.0 form at report.objectName by name (aliasKeyRefusal, naming objectui#11506), pinned on all five zod doors.
  • Ruling 5962814975: pin 1 (report: { name } refused on all three faces) is the types pin; pin 2 (the dataset-bound inline report still draws) is the console pin through the real drawer and the real report registration. No alias window: nothing accepts { name } on any face.
  • The console pin apps/console/src/__tests__/drillDownReport.nameRetired-11517.test.tsx and the claim's "their pins": inside. The claim's order is the ruling, whose second pin is exactly what this file pins; the console is the house's established place for a through-the-real-drawer pin (drillDownReport.runtimeFilter-11506 and drillDownReport.invalidationRefetch-10814 sit in the same directory, the latter named by the 10778 entry as where the drawer pin lives, because only the console depends on both plugin-dashboard and plugin-report); the file changes no behaviour and touches no domain:ui source beyond the comment the claim allowed; and the dev named the placement in scope_notes rather than silently. Not a breach. A claim that lists the ruling's pins by location would have removed the question.
  • Serial flags from the claim: objectui#11438 (the @objectstack/* 17.6.0 bump) has not landed; main is one commit ahead of the base (6903eafbc, a docs change to the charts example in plugin-dashboard.mdx) and the PR reports mergeable: true, so no re-read of the installed ReportSchema is owed. objectui#11514 touches no file in this diff.
  • NOT MEASURED by the dev: check:sdui-registration-pins (no registration input moved; Build & E2E is green on the head), the Spec Main Shape Gate (CI's, green below), the cloud repo (not in the container). Nothing escalated.

Check-runs on ecf5fd38, conclusions as read: first read 2026-10-03T01:36:38Z, 42 runs: 29 success, 3 skipped (the two coverage legs and dependabot), 10 in_progress (Type Check, Test shards 1 to 8, Spec Main Shape Gate). Second read 2026-10-03T01:45:47Z, 43 runs (the 43rd is the Test aggregate, success): 40 success, 3 skipped, none in_progress, none red. The ten that were pending all completed success between 01:37:12Z and 01:42:12Z. No red or pending run bears on the contract.

Implemented-by: claude/issue-11517-drill-report-name-retired
Reviewed-by: session_01XvhGmGAP79ZB8swnkapxPC

VERDICT: PASS

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review October 3, 2026 01:49
@objectstack-fleet
objectstack-fleet Bot enabled auto-merge October 3, 2026 01:50
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Oct 3, 2026
Merged via the queue into main with commit 9ed8d0f Oct 3, 2026
45 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-11517-drill-report-name-retired branch October 3, 2026 02:07
os-tesla pushed a commit that referenced this pull request Oct 3, 2026
Brings in objectui#11517 (PR #11527): DrillDownConfig.report's name arm
retired on all three faces. No conflict.

Claude-Session: https://claude.ai/code/session_01XvhGmGAP79ZB8swnkapxPC
Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

apps documentation Improvements or additions to documentation package: types plugin tests

Projects

None yet

2 participants