Repository navigation
feat(types,plugin-report)!: report declares the wrapper spec-report carried; the drill-down drawer emits it; spec-report is retired (objectui#11440) - #11502
Conversation
…t` carried; the drill-down drawer emits it; `spec-report` is retired (objectui#11440)
The seat ruling's step order for the `spec-report` alias of `report`:
`report` declares the wrapper shape (`ReportNodeSchema`, its `report`
member the spec's `ReportSchema` by reference), `DrillDownDrawer` emits
`{ type: 'report', report }`, `ReportRenderer` unwraps that spelling,
and `spec-report` is unregistered under a tombstone, with the console's
lazy stub dropped and `KNOWN_SCHEMA_TYPES` regenerated. The bare
ratchet goes 1 to 0 with a lit control; the namespaced pin 362 to 361.
Claude-Session: https://claude.ai/code/session_01YLg8XqWGJ785fwQ5v4pH37
Co-authored-by: Claude <noreply@anthropic.com>
…m-passing-types-2 # Conflicts: # packages/types/src/__tests__/imported-defaults-8317.test.ts
… on four pending entries it falsifies (objectui#11440) Claude-Session: https://claude.ai/code/session_01YLg8XqWGJ785fwQ5v4pH37 Co-authored-by: Claude <noreply@anthropic.com>
|
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 reviewServed-tier: PR objectui#11502, Check-runs on the head: 43, every one completed as of 2026-10-02T19:35Z (polled at 60 s intervals; the aggregate The red, attributed. The gate compiles this repository against
The workflow's own header says the context is requirable and not yet required. That is a ruleset fact, not a verdict: a completed ① Derived judgmentsAccept set (
Public surface:
② Semver level
③ Boundary flagsDev Dev deviations:
Dev
Escalated, the FAIL condition: the Observation for the card (item 5 of ①): the drawer's emitted Serial: Implemented-by: VERDICT: FAIL |
…m-passing-types-2
…n emit stays under TS7056 (objectui#11440) Against `@objectstack/spec` built from objectstack `main`, the `Spec Main Shape Gate` refused `AnyComponentSchema` with TS7056: declaration emit re-serialized the spec's whole `ReportSchema` inside the union. `ReportNodeZodType` writes the arm's type out by reference (the record's shape plus `typeof SpecReportSchema`), as `PageKindNodeSchemaType` does. Type only: the accept set does not move. Claude-Session: https://claude.ai/code/session_01YLg8XqWGJ785fwQ5v4pH37 Co-authored-by: Claude <noreply@anthropic.com>
✅ 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
|
… does not apply the `filter` member it carries (objectui#11440) Seat ruling 5960653267 (option B): the sentence now states that the drilled report carries the widget's filter in its `filter` member, which a dataset-bound report does not apply (objectui#5137), unchanged by this release (objectui#11506). Claude-Session: https://claude.ai/code/session_01YLg8XqWGJ785fwQ5v4pH37 Co-authored-by: Claude <noreply@anthropic.com>
✅ 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
|
…m-passing-types-2
✅ 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 reviewServed-tier: Delta record on PR objectui#11502 ( Check-runs on the head: 43, every one completed as read at 2026-10-02T21:03Z (the aggregate What moved between the heads (the interdiff of the two net diffs, index lines and hunk numbers stripped): exactly two things, on the same 30 paths. (1) ① Derived judgments
② Semver level
③ Boundary flags
Implemented-by: VERDICT: PASS |
Fixes #11440
Clause-②: yes
The second and last pull request for objectui#11440: the
spec-reportfold, in the step order of the seat ruling5945530142on objectui#10859. PR objectui#11493 (landed as00ccdf742) armed the seven keys that pass the criterion; this one retires the eighth. The bare registered-types ratchet goes from 1 to 0.What changed
reportdeclares the wrapper shapespec-reportcarried.@object-ui/types/zodexportsReportNodeSchema, thereportarm ofAnyComponentSchemaandReportUnionSchema: everyReportComponentSchemamember, plusreport, the@objectstack/specReportSchemataken by reference throughstripImportedDefaults(census row added inimported-defaults-8317; parityEXCLUSIONSrow added).ReportComponentSchemaitself is unchanged, because it is also the report record areport-viewerorreport-builderholds, and neither reads a nestedreport.report, and the renderer unwrapsreport.DrillDownDrawerrenders adrillDown.reportas{ type: 'report', report: { ...report, filter } }, the declared shape. It no longer writes the flat copy of the report's keys or a top-levelfilter.ReportRenderernever read them, because it unwraps thereportmember first.ReportRendererunwraps ontype === 'report'only, with no alias fallback.spec-reportstub is gone fromapps/console/src/register-plugins.ts, with a comment that does not quote the call.spec-reportis unregistered under a tombstone docblock inplugin-report'sindex.tsxthat describes the retired call without quoting it.KNOWN_SCHEMA_TYPESis regenerated withnode scripts/regenerate-known-schema-types.mjs, which dropsspec-reportandplugin-report:spec-report. Thereportregistration publishesreportas an input.report: theplugin-reportREADME andcontent/docs/plugins/plugin-report.mdxlist two registered types and embed with{ "type": "report", "report": { … } }, and they sayspec-reportis retired. Theobject-pivotrow in theplugin-dashboardREADME andplugin-dashboard.mdxno longer calls the block an internal wrapper.REFUSED_AT_TYPE = 0with an empty named remainder. The set-equality row keeps a lit control (an unregistered probe key is refused attype, so the zero is not vacuous). A new row holdsspec-reportand its twin gone from the registry and still refused attype, withreportclaimed and the wrapper validating as controls.NAMESPACED_REFUSED_AT_TYPEgoes from 362 to 361.Producers of
spec-report, fromgit grep:DrillDownDrawerwas the only one in code. These test fixtures authored it:DatasetReportRenderer.invalidationRefetch-10814(six nodes, nowreport),ReportRendererDispatcher(nowreport, plus a new row saying the retired spelling is not unwrapped),report-bare-key-ownershipandreport-namespace-agreement-6416(they now hold the key retired). The comments in two more tests were updated:objectMetricDrillDownMembers-8071and the console'sdrillDownReport.invalidationRefetch-10814.Contract notes
The accept set moves in both directions, measured on both faces (
objectui validateis the tolerant face;StrictAnyComponentSchemais the strict one). BASE is this branch with the00ccdf742sources put back, built and probed; the sources were then restored fromHEAD(blob equal toHEAD,git diff HEADempty).{ type: 'spec-report', report: DATASET }invalid_unionattypeinvalid_unionattypeinvalid_unionattypeinvalid_unionattype{ type: 'report', report: DATASET }unrecognized_keysreport{ type: 'report', report: PRE_9 }unrecognized_keysreportreportreport{ type: 'report', report: { foo: 1 } }unrecognized_keysreportreport.name/report.labelreport.name/report.label{ type: 'report', title: 'Sales' }DATASET is the dataset-bound report the docs teach (
name,label,type: 'summary',dataset,rows,values). PRE_9 is theobjectName/columnsquery form; the spec refuses it withobjectNameas an unrecognized key andinvalid_typeatreport.columns.0.The tolerant face narrows. It now judges a
reportnode'sreportmember, which it used to accept unexamined. Before this change the renderer did not read that member on areportnode, so nothing that rendered differently is refused. A pre-9.0 report underreportstill renders through the presentation bridge but does not validate, because the spec'sReportSchemarefuses that form. The migration line in the changeset names only the dataset-bound form.BREAKING (authoring):
spec-reportandplugin-report:spec-reportleave the registry, the console stubs andKNOWN_SCHEMA_TYPES. Aspec-reportnode now renders the unknown-type panel;objectui validaterefused it attypebefore and still does. Migration:{ "type": "spec-report", "report": { … } }becomes{ "type": "report", "report": { … } }, with the same member; FROM refused, TO valid, on both faces.The TypeScript face is unchanged. The interface
ReportComponentSchemadoes not declarereport;BaseSchema's index signature admits it, as before.Coupling inside the fixed group: the drawer's new emission needs
ReportRendererfrom this release, because an older one unwraps onlyspec-report. Both packages are in the changesetfixedgroup, so they release together.Changesets:
@object-ui/plugin-reportminor (BREAKING (authoring), migration,Clause-②: yes),@object-ui/typesminor (the wrapper, both directions,Clause-②: yes),@object-ui/climinor (known types, ratchet readings),@object-ui/consoleminor (the stub),@object-ui/plugin-dashboardpatch (the drawer's emission). Dated notes are appended, pure-append, to four pending entries this change makes false:10519-pageview-refresh-in-place,10778-dashboard-bus-readers,10814-report-line-items-bus-readersand6416-plugin-report-namespace.Reverse verification
00ccdf742(tests atHEAD), 16 tests in 6 files fail: the three wrapper rows inpassing-keys-arms-11440; four ratchet rows (the bare count, the retired-key row, the set-equality row and the namespaced count); the retired-key row inreport-bare-key-ownershipand the one inreport-namespace-agreement-6416; the two dispatcher rows; and the fiveDatasetReportRendererbus rows. The console drill test passes at BASE, as predicted: it pins behaviour this change preserves. After the run, all seven blobs were equal toHEADandgit diff HEADwas empty.ablation-replace.mjs, mutation proven on disk, anchor 1 to 0). With the union's report arm put back toReportComponentSchema, two tests go red, as predicted: the strict face refuses the TO document, and the by-reference row fails because the tolerant face accepts PRE_9 unexamined. The ratchet stays green, because it reads only the tolerant face. Restored: blob equal toHEAD,git diff HEADempty.spec-report, eight tests go red: both dispatcher rows, the fiveDatasetReportRendererbus rows, and the console's real-drawerdrillDownReportrow. Restored the same way.Tests and gates (on
237b4ad9f)vitest run packages/types/ packages/cli/: 362 files and 9410 tests passed. The twocli-binfailures came from a staledist/cli.jsbuilt before theorigin/mainmerge; after rebuilding the CLI,cli-bin.test.tspassed 44/44.vitest run packages/plugin-report/plus the dashboard drill tests: 31 files, 274 passed, 7 skipped. Fullpackages/plugin-dashboard/withplugin-report: 187 files, 1775 passed, 13 skipped. The console, scripts and catalog tests (drillDownReport,registry-inputs-spec-parity,preview-samples-registry-resolvable,public-contract,known-schema-types-derivation-5115,report-namespace-agreement-6416,component-registrations,registry-bare-name-collisions,check-doc-component-types,markdown-test-inputs,catalog-gallery-render, the coreRegistrytest, and others): 20 files, 1234 passed.type-checkpassed for@object-ui/types(all three programs),@object-ui/cli,@object-ui/plugin-report,@object-ui/plugin-dashboardand@object-ui/console, after building their closures.regenerate-known-schema-types.mjs --check,check:doc-types,check:doc-snippets(776/776),check:doc-examples,check:doc-fences,check:doc-example-ids,check:readme-exports,markdown-test-inputs.mjs --audit,check:registry-bare-names,check:prompt-keys,check:element-data-source-declaration,check:handler-key-reads,check:unreferenced-sources,check:doc-example-readers,check:control-bytes,check:new-line-citations,check-changeset-presence,changeset:check,check:pending-changeset-literalsandcheck:changeset-claims.pnpm checkgave the same counts before and after: 287 validated, 146 recognised, 0 invalid, 47 skipped. No catalog document authorsspec-reportor the wrapper.--no-inline-config --format json) found 0 errors and 25 warnings, and each file's count is identical at the merge-base. The population is**/*.{ts,tsx}pereslint.config.js; the config istseslint.configs.recommendedwith noparserOptions.project, so no linting is type-aware and this diff cannot move the verdict on an untouched file.check:sdui-registration-pins. Prerequisite not met: it weighsapps/console/dist/assets, and there is no local console build. CI owns it.886693115):ReportNodeSchemais annotated withReportNodeZodType, az.ZodObjectwritten by reference toReportComponentSchema's shape plusreport: z.ZodOptional<typeof SpecReportSchema>(thePageKindNodeSchemaTypeprecedent; named…ZodTypebecauseReportNodeSchemaTypeis already thez.inferalias), so declaration emit names the arm instead of re-serializing it insideAnyComponentSchema. Type only: the two-face accept-set probe is identical to the237b4ad9freading.Spec Main Shape Gatereproduced locally against objectstack9b7a0ef3faf1: red on237b4ad9f(index.zod.ts592 TS7056), green on886693115, and red again with only the annotation ablated on the merged head.origin/mainea3914139merged (b8794f793).d654bbccd): one sentence of.changeset/11440-drill-drawer-report-node.mdnow says the drilled report's filter is still written asfilter, which a dataset-bound report does not apply (objectui#5137, objectui#11506). Changeset gates (changeset:check,check:pending-changeset-literals,check:changeset-claims,check-changeset-presence),check:control-bytesandcheck:new-line-citationsexited 0. No code changed. The dev's report saysmainhad not moved, but it had:aea682a31(objectui#11491) landed before this head, read from a stale localorigin/main. It came in with the merge round below, and every gate ran on the merged tree.2b5f21aec):mainfcdc8ec91(PR objectui#11501, parentaea682a31) merged without conflicts.passing-keys-arms-11440.test.tsandzod-mirror-parity.test.tskeep both sides' rows, and the union carries both named arm types.Spec Main Shape Gatelegs passed locally against objectstackcfa4d740b7fa.vitestover types, cli and layout passed: 403 files, 9812 tests. CI on the head: 43 checks, 40 green, 3 expected skips.Acceptance notes
registry-inputs-spec-parity.test.ts(theobject-metricdrillDownrow) still says the drawer goes to aspec-reportbody. It is test prose, not published, and the file is outside this claim. Whoever next touches that file can change it. Noted, not filed..changeset/6442-catalog-blocks-claimant-list.mdlistsspec-reportamongplugin-report's keys. Its front matter is empty, so it publishes no CHANGELOG text, and it got no dated note.{ type: 'report', report }, but itsreportmember is not always a document the declared arm accepts: it writes the drill's filter into the member asfilter, and a pre-9.0 drill report carriesobjectNameand objectcolumns. The spec'sReportSchemarefusesobjectName(an alias ofdataset) andfilter(an alias ofruntimeFilter) as unrecognized keys on both faces (measured on886693115: a dataset-bound report plusfilteris refused atreportforfilter; anobjectNamereport is refused atreportforobjectNameandfilter, and withinvalid_typeatreport.columns.0). Nothing validates the node at runtime, so what renders is unchanged, and a dataset-bound report does not apply thatfiltereither (objectui#5137). Filed as objectui#11506 (seat ruling5960653267on objectui#11440); the changeset says so.Generated by Claude Code