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

feat(types)!: refuse both content channels on the 62 schemas whose renderer reads neither (objectui#9256, family D) - #9261

Merged
os-tesla merged 4 commits into
mainfrom
claude/issue-9256-family-d-content-channel
Sep 12, 2026
Merged

os-tesla merged 4 commits into
mainfrom
claude/issue-9256-family-d-content-channel

Conversation

@os-tesla

@os-tesla os-tesla commented Sep 12, 2026 •

Copy link
Copy Markdown
Collaborator

Part of #9256 — deliberately not a closing keyword: this lands family D of the measured table, and the card stays open for the eleven registrations held out below.

Executes the ruling recorded on objectui#8284 (director seat, summon #17, decision batch #2, 2026-09-07; maintainer verbatim 「同意」): the body / children duality is resolved per component, not by a second alias — every component schema narrows to the channel its renderer actually reads and tombstones the other. PR objectui#9254 landed families A and B (read exactly one channel); this is family D — reads neither.

Ruling execution step (1), the measured table, is posted on the card BEFORE any declaration moved: objectui#9256 comment 5644340762.

Attribution for this work: session session_01UzHd6hDYatoDn17BuwKxnZ (written into the prose because a PATCH degrades the footer form).

⭐ The measurement came first, and it is bigger than objectui#9254's

A verdict of absence is not sound over a subset, so the compiler-API read-site instrument was extended from packages/components to 46 programs — every workspace package plus apps/console, apps/site and the four examples, 1,604 source files. Every body / children read is filed under the TYPE of the object it is read from, so a docblock cannot score.

Two instrument defects were found while extending it, and both answered WRONG silently:

  1. Attribution by bare type NAME pools unrelated types. __type is the symbol name of every anonymous object type literal, Record of every mapped type. Bare-name filing put 20 registrations into "reads BOTH" that read nothing. Identity is now the name plus the file and line of the type's own declaration.
  2. An unbuilt tree answers any, and any reads as NEITHER. @object-ui/types resolves through dist/*.d.ts; before a build, GridSchema resolved to any and grid scored NEITHER — it reads children. The reading of record is on a fully built tree, with a module-resolution probe reporting 0 unresolved-module diagnostics.

Lit controls, both directions. Grep-hit / checker-non-hit, new in this family: body: schema.requestBody in plugin-chatbot/src/renderer.tsx (three times, in the very registrations this card narrows); body: inside the EXAMPLE schema literals in carousel.tsx and resizable.tsx registration metadata; a bare {children} React expression in plugin-view/src/index.tsx that can never receive the authored channel because SchemaRenderer strips it; four prose mentions in layout/src/index.ts. Positive control: 36 schema-attributed reads under the 18 published declarations of families A, B and C, two of which the one-package sweep could not see.

The generic traversers were read directly, not inferred — they are the readers no per-component sweep sees:

  • SchemaRenderer destructures children and body OUT of the props bag it spreads ⇒ "reads neither" really does mean "renders nothing", by no other route.
  • validateSchema reads schema.children else schema.body for every node, but only to RECURSE and validate; it renders nothing.
  • the two DYNAMIC-tag factories (semantic.tsx, html-elements.tsx) DO read the channel — their 44 tag names were enumerated and intersected with the family-D names: empty.
  • containers.tsx is the one that does collide (accordion, tabs), and both are held out.

What this does

219 registrations in 24 packages (not 25: apps/console holds 21 registerLazy aliases and registers nothing directly). 77 are family D — not the card's ~60 — and 20 of them are outside packages/components, in 11 other packages. 64 registrations over 62 published declarations are narrowed here: body and children become ?: never on the TypeScript face and a by-name retirementTombstone refusal on the zod mirror, kept a MEMBER so zod-mirror-parity's key sets stay equal. Four declarations have no zod mirror at all (AIFormAssistSchema, AIRecommendationsSchema, NLQuerySchema, PivotTableSchema); for those the TypeScript face is the only gate, and the pin test says so.

Each tombstone's guidance names what the renderer DOES read, derived from the same instrument rather than written by hand — collapsible says "What it renders instead: content, defaultOpen, trigger".

⚠️ Held out — eleven registrations, each for a measurement, none for appetite

held why
accordion, tabs, text, image, icon (both arms), list, calendar, timeline, button (UIActionSchema arm) the type name carries 2+ registrations with DIFFERENT declarations. ComponentRegistry.register writes the bare-name fallback LAST-ONE-WINS, so which declaration governs an authored node depends on import order — the same reason sidebar was held out of family B
input (InputSchema) InputShorthandSchema is declared as an Omit of it, so a tombstone would propagate onto the email / password shorthand face, whose registrations are any-typed — family E, frozen
app-schema-renderer (AppComponentSchema) that declaration's own type literal is app, and app is served by PageNodeSchema — family C, reads BOTH, with the maintainer
detail (DetailViewSchema) its own literal is detail-view, which is registered with an any-typed renderer whose reads are unattributable
the body key of chatbot / chatbot-enhanced / chatbot-floating zod-mirror-parity's ledger already records it verbatim: "Two different meanings of one key — a naming collision to rule on, not a widening." Their children IS narrowed, and a LIVE CONTROL in the pin test proves body still parses

⚠️ The hazard is bigger than the card's nine: 19 type names carry 2+ registrations. Eight are cross-PACKAGE collisions the one-package sweep could not see — form, calendar, grid, list, alert, menu, chart, timeline.

⚠️ Real authored usage of the refused channels — NON-ZERO, and it is the documentation's fault

A brace-matched object-literal census over 7,182 files (positive control: 431 documents authoring the channel those renderers DO read) found 11 hits. Seven are real documents, and every one renders an EMPTY element today:

document node authored fixed here
examples/schema-catalog/.../dialog-trigger.json dialog children → content
examples/schema-catalog/.../basic-drawer.json drawer children → content
examples/schema-catalog/.../basic-popover.json popover children → content
examples/schema-catalog/.../basic-collapsible.json collapsible children → content
content/docs/components/overlay/dialog.mdx DialogSchema documents children → content
content/docs/components/overlay/drawer.mdx DrawerSchema documents children → content
content/docs/components/overlay/popover.mdx PopoverSchema documents children → content

⭐ The four catalog files are the rendered demo gallery and the three pages are the published component reference. They agree with each other and disagree with the renderer: the reference TEACHES the dead spelling, so this is not seven authors slipping — it is the documentation manufacturing the defect. collapsible is objectui#8197, found a third time. Reported rather than migrated in silence, per the card.

⚠️ This PR and PR objectui#9254 both edit one it block

examples/schema-catalog/test/overlay-trigger-mirror-6939.test.tsx — objectui#9254 rewrote the tooltip half of "the accept set only WIDENED" and left context-menu as its deliberate live control, saying in as many words that the control stands until "a cross-package sweep". This is that sweep, so this PR rewrites the context-menu half. Both edits live in the same hunk: expect a conflict on whichever lands second, and resolve it by keeping BOTH refusals plus the new key-scoped control.

Fixture triage — three, none of them a batch rename

  • static-table-narrow-surface.test.ts pinned the static table mirror's tombstones as exactly hoverable / striped. It now reads four, because body / children join for the same reason measured again.
  • undeclared-but-consumed-keys-6150.test.ts had children in its context-menu control document. The control never needed it — the key was a silent empty box — and it made every case in that block fail on a key the block is not about.
  • overlay-trigger-mirror-6939.test.tsx — above.

Version level

minor with a BREAKING banner in the changeset. This narrows a published authoring type, but this repo's version policy forbids major in any changeset — 41 packages in one fixed group — and records minor plus an explicit breaking note as the spelling for a breaking change here. Split levels are impossible anyway.

Verification

Run on 7bde46114, the branch head, from the committed tree.

reader command verdict
vitest pnpm exec vitest run packages/types/ Test Files 180 passed (180) · Tests 4101 passed (4101)
vitest pnpm exec vitest run packages/components/ packages/types/ Test Files 446 passed (446) · Tests 6539 passed (6539)
vitest pnpm exec vitest run examples/schema-catalog/ Test Files 31 passed (31) · Tests 2151 passed (2151)
vitest pnpm exec vitest run examples/schema-catalog/ packages/core/ packages/react/ 262 files · 6336 tests (the one failure it first reported was the objectui#9254 live control this PR supersedes; green after)
tsc turbo run type-check --filter='...@object-ui/types' — the DOWNSTREAM consumer closure 77 successful, 77 total
build turbo run build --filter='!@object-ui/site' 43 successful, 43 total
gate check:doc-snippets exit 0 — every covered snippet compiles against the built types
gate check:doc-examples exit 0 — every covered @example compiles or fails as its ledger row declares
gate check:doc-types exit 0 — 188 docs, 1107 blocks, 897 type literals judged; every documented component type is registered
gate check:doc-fences · check:doc-example-ids exit 0
gate check-changeset-presence.mjs exit 0 — 25 source files of 1 released package, 1 changeset
gate changeset:check (fixed group + no-major) exit 0 — no changeset declares major
gate check:control-bytes exit 0 — 7,449 tracked text files
gate check:new-line-citations 0 new cross-file line citations (every docblock cites a symbol or an expression, never a line address)
gate check:handler-key-reads exit 0 — 105 arms, 212 registrations, 59 reachable handler reads, 0 unjudged
gate check:spec-symbols · check:action-forward-parity · check:designer-field-key-parity · check:readme-exports · check:sdui-registration-pins · check:dist-completeness exit 0
gate check-governed-queue-guard.mjs --test ✅ NOT GOVERNED — 35 paths, 0 matched
lint pnpm --filter @object-ui/types lint exit 0 — 280 problems, 0 errors
lint eslint . --no-inline-config --format json over the WHOLE population 4,877 files selected by eslint's own config. The 35 files this branch touches carry 0 errors and 98 warnings, every one no-explicit-any and none on a line this branch added (checked against the diff's added-line set). Repo totals 95 errors / 13,008 warnings, all outside this diff. No narrowing argument needed — the full population was read.

Ablation — BOTH faces, BOTH readers, and leg 2 is why both are reported

Each leg prechecks the file's git hash-object against its HEAD blob, mutates, proves the mutation on disk by counting the marker, runs vitest AND tsc, and restores with git checkout HEAD -- ABSOLUTE_PATH proved by an empty git diff HEAD — never by an exit code. A trap … EXIT INT TERM carries the restore on every exit path.

leg mutation on-disk proof vitest tsc (@object-ui/types type-check)
baseline — both files == HEAD blob GREEN 631/631 exit 0
1 — zod face delete DialogSchema's children refusal arm refusal markers in the file 18 → 17; 8 lines removed RED — 4 failed / 627 passed RED — 2 errors, both TS2322 in zod-mirror-parity.test.ts's typed ledger
2 — TS face delete DialogSchema's children?: never children?: never in overlay.ts 9 → 8 GREEN — 631 passed (631) RED — TS2578 Unused '@ts-expect-error' directive plus a TS2322 ledger error
restore — git diff HEAD empty for both files GREEN 631/631 exit 0

⭐ Leg 2 is the whole reason both readers are reported — the standard PR objectui#9254 set. The identical mutation is invisible to vitest (?: never is erased before a test runs) and loud under tsc. Read through vitest alone, "the pin test covers it" would have been recorded as measured when it was NOT MEASURED. Leg 1 lit a second independent reader as well: the parity ledger is a TYPED table, so deleting a mirror arm fails compilation, not just assertions.

Cross-package reverse validation — the consumer reads the rebuilt .d.ts, not a cache

A temporary probe in packages/components authoring { type: 'dialog', children: [...] } as a DialogSchema turned pnpm --filter @object-ui/components type-check RED with TS2322: Type '{ type: string; content: string; }[]' is not assignable to type 'undefined' — the narrowing arriving across a package boundary through the built types. Removing the probe returned exit 0, and git status is empty: the probe was never committed.

⚠️ Merged origin/main — the predicted conflict, and how it was resolved

main moved to 20b507aff0 while this branch was in flight (objectui#9254, objectui#9258, objectui#9259 landed). Merged, never rebased: git merge origin/main, merge commit 502660a19. No history on this branch was rewritten and nothing was force-pushed.

One conflict, and it is the one the section above predicted: examples/schema-catalog/test/overlay-trigger-mirror-6939.test.tsx, where objectui#9254 rewrote the tooltip half of one it block and this PR rewrote the context-menu half. Resolved by keeping BOTH refusals, exactly as this body said to: objectui#9254's live control ended on its own terms — it said the control stands until "a cross-package sweep", and objectui#9256 is that sweep — so the reading about tooltip is now kept honest by the key-scoped control (the keys both renderers DO read still parse) rather than by context-menu staying permissive.

Nothing else conflicted. The two cards narrow disjoint declarations, so packages/types's four shared files auto-merged, and the tombstone.zod.ts import lists merged into the union (aliasKeyRefusal from objectui#9254 beside retirementTombstone from this card). A duplicate-member scan over every edited interface reports 0 duplicated body / children declarations. @object-ui/core's export surface (objectui#9258 added optionDisplayLabel) is untouched by this diff — this PR changes no file in packages/core. pnpm-lock.yaml is byte-identical across the merge (git diff over it is empty), so nothing generated needed regenerating; pnpm install re-ran clean anyway.

Re-verified on the merge commit 502660a19, from the committed tree

reader command verdict
build turbo run build --filter='!@object-ui/site' --concurrency=2 43 successful, 43 total
tsc turbo run type-check --filter='...@object-ui/types' — the downstream closure 77 successful, 77 total, 0 error TS lines
vitest pnpm exec vitest run packages/types/ packages/components/ examples/schema-catalog/ Test Files 478 passed (478) · Tests 8778 passed (8778)
gates check:doc-snippets · check:doc-examples · check:doc-types · check:doc-fences · check:doc-example-ids · check:control-bytes · check:new-line-citations · check:handler-key-reads · check:spec-symbols · check-changeset-presence · changeset:check all exit 0
gate check-governed-queue-guard.mjs --test ✅ NOT GOVERNED — 35 paths, 0 matched
lint eslint . --no-inline-config --format json over the WHOLE population 4,879 files selected by eslint's own config; the 35 files this branch touches carry 0 errors and 98 warnings, all no-explicit-any and none on a line this branch added; repo totals 95 errors / 13,006 warnings, all outside this diff

The ablation was re-run in full, because the merge touched both files its legs mutate. It reproduces identically, and the one number that moved is itself the proof the merge landed: the baseline count of children?: never in packages/types/src/overlay.ts is now 10, not 9 — objectui#9254's TooltipSchema tombstone is the tenth.

leg on-disk proof vitest tsc
baseline both files == HEAD blob GREEN 631/631 exit 0
1 — zod face refusal markers 18 → 17, 8 lines removed RED — 4 failed / 627 passed RED — 2× TS2322 in the parity ledger
2 — TS face children?: never 10 → 9 GREEN — 631 passed RED — TS2578 + a TS2322 ledger error
restore git diff HEAD empty for both GREEN 631/631 exit 0

Declared to CI, deliberately not run here

The full pnpm test, turbo run type-check across all 41 packages (only the downstream closure of @object-ui/types ran here, 77 tasks), and the rest of the lint.yml gate farm. Every gate that fires on THIS diff's shape was run locally and is in the table.


🤖 Generated with Claude Code

https://claude.ai/code/session_01UzHd6hDYatoDn17BuwKxnZ


Generated by Claude Code

…nderer reads neither (objectui#9256, family D)

Executes the objectui#8284 ruling (summon #17, decision batch #2, maintainer
verbatim 「同意」) for family D: every component schema narrows to the channel its
renderer actually reads and tombstones the other. These read NEITHER, so both
`body` and `children` become `?: never` on the TypeScript face and a by-name
refusal on the zod mirror, kept a MEMBER so the parity key sets stay equal.

A verdict of ABSENCE is not sound over a subset, so the compiler-API read-site
instrument was extended from one package to 46 programs — every workspace
package plus the apps and examples, 1,604 source files — and the generic
traversers were read directly: `SchemaRenderer` strips both channels out of the
props bag, and `validateSchema` recurses for validation only. 219 registrations
in 24 packages; 77 in family D, 20 of them outside `packages/components`.

Held out rather than guessed: the nine `type` names claimed by 2+ registrations
with different declarations, `InputSchema`, `AppComponentSchema`,
`DetailViewSchema`, and the `body` key of the three chatbot faces.

Four schema-catalog documents and three component reference pages authored
`children` on nodes that read `content`; they rendered empty and are corrected.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UzHd6hDYatoDn17BuwKxnZ
…the TS face declares

The held-out key's two faces disagree by design — `BaseSchema` types `body` as a
content channel, the mirror as `Record` of API params — so the TypeScript
control has to author the channel shape while the mirror control authors the
record. That difference IS the ledgered collision, and the comment now says so.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UzHd6hDYatoDn17BuwKxnZ
Brings in PR objectui#9254 (families A+B of the same ruling), objectui#9258 and
objectui#9259. One conflict, and it is the one this PR's body predicted: both
cards rewrite the same `it` block in
`examples/schema-catalog/test/overlay-trigger-mirror-6939.test.tsx`.

Resolved by keeping BOTH refusals. objectui#9254 left `context-menu` parsing
`children` as a deliberate live control and named the condition for that control
to end — "that verdict needs a cross-package sweep before it can be acted on".
objectui#9256 is that sweep, so the control is spent on its own terms; the
reading about `tooltip` is kept honest by the key-scoped control instead, which
asserts that the keys both renderers DO read still parse.

No other conflict: the two cards narrow disjoint declarations, and the
`tombstone.zod.ts` import lists merged into the union.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UzHd6hDYatoDn17BuwKxnZ
@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 51 chunks) 3115.7 KB 3134.8 KB
Main entry chunk (gzip) 144.3 KB 350 KB
Entry file index-BfD6t04J.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.69KB 6.21KB
app-shell (runtime-config.js) 20.68KB 7.36KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.06KB 3.86KB
auth (ActiveOrganizationStorage.js) 25.05KB 9.16KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.18KB 10.59KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.15KB 5.39KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.65KB 2.22KB
auth (SocialSignInButtons.js) 9.61KB 3.89KB
auth (UserMenu.js) 3.41KB 1.23KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.21KB 10.80KB
auth (createAuthenticatedFetch.js) 8.46KB 3.43KB
auth (index.js) 3.19KB 1.44KB
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) 26.08KB 7.56KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.49KB 2.64KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.05KB 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) 501.84KB 115.10KB
core (index.js) 8.52KB 3.41KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 211.58KB 58.68KB
fields (index.js) 247.91KB 62.51KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 1.22KB 0.64KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 8.87KB 3.64KB
i18n (index.js) 5.21KB 2.26KB
i18n (pickLocalized.js) 7.62KB 3.26KB
i18n (provider.js) 32.15KB 10.49KB
i18n (useDisplayLocale.js) 2.85KB 1.45KB
i18n (useObjectLabel.js) 34.34KB 9.17KB
i18n (useSafeTranslation.js) 5.60KB 2.33KB
layout (index.js) 38.84KB 10.95KB
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) 2.53KB 0.85KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 4.39KB 1.66KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 13.52KB 4.88KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.24KB 2.16KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.39KB 3.10KB
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) 14.81KB 3.63KB
plugin-calendar (index.js) 49.04KB 13.93KB
plugin-charts (index.js) 71.52KB 19.98KB
plugin-chatbot (index.js) 195.35KB 46.52KB
plugin-dashboard (index.js) 131.27KB 34.62KB
plugin-designer (index.js) 215.82KB 44.33KB
plugin-detail (index.js) 253.38KB 65.87KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 136.79KB 34.19KB
plugin-gantt (index.js) 166.95KB 41.04KB
plugin-grid (index.js) 211.62KB 57.50KB
plugin-kanban (index.js) 46.10KB 14.33KB
plugin-list (index.js) 112.59KB 27.66KB
plugin-map (index.js) 20.43KB 6.81KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 43.42KB 11.92KB
plugin-timeline (index.js) 30.10KB 8.74KB
plugin-tree (index.js) 9.55KB 3.32KB
plugin-view (index.js) 84.42KB 20.80KB
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.66KB 3.50KB
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) 94.03KB 31.02KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.63KB 2.18KB
react (schema-input.js) 4.25KB 2.04KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (codegen.js) 6.58KB 2.74KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 5.66KB 2.50KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (kanban-quick-add.js) 3.89KB 1.87KB
sdui-parser (parse.js) 25.28KB 7.80KB
sdui-parser (provenance.js) 3.66KB 1.82KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 14.82KB 4.99KB
types (ai.js) 0.20KB 0.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 2.87KB 1.00KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 2.93KB 1.49KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
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) 4.74KB 2.25KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 4.73KB 2.28KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 0.20KB 0.18KB
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) 5.05KB 1.93KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 14.27KB 5.47KB
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

…#9256)

`packages/plugin-calendar/README.md` stated that `CalendarViewSchema` "declares
13 keys of its own". Narrowing `body` and `children` to `never` made that 15,
and `readme-calendar-view-schema.test.ts` holds the prose to the interface —
which is the gate doing its job, on a figure no human would have re-checked.

⛔ Not a bare number swap. 15 counts two members an author can never write, so
the sentence next to it would have become the same defect one line over. The
paragraph now states both halves: 13 authorable keys, which are the ones the
listing below carries, plus two REFUSALS that are counted because the interface
declares them and omitted from the listing because the listing is the authorable
surface.

`content/docs/api/schema-reference.md` described `children` as "Alias for
`body`" in the shared `BaseSchema` table. Nothing folds one into the other at
any point — that sentence is the belief objectui#8284 exists to correct, and it
is the reference page an author reads before writing either key. Both rows now
say the types are `BaseSchema`'s and point at a new note that states the real
rule: the channels are two, which one a node renders is decided per component
and measured, and the other is tombstoned.

Enumerated rather than inferred: every `.md` / `.mdx` under `packages/`,
`content/`, `docs/`, `apps/` and `examples/` was scanned for count-shaped and
exhaustiveness-shaped prose about any of the 62 narrowed declarations. Those two
are the only live claims the narrowing moves; the one other numeric hit is a
dated audit of `AnyComponentSchema`'s union arms, which this card adds none to.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UzHd6hDYatoDn17BuwKxnZ
@github-actions github-actions Bot added documentation Improvements or additions to documentation plugin labels Sep 12, 2026
@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 51 chunks) 3115.7 KB 3134.8 KB
Main entry chunk (gzip) 144.3 KB 350 KB
Entry file index-BjIjwDXo.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.69KB 6.21KB
app-shell (runtime-config.js) 20.68KB 7.36KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.06KB 3.86KB
auth (ActiveOrganizationStorage.js) 25.05KB 9.16KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.18KB 10.59KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.15KB 5.39KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.65KB 2.22KB
auth (SocialSignInButtons.js) 9.61KB 3.89KB
auth (UserMenu.js) 3.41KB 1.23KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.21KB 10.80KB
auth (createAuthenticatedFetch.js) 8.46KB 3.43KB
auth (index.js) 3.19KB 1.44KB
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) 26.08KB 7.56KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.49KB 2.64KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.05KB 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) 501.87KB 115.12KB
core (index.js) 8.52KB 3.41KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 211.58KB 58.68KB
fields (index.js) 247.91KB 62.51KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 1.22KB 0.64KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 8.87KB 3.64KB
i18n (index.js) 5.21KB 2.26KB
i18n (pickLocalized.js) 7.62KB 3.26KB
i18n (provider.js) 32.15KB 10.49KB
i18n (useDisplayLocale.js) 2.85KB 1.45KB
i18n (useObjectLabel.js) 34.34KB 9.17KB
i18n (useSafeTranslation.js) 5.60KB 2.33KB
layout (index.js) 38.84KB 10.95KB
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) 2.53KB 0.85KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 4.39KB 1.66KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 13.52KB 4.88KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.24KB 2.16KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.39KB 3.10KB
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) 14.81KB 3.63KB
plugin-calendar (index.js) 49.04KB 13.93KB
plugin-charts (index.js) 71.52KB 19.98KB
plugin-chatbot (index.js) 195.35KB 46.52KB
plugin-dashboard (index.js) 131.24KB 34.61KB
plugin-designer (index.js) 215.82KB 44.33KB
plugin-detail (index.js) 253.38KB 65.87KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 136.79KB 34.19KB
plugin-gantt (index.js) 166.95KB 41.04KB
plugin-grid (index.js) 211.62KB 57.50KB
plugin-kanban (index.js) 46.10KB 14.33KB
plugin-list (index.js) 112.59KB 27.66KB
plugin-map (index.js) 20.43KB 6.81KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 43.42KB 11.92KB
plugin-timeline (index.js) 30.10KB 8.74KB
plugin-tree (index.js) 9.55KB 3.32KB
plugin-view (index.js) 84.42KB 20.80KB
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.66KB 3.50KB
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) 94.03KB 31.02KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.63KB 2.18KB
react (schema-input.js) 4.25KB 2.04KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (codegen.js) 6.58KB 2.74KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 5.66KB 2.50KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (kanban-quick-add.js) 3.89KB 1.87KB
sdui-parser (parse.js) 25.28KB 7.80KB
sdui-parser (provenance.js) 3.66KB 1.82KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 14.82KB 4.99KB
types (ai.js) 0.20KB 0.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 2.87KB 1.00KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 2.93KB 1.49KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
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) 4.74KB 2.25KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 4.73KB 2.28KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 0.20KB 0.18KB
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) 5.05KB 1.93KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 14.27KB 5.47KB
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

Copy link
Copy Markdown
Collaborator Author

Contract review — PR objectui#9261 @ head 44e3eb2e53 · ✅ CLEARED

domain:ui PM seat (os-tesla), R24. Review of record names this head; if the head moves, this review is void. This is the largest delivery of the round — 62 declarations narrowed, 37 files, +4257 / −26.

Verified here, not taken on report

check reading
CI at 44e3eb2e53 36/36 settled — 0 failing, 0 pending, and Test (shard 1/4), the one that was red, is green
check-clause2-carriers --pair 9261 ✓ "both carriers agree"
mergeable_state clean
the children-is-an-alias correction read in the diff — both rows rewritten, and the new children row names its own former error

⭐ The second stale claim is the catch of the round, and it is the one a number swap would have missed

I asked for an enumeration rather than an inference precisely so that a bare 15 → 13 would not close the card. What came back is better than the thing I was guarding against:

content/docs/api/schema-reference.md's shared BaseSchema table told every reader that children is "Alias for body."

⇒ that is not a documentation nit. It is the single sentence that most efficiently manufactures the defect objectui#8284 exists to name, sitting on the reference page an author consults before writing either key. Nothing folds one into the other at any point.

And the repair is done the right way — the new row does not merely state the truth, it records that it used to say otherwise:

⚠️ Not an alias — nothing folds one into the other at runtime, and this row used to say it was.

⭐ That sentence is worth more than the correction itself: a reader who remembers the old text learns that their belief came from here.

The README fix is not a number swap either

15 counted two members an author can never write. The README now states both halves — 13 authorable keys (the ones its listing carries) plus two refusals (counted because the interface declares them, omitted from the listing because the listing is the authorable surface) — with the reason and the card number. ⇒ the next reader can tell why two numbers are both correct, which is the thing a swap destroys.

I re-ran the enumeration independently, and it holds

I scanned every tracked .md / .mdx for count-shaped prose and checked each hit against the narrowed set. Two hits your report does not name, both cleared:

  • content/docs/plugins/plugin-calendar.mdx:270 — "the four keys above are the whole of the spec type" is about CalendarConfigSchema, not CalendarViewSchema, and the sentence explicitly scopes itself to the type rather than to what the renderer reads. Unaffected.
  • content/docs/components/feedback/toast.mdx:20 — "ToastSchema declares exactly five members — default, success, warning, error and info". ⚠️ Those are variant values, not schema keys. Measured: ToastSchema had 10 own declared keys before this PR, so that sentence was already false on its own terms. ⇒ pre-existing looseness, not a claim this PR falsifies, and ⛔ correctly out of scope. Worth a follow-up by whoever next touches that page; ⛔ not a reason to widen this one.

Your "exactly two live claims move" stands.

⭐ On the run you killed

Killing a 30-minute local pnpm test that was holding the shared verify lock with a sibling queued 751 seconds behind it was the right call, and declaring it NOT MEASURED rather than quietly dropping it is what makes it a reading. The tracing discipline matters too — by PID along the chain, ⛔ never by process name.

⭐ And your generalisation is correct and is going into this seat's rules: a long local run that holds a shared lock while emitting no progress is worse than the CI job it duplicates. CI's 4-shard Test job is the authority on the whole population, it is the reader that caught plugin-calendar, and it is green here. Duplicating it locally bought nothing and cost a sibling twelve minutes.

The merge state

You checked rather than chased, which is right: git diff --name-only HEAD...origin/main shows the three commits that landed during CI touch no file under packages/types, and the two they touch in packages/components are action-button.tsx / action-icon.tsx, whose UIActionSchema arm this card holds out. ⇒ no interaction, and behind is not a reason to wait since the queue rebuilds on current main.

The hold-outs stand

The three chatbot faces stay held out and the live control in the pin keeps proving body still parses there. objectui#8572 owns that ruling and now carries your three schema.requestBody read sites. ⛔ Nothing to do here.

Carriers

needs:contract-review cleared in one stroke on both limbs — PR objectui#9261 and card objectui#9256 — each read back after the write. ⚠️ Note the card stays open by design: this PR lands family D and objectui#9256 keeps the eleven registrations held out.


Generated by Claude Code

@os-tesla
os-tesla marked this pull request as ready for review September 12, 2026 10:20
@os-tesla
os-tesla added this pull request to the merge queue Sep 12, 2026
Merged via the queue into main with commit be50942 Sep 12, 2026
38 checks passed
@os-tesla
os-tesla deleted the claude/issue-9256-family-d-content-channel branch September 12, 2026 10:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants