Repository navigation
fix(types): AnySchema includes every declared node type, pinned by an enumeration (objectui#11478) - #11486
Conversation
… enumeration (objectui#11478) AnySchema's docblock called it the union of all component schemas, but seventeen exported node types that extend BaseSchema with a literal `type`, and the standalone ActionBarSchema, were not members. SchemaByType of their literals was `never`. They join the union in the barrel's module order (the four view schemas through the existing ViewComponentSchema). The docblock now points at the test that re-derives "all": a compiler-API enumeration of the published exports, with a control module that shows it can fail, a by-name hold for ActionBarSchema, and a SchemaByType round-trip over every single-literal member. Claude-Session: https://claude.ai/code/session_01XvhGmGAP79ZB8swnkapxPC 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: ① Derived judgmentsRead: card #11478 (body, the claim comment 5955671434, the os-dev report 5956504941); PR #11486 (body, the 3-file list, the net diff against
② Semver level
③ Boundary flags
Dev deviations, each answered:
Narrowings the dev declared: the downstream consumer sweep (no in-repo reader of One prose miscount in the report: Check-runs on Implemented-by: VERDICT: PASS |
Brings in objectui#11485, #11486 and #11482; the parity ledger merged without a conflict (#11485 moved rows in other blocks). Claude-Session: https://claude.ai/code/session_01XvhGmGAP79ZB8swnkapxPC Co-authored-by: Claude <noreply@anthropic.com>
…ypeScript twin declares (objectui#6152 round 6) (objectstack-ai#11492) Part of objectstack-ai#6152 (round 6). The card stays open: `ObjectGridSchema.resizableColumns` stops here with an open question (below), the three spec-derived pairs route to objectui#2231, and the two chatbot `displayMode` entries stay by decision (objectui#7654 ruling B). Clause-②: yes Why yes (mixed): the strict face widens on an `object-view`'s `table` slot, where nine keys it refused as unknown are now declared. The tolerant face narrows there and on the flat mirror: a wrongly typed value it kept unexamined is now refused at the key. No TypeScript declaration changes shape. ## Round 6 in one paragraph `ObjectGridSchema`'s `UnmirroredDeclared` entry held eleven keys. Each was measured first: authored writers in both repositories, readers by a type-checker census and a runtime probe through the real `SchemaRenderer` and registry, and the member of the spec's `ComponentPropsMap['object-grid']` row. Ten are MIRRORED on the flat zod `ObjectGridSchema`: `aggregations`, `bulkActionDefs`, `conditionalFormatting`, `grouping`, `navigation`, `operations`, `reorderableColumns`, `rowColor`, `rowHeight` and `singleClickEdit`. The eleventh, `resizableColumns`, is NOT retired: the seat's answer A predates objectui#11276, which moved the authored node into the spec's `properties` bag, and executing it now would leave that bag accepting a key nothing reads (open question below). `UnmirroredDeclared` goes from 5 entries / 16 keys to 5 / 6 (spec-derived 3 / 14 to 3 / 4; local 2 / 2 unchanged). ## Measured first (base `50c73fed0`) **H1 held.** A TypeScript-parser count of `interface UnmirroredDeclared` at the base reads 5 entries / 16 keys, with 11 on `objectql.zod.ts#ObjectGridSchema`, the eleven the claim names. `KnownDrift` 49 / 86, `RuntimeOnlyDeclared` 5 / 30 and `RuntimeOnlyNamedAllowList` 4 / 23 read the same at the base, at `main` `401611b2` and at this head. **H2: the authoring side is the spec's for all eleven.** A one-off probe through the built faces (`AnyComponentSchema`, `StrictAnyComponentSchema`, the spec row, the flat mirror): - written flat on an `object-grid` node, every one of the eleven is refused by name on both faces, toward `properties.KEY` (`flatPropRefusals`); - in the bag, the spec row judges it: `reorderableColumns`, `resizableColumns` and `singleClickEdit` as booleans, `bulkActionDefs` as an array of unknown entries, and the other seven as `unknown` (a `properties.grouping: 42` parses on both faces); - in an `object-view`'s `table` slot, which is built from the flat mirror: nine keys were kept unexamined by the tolerant face and refused as unknown keys by the strict face, while `navigation` and `resizableColumns` are refused by name (withheld). So the remaining question per key is the hoisted node's parity (the TypeScript `ObjectGridSchema`, which `ObjectGrid` reads) and the `table` slot that inherits the mirror. **H3: every key is read.** Type-checker census over `packages/*/src` and `apps/*/src` (5697 files; controls `objectName` 58 reads, `columns` 13, `resizable` 2): every key has a src read in `ObjectGrid`, and `ObjectView` reads `table.operations` and relays six more through `tableRelay`. The first census run read 0 for the `objectName` control: its file list had dropped every file directly under a `src/` root. That run was discarded and the enumeration fixed. Runtime probe (one-off, deleted): an authored node `{ type: 'object-grid', properties: { … } }` through the real registry, varying one key, with a fetch double recording every request. Every key changed the drawn markup or the adapter calls: | key | runtime reading (base) | | --- | --- | | `aggregations` | the group header query gains a `sum` of `amount`, and the header draws it | | `bulkActionDefs` | after a row is selected, the bulk bar draws the def's button | | `conditionalFormatting` | the matching row gains its `background-color` | | `grouping` | the grid asks `queryGroupHeaders` and draws grouped sections | | `navigation` | clicking a row opens the drawer overlay | | `operations` | `export: false` removes the export button that `exportOptions` draws | | `reorderableColumns` | header cells become `draggable="true"` | | `resizableColumns` | `false` removes the column resize handle (no `resizable` written) | | `rowColor` | the row's background class changes | | `rowHeight` | the row-height toolbar appears | | `singleClickEdit` | absent, one click opens the cell editor; `false`, it does not | Controls: the same document rendered twice is byte-identical; `columns` changed (the lit control) differs. A first run was stopped by the repository's network-escape guard (a permission read reached a real socket) and its readings were discarded; the recorded run stubs `fetch` and records each request in the compared log. **H4: `singleClickEdit` on `object-grid` is authored, not host-paired.** Unlike `DataTableSchema` (round 5), the spec's `object-grid` row declares it ("Enter cell edit on single click (default true when editable)"), and the grid supplies its own save path. So it is mirrored here, by reference to the row member, and round 5's runtime-only filing was not copied across. **Authored census.** objectui: an AST and JSON walk over 497 JSON files, 1561 Markdown fences and 6083 TS/TSX files, with controls `object-grid` bag `objectName` 31 and `table.columns` 15. It found no document writing any of the eleven in an `object-view` `table` slot (two typed tests only). In an `object-grid` bag, three doc fences write keys this round mirrors: `operations` in `README.md` and `content/docs/api/schema-reference.md`, `singleClickEdit` in `content/docs/plugins/plugin-grid.mdx`. The in-code producers are `ObjectView` (the relayed keys), `FieldDesigner` / `ObjectManager` (`operations`) and the plugin-grid demo. `resizableColumns` is written nowhere. objectstack `main` `3a6d92f7` (read by `git grep` on a self-named ref): its two authored `object-grid` nodes, the showcase work queues, write `objectName` / `columns` / `filter` only, and nothing in it authors an `object-view`. ## What changed `packages/types/src/zod/objectql.zod.ts`, the flat `ObjectGridSchema` mirror: | key | member | before | after | | --- | --- | --- | --- | | `grouping` | the spec's `GroupingConfigSchema`, by reference | kept unexamined | judged; a padded field name is refused by the spec's own rule | | `navigation` | the spec's `NavigationConfigSchema`, by reference | kept | judged (the `table` slot still refuses it by name) | | `rowColor` | the spec's `RowColorConfigSchema`, by reference | kept | judged | | `rowHeight` | the spec's `RowHeightSchema`, by reference | kept | the five presets only | | `reorderableColumns`, `singleClickEdit` | the row's own boolean members, by reference | kept | boolean | | `aggregations` | strict `{ field, type }` entry, restating the twin | kept | judged; unknown member named | | `operations` | strict six-toggle object, restating the twin | kept | judged; a misspelt toggle named | | `bulkActionDefs` | strict entry restating `BulkActionDef`; `operation` and `visible`'s second arm by reference to the spec | kept | judged | | `conditionalFormatting` | the two-dialect rule, now one private declaration shared with `ListViewSchema`'s mirror | kept | judged | - The ten members are those the TypeScript twin declares, so `NarrowerThanDeclared` and `WiderThanDeclaredKeys` measure nothing new, and no `KnownDrift` or `WiderThanDeclared` row was added. The spec row types seven of the ten as `unknown`. Binding those would have mirrored nothing, so each member takes the spec schema the twin names, or the twin's own shape. - `bulkActionDefs` is NOT the spec's `BulkActionDefSchema` by reference. Measured against the twin, that schema is narrower on `params` (a strict entry with a closed `type`) and on `visible` (no `ExpressionWire` arm), so binding it would have needed a `KnownDrift` row. - `ListViewSchema`'s `conditionalFormatting` now reads the hoisted rule. Its accept set is unchanged, and the zod `ListViewSchema` member is the same union. `packages/types/src/objectql.ts`: only `singleClickEdit`'s comment. It said `@default false`, but `ObjectGrid` reads `schema.singleClickEdit ?? true` and the spec row says the default is true. `packages/types/src/__tests__/zod-mirror-parity.test.ts`: the `ObjectGridSchema` entry goes from eleven keys to `resizableColumns`, with the round's route written on it. The four pinned figure sites and the history sentences moved with it (header bullet 5 / 6; both ledger docstrings 6 keys; totals line 5 / 6 with 3 / 4 and 2 / 2; the spec-derived bullet 3 / 4). **Doors, before and after:** | door | before | after | | --- | --- | --- | | authored `object-grid` (`properties` bag) | the spec row judges | unchanged | | `object-grid` prop written flat on the node | refused by name | unchanged | | `object-view` `table`, strict face (`objectui validate`) | the nine refused as unknown keys | a declared value parses; a wrong one is refused at the key | | `object-view` `table`, tolerant face (`safeValidateSchema`) | any value kept unexamined | a wrong value refused at the key | | `ObjectGridSchema.safeParse` directly | kept | judged | ## Pins - New `packages/types/src/__tests__/unmirrored-declared-round6-6152.test.ts` (49 rows). For each key it checks that the mirror accepts the declared value and refuses a wrong one at the key, then drives the nine slot keys through the `table` slot on both faces. It holds that `table.navigation` / `table.resizableColumns` stay refused by name, and that the authored node does not move (flat refused by name, bag parses). It pins the two row members by identity, the spec's padded-name rule reaching `grouping`, the shared conditional-formatting rule by identity with `ListViewSchema`'s, and the strict entries naming unknown members. It also holds that `resizableColumns` is not a member. - `grouping-field-padded-refused-7347.test.ts`: the census now finds `table.grouping` on `object-view`, as the 2026-09-30 evidence comment on objectstack-ai#6152 predicted for the first round that mirrored this key. The table slot gets its own row and so carries the padded-field refusal on every face (the row type gained an optional `type` so one arm can own two paths). - `imported-defaults-8317.test.ts`: the four new spec crossings are registered, and the mirror reads the row's members through the boundary (`stripImportedDefaults(SpecObjectGridPropsSchema).shape.KEY`). ## Corpus and pending changesets re-judged - The three doc fences above write their keys in the `object-grid` bag, which the spec judges and this round does not touch. `content/docs/plugins/plugin-view.mdx`'s `table` section lists the relayed keys as declared, and the validator now agrees with it. No corpus document needed a change. - `.changeset/11276-object-grid-properties-bag.md` (pending) said the row declares eleven keys "the flat mirror does not". This round makes that false for ten, so it gets a dated, append-only correction note (+2 / -0, frontmatter and every prior line byte-identical, checked by `cmp`). `check:changeset-claims` named 41 more pending changesets. Their paragraphs about the grid, the table slot and the ledgers were re-read, and none is made false. ## Reverse verification (predictions written first; objectstack `scripts/ablation-replace.mjs`, wrap mode, on committed `437408ce`; each restore proven by blob == HEAD and an empty `git diff HEAD`) - **A1**, the `grouping` member deleted from the mirror (anchor x1 to x0, blob `36a2f818` to `dd46877a`): `tsc -p tsconfig.test.json` exit 2 with exactly one TS2322, `"objectql.zod.ts#ObjectGridSchema"` not assignable to `never` at the ledger reconciliation. vitest 22 failed, exactly as predicted: 4 in the round-6 pin, and 18 in the 7347 file (the census plus the table row on four faces). - **A2**, `grouping` put back in the ledger entry with the mirror intact (blob `a93e249d` to `d0959519`): `tsc` exit 2 at the same reconciliation. The parity file had 2 runtime failures, the objectui#7279 split/totals pin and the objectui#8243 docstring pin. The prediction named objectstack-ai#7279 and "possibly" objectstack-ai#8222; the second one to fire was objectstack-ai#8243. No dist leg: every subject here resolves to source (relative imports in the types tests, and the root vitest alias for consumers). ## Tests and gates (final head `437408ce`; heavy runs through `os-verify-lock.sh`; each exit code captured before any pipe) - `pnpm --filter @object-ui/types run type-check` (`tsc --noEmit`, `-p tsconfig.examples.json`, `-p tsconfig.test.json`, which judges the ledgers): exit 0. - `pnpm exec vitest run packages/types/`: `Test Files 336 passed (336)`, `Tests 8904 passed (8904)`. - Zod-face consumers outside `packages/types`: every test file that imports `@object-ui/types/zod` or names `safeValidateSchema` / `AnyComponentSchema` / `StrictAnyComponentSchema`. That is 115 files (schema-catalog, cli, app-shell previews, apps/console, components, scripts and twelve plugin packages), run in two halves: `58 passed (58)` / `1286 passed`, then `57 passed (57)` / `1015 passed`. - The doc-snippet build closure (`turbo run build --concurrency=2`, the filter `check-doc-snippet-types.mjs --build-filter` prints): `Tasks: 35 successful, 35 total`. Then `check:doc-snippets` ("776 of 776 block(s) judged, 0 failed"), `check:doc-examples`, and `check:readme-exports`: all exit 0. - All exit 0: `check-changeset-presence` ("6 source file(s) of 1 released package(s) changed, and this change declares 1 changeset(s)"), `check-changeset-no-major`, `check-changeset-fixed`, `check-changeset-overwrite` (report-only; the one appended note), `check:changeset-claims` (report-only), `check:pending-changeset-literals`, `check:control-bytes`, `check:new-line-citations` ("0 new citation(s)"), `check:spec-symbols`, `check:handler-key-reads`, `check:element-data-source-declaration`, `check:test-path-roots`, `check:unreferenced-sources`, `check-type-check-coverage` ("43/43"), `check:doc-types`, `check:doc-fences`, `check:component-surface-parity` (report-only), `check-governed-queue-guard --test` over the diff (NOT GOVERNED). - Lint, a declared narrowing: `eslint --no-inline-config --format json` over the 6 changed TS files. The JSON judged 6 files with no ignore notice: 0 errors, and 38 warnings, every one on a pre-existing line (0 on an added line). `eslint.config.js` sets no `parserOptions` / `projectService`, and no `eslint-rules/` file reads the disk, so the diff cannot move an untouched file's verdict. The repo-wide `pnpm lint` is CI's. - `main` was merged once before this PR (`54be4dda`, bringing in objectui#11485, objectstack-ai#11486 and objectstack-ai#11482); the parity file merged with no conflict. NOT MEASURED: `check:sdui-registration-pins` (it needs a console build, and no registration input moved); the full `pnpm test` farm and the repo-wide lint (CI's); `plugin-grid` / `plugin-view` behaviour suites (no runtime file changed). The contract record is the seat's to owe on the landing head. ## Open question: `resizableColumns` The seat's answer A on objectstack-ai#6152 ("`resizable` is canonical; the local half tombstones `resizableColumns`; its spec half forks to objectstack") was given while the flat mirror was the authored `object-grid` arm. Since objectui#11276 the authored node's props live in the spec's `properties` bag, which is `ComponentPropsMap['object-grid']` by reference and still declares `resizableColumns` ("Alternate spelling of `resizable`"). Pinned by objectui#11276: "the bag is the spec row by reference". So the local half as written would tombstone the TypeScript member and the mirror, and drop `ObjectGrid`'s `?? schema.resizableColumns` read. That leaves `objectui validate` and `os validate` both accepting `properties.resizableColumns`, with the flat refusal pointing at it, and nothing reading it. Measured: no document in either repository writes the key. The options, with four axes, are in the report on the card; this PR leaves the key in the ledger. ## Acceptance notes (noted, not filed here) - The spec's `object-grid` row types seven of these keys as `unknown`, so the authored bag accepts `properties: { rowHeight: 'comfortable' }` or `grouping: 42` on both faces. `ObjectGrid` then falls back silently (for `rowHeight`, to `compact`). objectui#11276's PR already reported the row's `unknown` members as a spec-row finding. The report on the card names it for the seat with its measured reach. - `BulkActionDef` / `BulkActionParam` (the TypeScript twin) are wider than the spec's `BulkActionDefSchema`: open params with any `type`, `ExpressionWire` predicates, and the runtime `actionDef`. The mirror follows the twin. A narrowing of the twin would be its own question. - The strict face closes undeclared keys at every depth, including a `bulkActionDefs` param's catch-all that the twin and the tolerant face keep. That is the strict face's own construction, not this member's. --- _Generated by [Claude Code](https://claude.ai/code/session_01XvhGmGAP79ZB8swnkapxPC)_ --------- Co-authored-by: Claude <noreply@anthropic.com>
Fixes #11478
Clause-②: yes
What changed
AnySchemainpackages/types/src/index.tsnow includes the eighteen node types its docblock claimed but did not hold. The new members follow the module order of the barrel's exports:DashboardComponentSchema:DashboardWidgetSlotComponentSchema(metric-card,complex.ts). It is named only in the union; its own shape is untouched (objectui#11467 edits that interface).ListViewSchema: the six designer schemas (PageDesignerSchema,DataModelDesignerSchema,ProcessDesignerSchema,ReportDesignerSchema,ObjectManagerSchema,FieldDesignerSchema), then the three report schemas (ReportComponentSchema,ReportBuilderSchema,ReportViewerSchema), then the three AI schemas (AIFormAssistSchema,AIRecommendationsSchema,NLQuerySchema).ViewComponentSchema. This existing union inviews.tsholdsDetailViewSchema,ViewSwitcherSchema,FilterUISchemaandSortUISchema. Using it adds no second list, and the zod twinAnyComponentSchemaarms the same group.ActionBarSchema(action:bar,ui-action.ts).The
BaseSchemaarm stays. No interface's own shape changes, and no new type is added. The docblock now points at the pin (AGENTS.md #9) instead of stating a count. The only other edit is theimport typelines the union needs. The emitted JS ofindex.tsis byte-identical:ts.transpileModuleof the base and head versions gives 5176 bytes each, and the outputs are equal.Accept set: before and after
I measured this with a compiler-API probe, run against the package's own
tsconfig.json. It ran at base2c0ddf226and at head50714a6d. For each of the eighteen node types, with LIT standing for itstypeliteral:AnySchema{ type: LIT }{ type: LIT, zzUnknownKey: 1 }{ type: LIT, OWNKEY: Symbol('x') }: a wrong value on the first key the interface declares andBaseSchemadoes not{ type: LIT, visible: 42 }: a wrong value on aBaseSchemakeySchemaByTypeof LIT is the interfaceSchemaByTypeof LIT isneverThe two controls behave the same at base and head. An undeclared
typewith an unknown key is OK, andbuttonwithvisible: 42is TS2322.The 92 value verdicts are identical, and so is every diagnostic message. Only the 36
SchemaByTypereadings flip. So this changes no accept set; it changes whatSchemaByTypeand narrowing ontypereturn. A wrong value on an interface-only key still compiles because TypeScript tries every member of the union, and theBaseSchemaarm, with its string index signature, still takes the literal. That is the arm objectui#11466 is about, and this PR leaves it alone.The pin:
anyschema-declared-node-types-11478.test.tsThe pin builds one compiler program over the package's own sources with its own
tsconfig.json, so it does not depend ondist/. The program covers the root barrel, every published subpath entry (read frompackage.jsonexports), and one virtual module that is never written to disk. It has five cases:BaseSchemadirectly, and one that extends a key-remapping omit ofButtonSchema, spelled the wayform.tsspellsOmitDeclared. It does not flag the one inside the union, a standalone interface, or aBaseSchemachild whosetypeis a plain string.ButtonSchema.typeand whoseextendschain reachesBaseSchemais a member ofAnySchema. On failure it prints each missing name with its literal and file.ActionBarSchemais a member by name. It is also asserted to be outside the population; if that ever goes red, the type has started extendingBaseSchemaand the by-name case should be deleted.SchemaByTyperesolves every single-literal member ofAnySchemato that member. This is a distributive conditional over the real union, evaluated by the checker, with no list.Ablations. The fix was committed first. Each mutation went through
ablation-replace.mjsin WRAP mode, plus a shell trap. After each one, the restore was proven: the blob equals the HEAD blob andgit diff HEADis empty. No build is involved, because the pin readssrc/through its own program, with no packageexportsresolution and no vitest alias.index.tsat base, against the pin: 2 failed and 3 passed. The output names the seventeen node types with their files and literals, plus the by-nameActionBarSchemacase.| ViewComponentSchema: case 3 fails and namesDetailViewSchema,FilterUISchema,SortUISchemaandViewSwitcherSchema.| ActionBarSchema: case 4 fails.| (BaseSchema & { type: 'button' }): case 5 fails and namesButtonSchemaand the new arm.ViewComponentSchemaleg ran nothing. The tool refused it because the replacement text was a substring of the anchor, so its count went 1 to 1. I reran it as a--delete.The card's hypotheses, measured
6007dd4e4and at2c0ddf226, after objectui#11477; no interface was added or removed. I compared three criteria, and only heritage matches the card's population:BaseSchemacatches about a hundred more types with a literaltypethat are not node types (field metadata, query-AST nodes, widget sources), so it is not usable.BaseSchema's named members picks up the spec-rowAuthoringNodefaces:ElementTextInputNode,ElementRecordPickerNode, and since objectui#11477 alsoFlexBlockNodeand the eight object-* block nodes. Those belong toAuthoringNode. Their literals overlap this union's (flex,object-gridand others), and the heritage criterion keeps them out, so they are not counted twice.extendsclause addsInputShorthandSchemaandUiCalendarSchemato the population. Both were already members.ActionBarSchemais confirmed standalone. The four app-shell hand-offs type it asActionBarSchema: two inEnvironmentListToolbar.tsx, one inInterfaceListPage.tsxand one inObjectView.tsx. Theaction:barrenderer in components takes it as itsschema.AnySchema, and none collides with another of the eighteen. After the change,SchemaByTypeof each one resolves to that interface alone. Case 5 checks this property over the whole union.packages/types/src/__tests__/. Its one stated blind spot: a future standalone node type likeActionBarSchemathat does not extendBaseSchema. The pin's header andAnySchema's docblock both say so.Every consumer and document re-checked
AnySchema/SchemaByType. Agit grepover all tracked files finds none outsideindex.ts. The only other hits arepackages/types/README.mdand three historical.changesetbodies. So no package's compile can move, and the downstream sweep of@object-ui/typesdependents was not run (a declared narrowing). CI runs the full type-check.packages/types/README.md. Both blocks that useAnySchema(Type Narrowing, and the slice assignment with aswitch) compile undercheck:doc-snippetsagainst the rebuiltdist.index.ts.check:changeset-claimslists6051-gantt-flat-config-declared-keys.mdandcomponent-meta-converge-and-deprecate-alias-5893.md. I read both. They coverGanttConfigandPluginComponentMeta, which this diff does not touch.Overlap with objectui#11477
objectui#11477 merged as
2c0ddf226and edits theAuthoringNodeexport list in the same file. Before the first commit, my branch was fast-forwarded to it, so there was no merge commit and no conflict. Everything above was measured on that tree. That PR covers nothing this one adds.Gates, all at head
50714a6dpnpm --filter @object-ui/types run type-check: exit 0. The script echoestsc --noEmit && tsc -p tsconfig.examples.json && tsc -p tsconfig.test.json. The new test file is in the test program (--listFilesOnly).pnpm exec vitest run packages/types/src/__tests__/anyschema-declared-node-types-11478.test.ts: 5 passed.pnpm exec vitest run --maxWorkers=2 packages/types/: Test Files 334 passed (334), Tests 8789 passed (8789).pnpm --filter @object-ui/types build: dist completeness complete (144 emitted files). The doc-snippets scoped build: 35 of 35 tasks successful.pnpm check:doc-snippets: exit 0, "Semantic phase: 776 of 776 block(s) judged, 0 failed."pnpm check:doc-examples: exit 0.pnpm check:doc-types: exit 0.node scripts/check-changeset-no-major.mjsandnode scripts/check-changeset-presence.mjs: exit 0.pnpm check:new-line-citations: 0 new citations.pnpm check:control-bytes: OK.check:changeset-claims(report-only),check:pending-changeset-literals,check:test-path-roots,type-check:coverage,check:spec-symbols,check:readme-exportsandcheck:component-surface-parity(report-only): all exit 0.check:sdui-registration-pins: NOT MEASURED. It exits 2 because the console bundle is not built. It is not reached by this diff, since the emitted JS is unchanged..tsfiles. 2 files, 0 errors, 0 warnings, 118 rules in effect on the test file.--print-configshows noparserOptions.project, so linting is not type-aware, and this diff cannot move any untouched file's verdict. The repo-wide lint is CI's.check-governed-queue-guard --test: NOT GOVERNED.Acceptance notes (observations, not filed)
SchemaByTypeof a literal whose member declares a union of literals isnever, becauseExtractasks whether the wholetypefits the one literal. Measured at head:email(InputShorthandSchema, which also declarespassword),header(SemanticElementSchema) andh1(HtmlElementSchema). Thebuttoncontrol resolves. This predates the PR, has no in-repo reader, and case 5 skips these members by design.{ type: 'action:bar' }and{ type: 'metric-card' }at the top level (safeValidateSchemareturns "Invalid input"), while it acceptsdetail-view,reportandnl-query. The TS face already admitted both through theBaseSchemaarm, so this is not new. No stored producer of either literal was found: theaction:barnodes are built in app-shell code, andmetric-cardis a widget-slot type.packages/types/README.mdsays the shippedAnySchema"carries 50+ members". That is a prose count (AGENTS.md 完善设计器的每一个细节 #9), and it is still true. It is outside this card's file surface.SemanticElementSchemaandHtmlElementSchemaare members ofAnySchemabut are exported only from the./layoutsubpath, not from the root barrel. The pin reads the subpath entries for this reason.The slot union,
CustomNodeRegistry, and theapp/listdiscriminant collisions stay with objectui#11466.Session:
https://claude.ai/code/session_01XvhGmGAP79ZB8swnkapxPCGenerated by Claude Code