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

fix(sdui-parser): the base-prop list is declared once, and the renderer's visibleWhen / hiddenOn / testId join it (objectui#11044) - #11072

Merged
objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/issue-11044-base-props-one-list
Sep 29, 2026
Merged

objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/issue-11044-base-props-one-list

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Fixes #11044
Clause-②: yes

Seat domain:ui#2, PM session https://claude.ai/code/session_011p7ikEivgXefNDaE5S5Uec, branch claude/issue-11044-base-props-one-list (PM claim 5885808433). Direction per triage 5883977635: one list, members 1 to 3, with member 2 as triage ruled it.

What this changes

validateTree kept a BASE_PROPS set, and generateDts kept a separate hand-written SduiBaseProps interface. They were two lists of the same thing, and they had drifted. The validator had 11 entries and the interface had 8. The interface lacked type (on purpose, because the tag name carries it), plus hidden and bind. So after PR objectui#11042 the validator accepted bind and hidden on every node, while the generated JSX types still refused both.

  • packages/sdui-parser/src/validate.ts: a new exported SDUI_BASE_PROPS is the one list. Each entry gives a BaseSchema member, a scope and the attribute's TypeScript type. BASE_PROPS (the every-node members) and a new WHERE_UNDECLARED_BASE_PROPS are derived from it. The name BASE_PROPS is kept because prose in other packages cites it.
    • Member 1. visibleWhen, hiddenOn and testId join as every-node members.
    • Member 2 (triage ruling). name, label, description, placeholder, data and ariaLabel join as where-undeclared members. The loop skips one of them only when the type declares no input of that name. Where one is declared, the declared input's lookup runs, type-mismatch included.
  • packages/sdui-parser/src/codegen.ts, member 3. The SduiBaseProps interface is emitted from SDUI_BASE_PROPS (every entry except type). A component that declares a where-undeclared member extends an Omit of SduiBaseProps over the keys it declares, so its declared type wins, as it does in the validator. Without the Omit, a declared type the base type does not admit is a TS2430 on the generated file. Reverse-verification leg D below measures this.
  • packages/sdui-parser/src/index.ts: exports SDUI_BASE_PROPS, plus the SduiBaseProp and SduiBasePropScope types.
  • packages/sdui-parser/scripts/gen-manifest.ts is not edited. It calls generateDts, so it follows. The generated files are not committed: buildArtifacts has no caller in this repo, and scripts/ is not in the package's files. What ships is generateDts itself, which is what the tsc pin compiles.
  • .changeset/11044-base-props-one-list.md: minor for @object-ui/sdui-parser (an accept set widens, and there are new exports).

Values of existing entries are unchanged. The every-node members that some registrations do declare (className, disabled, id, visible) still skip their declared lookup, as before. See the acceptance notes.

Pins

  • New packages/sdui-parser/src/__tests__/base-props-one-list-11044.test.ts (54 tests), against a synthetic manifest:
    • the generated SduiBaseProps block equals the list, entry for entry;
    • every entry draws nothing on a node that declares nothing, and four near-misses (testid, visibleIf, hiddenWhen, aria-label) still draw one unknown-prop, which is the lit control;
    • member 2: for each of the six keys, a type that declares it answers 424242 with type-mismatch, and a type that does not declare it draws nothing;
    • member 3: an in-memory tsc program over the generated .d.ts plus a page, mapped one statement per line. The .d.ts itself has zero diagnostics. A list element accepts bind, hidden, visibleWhen, hiddenOn, testId and an undeclared label, and refuses bindTo. A field element that declares data as an array refuses an object data (the declared type wins), while list accepts it (the base type is unknown).
  • New packages/components/src/renderers/__tests__/base-props-one-list-11044.test.tsx (4 tests), against the live registry of that package:
    • every list entry is a key of the BaseSchema zod shape, and body is the one member left out;
    • no registration declares visibleWhen, hiddenOn or testId, and none of the three draws a diagnostic naming it on any registered type;
    • for each where-undeclared key, every declaring registration keeps its type check and every other registration draws nothing naming the key.
  • packages/sdui-parser/src/__tests__/base-props-bind-hidden-11008.test.ts: the placeholder row's prose said the key "stayed OUT of the set". It now says placeholder is a where-undeclared member, and that the row goes red if the key is made every-node. The assertions are unchanged.

Fixture triage: consumer controls this change falsified

The consumer radius (every test importing @object-ui/sdui-parser, plus every test naming unknown-prop, generateDts or SduiBaseProps) had four red rows. Each one pinned exactly the branch member 2 moves:

  • examples/schema-catalog/test/pageheader-with-actions.test.tsx: the lit control added description to a page-header. That key is the retired alias of subtitle (objectui#3226, and the renderer stopped reading it in objectui#3789). The control now uses the near-miss subTitle. A new row pins that description now draws nothing there. This is the named cost of the ruling, so restoring the warning later has to be a deliberate change.
  • packages/plugin-detail/src/__tests__/detailSectionAuthoredHideEmpty-10485.test.tsx and detailSectionAuthoredIcon-9529.test.tsx: the lit control was name, a DetailViewSection member the block neither declares nor reads. It is now hideIfEmpty and iconName respectively. No DetailViewSection member can serve any more: the block leaves out only name and visible, and both are base props now.
  • packages/plugin-dashboard/src/__tests__/dashboardAuthoredInputs.test.tsx: dashboard declares label and description, so its interface now extends the Omit over those two keys. The regex reads that. Every per-key assertion is unchanged.

Measurements

Census through a temporary vitest probe, deleted after use and never committed. It loaded @object-ui/components, @object-ui/fields and all 19 plugin-* packages, plugin-tree by source path, so the registry held 519 known types. The card's probe loaded fewer plugin packages and read 488. The probe built the manifest with manifestFromConfigs and ran validateTree once per key per type, first with a well-typed value and then with 424242. Before is 480de81fd (the base). After is this branch.

key registrations declaring it types naming the key, well-typed value: before, after 424242: before, after
visibleWhen 0 519 unknown-prop, then 0 519 unknown-prop, then 0
hiddenOn 0 519, then 0 519, then 0
testId 0 519, then 0 519, then 0
placeholder 25 494 unknown-prop, then 0 494 unknown-prop + 25 type-mismatch, then 25 type-mismatch
name 13 506, then 0 506 + 13, then 13 type-mismatch
label 50 469, then 0 469 + 50, then 50 type-mismatch
description 55 464, then 0 464 + 55, then 55 type-mismatch
data 29 490 unknown-prop + 11 type-mismatch, then 11 type-mismatch 490 + 29, then 29 type-mismatch
ariaLabel 2 517, then 0 517 + 2, then 2 type-mismatch

Every declared type-mismatch survives, and no existing member's row moved. The 11 data rows after the change are declarations of object or code, which answer the probe's array value with a mismatch, as a declared input should.

tsc probes (strict, no skipLibCheck):

  • The card's probe (generateDts over a list with title and items, then a page). Before: bind, hidden, visibleWhen, hiddenOn, testId and label each give TS2322, and the declared control compiles. After: all of them compile. An added bindTo gives TS2322 with the hint "Did you mean 'bind'?".
  • generateDts over the real published manifest (getPublicConfigs() over the console's registration graph, 107 types). Before: one error, TS2430 on RecordAlertProps (see the acceptance notes). After: the same one error and no new one. 15 interfaces now extend the Omit. The file diff is 41 lines: 11 new SduiBaseProps members, and 15 changed extends lines.

Tests and gates

The union ran after the final commit, at HEAD 5b0996905:

  • pnpm exec vitest run packages/sdui-parser/ (20 files) plus the consumer radius (73 files: every test importing @object-ui/sdui-parser, every test naming unknown-prop / generateDts / SduiBaseProps, and the new components pin): 93 files, 1593 tests passed.
  • Eight changeset-state suites in scripts/__tests__ (check-changeset-*, changeset-polarity-census, check-pending-changeset-literals, check-control-bytes): 8 files, 330 tests passed.
  • Gates at HEAD, each exit 0: check-changeset-presence, check-control-bytes, check-changeset-no-major, check-pending-changeset-literals, check-new-cross-file-line-citations (0 new). check-governed-queue-guard --test over the 11 paths answers NOT GOVERNED.
  • pnpm exec eslint --no-inline-config --format json over the 10 changed code files gives 10 files, 0 errors, 0 warnings, and none ignored. eslint.config.js sets no type-aware parser options, so this diff cannot move the verdict on an untouched file.
  • type-check exits 0 for sdui-parser and components (after pnpm --filter '@object-ui/components^...' build), and for plugin-detail, plugin-dashboard and example-schema-catalog (after their dependency closures were built). tsc --listFilesOnly confirms that each package's test program holds the new or edited test files.
  • Also exit 0: check:phantom-deps, check:self-import, check:esm-specifiers, check:test-path-roots, check:unreferenced-sources, check-changeset-claims (report-only; the three pending bodies it names describe manifestFromConfigs in index.ts, which this change does not touch).
  • NOT MEASURED: check:readme-exports. It needs every package built, and on this tree it reports that its population collapsed. @object-ui/sdui-parser has no README.

Declared narrowing: the full pnpm test, the repo-wide pnpm lint and the full type-check farm are CI's.

Reverse verification

Each leg is one-off and committed-first. It uses objectstack's scripts/ablation-replace.mjs (the anchor must hit, and the blob change is checked), inside a script whose EXIT INT TERM trap restores the file. After each leg the file's blob equals HEAD and git diff HEAD is empty. The root vitest alias maps @object-ui/sdui-parser to its src, so each mutation reached the tests without a build. Each leg ran five files: both new pins, the 11008 sdui-parser pin, the dashboard pin and the schema-catalog pin.

  1. A, delete the visibleWhen entry. Anchor count 1 to 0, blob 7cc3d76d4634 to d2f4a57962a7. Result: 6 failed, 103 passed. Red rows: the list-coverage row, the visibleWhen accept row, the member-1 row, the tsc row, and in components the BaseSchema row and the all-registrations row.
  2. B, make placeholder every-node. Blob to f1d3a62400f0. Result: 3 failed, 104 passed. Red rows: the "six members" row, the .d.ts compile row (the FieldProps Omit string lost placeholder), and the 11008 placeholder type-check row. The member-2 it.each rows did not go red, because their population is derived from the list and shrank with it. The rows that pin the population caught the change.
  3. C, delete the where-undeclared skip line. Blob to aebc57218748. Result: 14 failed, 95 passed. Red rows: all six undeclared-case rows in both describe blocks, the components row, and the schema-catalog description row. The declared-case rows stayed green.
  4. D, drop the Omit. Blob ac39892e6250 to 36fc417b089d. Result: 2 failed, 107 passed. The .d.ts compile row received "Interface 'FieldProps' incorrectly extends interface 'SduiBaseProps'. Types of property 'label' are incompatible". The dashboard regex row went red too.
  5. E, codegen drops bind from its emission. This is a second list in effect. Blob to c4e5d1eab555. Result: 2 failed, 107 passed. Red rows: the SduiBaseProps equality row, and the tsc row for bind.
  6. F, cross-package type. In the components pin, 'where-undeclared' was changed to 'where-undeclard', and tsc -p tsconfig.test.json ran for components against the rebuilt sdui-parser dist. Result: TS2367 … the types 'SduiBasePropScope' and '"where-undeclard"' have no overlap, exit 2. The test program reads the rebuilt .d.ts. A first attempt at F quoted the lock command wrongly, and the wrapper refused it as a usage error before running anything. That was a no-op, not a measurement, and it was restored at once.

The direction was red in every leg, as predicted before each run.

For the objectstack save-gate port (objectstack-ai/objectstack#20578)

The port carries three things: SDUI_BASE_PROPS, the where-undeclared skip line in validateTree, and the list-driven SduiBaseProps / Omit emission in codegen.ts. No diagnostic code is added or removed. acceptsChildren, CHILD_LIST_KEY and the containment if are untouched, so the lockstep record's containment-predicate closure does not move.

Acceptance notes

  • The cost of member 2, named. On a type that does not declare one of the six keys, the parser tier no longer reports it, whether or not that type's renderer reads it. The measured instance is the one above: description on page-header, a retired alias that no renderer reads, used to draw unknown-prop and now draws nothing. How many undeclaring types actually read each key is NOT MEASURED (no census of read sites).
  • The generated .d.ts over the published manifest already fails tsc before this change, and still does. record:alert declares visible as boolean, string or object, while SduiBaseProps.visible is boolean, which gives TS2430 on RecordAlertProps. visible is an every-node member, so this change does not Omit it. Fixing it needs a decision about declared every-node members (below), so it is not fixed here.
  • Declared every-node members keep their silenced type check, as before. In the 519-type census, className is declared by 227 types, disabled by 24, id by 12 and visible by 1. Applying member 2's lookup to them would not be mechanical. disabled is declared boolean by those 24, while SchemaRenderer evaluates a predicate disabled for every node, so a declared-first check there would flag values the renderer honours. This is left as it was.
  • The JSX surface types visible, disabled and hidden as boolean, while BaseSchema also admits a predicate. hidden follows its two siblings, and each has a string predicate partner in the list (visibleWhen / visibleOn, hiddenOn, disabledOn).
  • Out of scope, per triage: a deprecation warning for visibleOn against the canonical visibleWhen.
  • Docs: no docs page or README describes the parser's base props. @object-ui/sdui-parser has no README, so none was edited.

Generated by Claude Code

…degen

`validateTree`'s `BASE_PROPS` and `generateDts`'s `SduiBaseProps` were two
hand-kept copies and had drifted: the validator accepted `bind` / `hidden`
while the generated JSX types refused both. Both now read the exported
`SDUI_BASE_PROPS`.

- `visibleWhen`, `hiddenOn` and `testId` join as `every-node` members.
- `name`, `label`, `description`, `placeholder`, `data` and `ariaLabel`
  join as `where-undeclared` members: a declared input of that name wins,
  type check included, and the generated interface `Omit`s it from the base.
- Consumer controls that used `name` / `description` as the undeclared key
  now use a near-miss; the page-header `description` silence is pinned as
  the named cost.

Claude-Session: https://claude.ai/code/session_011p7ikEivgXefNDaE5S5Uec
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

changeset-claim-re-read

⚠️ 3 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/5905-componentinput-inputtype-tombstone.md

  • names packages/sdui-parser/src/index.ts → packages/sdui-parser/src/index.ts — edited by this change

    The write was measured as a no-op before it was deleted, and re-measured on this branch's base rather than inherited from the card. A structural census over every inputs: array in the repository (211 regions, all tracked TS/TSX/JS sources) scores inputType at exactly ONE authoring site — the plugin-markdown registration — against name 953, type 969, label 966, description 194, enum 119, required 86 and binding 4 in the same pass over the same regions, so the instrument was not blind. The other 192 in-repo inputType hits are a DIFFERENT face: FormField.inputType (zod/form.zod.ts), the text-input renderer's prop, and SchemaBuilder.inputType, none of which sit on a ComponentInput. The publication path is unchanged and was re-confirmed: packages/sdui-parser/src/index.ts forwards exactly seven keys per input — name, type, of, required, enum, binding, description — so an authored inputType could not reach the published sdui.manifest.json even in principle.

.changeset/5905-componentinput-retire-constraint-keys.md

  • names packages/sdui-parser/src/index.ts → packages/sdui-parser/src/index.ts — edited by this change

    All four were declared on ComponentInput and read by nothing, on either path. No consumer reads them off a ComponentInput value, and the manifest serializer (packages/sdui-parser/src/index.ts) forwards exactly seven keys per input — name, type, of, required, enum, binding, description — so a value authored here could not reach the published sdui.manifest.json even in principle. Re-measured on this branch's merge-base rather than inherited from the card: a structural census over every inputs: array in the repository (219 regions, all tracked files) scores min 0, max 0, step 0 and placeholder 0, against name 926, type 926, description 161, enum 114 and required 87 in the same pass over the same regions — the instrument was not blind.

.changeset/7493-componentinput-retire-label-defaultvalue-advanced.md

  • names packages/sdui-parser/src/index.ts → packages/sdui-parser/src/index.ts — edited by this change

    No manifest ever published them, so no consumer could ever have read them. sdui-parser's serializer (packages/sdui-parser/src/index.ts) forwards exactly seven keys per input — name, type, of, required, enum, binding, description — so a value authored under any of the three never reached sdui.manifest.json, the generated JSX .d.ts, or a diagnostic; its boundary type has no slot for them; the registry's data-source seam reads name only; and neither the designer nor the app-shell inspectors consult registry inputs at all. A structural census over every inputs: array in the repository (re-measured on this change's merge-base, name 951 and type 951 as the controls) counted the writes: label 908, defaultValue 245, advanced 9 — written on nearly every registration, read by nothing.

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.

Compared the checked-out tree with 51c294958 (merge-base with origin/main): 10 file(s) changed outside .changeset/, read against 1734 pending declaration(s) that publish a body (2338 pending in total). · run

@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 330 chunks) 3107.1 KB 3149.4 KB
Main entry chunk (gzip) 149.3 KB 350 KB
Entry file index-CsiePEMZ.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.13KB 7.95KB
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) 558.92KB 133.97KB
core (index.js) 9.94KB 3.94KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 227.99KB 63.22KB
fields (index.js) 261.01KB 66.28KB
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.40KB 12.91KB
i18n (translateFn.js) 0.20KB 0.18KB
i18n (useDisplayLocale.js) 3.52KB 1.76KB
i18n (useObjectLabel.js) 34.35KB 9.18KB
i18n (useSafeTranslation.js) 5.60KB 2.33KB
layout (index.js) 39.32KB 11.09KB
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.58KB 4.90KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.25KB 2.17KB
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.01KB 3.93KB
plugin-calendar (index.js) 52.33KB 15.01KB
plugin-charts (index.js) 84.09KB 22.93KB
plugin-chatbot (index.js) 198.22KB 46.97KB
plugin-dashboard (index.js) 137.68KB 36.71KB
plugin-designer (index.js) 215.78KB 44.42KB
plugin-detail (index.js) 233.54KB 61.80KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 168.05KB 43.03KB
plugin-gantt (index.js) 171.12KB 42.43KB
plugin-grid (index.js) 228.33KB 62.59KB
plugin-kanban (index.js) 48.43KB 15.11KB
plugin-list (index.js) 115.86KB 28.64KB
plugin-map (index.js) 22.90KB 7.62KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 44.04KB 12.21KB
plugin-timeline (index.js) 31.07KB 9.15KB
plugin-tree (index.js) 11.21KB 3.89KB
plugin-view (index.js) 89.77KB 22.55KB
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) 119.16KB 39.05KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.03KB 1.86KB
react (schema-input.js) 4.25KB 2.04KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (body-dialect.js) 4.78KB 2.09KB
sdui-parser (codegen.js) 8.61KB 3.45KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 6.17KB 2.73KB
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.84KB 1.90KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 22.61KB 7.40KB
types (ai.js) 4.39KB 2.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 3.83KB 1.49KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 3.19KB 1.62KB
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.26KB
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) 5.05KB 1.93KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 19.30KB 6.99KB
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: 5b09969051914b7d166e70d912a7db0ee4d768a0
Local-runs: none

Inputs: card #11044 (body; triage 5883977635; claim 5885808433; os-dev-report 5887003164), PR #11072 (body, its 11-file list, the net diff against main at the head), the head's check-runs (filter=latest) and, for the re-read the changeset-claim-re-read bot addresses to the seat, the pending .changeset/*.md bodies at the head. Every file quoted below was read at the base 827550193 or at the head through contents/PATH?ref=SHA; nothing was checked out, built or run.

Check-runs on the head, read 2026-09-29T09:11Z with filter=latest: 43 runs, all completed — 40 success, 3 skipped (dependabot, Test (coverage), Test (coverage shard matrix)), 0 failure, 0 cancelled. Every derived gate family is green: Type Check, Lint, the eight Test shards and Test (dist pins), Build & E2E, Changeset Declaration, Changeset Bump Policy, Changeset Fixed Group Check, Changeset Claim Re-read, README Export Check, Line Citation Gate, Governed Surface Queue Guard, Spec Main Shape Gate, Bundle Analysis. Their conclusions are the gate verdicts for this record; the findings below are about pending CHANGELOG prose no gate reads.

① Derived judgments

Judged member by member against triage 5883977635:

  • One list, derived once — right. packages/sdui-parser/src/validate.ts exports SDUI_BASE_PROPS (name, scope, tsType per BaseSchema member); BASE_PROPS and WHERE_UNDECLARED_BASE_PROPS are derived from it by scope, and codegen.ts imports the same list for emitBaseProps() and YIELDING_BASE_PROPS. The hand-kept SduiBaseProps literal in codegen.ts is deleted; no second list remains. scripts/gen-manifest.ts is untouched and still writes generateDts(manifest) to sdui-intrinsics.d.ts, so the producer follows without an edit (the dev's zone-2 correction is right).
  • Member 1 — right. visibleWhen, hiddenOn, testId are every-node entries, so validateTree skips them before the declared-input lookup and SduiBaseProps carries them. Premises hold at the head: BaseSchema declares all three (z.string()), SchemaRenderer's hide chain evaluates visibleWhen first and hiddenOn after hidden, and it strips testId and re-emits it as data-testid; the components pin holds that no live registration declares any of the three, so the ruling's "never silence a declared type check" is not touched by this member.
  • Member 2 — right, as ruled. name, label, description, placeholder, data, ariaLabel are where-undeclared entries. The validator's new line skips such a key only when byName has no input of that name; where one is declared the key falls through to the existing binding / expression / checkType / checkMemberTypes path, so a declared typed input wins with its type-mismatch. Pinned on a synthetic manifest (six keys, declared vs undeclared, 424242) and on the live components registry (every declaring registration keeps type-mismatch or invalid-enum, every other draws nothing naming the key). No declared type check is silenced by this diff.
  • Member 3 — right. SduiBaseProps is emitted from the list (every entry but type), and an interface that declares a where-undeclared key extends an Omit of SduiBaseProps over exactly the keys it declares, so the declared type wins there too and a declared type the base one does not admit is no TS2430. The in-memory tsc pin compiles the generated .d.ts with zero diagnostics and holds the card's probe: bind, hidden, visibleWhen, hiddenOn, testId and an undeclared label compile on the list tag, a near-miss bindTo is refused, and a declared array data refuses an object where the base unknown accepts it.
  • visibleOn deprecation warning — right (not added). Out of scope per triage; the diff adds no diagnostic code.
  • Accept-set changes the diff implies (all named right by the PR body and changeset): validator: three keys silent on every type (each was unknown-prop on every registered type); six keys silent on every type that does not declare them (494 / 506 / 469 / 464 / 490 / 517 of 519 by the dev's census); no existing key's verdict narrows. Generated JSX types: SduiBaseProps gains 11 members (visibleWhen, hidden, hiddenOn, bind, testId and the six), and 15 published interfaces change their extends to the Omit form. Public exports: SDUI_BASE_PROPS, SduiBaseProp, SduiBasePropScope added; nothing removed or retyped. The tsType values match BaseSchema where they are new (label / description plain string or inline locale map, ariaLabel plain string or keyed reference with key, defaultValue?, params?, data any); hidden is typed boolean following its two siblings, see ③.
  • The four consumer controls (dev deviation 1) — each keeps a real control. examples/schema-catalog/test/pageheader-with-actions.test.tsx: the lit control is now subTitle, a near-miss of the declared subtitle (the page-header registration declares title, subtitle, icon, actions, children; no subTitle, no description), so it still draws unknown-prop from the app's manifest and goes green only if the undeclared-key branch stops running; the added row pins description drawing nothing, which is the ruled cost stated as a deliberate pin. plugin-detail detailSectionAuthoredHideEmpty-10485 and detailSectionAuthoredIcon-9529: hideIfEmpty and iconName are declared by no input of detail-section (its inputs are title, description, icon, fields, collapsible, defaultCollapsed, columns, showBorder, headerColor, hideEmpty) and are in no base-prop scope, so each still draws exactly one unknown-prop naming it from the live manifest in the same run. plugin-dashboard dashboardAuthoredInputs: dashboard declares label then description (its exact published input list is pinned in the same file), so the regex now demands the Omit form in that order and every per-key assertion is unchanged; a regression to the plain extends fails the row.

② Semver level

  • .changeset/11044-base-props-one-list.md declares @object-ui/sdui-parser: minor; the PR carries Clause-②: yes. Right: an accept set widens on two published faces (the validator and the generated JSX types) and three exports are added, so yes with at least minor is the rule's own arm; no major, no skip-changeset. @object-ui/sdui-parser is in the fixed group, so the one entry bumps the group; the three consumer packages changed only test files, and the Changeset Declaration gate on the head is green.
  • The body names what now passes that did not: the three keys on every node (validator and types), bind and hidden in the types, the six keys where undeclared (validator explicitly; types through the Omit sentence and the closing paragraph that every entry carries its JSX type), the named cost (description on page-header now silent), and the new exports. It contains no model identifier.
  • Re-read of the three pending bodies the bot names (5905-componentinput-inputtype-tombstone, 5905-componentinput-retire-constraint-keys, 7493-componentinput-retire-label-defaultvalue-advanced): each cites packages/sdui-parser/src/index.ts for the seven-key serializer; at the head manifestFromConfigs still forwards exactly name, type, of, required, enum, binding, description, the diff touches that file only to add three exports, and the census sentences are anchored to their own merge-base. None is made false. 7493's "never reached ... the generated JSX .d.ts" is about ComponentInput.label, which codegen.ts still never reads; the new SduiBaseProps.label comes from the list, not from an input's metadata.
  • The bot states it does not cover a claim spelled as a symbol. Read against that gap, three further pending bodies carry a sentence this diff makes false — findings 1 to 3 below. They publish verbatim into the same release as this changeset (all pending in the same fixed group), and the dev's own test edits show each was measured to go false.

③ Boundary flags

  • Dev: the cost of member 2 (undeclaring types silent on the six keys whether or not their renderer reads them; measured on page-header description; a per-registration refusal of a withheld base key would be a new rule). Answered: this is the cost triage 5883977635 chose with "base prop only on types that do not declare it", it is pinned, and the PR body and changeset name it. The census of read sites is NOT MEASURED and the refusal-by-registration idea is a new rule: escalated to the seat to route as the dev's class-c out-of-scope finding, not a condition on this PR.
  • Dev: RecordAlertProps TS2430 on the real public manifest (record:alert declares visible as boolean, string or object; SduiBaseProps.visible is boolean). Answered: pre-existing at the base and identical at the head, visible is every-node and gets no Omit; not this PR's. Escalated to the seat for filing (class a, named producer generateDts).
  • Dev: declared every-node members keep their silenced declared type check (className 227, disabled 24, id 12, visible 1). Answered: pre-existing, outside the six keys the ruling names, and a uniform declared-first rule would flag the predicate disabled the renderer honours, so it is a new decision. Noted; no action on this PR.
  • Dev: the JSX surface types visible, disabled and hidden as boolean while BaseSchema also admits a predicate. Answered: pre-existing for the first two; hidden goes from refused to boolean, a pure widening, and a string predicate stays refused by the types while the validator accepts it. Consistent with the siblings; widening the three to admit the string limb is a separate decision. Noted for the seat.
  • Dev: check:readme-exports NOT MEASURED locally. Answered by the head's README Export Check: success.
  • Dev deviation: census population 519 vs the card's 488. Immaterial; the card's counts were a different plugin load set and every row moved in the ruled direction.
  • Dev deviation: commit trailer form. Outside this record's input set; no bearing on the contract.
  • Reviewer note (no action): YIELDING_BASE_PROPS is applied over the emitted inputs (non-slot arms), so a registration that declared one of the six keys as a slot-only input would keep the base type in the .d.ts while the validator treats it as declared. No such registration is in the dev's live census; recorded so the edge is not read as unexamined.
  • open_questions: none declared.

Findings

  1. .changeset/11008-bind-base-prop.md (pending, @object-ui/sdui-parser: patch), last paragraph: "placeholder is also a BaseSchema member that validateTree does not count as a base prop, and it is left as it was. Some registrations declare it as a typed input, and a base prop skips the declared-input lookup, so adding it would silence their type-mismatch." After this diff validateTree counts placeholder as a base prop wherever a type declares no input of that name, and it was added without silencing any declared type-mismatch. Both halves publish false beside this PR's own entry in the same CHANGELOG. The dev rewrote the matching prose in base-props-bind-hidden-11008.test.ts and left the changeset copy.
  2. .changeset/9529-detail-section-declares-icon.md (pending, @object-ui/plugin-detail: minor), Clause-② paragraph: "No other key's verdict moves: name, which the block neither declares nor reads, still draws unknown-prop." After this diff name on detail-section draws nothing (a where-undeclared base prop on a type that declares no name input). The dev replaced that exact control with iconName because it went red, and left the sentence.
  3. .changeset/10485-detail-section-declares-hideempty.md (pending, @object-ui/plugin-detail: minor), Clause-② paragraph: the same sentence, "name, which the block neither declares nor reads, still draws unknown-prop." False for the same reason; the dev replaced that control with hideIfEmpty and left the sentence.

Remedy, prose-only and frontmatter untouched: correct each body to record that placeholder (1) and name (2, 3) became where-undeclared base props in the follow-up objectui#11044 change, the way 11008's own body records superseding the objectui#10981 wording and 5905-componentinput-retire-constraint-keys records inputType's follow-up. check-changeset-overwrite.mjs reports such a correction as its case 2. Everything else in this diff stands as judged above; a re-review of the corrected head is a re-read of three paragraphs.

Implemented-by: claude/issue-11044-base-props-one-list
Reviewed-by: session_011p7ikEivgXefNDaE5S5Uec

VERDICT: FAIL


Generated by Claude Code

…se-props-one-list

Claude-Session: https://claude.ai/code/session_011p7ikEivgXefNDaE5S5Uec
Co-authored-by: Claude <noreply@anthropic.com>
…prop move

`11008-bind-base-prop`, `9529-detail-section-declares-icon` and
`10485-detail-section-declares-hideempty` each carried a sentence this
branch makes false: `placeholder` is no longer outside the base props, and
`name` on `detail-section` no longer draws `unknown-prop`. Each sentence is
scoped to its own change and followed by a dated objectui#11044 note.
Front matter is byte-identical.

Claude-Session: https://claude.ai/code/session_011p7ikEivgXefNDaE5S5Uec
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 330 chunks) 3108.1 KB 3149.4 KB
Main entry chunk (gzip) 149.3 KB 350 KB
Entry file index-DrNOcHa7.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.13KB 7.95KB
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) 558.92KB 133.97KB
core (index.js) 9.94KB 3.94KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 227.99KB 63.22KB
fields (index.js) 261.01KB 66.28KB
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.40KB 12.91KB
i18n (translateFn.js) 0.20KB 0.18KB
i18n (useDisplayLocale.js) 3.52KB 1.76KB
i18n (useObjectLabel.js) 34.35KB 9.18KB
i18n (useSafeTranslation.js) 5.60KB 2.33KB
layout (index.js) 39.32KB 11.09KB
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.58KB 4.90KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.25KB 2.17KB
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.01KB 3.93KB
plugin-calendar (index.js) 52.33KB 15.01KB
plugin-charts (index.js) 84.09KB 22.93KB
plugin-chatbot (index.js) 198.22KB 46.97KB
plugin-dashboard (index.js) 137.68KB 36.71KB
plugin-designer (index.js) 215.78KB 44.42KB
plugin-detail (index.js) 233.54KB 61.80KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 169.60KB 43.32KB
plugin-gantt (index.js) 171.12KB 42.43KB
plugin-grid (index.js) 228.33KB 62.59KB
plugin-kanban (index.js) 48.43KB 15.11KB
plugin-list (index.js) 115.86KB 28.64KB
plugin-map (index.js) 22.90KB 7.62KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 44.04KB 12.21KB
plugin-timeline (index.js) 31.07KB 9.15KB
plugin-tree (index.js) 11.21KB 3.89KB
plugin-view (index.js) 89.77KB 22.55KB
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) 119.16KB 39.05KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.03KB 1.86KB
react (schema-input.js) 4.25KB 2.04KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (body-dialect.js) 4.78KB 2.09KB
sdui-parser (codegen.js) 8.61KB 3.45KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 6.17KB 2.73KB
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.84KB 1.90KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 22.61KB 7.40KB
types (ai.js) 4.39KB 2.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 3.83KB 1.49KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 3.19KB 1.62KB
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.26KB
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) 5.05KB 1.93KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 19.30KB 6.99KB
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: 125039b4c1c2eef78214596b33422b29e6d0e769
Local-runs: none

Re-review after record 5887203106 (FAIL at 5b0996905 on three pending changeset bodies). Inputs: card #11044 (body; triage 5883977635; claim 5885808433; os-dev-reports 5887003164 and 5887399089), PR #11072 (its body, unchanged since round 1; its 14-file list; the net diff against main at the head), the two commits since 5b0996905 read through commits/SHA with their own file lists, the head's check-runs (filter=latest), and the pending .changeset/*.md bodies at the head. Every file was read through contents/PATH?ref=SHA; nothing was checked out, built or run.

Check-runs on the head, read 2026-09-29T09:31Z with filter=latest: 43 runs, all completed — 40 success, 3 skipped (dependabot, Test (coverage), Test (coverage shard matrix)), 0 failure, 0 cancelled, none in progress. Green by name: Type Check, Lint, Test (aggregate), the eight Test shards, Test (dist pins), Build & E2E, Build Docs, Bundle Analysis, Changeset Declaration, Changeset Bump Policy, Changeset Fixed Group Check, Changeset Claim Re-read, Changeset Overwrite Report, README Export Check, Line Citation Gate, Control Byte Scan, Governed Surface Queue Guard, Spec Main Shape Gate, Pre-Install Import Graph Check, Inert vi.mock Specifier Check, Shell Escape Residue Scan, Action Ref Convention, Live E2E (informational), the six doc checks (Doc Component Type Check, Doc Example Id Check, Doc Fence Language Check, Doc Snippet Type Check, Docs Route Eager Closure Check, Internal Docs Link Check), the three skill checks (Skill Eval Token Check, Skill Example Check, Skill Guide Path Check) and label. Their conclusions are the gate verdicts for this record.

① Derived judgments

  • What changed since 5b0996905, re-derived. Two commits. 1f6353a47 is a merge — parents 5b0996905 and 51c294958, the tip of origin/main and now the PR's base — not a rebase. Its first-parent diff is 56 files from main (form chrome i18n, gantt and calendar DST, app-shell sign-in and flow-inspector work, the locale packs, packages/types/src/objectql.ts, six .changeset files): none under packages/sdui-parser/, none of this PR's seven pin files, not SchemaRenderer.tsx, not base.zod.ts, not the page-header, detail-section or dashboard registrations, and none of the three corrected bodies. 125039b4c (parent 1f6353a47) touches exactly .changeset/11008-bind-base-prop.md (+3, -1), .changeset/9529-detail-section-declares-icon.md (+11, -2) and .changeset/10485-detail-section-declares-hideempty.md (+10, -2). The PR's net file list against the new base is the round-1 eleven — every blob sha byte-identical to round 1 — plus those three. So the code judged right in 5887203106 (one list derived once; members 1 to 3 as triage 5883977635 ruled; no visibleOn warning; the four consumer controls each real) is unchanged, and those judgments stand as written.
  • The three corrections, read in full at the head: every sentence is now true. The frontmatter of each is byte-identical between the two heads (same md5 of the leading --- block, my own reading, matching the dev's claim). 11008: the placeholder paragraph now opens "At this change," and its mechanism is past tense ("a base prop skipped the declared-input lookup, so adding it would have silenced their type-mismatch") — true as the reading of objectui#11008, where every base prop was every-node. Its dated note (2026-09-29, objectui#11044) says the six subset-declared members join as where-undeclared members, a declared input wins and keeps its type-mismatch, and no declared type check is silenced — each true of this head; "later in this same release" holds because both bodies are pending in the same fixed group. 9529 and 10485: "No other key's verdict moves at this change: name … still draws unknown-prop" is scoped to each change and true there; each dated note says name becomes a where-undeclared base prop of the validator, detail-section declares no name input (its ten inputs are title, description, icon, fields, collapsible, defaultCollapsed, columns, showBorder, headerColor, hideEmpty), so an authored name now draws nothing although the block still does not read it (the adapter folds declared names only) — true. The shape is the repo's own "Dated note … Later in this same release … the objectui#NNNN entry states what ships" convention (10392 carries one for objectui#10393; 102 pending bodies use it) and the way 11008 itself supersedes objectui#10981.
  • Spot-checks of the dev's "no sentence made false" list — eight read at the head, three asked. 10981-silence-clause-parser-tier-closure: its four clauses are mode on form, events on timeline, bind on data-table (already superseded by 11008's own body) and exportOptions on object-grid; none of the nine keys. 8626-detail-section-authored-node: its unknown-prop is for section, not a base prop, and its "superseded in this release by objectui#9529 and objectui#10485" paragraph is intact. 10392-registration-record-source-inputs: the data sentence is past tense and scoped "At this change"; object-map and object-gantt declare data, so the declared input wins, and the bare map is retired. 8313 and 8314: object-kanban and object-calendar declare data. dashboard-declare-honoured-inputs: label and description are declared; its unknown-prop clause is past tense. text-input-i18n-label-arms-5717, 10935 (modified by the merge) and 10993: declared arms whose type-mismatch still runs. All as the dev states.
  • Independent sweep beyond the dev's list. A paragraph-level scan (paragraphs joined first, because bodies are hard-wrapped and a key and its unknown-prop can sit on different lines) of every pending body at the head — 2,344 files; the four added and two modified by the merge and the nineteen the round-1 index lacked were read at 125039b4c — for a paragraph holding one of the nine keys (visibleWhen, hiddenOn, testId, name, label, description, placeholder, data, ariaLabel) beside unknown-prop, has no prop, base-prop, BASE_PROPS, SduiBaseProps or validateTree wording, the three corrected bodies and 11044 excluded. Seven paragraphs, none made false: the five named above plus 6950-binding-framework-injected-input (ComponentInput.description, input metadata the serializer forwards, not a node key) and issue-5709-unconsumed-widget-option-warning (the widget-options description key; checkDashboardWidgetOptions is untouched). The three bot-named bodies (5905 twice, 7493) were cleared in round 1 and manifestFromConfigs still forwards the same seven keys.

② Semver level

  • Unchanged from round 1 and right: .changeset/11044-base-props-one-list.md (blob identical to round 1) declares @object-ui/sdui-parser: minor, the PR carries Clause-②: yes, and the net diff against the new base publishes the same accept-set changes as round 1 and no more.
  • The three corrections are prose-only with declarations unchanged — the shape the changeset-claim-re-read bot asks for and check-changeset-overwrite.mjs reports as its case 2. On the head, Changeset Overwrite Report, Changeset Bump Policy, Changeset Fixed Group Check, Changeset Declaration and Changeset Claim Re-read are all green.

③ Boundary flags

  • Round-1 findings 1 to 3: closed by 125039b4c, as read above.
  • Round-1 boundary answers (the ruled cost of member 2; the pre-existing RecordAlertProps TS2430; the declared every-node members; hidden typed boolean beside its siblings; the slot-only edge): unchanged, and the escalations to the seat stand as written in 5887203106.
  • Dev deviations this round: the worktree was recreated at 5b0996905 (no bearing); the merge commit's message was amended before its first push — the merge's two parents and the byte-identical PR blobs confirm no history rewrite and no force-push. open_questions: none. out_of_scope_findings: none.
  • mergeable_state: blocked is the draft's expected state, not a gate.

Implemented-by: claude/issue-11044-base-props-one-list
Reviewed-by: session_011p7ikEivgXefNDaE5S5Uec

VERDICT: PASS


Generated by Claude Code

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review September 29, 2026 09:35
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Sep 29, 2026
Merged via the queue into main with commit c80236e Sep 29, 2026
45 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-11044-base-props-one-list branch September 29, 2026 09:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

2 participants