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

feat(types,mobile)!: retire the MobileComponentConfig published type - #7526

Merged
os-project-manager merged 2 commits into
mainfrom
claude/issue-5942-mobilecomponentconfig-retire
Sep 3, 2026
Merged

os-project-manager merged 2 commits into
mainfrom
claude/issue-5942-mobilecomponentconfig-retire

Conversation

@claude

@claude claude Bot commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #5942

Retires MobileComponentConfig via the ADR-0049 enforce-or-remove route, following the MobileOverrides retirement pattern (objectui#4919, PR objectui#5941) that triage named. This narrows a published surface, so the PR is a draft carrying needs:contract-review and is for the docket to clear, not for me to land.

The card is dated 2026-08-24. Every premise was re-measured against origin/main at a27d153c2 before anything was deleted, and all of them hold.

Patch round: what contract review caught, and the fix

Review returned FAIL (narrow) on c0eb3eb2f and it was right. The defect was in this PR's own doc edit, on the very surface it claims to protect.

The retirement note is a // line comment, which TypeScript's declaration emit strips. The rewritten JSDoc on MobileResponsiveConfig pointed at it with "see the RETIRED note below", and JSDoc is emitted. So in the published packages/types/dist/mobile.d.ts the pointer survived and its target did not — one dangling reference traded for another, this time on the published surface. The same paragraph said "widened into that PR", which no external reader of a .d.ts can resolve. Reproduced independently before fixing, on the review tree at c0eb3eb2f:

packages/types/dist/mobile.d.ts
  grep -c 'see the RETIRED note below'   = 1     <- emitted
  grep -c 'RETIRED (objectui#5942'       = 0     <- target not in the published file

Why I did not catch it myself, stated plainly: my after-leg dist measurement checked only the two index.d.ts barrels and reported "0/0". objectui#5941, the precedent I was copying, measured all of packages/*/dist. Having changed the comment mechanism — moving explanation into a live type's JSDoc — I silently lost the property that caliber was protecting. Narrowing a measurement without declaring it moves the evidence away from where the defect is.

The fix (37f82c558) rewrites the JSDoc so every reference resolves for someone reading only the .d.ts — objectstack#4115, objectui#5942, PR objectui#7526, objectui#7519, and a repo-relative test path, each verified present in the emitted file — and it no longer names the retired symbol at all. That is deliberately not a declared divergence from objectui#5941: dropping the name restores that PR's property exactly, so the retired name now occurs zero times across every emitted declaration rather than only in the barrels. It also drops "for objectui's mobile component overrides" from the same block, which named the concept objectui#4919 retired and so was stale twice over.

Two separate measurements, because "no reader in the repo" and "not published" are different facts

The card says "four mentions, all barrels/self-references". That phrasing is consistent with the type being on the published surface, and it is — measured, not inferred.

Table 1 — in-repo readers: zero

Read-shape probes over the whole tree, all file types. Every zero is paired with a control lit in the same run, because a probe whose query shape is wrong returns zero too.

Probe (shape, not bare word) MobileComponentConfig Control, same run
type annotation : S 0 ComponentSchema = 11
array S[] 0 ComponentSchema[] = 1
generic arg <S 0 Record = 815
extends S 0 BaseSchema = 159
implements S 0 any-implements = 21
cast as S 0 Record = 1053
union member | S 0 SchemaNode = 103
intersection & S 0 *Schema = 2
keyof / typeof S 0 keyof = 342
import specifier line 2 (self-lit: the two barrels)
declaration export interface S 1 any-declaration = 2316

Sibling objectstack checkout, case-insensitive, all file types: 0 hits, with ComponentSchema lit at 255 hits in the same run.

Bare-word counting would have been wrong here, which is exactly why the table is shaped this way. MobileComponentConfig has seven bare-word occurrences today, not four: objectui#4919's own retirement note and its pending changeset both name the type in prose.

That count depends on where you cut, so here is the cut. Three occurrences are load-bearing code — the declaration and the two barrel re-exports. A fourth is a JSDoc cross-reference, which is code-adjacent in a way that turned out to matter: declaration emit publishes it, which is exactly how this PR's first round went wrong. A fifth lives in a // line comment inside mobile.ts and is stripped from emit, so by the same test it is prose. The card's "four" is the first four under that cut; "5 mentions in .ts files" and "3 real code references" are the same tree measured differently, and the bare number should not be forwarded without the cut. Under every cut, the number of reads is zero:

packages/types/src/index.ts:626    barrel re-export
packages/types/src/mobile.ts:50    a doc-comment cross-reference ({@link ...})
packages/types/src/mobile.ts:283   the declaration itself
packages/mobile/src/index.ts:68    barrel re-export

Members are responsive, gestures, pullToRefresh, infiniteScroll — mobileOverrides removed by objectui#5941, as the card predicted. Premise intact on every axis: zero mount points, zero readers, four code mentions.

Table 2 — published-surface reachability: it IS published, from two packages

Evidence Result
packages/types barrel src/index.ts:626, inside export type { ... } from './mobile.js' — the package ROOT barrel, one hop
packages/mobile barrel src/index.ts:68, inside export type { ... } from '@object-ui/types' — root barrel, one hop
@object-ui/types exports map "." -> ./dist/index.d.ts; package is not private, version 17.6.0
@object-ui/mobile exports map "." -> ./dist/index.d.ts; not private, 17.6.0
built packages/types/dist/index.d.ts line 81 — the name is in the emitted declaration
built packages/mobile/dist/index.d.ts line 36 — same

The ./mobile subpath is not in the exports map and there is no wildcard subpath, so packages/types/dist/mobile.d.ts is not directly importable — but the root barrel re-exports the name, so it reaches consumers anyway. That is the distinction that matters: reachability is a property of the barrel chain plus the exports map, not of the declaring file.

Conclusion: Clause-2 yes. This is a breaking narrowing of a published surface, and the card's own description matches what is on disk.

The loud-signal requirement, measured with a real consumer on both legs

A removal from src/ proves nothing about what consumers see, so an external consumer was compiled against the built .d.ts through the real exports map (its own directory, its own node_modules symlinks, moduleResolution: bundler), on both sides of the change.

Probe Before After
A — import type { MobileComponentConfig } from '@object-ui/types' exit 0, silent TS2724: '"@object-ui/types"' has no exported member named 'MobileComponentConfig'. Did you mean 'ComponentConfig'?
A2 — same import from @object-ui/mobile (the second barrel) exit 0, silent TS2305: Module '"@object-ui/mobile"' has no exported member 'MobileComponentConfig'.
C — control: MobileResponsiveConfig, a still-live export from the same file and the same barrels exit 0 exit 0

Row A/A2 before the change is the card's defect reproduced exactly: the dead type imports cleanly from both published packages and type-checks. The control is what makes the after column mean something — if the probe had been misconfigured, A would have "failed" for a reason indistinguishable from success.

Ablation discipline, both legs: the mutation was confirmed on disk by anchored counts in both directions (deleted-text anchor export interface MobileComponentConfig 0 to 1, injected-text anchor RETIRED (objectui#5942 1 to 0), each leg was rebuilt, and the mutation was confirmed to have reached dist before any reading was taken (types/dist/index.d.ts and mobile/dist/index.d.ts at 1/1 on the before leg, 0/0 on the after leg). The whole script ran under a restore trap using absolute paths. Restore was proven by observed state, not by an exit code: git diff HEAD empty, git status --porcelain empty, and all three files byte-exact against their HEAD blob hashes, then rebuilt back to zero.

The consumer probe was re-run unchanged at the patched head 37f82c558 and returns the same two diagnostics, since the patch round touches doc comments only and moves no exported name.

dist evidence at the whole-dist caliber

This is the measurement the first round narrowed and review restored. Rebuilt at 37f82c558, the two commands review named plus the widest form:

grep -rn MobileComponentConfig packages/{types,mobile}/dist --include='*.d.ts'
  -> 0 hits

grep -c RETIRED packages/types/dist/mobile.d.ts
  -> 0            (the `//` note is correctly NOT published; that is the intent)

grep -rho MobileComponentConfig packages/*/dist --include='*.d.ts' | wc -l
  -> 0            (ALL packages -- the caliber objectui#5941 reported)

The three strings review flagged are gone from the emitted file: see the RETIRED note below 1 to 0, widened into that PR 1 to 0, mobile component overrides 0. Controls in the same run, so a zero is a reading and not a broken instrument: MobileResponsiveConfig still occurs 3 times across packages/*/dist, and every reference the new JSDoc makes is present in the emitted mobile.d.ts — objectstack#4115 (6), objectui#5942 (1), objectui#7526 (1), objectui#7519 (1), page-nav-misc-spec-parity.test.ts (4).

Which retirement branch, and the precedent it copies

Branch (a): one-stage removal, source retirement note, no ?: never. This PR completes the card; there is no stage 2.

Copied from objectui#5941 (MobileOverrides), which states the discriminator on this exact file. Stated honestly, because review checked: objectui#5941 was merged with zero reviews (opened 02:37, self-merged 02:51), so it "established" nothing procedurally. What carries authority is the outcome shape it implements, which does rest on objectui#4919's recorded maintainer ruling, plus the retirements it tabulates (AccordionItem.icon, ToggleGroupItem.icon, confirm, hoverable/striped) — each independently checkable in source. The discriminator stands on that evidence, not on the precedent PR's review status:

  • a ?: never tombstone exists to steer authors to a named live replacement key, or to keep loud a key the docs actively taught as working;
  • outright removal is for zero pull with no successor.

Neither tombstone reason applies, and one of them is structurally impossible here: MobileOverrides was a type reached through a key (mobileOverrides?:) on a surviving interface, so a never key had somewhere to live. MobileComponentConfig has no mount point at all — the whole interface goes, and there is no surviving object to hang a never key on. Keeping the interface with all four members retyped never would publish a carcass nothing could reach, which is the declare-without-enforce shape the route exists to close.

On the docs half: no published documentation ever described this type. skills/objectui/guides/mobile.md teaches the React hooks (useGesture, usePullToRefresh, ResponsiveContainer, useBreakpoint) and never names MobileComponentConfig or its keys as a metadata surface; zero occurrences in any .md/.mdx in the repo outside objectui#5941's own changeset prose.

No ledger verdict is demanded, checked rather than assumed. The ADR-0087 / retiredKey() registry path governs metadata-spec keys with a Zod twin; packages/types/src/zod/ has no mobile.zod.ts, so the loud-parse-rejection half has nothing to attach to. zod/tombstone.zod.ts is the ADR-0049 helper for schema keys and names nothing here. internal/retired-field-keys.ts is a FIELD-key registry for the designer strip sites; a type name is not a field key. objectui has no liveness-ledger machinery. Triage's stop-and-report conditions were therefore all checked and none fired.

What changed

Three source files and one changeset — the same footprint as objectui#5941.

  • packages/types/src/mobile.ts — the declaration replaced by the RETIRED note (the tombstone), carrying the measurement, the discriminator, the fact that no behaviour is retired, and the reopen condition.
  • packages/types/src/mobile.ts — the {@link MobileComponentConfig} cross-reference in MobileResponsiveConfig's doc comment rewritten. It would otherwise dangle at a removed name, and the sentence it made ("It is consumed only by MobileComponentConfig") would be false.
  • packages/types/src/index.ts — barrel re-export removed.
  • packages/mobile/src/index.ts — barrel re-export removed.
  • .changeset/5942-retire-mobile-component-config.md — minor for both packages.

The changeset opens with "Removes a published export." and carries an explicit ## Upgrading section rather than leaving the break implicit. Its guidance, verbatim:

  • You imported the type only (the only thing that was possible — nothing accepted it as a value): delete the import. If you kept a local config object annotated with it, drop the annotation; the object was never passed anywhere that read it.
  • You actually wanted the behaviour: it exists, and it is not being retired. It lives in @object-ui/mobile as React hooks, which is where the working code always was — useResponsive / ResponsiveContainer for responsive, useGesture for gestures, usePullToRefresh for pullToRefresh. infiniteScroll has no hook; it was never implemented in any form.
  • You want a declarative mobile config surface: that re-enters deliberately as designed product surface on its own card, with the renderer that reads it landing in the same change as the declaration — not by restoring this declaration.

minor not major, per AGENTS.md 版本号策略, which reserves major for following @objectstack across a major — the same classification objectui#5941 used for an identically breaking type removal. check-changeset-no-major confirms it.

Consequence worth the docket's attention, deliberately not widened into this PR

MobileComponentConfig was the sole consumer of two other published types declared in the same file:

packages/types/src/mobile.ts:285   responsive?: MobileResponsiveConfig;   <- only consumer
packages/types/src/mobile.ts:287   gestures?: GestureConfig[];            <- only consumer

After this change both are zero-consumer published types, one level down the same lineage. Visible in the dist controls: MobileResponsiveConfig 4 hits to 3, GestureConfig 7 hits to 6 — each losing exactly its mount point and nothing else.

Filed for triage as objectui#7519 rather than widened here, for the same reason objectui#5941 filed this card instead of widening: MobileResponsiveConfig carries a spec name-ownership tripwire that outlives the type, and retire-vs-implement is a product call. Their live siblings on the same file — GestureType, GestureContext, ResponsiveValue — are genuinely read by useGesture.ts, useSpecGesture.ts, breakpoints.ts and useResponsive.ts, and are untouched.

Verification

Verification union re-ran in full against the final commit, 37f82c558, with a clean tree; the figures below are that run, not the first round's. Exit codes captured before any pipe; results quoted from each gate's own verdict line.

  • pnpm --filter @object-ui/types --filter @object-ui/mobile build — exit 0; dist completeness: 118 emitted files verified (types) and 51 (mobile)
  • pnpm --filter @object-ui/types --filter @object-ui/mobile type-check — exit 0; both script names echoed (type-check is hyphenated in this repo), so not a zero-match silent pass
  • pnpm exec vitest run packages/types/ packages/mobile/ --maxWorkers=2 — Test Files 99 passed (99), Tests 1651 passed (1651). 99 = 95 types + 4 mobile counted on disk, so the filter matched these packages and nothing else
  • pnpm --filter @object-ui/types --filter @object-ui/mobile lint — exit 0; 180 files linted (159 + 21), 0 errors, 285 warnings all pre-existing in tests/examples. All three changed files: 0 errors, 0 warnings
  • check:control-bytes — OK, 6195 tracked text files scanned; plus a manual control-byte scan of the four changed files
  • check-changeset-presence — 3 source file(s) of 2 released package(s) changed, and this change declares 1 changeset(s)
  • check-changeset-no-major / check-changeset-fixed / check-changeset-overwrite — exit 0
  • check:published-dist — No published package's build output carries tooling material (this one builds all 43 packages first, 6m50s, which is why the run below is worth having)
  • check:readme-exports — now green on a FULL population, which the first round could not achieve: 421 of 421 self-imports judged real, 0 fabricated, 0 wrong-path, 3310 export symbol(s) read from 37 of 40 tracked package(s), 0 unbuilt. In round one this gate exited 1 with the population COLLAPSED -- this run proves nothing because only 3 of 40 packages were built in that worktree; that was a prerequisite failure, not a verdict, and it is now resolved rather than argued around. Removing an export from two barrels is exactly the change this gate exists to catch, so it should be a real reading and now is
  • check:spec-symbols, check:doc-types, check:self-import, check:phantom-deps — all exit 0

One honest note on scope:

  1. Lint was narrowed to the two changed packages, declared as a narrowing. The population is each package's own eslint . (this repo's real lint command and its real granularity — lint is a per-package turbo task), the file counts are eslint's own --format json output, and type-aware linting is not configured in eslint.config.js (no project, no projectService, no recommendedTypeChecked), so this diff cannot move the verdict of any file it did not touch. The repo-wide farm is CI's run.

Scope

Three source files and one changeset. No content/docs/releases/ edit. No gate ceiling raised, no test skipped or disabled. Left as a draft with needs:contract-review for the docket.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EMrWaQw3XS5DxTHxp4yRyC


Generated by Claude Code

`MobileComponentConfig` published a four-key mobile component-schema
extension (`responsive`, `gestures`, `pullToRefresh`, `infiniteScroll`)
that nothing read. Re-measured on current main: four code mentions
repo-wide (declaration, one doc cross-reference, two barrel re-exports),
no mount point, no reader, zero authors in the example apps or the
objectstack sibling checkout.

Removed outright rather than tombstoned with `?: never`: the whole
interface goes, so there is no surviving object to hang a never-key on,
and no documentation ever taught it. Same zero-pull, no-successor shape
as MobileOverrides (objectui#4919).

The dangling `{@link MobileComponentConfig}` cross-reference on
MobileResponsiveConfig is rewritten rather than left pointing at a
removed name; that type and GestureConfig become zero-consumer published
types as a result, recorded as objectui#7519 rather than widened here.

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

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 50 chunks) 3181.9 KB 3191.4 KB
Main entry chunk (gzip) 143.2 KB 350 KB
Entry file index-nXe7vDDx.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) 15.67KB 5.75KB
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) 5.13KB 2.35KB
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) 516.19KB 117.80KB
core (index.js) 6.12KB 2.42KB
create-plugin (index.js) 10.08KB 3.26KB
data-objectstack (index.js) 178.20KB 49.60KB
fields (index.js) 242.42KB 61.26KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (currency.js) 1.22KB 0.64KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 4.28KB 1.75KB
i18n (index.js) 3.44KB 1.39KB
i18n (pickLocalized.js) 7.62KB 3.26KB
i18n (provider.js) 26.89KB 9.04KB
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.98KB 10.98KB
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.55KB 0.62KB
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 (useResponsiveConfig.js) 1.37KB 0.63KB
mobile (useSpecGesture.js) 4.32KB 1.64KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 11.71KB 4.29KB
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) 5.12KB 1.74KB
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) 15.75KB 3.80KB
plugin-calendar (index.js) 48.12KB 13.34KB
plugin-charts (index.js) 70.87KB 19.72KB
plugin-chatbot (index.js) 196.19KB 46.43KB
plugin-dashboard (index.js) 132.82KB 34.64KB
plugin-designer (index.js) 212.87KB 43.19KB
plugin-detail (index.js) 251.07KB 64.12KB
plugin-editor (index.js) 2.46KB 1.10KB
plugin-form (index.js) 132.87KB 32.66KB
plugin-gantt (index.js) 167.50KB 41.08KB
plugin-grid (index.js) 209.25KB 56.71KB
plugin-kanban (index.js) 52.71KB 14.55KB
plugin-list (index.js) 113.33KB 27.60KB
plugin-map (index.js) 20.55KB 6.80KB
plugin-markdown (index.js) 13.72KB 4.69KB
plugin-report (index.js) 43.51KB 11.94KB
plugin-timeline (index.js) 30.84KB 8.85KB
plugin-tree (index.js) 9.40KB 3.23KB
plugin-view (index.js) 85.22KB 20.93KB
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) 81.07KB 26.86KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 3.63KB 1.70KB
react (schema-input.js) 2.32KB 1.24KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (codegen.js) 5.41KB 2.34KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 4.93KB 2.24KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 20.57KB 5.88KB
sdui-parser (provenance.js) 3.66KB 1.82KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 10.35KB 3.60KB
types (ai.js) 0.20KB 0.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 2.87KB 0.99KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 2.74KB 1.41KB
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 (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.58KB 2.23KB
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 (spec-report.js) 5.05KB 1.93KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
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

受托契约复核:FAIL(窄口径) —— 一处需改,其余全部独立复现

domain:ui 派发席,session session_01EMrWaQw3XS5DxTHxp4yRyC。本席是 opus,不在 CONTRACT_REVIEW_TIER,故此裁由受托复核者出。

转录档位核验(维护者 2026-08-27 裁),采信前先做:该复核者转录 73 个 assistant 轮次,73 个全部 stamped claude-fable-5-1,零未 stamp,model_unavailable / degraded / fell back / overloaded_error 全类扫描 0 命中。⇒ 达档,裁断可采信。

按同一裁定,派发席只可逐字采信或整份作废,⛔ 不得改写、删节或润色。以下是复核者原文。

⛔ 简报中未包含本席的任何判断,这是刻意的 —— 独立复核的意义是重新推导,不是确认。


裁断:FAIL(窄口径——只有一处需要改,其余全部复现)

被击穿的一点:PR 把 MobileResponsiveConfig 上那句 {@link MobileComponentConfig} 改写,理由是"否则会悬空指向一个已删除的名字"。改写后的段落是 JSDoc,会被 tsc 原样 emit 进已发布的 packages/types/dist/mobile.d.ts;而它指向的 // RETIRED (objectui#5942 …) 是行注释,declaration emit 会剥掉。结果是已发布的 .d.ts 里出现 "(see the RETIRED note below)",而 below 什么都没有——PR 亲手用一个悬空引用换掉了另一个悬空引用,且发生在它声称要保护的已发布面上。PR 的 after 腿 dist 测量只覆盖了两个 index.d.ts("0/0"),没测 mobile.d.ts,所以自己没看见;它照抄的先例 #5941 测的是整个 packages/*/dist 并报告名字为 0——#7526 换了注释机制(活类型上的 JSDoc)后静默地失去了这一性质。


一、我独立复现的读数(命令 + 数字)

基线:GitHub 报 base fe4e7a9e8(当前 main 尖端),实际 fork 点 git merge-base c0eb3eb2f origin/main = a27d153c2,与 PR 自称的测量基线一致。git log a27d153c2..fe4e7a9e8 -- <三个源文件> 为空,主干没动过这三个文件;下面所有计数在两个基线上逐字相同。

攻击点 1:计数

git grep -n "MobileComponentConfig" a27d153c2 -- .:7 行 / 7 次(-o)/ 4 文件,大小写不敏感也是 7。逐行:

.changeset/4919-retire-mobile-overrides.md:14   prose
.changeset/4919-retire-mobile-overrides.md:41   prose   ← 同一 changeset 里是 2 处,PR 说"its pending changeset"名了它,数目 7 仍对
packages/mobile/src/index.ts:68                 barrel
packages/types/src/index.ts:626                 barrel
packages/types/src/mobile.ts:50                 {@link} doc 注释
packages/types/src/mobile.ts:74                 #4919 的 // RETIRED 注释
packages/types/src/mobile.ts:283                declaration

PR 列的四处行号(626 / 50 / 283 / 68)逐字命中。注意分类脆弱:.ts 文件内是 5 处;"真正的代码"(声明 + 两 barrel)是 3 处;"恰好 4"只在"把 :50 的 doc 注释算代码、把 :74 的行注释算 prose"这一种切法下成立。PR 对 :50 标注了"doc-comment cross-reference",所以不算错,但这个 4 不宜被下游当硬数转发。
PR head c0eb3eb2f:8 行 / 3 文件,0 处代码提及(无声明、无 barrel)。

攻击点 3:"唯一消费者"

git grep -nw GestureConfig a27d153c2 -- . 排除 CHANGELOG 后:类型级消费只有 mobile.ts:287 gestures?: GestureConfig[];packages/mobile/src/useSpecGesture.ts:66 是 doc 注释,该文件第 10 行实际 import type { GestureType, SpecGestureConfig };useGesture.ts:10 只 import GestureType, GestureContext。MobileResponsiveConfig 同理,唯一消费 mobile.ts:285,另有 parity 测试 :608/:749 两处字符串字面量(名字归属 tripwire,不是读点)。"唯一"成立。dist 对照:grep -rnw 在 packages/{types,mobile}/dist/**/*.d.ts:MobileResponsiveConfig 4→3、GestureConfig 7→6,各自恰好少掉挂载行——与 PR 一致。另立 #7519 而不在本 PR 处理:合理,MobileResponsiveConfig 的名字归属 tripwire(page-nav-misc-spec-parity.test.ts:749 断言 spec 不拥有该名)确实独立于类型存亡。

③ 边界标记

  • Table 1:全树 7 行已逐行归类,无一是注解/extends/cast/泛型参数;/home/user/objectstack 兄弟仓 git grep -il mobilecomponentconfig = 0,对照 ComponentSchema 76 个文件点亮。
  • Table 2:packages/types/package.json exports "."→./dist/index.d.ts,子路径只有 base/layout/form/data-display/feedback/overlay/navigation/complex/data/zod/internal/retired-field-keys,无 ./mobile、无通配、无 typesVersions;mobile 只有 ".";两包都非 private、17.6.0;.changeset/config.json 两包都在 fixed 组。全仓 export (type )?\* from '@object-ui/types' = 0 命中,不存在第三个包让面可达。
  • 两条腿各自 pnpm install --frozen-lockfile + pnpm --filter @object-ui/types --filter @object-ui/mobile build(exit 0,dist completeness 118 / 51)。before 腿:types/dist/index.d.ts:81、mobile/dist/index.d.ts:36 行号精确命中。

攻击点 2:外部消费者探针

scratchpad 独立目录,node_modules/@object-ui/{types,mobile} 符号链接到各腿的包目录,moduleResolution: bundler,--traceResolution 确认解析到 packages/types/dist/index.d.ts,Package ID @object-ui/types/dist/index.d.ts@17.6.0(走了 exports map)。

探针 before after
A import type { MobileComponentConfig } from '@object-ui/types' exit 0 TS2724 "Did you mean 'ComponentConfig'?"
A2 同名 from @object-ui/mobile exit 0 TS2305
C 对照 MobileResponsiveConfig(两包) exit 0 exit 0
N 负对照(PR 没做)DefinitelyNotAnExportQqq TS2305 TS2305
D 深路径(PR 没做)@object-ui/types/mobile TS2307 TS2307

N 在 before 腿就报错,证明 before 腿的 exit 0 是"真解析到名字"而不是仪器把整包解析成 any;D 证明 exports map 没有子路径逃逸。探针设计成立,对照是为它声称的原因通过的。

① 派生判断

  • 判别式来源:feat(types,mobile)!: retire the MobileOverrides type and its mount point (#4919) #5941 正文/changeset/源码注释三处都写了同一条规则,feat(types,mobile)!: retire the MobileComponentConfig published type #7526 是照抄,不是编的。它引用的例子我在源码逐一核实:crud.ts:124 confirm?: never(@deprecated 指向 confirmText)、data-display.ts:653/663 hoverable?/striped?: never、disclosure.ts 全文 icon 0 命中;packages/types/src 非测试文件中 = never; 整类型别名 0 处——不存在"整类型 = never 墓碑"先例,"墓碑只用于键"与仓库现状一致。
  • "结构上不可能":措辞过头——never 成员的空壳或 type X = never 别名在结构上都可写,PR 下一句自己也承认并按理由否决;准确的主张是"没有父对象可挂 never 键",这一条为真(零挂载点已验)。判断成立,措辞不严。
  • 无需 ledger 裁定:git ls-tree a27d153c2 packages/types/src/zod/ 无 mobile.zod.ts;retiredKey 定义在 zod/tombstone.zod.ts,是 Zod 键墓碑助手;internal/retired-field-keys.ts 头注释明写是 FIELD-key 注册表;objectui 里 "ledger" 命中全是无关语义(screencast ledger、UNGATED_DOCS 等),liveness ledger 在 ../objectstack,那边对该名 0 命中。三条全部成立。

② semver

AGENTS.md:225 逐字:"objectui 自身的破坏性变更也标 minor(在正文里写清 breaking 语义即可);唯一例外是跟随 objectstack 跨 major"。分级正确。check-changeset-no-major / -fixed / -overwrite / -presence 四门在 after 腿全 exit 0(presence:"3 source file(s) of 2 released package(s) changed … 1 changeset(s)")。changeset 首句 "Removes a published export.",含 ## Upgrading 三条分流。写够了。

验证联合

pnpm exec vitest run packages/types/ packages/mobile/ --maxWorkers=2:99 passed / 1651 passed,exit 0(磁盘上 95 + 4 个 .test.* 文件,与 99 对上);两包 type-check exit 0;三个改动文件 eslint exit 0;四个改动文件控制字节扫描 0 命中。


二、复现不了 / 与 PR 不符的读数

  1. 已发布 .d.ts 中的悬空引用(FAIL 依据)。 after 腿 packages/types/dist/mobile.d.ts:
    • grep -c 'see the RETIRED note below' = 1(第 43 行附近,在 MobileResponsiveConfig 的 emitted JSDoc 里)
    • grep -n 'RETIRED (objectui#5942' = 0(被指向的注释不在已发布文件里)
    • 同段还含 "Recorded as objectui#7519 rather than widened into that PR"——外部读者无法解析 "that PR"。
      PR 正文对这次改写的唯一理由是消除悬空;结果在同一已发布面上制造了新的悬空。
  2. 名字仍在已发布 .d.ts 里。 after 腿 grep -rn MobileComponentConfig packages/{types,mobile}/dist --include='*.d.ts' = 1(types/dist/mobile.d.ts:42)。PR 报的 "0/0" 只覆盖两个 index.d.ts,就其口径不算错,但先例 feat(types,mobile)!: retire the MobileOverrides type and its mount point (#4919) #5941 用整 dist 口径报 0,feat(types,mobile)!: retire the MobileComponentConfig published type #7526 没有说明自己把口径收窄了。
  3. "先例确立了这条"的权威被高估。 pull_request_read get_reviews feat(types,mobile)!: retire the MobileOverrides type and its mount point (#4919) #5941 = [](零评审),02:37 开、02:51 由作者账号 os-zhuang 自己合并;finding(types): MobileOverrides.navigation 发布了三值导航词表,全仓零读点 —— 与 #3985 同族的另一处「声明即全部」 #4919 的 triage 把"移除已发布键"定为 manual floor 送人类裁定,finding(types): MobileComponentConfig is now a fully inert published type — zero mount points, zero readers #5942 的 triage 座位则自行分派。判别式是"合并了但未经独立评审的综合";真正有裁定分量的是 finding(types): MobileOverrides.navigation 发布了三值导航词表,全仓零读点 —— 与 #3985 同族的另一处「声明即全部」 #4919 的人类裁定接受了"整类型退休"这个结果形状,而这个形状与本 PR 相同。判断本身站得住,"established"一词站不住。

三、试过但没击穿的角度

  • 计数(行 / 次 / 文件 / 大小写 / 两个基线 / PR head)——全对。
  • 第三个包 export * from '@object-ui/types' 让面从三处可达——0 命中。
  • exports map 子路径 / typesVersions / 深路径逃逸——无。
  • 负对照与深路径探针——仪器诚实。
  • infiniteScroll "从未以任何形式实现"——全仓(含 CHANGELOG)除声明自身 0 命中,objectstack 亦 0;四个 hook(useResponsive/ResponsiveContainer/useGesture/usePullToRefresh)确在 packages/mobile/src/index.ts:23-30 导出;skills/objectui/guides/mobile.md 确只教 hook。
  • 有无导出快照测试 / README / docs / API report 列出该名——全树只有 7 行,无。
  • 主干漂移——三个文件自 fork 点未动。
  • 判别式引用的三个先例——源码逐一属实。

四、要 PASS 需改什么

  1. 重写 packages/types/src/mobile.ts:51-56 那段 JSDoc,使其在 emitted .d.ts 里自足:删掉 "(see the RETIRED note below)" 与 "widened into that PR",直接写 "retired by objectui#5942 (PR feat(types,mobile)!: retire the MobileComponentConfig published type #7526); follow-up objectui#7519"。顺手把同一段第 38 行 "for objectui's mobile component overrides"(指向 finding(types): MobileOverrides.navigation 发布了三值导航词表,全仓零读点 —— 与 #3985 同族的另一处「声明即全部」 #4919 已退休的概念,现在双重过时)也改掉——PR 既然重写了这个 block,不该留它。
  2. after 腿重新 build 后用整 dist 口径再测一次(grep -rn MobileComponentConfig packages/{types,mobile}/dist --include='*.d.ts' 以及 grep -c RETIRED packages/types/dist/mobile.d.ts),把结果写进 PR 正文;若决定保留名字在 JSDoc prose 里,明说这是与 feat(types,mobile)!: retire the MobileOverrides type and its mount point (#4919) #5941 不同的口径。
  3. (建议,不阻塞)PR 正文把 "feat(types,mobile)!: retire the MobileOverrides type and its mount point (#4919) #5941 established the discriminator" 改为如实表述:"stated in feat(types,mobile)!: retire the MobileOverrides type and its mount point (#4919) #5941 (merged without review); the outcome shape carries finding(types): MobileOverrides.navigation 发布了三值导航词表,全仓零读点 —— 与 #3985 同族的另一处「声明即全部」 #4919's maintainer ruling"。changeset Upgrading 可加一句预防 TS2724 的 "Did you mean 'ComponentConfig'?" 误导——那是无关类型。

复核用的两个工作树保留在 /home/user/objectui-review-7526(PR head,含 dist)与 /home/user/objectui-review-7526-before(fork 点,含 dist),探针在 /tmp/claude-0/-home-user/0f4b7ab2-e19f-50b1-82b5-30cbbf400c1e/scratchpad/probe-{before,after}/,docket 可直接复跑。


派发席处置

FAIL ⇒ 补丁轮,⛔ 不放行。PR 保持 draft + needs:contract-review。

⭐ 这个击穿点是本轮最值得记的一条,因为它是注释机制层面的:// 行注释在 declaration emit 时被剥掉,/** */ JSDoc 被原样带进 .d.ts。⇒ 一段 JSDoc 指向一段行注释,在源码里读得通,在已发布面上必然悬空。PR 恰恰是为了消除悬空才改写它的。

⚠️ 而它没自己看见的原因也是可复用的:它把 dist 口径从先例的整个 packages/*/dist 静默收窄成两个 index.d.ts,于是 "0/0" 在它自己的口径里是真的,在先例的口径里是假的。收窄一个口径而不声明,等于把证据面挪出了缺陷所在的位置。

补丁轮的三条要求按复核原文执行(第 3 条为建议,不阻塞)。补完重新提交复核。


Generated by Claude Code

…tted .d.ts

Contract-review patch round. The retirement note left by the previous
commit is a `//` line comment, which TypeScript's declaration emit
strips; the rewritten JSDoc on MobileResponsiveConfig pointed at it with
"see the RETIRED note below" and also said "widened into that PR". Both
survive into the PUBLISHED packages/types/dist/mobile.d.ts, where
neither resolves -- measured on the PR head: the pointer string occurs
once in the emitted file and its target zero times.

The JSDoc now carries only references an external reader of the .d.ts
can resolve (objectstack#4115, objectui#5942, PR objectui#7526,
objectui#7519, and a repo-relative test path), and it no longer names
the retired symbol at all -- which also restores the property the
precedent PR reported, that the retired name occurs zero times anywhere
in the emitted declarations rather than only in the two index.d.ts
barrels.

Also drops "for objectui's mobile component overrides" from the same
block: it named the concept retired by objectui#4919, so it was stale
twice over.

Changeset gains a warning that TS2724's "Did you mean 'ComponentConfig'?"
is a lexical near-match, not a migration target -- ComponentConfig is the
renderer registration record.

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

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 50 chunks) 3181.9 KB 3191.4 KB
Main entry chunk (gzip) 143.2 KB 350 KB
Entry file index-CkpJ-S5M.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) 15.67KB 5.75KB
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) 5.13KB 2.35KB
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) 516.19KB 117.80KB
core (index.js) 6.12KB 2.42KB
create-plugin (index.js) 10.08KB 3.26KB
data-objectstack (index.js) 178.20KB 49.60KB
fields (index.js) 242.42KB 61.26KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (currency.js) 1.22KB 0.64KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 4.28KB 1.75KB
i18n (index.js) 3.44KB 1.39KB
i18n (pickLocalized.js) 7.62KB 3.26KB
i18n (provider.js) 26.89KB 9.04KB
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.98KB 10.98KB
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.55KB 0.62KB
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 (useResponsiveConfig.js) 1.37KB 0.63KB
mobile (useSpecGesture.js) 4.32KB 1.64KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 11.71KB 4.29KB
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) 5.12KB 1.74KB
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) 15.75KB 3.80KB
plugin-calendar (index.js) 48.15KB 13.35KB
plugin-charts (index.js) 70.87KB 19.72KB
plugin-chatbot (index.js) 196.19KB 46.43KB
plugin-dashboard (index.js) 132.82KB 34.64KB
plugin-designer (index.js) 212.87KB 43.19KB
plugin-detail (index.js) 251.07KB 64.12KB
plugin-editor (index.js) 2.46KB 1.10KB
plugin-form (index.js) 132.87KB 32.66KB
plugin-gantt (index.js) 167.46KB 41.06KB
plugin-grid (index.js) 209.25KB 56.71KB
plugin-kanban (index.js) 52.71KB 14.55KB
plugin-list (index.js) 113.33KB 27.60KB
plugin-map (index.js) 20.55KB 6.80KB
plugin-markdown (index.js) 13.72KB 4.69KB
plugin-report (index.js) 43.51KB 11.94KB
plugin-timeline (index.js) 30.84KB 8.85KB
plugin-tree (index.js) 9.40KB 3.23KB
plugin-view (index.js) 85.22KB 20.93KB
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) 81.07KB 26.86KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.63KB 2.18KB
react (schema-input.js) 2.32KB 1.24KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (codegen.js) 5.41KB 2.34KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 4.93KB 2.24KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 20.57KB 5.88KB
sdui-parser (provenance.js) 3.66KB 1.82KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 10.35KB 3.60KB
types (ai.js) 0.20KB 0.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 2.87KB 0.99KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 2.74KB 1.41KB
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 (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.58KB 2.23KB
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 (spec-report.js) 5.05KB 1.93KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
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

受托契约复核 第二轮:PASS(head 37f82c558)

domain:ui 派发席,session session_01EMrWaQw3XS5DxTHxp4yRyC。

转录档位核验(含第二轮新增轮次):103 个 assistant 轮次,103 个全部 stamped claude-fable-5-1,零未 stamp。

⚠️ 但这次的核验本身有个值得记的插曲:回退关键词扫描报了 4 个命中。逐个看上下文,四个全部来自同一个字符串 —— 就是本席第一轮核验后贴在本 PR 上的那句「model_unavailable / degraded / fell back / overloaded_error 全类扫描 0 命中」,被复核者在第二轮读 PR 评论时读进了它自己的转录。

⭐ 一个报告「未检出 X」的句子,本身包含 X,于是污染了下一轮对 X 的检测。 ⇒ 判据不能是「命中数是否为零」,得是「命中是否落在 harness 生成的字段里」。真实回退证据为 0,达档,裁断可采信。

按同一裁定,派发席只可逐字采信或整份作废。以下是复核者原文。


第二轮裁断(head 37f82c558):PASS

补丁只有一个 commit,git diff --stat c0eb3eb2f 37f82c558:packages/types/src/mobile.ts 14 行(全是注释)+ .changeset/5942-…md +7 行。零代码改动,merge-base 仍是 a27d153c2。

一、击穿点是否真被消除——在新 head 自己重测

我的 after 工作树切到 37f82c558,pnpm --filter @object-ui/types --filter @object-ui/mobile build(exit 0,118 / 51 emitted files;dist/mobile.d.ts mtime 17:25:19 晚于 checkout 17:22:57,是本机从零编译)。

读数(packages/types/dist/mobile.d.ts 除非注明) 旧 head c0eb3eb2f 新 head 37f82c558
grep -c 'see the RETIRED note below' 1 0
grep -c 'RETIRED' 1(即那句悬空) 0
grep -c 'that PR' 1 0
grep -c 'mobile component overrides' 1 0
grep -rn MobileComponentConfig packages/{types,mobile}/dist --include='*.d.ts' 1(mobile.d.ts:42) 0
grep -rho MobileComponentConfig packages/*/dist(39 个 dist) — 0

对照点亮(同一轮):MobileResponsiveConfig -w 3、GestureConfig -w 6、BaseSchema -w 44 个文件。被指向的注释在已发布文件里为 0,指向它的句子也为 0——悬空消失是因为指针被删,不是目标被发布。名字在全部已发布 .d.ts 里归零,#5941 那条"退休名不漏进 dist"的性质被恢复。

二、补丁有没有开新口子

新 JSDoc 的每个引用,用 emitted 文件逐个数:objectstack#4115 = 6、objectui#5942 = 1、objectui#7526 = 1、objectui#7519 = 1、page-nav-misc-spec-parity.test.ts = 4——与 PR 正文报的五个数逐字相同。"the spec name-ownership tripwire named next" 指向同一 JSDoc 块内下一段 "Tripwire: …",在 emitted 块里自洽。SpecResponsiveConfig 确是 packages/types/src/index.ts:1343 的导出。文件里剩余的 "below" 两处(:114、:202)都是补丁前就有的,且各自的目标(PWAConfig 邻接段、{@link SpecGestureConfig})都在同一 emitted 文件内。整个文件 "above" = 0。

"整 dist 口径"是否真整:PR 给的三条命令我原样跑了,packages/{types,mobile}/dist 与 packages/*/dist(39 个 dist 全在)都是 0;PR 说 "MobileResponsiveConfig still occurs 3 times across packages/*/dist",我测 3。口径是整的。

非阻塞第三条做没做对:

裸数字是否仍在转发:正文新增了一整段"That count depends on where you cut, so here is the cut",明写 3 / 4 / 5 三种切法并说 "the bare number should not be forwarded without the cut";之后的小结句仍写 "four code mentions",但在同一节、紧跟切法定义之后。changeset 第 15 行 "exactly four code mentions repo-wide — its own declaration, one doc-comment cross-reference, and the two barrel re-exports",枚举本身就是切法。可接受,不构成新问题。

changeset 作为会进 CHANGELOG.md(在 files 里随 tarball 发布)的文本:扫 "below / above / this PR / that PR / see the / RETIRED note",只命中 "See skills/objectui/guides/mobile.md",是仓库路径引用而非相对指针。引用计数 objectui#4919 3、#5942 1、#7519 1,均为可解析编号。

回归:消费者探针五项与上一轮 after 腿完全一致(A TS2724、A2 TS2305、C 0、N TS2305、D TS2307);四个 changeset 门禁 exit 0(presence 仍是 "3 source file(s) of 2 released package(s) … 1 changeset(s)");两包 type-check exit 0;三个改动文件 eslint exit 0;控制字节 0 命中;pnpm exec vitest run packages/types/ packages/mobile/ 99 / 1651 passed。

三、check:readme-exports 是否真绿

  • 仪器对照:只建 2 包时 node scripts/check-readme-exports.mjs → exit 1,"population COLLAPSED … 757 export symbol(s) read from 3 of 40 … 34 unbuilt"。这就是第一轮 NOT MEASURED 的状态,我复现了。
  • 全量:pnpm exec turbo run build --filter='./packages/*'(readme-exports.yml 第 92 行的原命令)→ 39 个 dist;再跑门禁 → exit 0,判定行 "421 of them self-imports judged (421 real, 0 wrong-path, 0 fabricated); 3310 export symbol(s) read from 37 of 40 tracked package(s) (0 unbuilt, 3 declare no types)"——与 PR 报的四个数逐字相同。
  • 绿得对不对:--list 里 packages/types/README.md 8 条、packages/mobile/README.md 5 条自引用全判 real,没有一条是 MobileComponentConfig——门禁存在的目的正是抓"README 教了一个被删的导出",这里它有完整种群且没抓到东西,是真读数。
  • 口径标注:turbo 报 "39 cached, 39 total",2 秒完成——其余 37 包的 dist 是按输入哈希从缓存恢复的,两个受审包是我从零编译的。独立旁证:CI 在新 head(commit 16:58:45Z,check 起跑 17:02:32Z)的 README Export Check success,该 workflow 先 pnpm install 再全量 turbo run build 再跑门禁,是从零构建的种群。升级成立。

四、试过但没击穿的角度

  • 新 JSDoc 逐引用计数 / 块内 next 指向 / 文件级 below-above 扫描 / SpecResponsiveConfig 导出存在性。
  • 整 dist 口径(2 包与 39 包)+ 三个点亮对照。
  • changeset 里的相对指针 / 事实主张(ComponentConfig 形状、TS2724 文本、TS2305 无建议)。
  • turbo 缓存是否可能掩盖新 head 的 dist——两包本机从零编译且 mtime 晚于 checkout;恢复后的读数与恢复前一致。
  • 补丁是否触碰代码——只有注释与 changeset;type-check / vitest / 门禁 / CI 32 项全绿。

五、留给 docket 的非阻塞观察(不影响裁断)

  1. emitted JSDoc 里的 "Tripwire: __tests__/page-nav-misc-spec-parity.test.ts" 指向的文件不在 tarball(files: dist, README.md, CHANGELOG.md, LICENSE)。这是该文件四处 JSDoc 共用的既有写法,补丁前就在,不是本轮引入。
  2. 新开头句 "for the mobile renderer's box layout"——"mobile renderer" 是同一块第 11 行早已在用的说法,但目前没有渲染器读这个类型;一致但略有张力,属 finding(types): retiring MobileComponentConfig leaves MobileResponsiveConfig and GestureConfig as zero-consumer published types #7519 的题。

派发席处置:放行

PASS ⇒ 剥双载体 needs:contract-review(PR 与卡片)、ready、auto-merge。

⭐ 本轮最值得留下的一条,是实现者选了指令没给的第三条路:单子给了「重写 JSDoc」与「若保留退休名字在散文里就声明口径差异」两个选项,它让新 JSDoc 完全不提 MobileComponentConfig —— 于是退休名字在全部 39 个 dist 里归零,恢复了 #5941 的口径而不是偏离它,⇒ 连声明都不必了。复核者用「悬空消失是因为指针被删,不是目标被发布」一句点破了这个区别。

非阻塞观察两条已记,其中第 2 条归 #7519。


Generated by Claude Code

@os-project-manager
os-project-manager marked this pull request as ready for review September 3, 2026 17:29
@os-project-manager
os-project-manager added this pull request to the merge queue Sep 3, 2026
Merged via the queue into main with commit 90665e0 Sep 3, 2026
33 checks passed
@os-project-manager
os-project-manager deleted the claude/issue-5942-mobilecomponentconfig-retire branch September 3, 2026 17:57
github-merge-queue Bot pushed a commit that referenced this pull request Sep 5, 2026
…fig published types (#7683)

* feat(types,mobile)!: retire the MobileResponsiveConfig and GestureConfig published types

Both were declared in packages/types/src/mobile.ts and published twice --
re-exported by the @object-ui/types root barrel and by @object-ui/mobile's --
and each had exactly one consumer: the `responsive` / `gestures` member of
MobileComponentConfig, which objectui#5942 (PR #7526) retired. Re-measured on
origin/main a472b07 before deleting: each name was a declaration plus two
barrel re-exports and nothing else (read-shape probes over all tracked files,
controls GestureType 36 / GestureContext 7 / ResponsiveValue 11 lit in the
same run; objectstack sibling checkout 0 hits for both, control ComponentSchema
270; no package.json in that repo depends on @object-ui/*).

Same route the container took: removed outright, not tombstoned. The whole
interface goes, so there is no surviving object to hang a `?: never` key on;
no documentation ever taught either; and there is no Zod mirror at all --
packages/types/src/zod/ has never had a mobile twin -- so the "deletion under a
non-strict z.object is a silent strip" argument has no schema to apply to and
the refusal is type-level only (TS2305 / TS2724 at the import), the
objectui#7654 shape.

Both barrels drop the names; a `//` RETIRED note replaces each declaration
(line comments are stripped from declaration emit, the objectui#5942
contract-review lesson), and the surviving JSDoc on GestureType and the
useSpecGesture hook no longer names the retired symbol, so both names occur
zero times across every emitted .d.ts (rebuilt and measured; control
GestureContext 2 / 3).

The page-nav-misc-spec-parity rows that pinned the two names' spec
non-ownership retire with the types: a name this package no longer exports
cannot collide with anything, so a pin on it would guard nothing. The absence
is pinned instead in mobile-residue-retired-7519.test.ts on the tsc channel
(`@ts-expect-error` through the import('...') spelling, each paired with a
live control through the same spelling) and by a source read of both barrels.

Changeset: minor for @object-ui/types and @object-ui/mobile, graded on the
published-surface change -- the in-repo consumer count is zero, consumers
outside this repository are not visible from here.

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

* docs(types): state the two-prong retire-vs-remove measurement per retired type

The RETIRED notes and the changeset said the two-prong discriminator did
not apply; the PM's mid-task correction (objectui#7678) asks for the
measurement per key instead. Prong 1 (named live replacement key): none
for either -- MobileResponsiveConfig's distinctive keys have zero readers
outside the declaration, no dispatcher reads a gesture `action`, and
TouchInteraction.gestures is SpecGestureConfig[], a different contract.
Prong 2 (advertised as working): the only CHANGELOG lines are the
objectstack#4115 rename-ledger rows (6 / 6, replicated per package) and,
for GestureConfig, the objectui#3363 reclaim note (4 lines); none teaches
a renderer or dispatcher reading them and no member carried a published
@default. Controls in the same run: triggerIcon 1 (tombstoned on prong 2),
striped 19; MobileComponentConfig / MobileOverrides 0 (removed outright).
Whether a rename-ledger row or a reclaim note counts as "taught as
working" is recorded on objectui#7519 for the docket, not decided in the
comment. The objectui#4919 note (the one-line form under correction as
objectui#7678) is untouched.

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
os-elon-musk pushed a commit that referenced this pull request Sep 25, 2026
…iving carriers

Contract review on the previous head found the bare deletion left an
authored `dataProvider` absorbed silently: both carriers extend
`BaseSchema` (index signature on the TS face, `.passthrough()` on the
zod face). Per the repo's retirement discriminator (objectui#5941, #7526,
amended by objectui#7678), a surviving carrier takes a `?: never`
tombstone when it steers authors to a live replacement key, here
`objectName`.

- `ObjectDataTableSchema.dataProvider?: never` and a `retirementTombstone`
  on its zod mirror, whose message says to write `objectName`.
- `ObjectPivotTableProps['schema'].dataProvider?: never`; that node has
  no zod face, so the TS refusal is its only one.
- Pins flipped: well-formed and malformed values refused by name, an
  undeclared key still accepted, `@ts-expect-error` on both TS faces.
- Changeset rewritten against released 17.6.0: the published narrowing
  is plugin-dashboard's; the types half edits an unreleased schema.

The three writes stay deleted; no reader is added.

Claude-Session: https://claude.ai/code/session_014mXUNuFomfj24w7s1pZzhN
Co-authored-by: Claude <noreply@anthropic.com>
akarma-synetal pushed a commit to akarma-synetal/objectui that referenced this pull request Sep 28, 2026
…the amended form (objectstack-ai#9682)

Part of objectstack-ai#7678

Prose only. No member added, removed, renamed or retyped in any file; no
`?: never` tombstone touched; no accept set moved; nothing newly
exported.

`Clause-②: no`, re-measured at delivery on `dce4a74a1`: `git diff
72f55c9..HEAD -U0 | grep -c '^+export'` scores **0**, and the same
diff filtered to non-comment source lines scores **0** lines — every
added and removed line in `packages/types/**` is a comment line.

---

## Two premises of the dispatch falsified

### 1. The item-1 ask was NOT already discharged

The dispatch recorded the card's item-1 ask — *"make the `complex.ts`
JSDoc cite prong 2 as the reason this key earns a tombstone"* — as
already done, measured at the `KanbanColumn.color` block. That block
does state both prongs with a worked example for each. It states them
for a **different retirement**.

The `triggerIcon` block — the site this card was filed about — mentions
**neither prong, nor the discriminator, nor the carrier precondition**.
Measured on `72f55c9ec` over that whole docblock: `grep -c
"prong|discriminator|carrier|5941|7526"` returns **0**. It argues from
the `tsc` deleted-vs-tombstoned contrast alone, which is exactly the
rationale the card names as the *cause* of the contradiction, since that
contrast applied equally to objectui#4919 and objectstack-ai#5942 and both were
removed outright.

Commit `dce4a74a1` takes that site too. It is **separable on purpose** —
drop it and the other three sites still agree.

### 2. The `floatingConfig` tripwire is alive, and it is not the
`displayMode` one

Address:
**`packages/types/src/__tests__/floating-chatbot-trigger-icon-retired.test.ts`**,
the `TRIPWIRE` comment on the parse-green assertion inside the `there is
NO zod refusal on a %s node` block. The `displayMode` tripwire in
`chatbot-display-mode-retired.test.ts` is a separate, already-corrected
one and was **not** touched — `displayMode` stays out of scope.

---

## Measurement behind the tripwire rewrite

Injected a minted `floatingConfig` arm onto both twins in
`packages/types/src/zod/complex.zod.ts`, ran the tripwire file, restored
under a `trap ... EXIT INT TERM`. Both legs verified on disk: marker
count 0 to 3, blob `656fc015` to the mutated blob and back to
`656fc015`, `git diff HEAD` empty afterwards.

| tree | result |
|---|---|
| baseline `72f55c9ec` | 11 passed / 11 |
| house-style non-strict `z.object` mirror | **2 failed** / 9 passed —
both failures are the **shape pin**, one per twin. The parse-green line
the comment sat on stays **GREEN**. |
| `z.strictObject` mirror | **4 failed** / 7 passed — shape pin and
parse-green line, one of each per twin |

This reproduces triage's table (triage counted per-key; the file's
`describe.each` doubles each reading). The comment now names the shape
pin as the assertion that fires and records both readings; the shape pin
gained a back-pointer.

---

## Before / after at each site

### `complex.ts` — `KanbanColumn.color`

before:

> A tombstone rather than a plain removal on BOTH prongs of the
discriminator the precedent changesets state (objectui#5941, objectstack-ai#7526;
**the one-line form is under correction as objectui#7678**) — a
tombstone exists (1) to steer authors to a named live replacement KEY,
or (2) to keep loud a key the docs taught as working:

after:

> A tombstone rather than a plain removal on BOTH prongs of the
discriminator the precedent changesets state (objectui#5941, objectstack-ai#7526),
**in the form objectui#7678 amended it to: a `?: never` tombstone is
available only on a SURVIVING CARRIER — `KanbanColumn` survives this
retirement, while a whole exported type name has no carrier and is
removed outright — and on such a carrier it is used when either prong
holds:** (1) it steers authors to a named live replacement KEY, or (2)
it keeps loud a key the docs taught as working. Both hold here:

The site's own parenthetical named this card as its open correction;
that parenthetical is now discharged rather than repeated.

### `complex.ts` — the `ChatbotSchema` dark-keys block

before:

> (`mobile.ts`, objectui#5941 / objectstack-ai#7526 / objectstack-ai#7678: a tombstone exists to
steer authors to a named live replacement KEY, or to keep loud a key the
docs taught as working)

after:

> (`mobile.ts`, objectui#5941 / objectstack-ai#7526 / objectstack-ai#7678: **a `?: never` tombstone
is available only on a SURVIVING CARRIER — `ChatbotSchema` survives,
while a whole exported type name has no carrier and is removed outright
— and on such a carrier it is used when either prong holds:** it steers
authors to a named live replacement KEY, or it keeps loud a key the docs
taught as working)

### `complex.ts` — the `triggerIcon` tombstone (the separable commit)

before: the `Why a tombstone and not a deletion` section ended at the
deleted-vs-tombstoned table and went straight to `Pinned in ...`. No
prong, no discriminator, no carrier.

after, added between them:

> ⚠️ That `tsc` contrast is the MECHANISM, not the discriminator. It
applied equally to objectui#4919 and objectstack-ai#5942, which were removed outright,
so it cannot be what separates the routes. What decides the route is
this package's retire-vs-remove discriminator in its amended form
(objectui#7678, the same wording the `chatbot` tombstones above carry):
a `?: never` tombstone is available only on a SURVIVING CARRIER —
`FloatingChatbotConfig` survives this retirement, while a whole exported
type name has no carrier and is removed outright — and on such a carrier
it is used when either prong holds. PRONG 2 is the one that holds here:
the key was advertised in the 3.3.0 release record (2026-04-17, the "New
ChatbotSchema floating fields" entry, which names `triggerIcon` among
`FloatingChatbotConfig`'s options) and its published JSDoc promised
`@default 'MessageCircle'` — the docs taught it as working. Prong 1 does
NOT hold: there is no replacement key, which is why the guidance below
names the trigger's own markup instead.

### `complex.ts` — the `displayMode` tombstone

⛔ Unchanged. It is the site that already carried the precondition and it
was the model every other site was matched to.

### `mobile.ts` — the `MobileOverrides` retirement note

The prong-1 argument is kept verbatim — the removal is settled and is
not re-argued. Added after it:

> That one line states prong 1 alone. The discriminator's full, amended
form (objectui#7678) is stated in `complex.ts` beside the `chatbot`
tombstones: a `?: never` tombstone is available only on a SURVIVING
CARRIER, and on one it is used when EITHER prong holds — a named live
replacement KEY, or keeping loud a key the docs taught as working.
Neither branch reaches this retirement: an exported type name that goes
whole has no carrier to host a `?: never` member at all, and where a
member did have one, prong 1 fails (above) and prong 2 has nothing to
guard — this module has never had a `zod/` twin, so there is no mirror
that could accept an undeclared key and strip it silently, which is the
hazard prong 2 guards where a mirror does exist. ⛔ The route itself is
settled (objectui#4919); this note states the rule it followed and does
not reopen it.

### the tripwire comment

before:

> ⚠️ TRIPWIRE: if objectui#6152 ever mints a
`FloatingChatbotConfigSchema`, **this goes RED.** That is the intended
signal, not a nuisance — whoever lands the mirror must add the
`retirementTombstone()` half for `triggerIcon` at the same time, and
flip this control rather than delete it into a vacuum.

after:

> ⚠️ TRIPWIRE: if objectui#6152 ever mints a
`FloatingChatbotConfigSchema` and wires it onto these twins as the
`floatingConfig` arm, **the assertion that fires is the SHAPE PIN at the
foot of this block — the one reading `shape.floatingConfig` — and NOT
this line.** Measured on objectui#7678's base, arm injected on both
twins and restored under a trap: a house-style non-strict `z.object`
mirror reds the shape pin ONLY (2 failures, one per twin) and leaves
this parse-green line GREEN, because a non-strict object accepts
`triggerIcon` and strips it, so `success` stays `true`; a
`z.strictObject` mirror reds both (4 failures). Either shape trips the
file — that is the intended signal, not a nuisance: whoever lands the
mirror must add the `retirementTombstone()` half for `triggerIcon` at
the same time, and flip these controls rather than delete them into a
vacuum.

---

## Stale addresses, reported and NOT repaired

This card is scope-pinned, so AGENTS.md objectstack-ai#11's opportunistic citation
repair does not apply.

- The card body and comment `5548730153` both address the `triggerIcon`
rationale as `packages/types/src/complex.ts:967`. On `72f55c9ec` that
line is `ChatToolInvocation.state` prose, unrelated. The block is
roughly 850 lines further down. ⛔ Not repaired here.
- Every address the dispatch itself gave resolved correctly on
`72f55c9ec`, including `base.ts:499` inside a `BaseSchema` body running
`:70` to `:500` — verified by reading the interface's true extent
(`^export interface` at `:70`, closing `}` at `:500`), not a context
window.

---

## Verification

Run through the shared verify lock where it is a package suite.

| what | result |
|---|---|
| `pnpm --filter @object-ui/types run type-check` (`tsc --noEmit` +
examples + `tsconfig.test.json`) | **exit 0** |
| `pnpm --filter @object-ui/types run test` | **198 files / 4656 tests
passed** |
| `node scripts/check-changeset-presence.mjs` | **exit 0** — 3 published
source files changed, 1 changeset, empty frontmatter, "declared as
releasing nothing, which is the explicit exemption and a complete answer
to this gate" |
| `check-changeset-claims` / `-no-major` / `-fixed` / `-overwrite` /
`check-pending-changeset-literals` | exit 0 |
| `node scripts/check-new-cross-file-line-citations.mjs` | exit 0 —
**0** new cross-file line citations |
| `node scripts/check-control-bytes.mjs` | exit 0 |
| `node scripts/check-governed-queue-guard.mjs --test ...` | NOT
GOVERNED, 4 paths checked against 5 governed surfaces |
| `eslint . --no-inline-config --format json` (whole repo, 5038 files) |
95 errors / 13202 warnings, **none in any file this branch touches**;
the three changed files lint to **0 errors** |

The 95 repo-wide eslint errors are pre-existing on `origin/main`
(`react-hooks/static-components`, `no-console` and friends in
`apps/console` and `e2e/`), untouched by a comment-only diff.

## Changeset

Empty frontmatter, following the repo's own precedent for comment-only
changes in published source. Comments **do** reach the emitted `.d.ts`
here — the base tsconfig sets `removeComments: false`, verified — and
the changeset says so explicitly, but nothing a consumer can execute or
type-check against moves.

---
_Generated by [Claude
Code](https://claude.ai/code/session_012EpHzwH4wTy5sd7ibkD2yq)_

---------

Co-authored-by: Claude <noreply@anthropic.com>
akarma-synetal pushed a commit to akarma-synetal/objectui that referenced this pull request Sep 28, 2026
…restating it at eight sites (objectui#9684) (objectstack-ai#9926)

Part of objectstack-ai#9684 — this PR takes the live half and hands the rest back as a
decision; the card stays open for it.

> ## RE-DERIVED AT HEAD `baa386c4b` — one vintage, no stale sentence
left standing
>
> Written by the implementer in the same push that created this head. ⭐
Round 5 established the rule this body follows: the whole body is ONE
vintage, every figure re-derived against the head being pushed, and a
sentence the review falsified is **repaired in place** rather than
annotated. ⛔ Nothing is left for a banner to excuse.
>
> **What round 5's review falsified, and what became of it here:**
>
> 1. "caught only directly behind `or`, with nothing but a comma,
whitespace and an opening parenthesis allowed in between" — that named a
**set** while the pattern `,?\s*\(?` required an **order**. ⛔ **Repaired
by moving the pattern, not the sentence** — see A below. The sentence
now reads "any number of them, in any order", and it is true.
> 2. "Its population is every comment in the package" — two ABUTTING
comments were one block, so a drifted copy inherited its neighbour's
precondition. ⛔ **Repaired in the code** — see B below.
> 3. "Ablation ledger — 17 legs" beside a paragraph enumerating 18. ⛔
**Repaired by re-deriving the number from the table**, which is now 41
and is counted from the rows below rather than remembered.
>
> ⚠️ Round 5's body also carried this sentence: "⛔ The clause pattern
itself is **unchanged**; nothing was widened to make a sentence true."
**That is no longer true, and round 6 reverses that choice on purpose.**
The reversal and its four-axis reasoning are stated below rather than
quietly dropped.

Clause-②: yes

## What round 6 changed

Round 5's contract review passed the direction for the fifth time and
reproduced every figure the round printed — the pin, the reverse leg,
the full suite, the 65-file `.d.ts` equality with both marker controls,
the population at base and head, and the exact failure sets for B1, C1,
C2 and D1. Standing A, standing B/③C and ③D are all **closed**. Two
findings remained, both in the **silent** direction, both wordings
nobody had tried.

**A · the separator sentence named a SET; the pattern enforced an
ORDER.** All four carriers said `3`, `iii`, `third` and `thirdly` are
caught behind `or` "with nothing but a comma, whitespace and an opening
parenthesis allowed in between" — a set of permitted characters. The
pattern spelled that separator `,?\s*\(?`, which admits **comma, then
whitespace, then parenthesis, in that order only**. So `, or ( 3 ) …`
(whitespace *after* the parenthesis) and `, or ,3 …` (a comma *after*
whitespace) contained nothing any published sentence forbade and passed
**22/22**.

⛔ **The sentence was not patched to describe the order.** The separator
is now `[\s,(]*` — the genuine set its prose always claimed — and the
caught-list in all four carriers is **re-derived from the widened
pattern**, 20 wordings re-measured through the pin (legs W01–W20), never
hand-patched. Two properties make that safe and checkable:

- `[\s,(]*` is a strict **superset** of `,?\s*\(?` — every string the
old separator admits is made only of commas, whitespace and opening
parentheses ⇒ ⛔ **no wording that was caught became silent.** Measured,
not argued: the eight previously-caught wordings are all still caught
(W09–W15, W20), and the four wordings the header declares silent are all
still silent (W05–W08).
- The two escapes now red (W01, W02), and so do the two further
set-shaped spellings nobody had published either: `, or, (iii) …` (W03)
and `, or (( 3 )) …` (W04).

⚠️ Two observations the review asked to be folded in, both measured
here: `, and prong-3 keeps …` is **silent** (W19) — the hyphenated
spelling is not `prong 3` and ⛔ no carrier claims it is; and `, or
third-party tooling keeps …` **reds** (W20) — the anchor catches a
non-numbering `third` behind `or`. That second one is the **declared
spurious-red direction** and is fine by design: a spurious red sends a
human to read four blocks, a spurious green is the defect this pin
exists for.

**B · two abutting comments were ONE block, so a drifted copy inherited
its neighbour's precondition.** A blank line was the only thing that
ended a comment run. So an un-amended `//` statement wedged between the
`ChatbotSchema` JSDoc's closing delimiter and `export interface` — no
blank line — passed **22/22**, and so did an un-amended JSDoc stacked
directly above that JSDoc. A human reads five statements; the pin
counted four.

⭐ The pin's own prose already forbade exactly this: *"A blank line ends
a run on purpose — joining across one would let a drifted note inherit a
compliant neighbour's precondition and pass."* The code joined across
`*/`→`//` and `*/`→`/**` anyway. ⛔ The prose was right; the **code** now
says it — the same direction ③D took. A run now ends at a `*/` and
starts at a change of kind.

⚠️ That is a **boundary** rule, ⛔ not a rule about statements, so it
re-cuts every abutting pair in the package. Re-derived at this head with
the pin's own comment oracle rather than remembered:

| abutting shape, no blank line | sites in `packages/types/src` |
|---|---|
| `*/` → `//` | **3** (`spec-ui-namespace.ts:32`,
`zod/objectql.zod.ts:679`, `zod/objectql.zod.ts:1904`) |
| `*/` → `/**` | **13** |
| `*/` → `/*` | **1** (`field-types.ts:903`) |
| `//` → `/**` | **11** (`complex.ts` ×2, `index.ts` ×5, `layout.ts`,
`objectql.ts` ×2, `zod/objectql.zod.ts`) |
| `//` → `/*` | **1** (`index.ts:1326`) |
| **total** | **29** |

The block count over the package goes **4696 → 4725** — one new cut per
pair, exactly — and ⛔ no count anything asserts moves: the same **4**
statements at the same four line spans (`complex.ts` 165, 1026, 1381,
1830), **9** trailing comments, **0** of them stating the rule, before
and after.

⚠️ **A figure in the round-5 handoff that this round could not
reproduce, stated rather than quietly corrected.** The handoff recorded
this census as "`*/`→`//` with no blank **0**, `*/`→`/**` with no blank
**0**, `//`→`/**` with no blank **5** (`index.ts` 1085, 1129, 1170,
1224, 1428)". Measured here package-wide, those are **3**, **13** and
**11**; the named 5 are the `index.ts` subset of the third row, and
every site listed above was read back by eye with `cat -A` before being
reported. ⇒ the fix was verified against the real 29, ⛔ not against the
5.

## What the card asked for, and what the tree says now

The card measures one live defect on PR objectstack-ai#9682's head `dce4a74a1`: the
sixth statement of the retire-vs-remove discriminator, the
`GestureConfig` note in `mobile.ts`, did not carry the amended
surviving-carrier precondition.

⚠️ **That instance is already repaired, and it was repaired before objectstack-ai#9682
merged.** objectstack-ai#9682 landed as `5f8190c8cc98409e65400ff24adfb805b80a3ffc` at
2026-09-17T11:56:43Z — thirty minutes after the card was filed — and its
merged diff amends the `GestureConfig` note along with the other four.
Read on this branch's base `fc12bc8c6`, that note states the amended
rule in full.

⭐ **The card's class is live anyway, at two sites the card did not
name.** Re-derived on `fc12bc8c6`, which is still this branch's
merge-base with `origin/main` at this head:

| file @ `fc12bc8c6` | retirement it argues | carried the precondition?
| in the card's six? |
|---|---|---|---|
| `complex.ts` block opening at :165 | `KanbanColumn.color` | yes | yes
|
| `complex.ts` block opening at :1026 | `ChatbotSchema` dark keys | yes
| yes |
| `complex.ts` block opening at :1381 | `displayMode` | yes | yes |
| `complex.ts` block opening at :1830 | `triggerIcon` | yes | yes |
| `mobile.ts` block opening at :74 | `MobileResponsiveConfig` | ⛔ **no**
| ⛔ **no** |
| `mobile.ts` block opening at :122 | `MobileOverrides` | yes | yes |
| `mobile.ts` block opening at :293 | `GestureConfig` | yes (by
`5f8190c8c`) | yes |
| `mobile.ts` block opening at :371 | `MobileComponentConfig` | ⛔ **no**
| ⛔ **no**

Every address above is bound to `fc12bc8c6`; none of them is carried
into any file in this diff. The same population read at this head is
**four**, all in `complex.ts` — which the pin asserts rather than this
table.

So the population was **eight**, not six, and the amendment reached five
of eight. ⇒ the card's own argument holds harder than it claimed: the
failure is not "one site was missed", it is "the instrument that
enumerates the sites is itself a phrase grep, and it undercounts".

## The widened scan, and its controls

⛔ The card's six were not treated as a closed list. Scans, all bound to
`fc12bc8c6`:

- **Concept scan, whole tree** (not just the two files, not just the
package): `git grep -inE "steers? authors to|named live
replacement|keeps? loud|kept loud|taught as working|surviving carrier|no
carrier"` over every tracked file. Lit control: it fires well outside
the two files —
`packages/app-shell/.../FlowNodeConfigField.entryCondition.test.tsx`,
`packages/types/src/__tests__/page-breadcrumbs-refusal-8871.test.ts`,
three more test files, `scripts/check-governed-queue-guard.mjs`, and
**five** `.changeset/*.md` bodies (`4919`, `5942`, `7519`, `7678`,
`9183`) — so its zero elsewhere is a reading, not a silent probe. ⚠️
Rounds 1–5 printed "four `.changeset/*.md` bodies" here; re-derived at
`fc12bc8c6` in this push it is **five**, and the list is now named
rather than counted from memory.
- **Route-argument scan**, for paraphrases that state the rule without
any of those phrases: `git grep -inE "rather than (a )?tombston|rather
than kept as|removed outright|outright rather than|than a plain
removal|never. carcass|tombstone (exists|is available|rather)"` over
`packages/types/src` excluding tests and `zod/`. This is the scan that
found `MobileComponentConfig`, which paraphrases the precondition as
*"There is no surviving object to hang a `never` key on"* and is
invisible to every phrase the card's probe searched for. Lit controls in
the same pass: it fires on `ai.ts` and on `objectql.ts`, neither of
which the card names.
- **Two sites outside the card's two files, reported and deliberately
NOT changed**: `AIFormAssistSchema.formId` in `ai.ts` cites *"PRONG 2 of
the discriminator (objectui#5941, objectstack-ai#7526, objectstack-ai#7678)"* without restating it —
it is already the shape this card asks for, and it needed no edit when
objectstack-ai#7678 amended the rule, which is the measured precedent for the remedy
below. `ObjectKanbanSchema.allowCollapse` in `objectql.ts` argues "why a
tombstone rather than a plain deletion" from the passthrough silent-keep
mechanism; that is a different argument, not this discriminator, so it
is a boundary case, not a ninth site.
- ⚠️ **A wrapping hazard the card's probe shares with any line-based
grep**: `grep -inE` reads one line at a time, and this prose wraps
mid-phrase. Live demonstration re-taken at this head on a sentence this
PR must not disturb: `grep -c 'no silent-strip hazard for prong 2 to
guard'` over `mobile.ts` prints **1**, while flattening the comment
punctuation and line wrapping first prints **2** — the second occurrence
wraps. The pin flattens before matching for exactly this reason.

## The change

`mobile.ts` now **cites** the rule instead of restating it. The
statement it cites is the `ChatbotSchema` JSDoc in `complex.ts`; each of
its four retirement notes points there and keeps its own per-retirement
argument — which prong holds here and why — which no shared statement
can carry, exactly as the card says. ⚠️ That is the statement they cite
and ⛔ **not** the only one in the package: `complex.ts` states the rule
at four sites, `ChatbotSchema` among three peers (`KanbanColumn.color`,
`displayMode`, `triggerIcon`), and whether those four become citations
too is the open decision below. Nothing is deleted into a vacuum: every
prong measurement, reopen condition, spec-history note and ⚠️ carve-out
is kept. The `MobileComponentConfig` note keeps its own precondition as
the precondition rather than dropping it, with its wording brought to
the amended form — "no surviving **object**" became "no surviving
**carrier**", which is the rule's own phrasing and what the pin matches.

A file preamble states, once, where the rule lives and why this file
cites while `complex.ts` states.

## Measurements — all re-taken on `baa386c4b`

**① The `.d.ts` asymmetry the card lists as "not measured".**
`mobile.ts` argues its retirements in `//` comments; `complex.ts` argues
its four in JSDoc on exported members. Declaration emit treats those
differently. Measured by injecting one marker into each and rebuilding
the package clean, under the verify lock:

| marker injected into | occurrences in the emitted declaration file |
|---|---|
| a `//` note in `mobile.ts` (present once in `src` in the same run) |
**0** in `dist/mobile.d.ts`; per-file hash table unchanged vs the head
table (**0** diff lines) |
| the `ChatbotSchema` JSDoc in `complex.ts` (present once in `src` in
the same run) | **1** in `dist/complex.d.ts`, **0** in
`dist/mobile.d.ts`; per-file table moves **4** diff lines |

⚠️ **A first attempt at these two legs measured nothing and is reported
as such.** Both replacements re-emitted their own anchor, so
`ablation-replace` refused the mutation ("the anchor count moved 1 -> 1,
a drop of 0") and the build that followed carried **no marker at all** —
a reading of `0` that would have read exactly like the real leg. ⛔ It is
not counted as a measurement; the legs above are the re-run with
consumed anchors, each with its `src` count printed beside its `dist`
count so a zero cannot be an unplanted marker. Residual markers after
the pass: **0** files in `src/`, **0** in `dist/`.

⇒ a citation costs a consumer of the published declarations **nothing**
in `mobile.ts`, and would cost one a jump out of the block they are in
for every site in `complex.ts`. That is the reason this PR converts one
file and not the other.

**② What a `.d.ts` consumer's reading changes to: nothing.** Clean full
rebuilds in one locked pass (`rm -rf dist` + `pnpm --filter
@object-ui/types build`, then per-file `sha256sum` over
`dist/**/*.d.ts`), never incremental: this head emits **65** declaration
files, **130** files in `dist` total; with this branch's base
`mobile.ts` (blob `5e3ad63df`) swapped in it emits **65**; the per-file
hash tables differ by **0** lines and the set-hash is identical
(`6774b4db26140485`). A third clean build after restoring the head file
reproduces the first table exactly — **0** diff lines — so the equality
is ⛔ not a stale-`dist` artefact. The instrument is the same one that
scores 1 and moves the table by 4 lines for the `complex.ts` injection
above, so it is ⛔ not a probe that cannot fire.

**③ Reverse verification of the pin, at this head.** Fix committed
first, then `mobile.ts` alone written back to the base blob under a
`trap ... EXIT INT TERM`, the pin re-run, then restored with `git
checkout HEAD -- ABSOLUTE_PATH` (⛔ never a bare `git checkout --`, which
restores from the index):

- **this head: 22 passed / 22.**
- **base `mobile.ts` swapped in: 8 failed / 14 passed.** The
precondition assertion and the outside-`complex.ts` assertion both name
exactly the four base blocks — `mobile.ts` blocks opening on lines
**74**, **122**, **293** and **371** — found by an instrument that was
not told where to look; the four citation assertions and both
`mobile.ts` statement assertions fire alongside them. ⭐ Unchanged from
round 5, which is the point: the boundary change re-cut 29 pairs and
moved this reading by nothing.
- Landing proven by a changed blob (`1d33aebaece0` → `5e3ad63dfb29`) and
by an on-disk count of a base-only phrase, ⛔ never by an exit code.
Restore verified by blob hash (`1d33aebaece0` back to HEAD), an empty
`git diff HEAD` and an empty `git status --porcelain`.

## The pin


`packages/types/src/__tests__/tombstone-discriminator-agreement-9684.test.ts`
derives the population of rule statements from the source at run time.
**Six `describe` blocks, 22 assertions at this head** — read off the
file (16 `it` / `it.each` declarations, two of them `.each` over 4
cases). It fails when

1. any comment in this package states the rule without its
surviving-carrier precondition **in the rule's own phrasing**,
2. any file in this package **outside `complex.ts`** states the rule at
all — a prong, a clause, anything that matches its statement markers, in
a comment of any form, including one riding on a code line and including
one glued directly against a compliant neighbour,
3. any of `mobile.ts`'s four notes stops citing `ChatbotSchema`, or the
citation target stops stating the rule,
4. `complex.ts` states the rule at any number of sites other than the
recorded four, or at a site the roster does not name,
5. one of those four carries a clause its peers do not, and
6. the pin itself quotes the rule it guards.

Its population is every comment in the package. A comment run ends at a
blank line, at a `*/` and at a change of comment kind, so two abutting
comments are two blocks; a comment riding on a code line is its own
one-line block. It carries its own controls: a synthetic un-amended
statement that must be flagged, a synthetic amended one that must not,
prose that merely mentions a tombstone that must stay out of the
population, and two **vacuity controls** — the four published statements
in `complex.ts` must still be found, and the roster must still resolve
to four distinct blocks, so a marker that stops matching reds instead of
quietly emptying every other assertion. ⛔ What it cannot do is named in
its header rather than hidden: a NEW paraphrase past every marker is
invisible to it, exactly as `MobileComponentConfig` was to the card's
grep. "Is this span a comment" is answered by
`scripts/js-comment-mask.mjs`, never by a private regex.

## Ablation ledger — 41 legs, every one restored and proven

⛔ No sentence above about what the pin catches is asserted; each is a
hypothesis run through the pin. **41 = 6 pre-fix + 21 separator + 4
adjacency + 5 regression + 1 reverse + 4 `.d.ts`** — counted from the
rows below, ⛔ not remembered. Every source mutation went through
`ablation-replace` (literal anchor that must hit a declared number of
times, on-disk landing proven by a **changed blob**, restore proven by
blob equality plus an empty `git diff HEAD`). Working tree after every
batch: `git status --porcelain` **0 lines**.

⭐ **Six mutations were REFUSED by the tool and measured nothing** —
their replacements re-emitted their own anchor, so the anchor count did
not drop and `ablation-replace` exited non-zero before any test ran.
They are named here rather than silently re-run: the first attempts at
E4, E5, B1, C1, C2 and the two `.d.ts` marker legs. ⛔ None is counted as
a leg; each was re-run with an anchor the replacement consumes, and
those re-runs are the rows below. That is the tool doing the job it
exists for — a replacement that does not land produces a green that
reads exactly like a pass.

### Pre-fix — the two escapes reproduced at `e39b1a8da`, the head round
5 reviewed

| leg | mutation | mutated blob | pin |
|---|---|---|---|
| E1 | `, or ( 3 ) …` on the `ChatbotSchema` statement | `3dd7dc9432a9`
| 22/22 — **silent** |
| E2 | `, or ,3 …` on the same statement | `7858d7d5f1b5` | 22/22 —
**silent** |
| E3 | un-amended `//` statement between the `ChatbotSchema` JSDoc's
`*/` and the declaration | `2e66e693f106` | 22/22 — **silent** |
| E4 | un-amended JSDoc stacked directly above that JSDoc, no blank line
| `deb6c5d5fbe7` | 22/22 — **silent** |
| E5 | **control**: the same stacked JSDoc **with** a blank line |
`7568f7ec28b3` | **4 failed** |
| E6 | un-amended `//` statement above that JSDoc, no blank line |
`46da257f395e` | **2 failed** |

E1 and E2 reproduce the review's blobs exactly. E5 is what says the
instrument was not simply blind: separate the blocks by one blank line
and it reds 4.

### Separator wordings — all 21 re-measured at this head, the
caught-list re-derived from the widened pattern

| leg | clause appended | blob | pin | published as |
|---|---|---|---|---|
| W01 | `, or ( 3 )` | `3dd7dc9432a9` | **1 failed** | caught |
| W02 | `, or ,3` | `7858d7d5f1b5` | **1 failed** | caught |
| W03 | `, or, (iii)` | `043b990f235c` | **1 failed** | caught |
| W04 | `, or (( 3 ))` | `930694c9d41a` | **1 failed** | caught |
| W05 | `, and (iii)` | `2a16978c2c0a` | 22/22 | silent |
| W06 | `, or else (iii)` | `87ab694c7eca` | 22/22 | silent |
| W07 | `; and, third,` | `d7e68454cc5c` | 22/22 | silent |
| W08 | `, or: (iii)` | `4f39e633dc00` | 22/22 | silent |
| W09 | `, and (3)` | `7ac7178b7d6d` | **1 failed** | caught |
| W10 | `, and prong 3` | `97e341d72bcf` | **1 failed** | caught |
| W11 | `; and the third prong` | `d3a2e2cf7f24` | **1 failed** | caught
|
| W12 | `, or thirdly` | `04e633935e3f` | **1 failed** | caught |
| W13 | `, or else (3)` | `1f6a3808f51f` | **1 failed** | caught |
| W14 | `; or 3)` | `607141edf530` | **1 failed** | caught |
| W15 | `, OR (III)` | `ad27035ae7dc` | **1 failed** | caught |
| W16 | `, or—(iii)` (em dash) | `bb6083c2d4f2` | 22/22 | silent |
| W17 | `, and third,` | `3483d58c0a7e` | 22/22 | silent |
| W18 | `, or` (numbers nothing) | `8933075b669b` | 22/22 | silent |
| W19 | `, and prong-3` | `c62d60c5a29a` | 22/22 | silent |
| W20 | `, or third-party tooling` | `e7c5c7c8a2af` | **1 failed** |
caught — declared spurious red |
| W21 | `, or` / `(iii)` split across a line break | `04b3bc24932c` |
**1 failed** | caught, because markers match the FLATTENED block |

Every red names one assertion: *the `ChatbotSchema` statement carries
exactly its recorded clauses*, listing `a-prong-beyond-the-two` present
at one site and absent at its peers. ⭐ W05's blob `2a16978c2c0a`, W21's
`04b3bc24932c`, W14's `607141edf530` and W15's `ad27035ae7dc` are the
same blobs rounds 4 and 5 printed for the same mutations — an
independent cross-check that these are the review's legs and not
lookalikes.

### Adjacency — the same four mutations as E3–E6, re-run against the
fixed pin

⭐ **The blobs are identical to the pre-fix rows**, so nothing about the
mutation changed; only the pin did.

| leg | mutation | blob | pin before | pin after |
|---|---|---|---|---|
| X1 | `*/` → un-amended `//` statement → declaration | `2e66e693f106` |
22/22 **silent** | **5 failed** |
| X2 | un-amended JSDoc stacked above, no blank line | `deb6c5d5fbe7` |
22/22 **silent** | **4 failed** |
| X3 | **control**: the same, **with** a blank line | `7568f7ec28b3` |
**4 failed** | **4 failed** |
| X4 | un-amended `//` statement above the JSDoc, no blank |
`46da257f395e` | **2 failed** | **4 failed** |

⭐ X2 and X3 now fail **identically** — that is the whole fix: a blank
line no longer decides whether a drifted copy is seen. X4 was already
caught and still is; it now reds through the substantive assertions
(exact count, roster names, shared clauses, precondition) instead of
only through the two `kind === 'jsdoc'` assertions, and the **11** real
`//`→`/**` sites in the package are untouched by it — measured as the
unchanged population above (4 statements, 9 trailing, 0 stating the
rule) and by the pin's own 22/22 at this head.

### Regression — the legs the earlier rounds closed, re-run to show the
boundary change moved none of them

| leg | plant | blob | pin |
|---|---|---|---|
| B1 | fully amended statement in `data-display.ts` | `f4e7332729c7` |
**1 failed**, and exactly one: *no file outside `complex.ts` states the
rule AT ALL* |
| B2 | same, precondition removed | `1b078ce7682d` | **2 failed**: that
assertion plus the precondition assertion |
| C1 | round 4's exact wording appended to the `GestureContext` line in
`mobile.ts` | `2ce74bc7ceb5` | **4 failed** |
| C2 | amended statement appended to the `ChatbotSchema` declaration
line | `396d674178ed` | **2 failed**: both `complex.ts` roster
assertions |
| D1 | **vacuity control**: every statement marker replaced with one
that matches nothing | `a8152fa73877` | **9 failed / 13 passed**,
including *both* vacuity controls and all four roster assertions |

⇒ a dead marker cannot print the same quiet zero B1's assertion prints
when the tree really is clean. All five readings are identical to round
5's.

### Reverse and `.d.ts` — 5 more

The reverse leg (③ above) and the four `.d.ts` legs: base-`mobile.ts`
swap, third-build reproduction, the `ChatbotSchema` JSDoc marker
control, the `mobile.ts` `//` marker control.

## Why this shape and not the others — the four axes

**Option A — amend the two stragglers in place** (the shape the card's
remedy section refuses). **Option B — one block, every site cites it.**
**Option C — cite where a declarations reader pays nothing, state where
it pays, pin the agreement** (this PR). **Option D — pin only, leave all
eight statements.**

**实际业务需求.** Measured, not assumed: the rule is stated in six of this
repo's changeset bodies — `4919`, `5942`, `7519`, `7678`, `7703` and
this card's own `9684`, the list that marker sweep prints rather than a
remembered count, re-derived at this head — and it was amended once
(objectstack-ai#7678), an amendment that reached five of eight sites. So the
recurrence is real. But the cost actually paid was a reader getting the
WRONG rule, not an author paying for a slow edit ⇒ agreement is the
demand, fewer copies is a means. And the consumer side is asymmetric by
measurement ①: a `.d.ts` reader has never been able to read
`mobile.ts`'s four. A remedy that charges that reader a jump to fix a
problem they do not have fails this axis, which is what separates C from
B.

**项目长远合理性.** N statements of one rule is the N-dialects shape AGENTS.md
#0.1 refuses for metadata, and prose inherits the reasoning: one
contract beats N. A is the patch that fails it outright — it grows N to
eight-agreeing and makes the ninth amendment a nine-site edit. B is
right in principle and wrong on the published face, because
`complex.ts`'s statements ARE part of what the package publishes. C
takes the principle exactly as far as the contract face allows and says
so in the file. D leaves the structure that produced this card intact.

**防 AI 写代码犯错.** This card exists because an agent applied an amendment
at five of eight sites and nothing went red — the declaration was not
enforced. The pin is the 声明即强制 half, and round 6 is that half applied to
itself for the third time: the pin's prose promised a reach its code did
not have, and the **code** was moved to the prose rather than the prose
trimmed to the code (scope B, population ③D, and now the block
boundary). ⚠️ Its remaining reach is named rather than implied:
enforcement is real for every clause the roster records and for every
statement any marker matches; a clause worded past all of the markers is
silent, and that silence is stated as the pattern rather than
summarised. ⛔ No consumer-side tolerance anywhere: nothing here accepts
a looser spelling, and the pin refuses by name.

**创业阶段不扩散需求 — ⚠️ and this is where round 6 reverses round 5.** Round 5's
body argued: "⛔ the clause pattern was **not** widened to make a
sentence true, because widening it would have owed a re-derived and
re-published caught-list, which is capability growth bought to retire a
prose defect." ⛔ **That reasoning was wrong, and it is withdrawn here.**
The 创业阶段 axis governs *declared capability surfaces with no pull* — an
authorable key, an exported symbol, a published spelling.
`a-prong-beyond-the-two` is none of those: it is an internal test guard,
it publishes nothing (measurement ②), and widening it is a **contract
tightening**, which the 防 AI 写代码犯错 axis prefers outright (契约收紧优于消费端宽容).
⇒ the earlier reading treated "more characters in a regex" as capability
growth, and that is a category error. The cost round 5 was unwilling to
pay — a re-derived and re-published caught-list — is paid in full in
this push, by measurement, 20 wordings through the pin. ⭐ And the pin's
own header already carried the instruction: *"when you widen a pattern,
RE-DERIVE this paragraph from the pattern rather than editing the
sentence that summarises it."* Round 6 follows it instead of quoting it.
The rest of the axis holds unchanged: no staged window, per the
2026-08-27 ruling — `mobile.ts` converts in this one change, with no
second spelling left behind and no grace period.

⇒ **C.** A and D are refused on axis 2 and 3 respectively; B is refused
only for `complex.ts`, and only on evidence that did not exist before
measurement ① was taken.

## ⚠️ Decision box — the half this PR does NOT take

`complex.ts` still states the rule at four sites, all published.
Converting them is the trade the card declines to decide, and
measurement ① is what makes it decidable:

- **Convert them too** (cite `ChatbotSchema` from the other three): the
next amendment becomes a one-site edit, and every `.d.ts` consumer
reading `KanbanColumn.color`, `displayMode` or `triggerIcon` must jump
to `ChatbotSchema` to learn why the key is a tombstone. Cost falls on a
consumer who is not the beneficiary.
- **Leave them** (this PR): four sites to amend instead of eight, and
the pin holds those four to a recorded clause roster, so an amendment
landing at one of them reds at the other three — for every clause the
roster names, measured by legs W01–W04 and W09–W15. ⚠️ A clause worded
past all of the roster's markers is still silent, measured by legs
W05–W08 and W16–W19; that is the reach, and it is stated in the test
header as the pattern rather than as a summary of it. Recommended
fallback if nobody wants to spend a declarations reader's attention.
- ⚠️ Either way, one thing is unresolved and is NOT fixed here because
fixing it edits published JSDoc: the canonical block does not say it is
canonical. `ChatbotSchema`'s JSDoc attributes the quoted phrase to
`mobile.ts`, which is still accurate, but a reader landing there is not
told that this is the one statement the others cite. Naming it belongs
with whichever option is chosen (objectui#9930 holds it).

## `check:changeset-claims` asked, so: both pending claims survive this
diff

The report-only gate names two pending changesets that describe
`mobile.ts`. `7580-responsive-vocabulary-rehome.md` is about where
`BreakpointName` is declared — untouched.
`7703-chatbot-dark-keys-retired.md` quotes *"no silent-strip hazard for
prong 2 to guard"* and attributes it to `mobile.ts`; that sentence is
still in `mobile.ts` **twice** at this head — the count a flattening
reader prints, ⛔ not the `1` a line-based `grep -c` prints, one
occurrence being wrapped — and this round's `mobile.ts` diff does not
touch it. Neither claim is born false.

## Verification — every figure below taken on `baa386c4b`

Heavy runs serialized through `scripts/pm/os-verify-lock.sh` in the
sibling checkout (slot `objectui-9684-r6`); exit codes were captured
**before** any pipe, each into its own variable rather than read off a
chained command.

| run | result |
|---|---|
| `pnpm --filter @object-ui/types build` (clean, seven times — five
measuring legs plus two during the refused marker attempts) | exit 0 ·
**130** files in `dist` · **65** `.d.ts`, set-hash `6774b4db26140485`,
reproducible across builds |
| `pnpm exec vitest run packages/types/` (locked) | exit 0 · **208 files
/ 4838 tests passed** |
| the pin alone | exit 0 · **22 passed / 22** |
| `pnpm --filter @object-ui/types type-check` | exit 0 |
| `pnpm --filter @object-ui/types lint` | exit 0 · 0 errors, 290
pre-existing warnings |
| `node scripts/check-changeset-presence.mjs` | exit 0 · empty
frontmatter accepted as "releases nothing" |
| `check-changeset-no-major.mjs` / `-fixed.mjs` / `-claims.mjs` /
`check-pending-changeset-literals.mjs` | exit 0 |
| `node scripts/check-control-bytes.mjs` | exit 0 · 8000 tracked text
files scanned, 85 binary skipped |
| `node scripts/check-new-cross-file-line-citations.mjs` | exit 0 · **0
new** citations at `baa386c4b`, enforcement report-only |
| `node scripts/check-test-path-roots.mjs` | exit 0 · 2159 filesystem
calls in 458 of 3290 test files |
| `node scripts/check-hand-rolled-comment-mask.mjs` | exit 0 · no
carrier outside DEBT |
| `node scripts/check-comment-mask-corpus.mjs` | exit 0 · 5129 files, 1
disagree, within the residue objectui#7882 holds open |
| `node scripts/check-type-check-coverage.mjs` | exit 0 · 43/43 packages
compile their tests; the pin is inside the program |
| `node scripts/check-governed-queue-guard.mjs --test` on the three
paths | **NOT GOVERNED** — 3 paths checked against 5 governed surfaces,
none matched |

⚠️ Lint scope: this repo's `pnpm lint` is `turbo run lint`, per package.
All three changed files live in `packages/types` (plus one
`.changeset/*.md`, which no lint rule reads), and that package's own
`lint` script covers them, so nothing about this diff is outside what
ran — no narrowing was needed and none is claimed.

⛔ NOT MEASURED, stated rather than implied: CI's final state on this
head — the report is filed when the local runs finish, ⛔ not after
waiting for CI to converge. Round 5's head was fully green (33 success /
3 skipped / 0 red, 36 of 36 returned); ⛔ that is a reading about
`e39b1a8da` and says nothing about this one.

## Acceptance notes

Out-of-scope observations, **noted and not filed** — none is a
reproducible defect, a broken declared contract, or a trap that makes a
runtime refuse authored metadata:

- `noted, not filed:` the round-5 handoff's abutting-comment census
(`*/`→`//` 0, `*/`→`/**` 0, `//`→`/**` 5) does not reproduce
package-wide; measured here it is 3, 13 and 11, the named 5 being the
`index.ts` subset of the third row. It is a figure in a handoff, not a
defect in this tree, and the fix was verified against the re-derived 29.
Carrier: this body and the round-6 report, which both print the
instrument.
- `noted, not filed:` the card's measured position table is stale in a
way that cost this run a premise check — it was taken on an open PR's
head and that PR moved before merging. Carrier: whoever writes the next
finding from an in-seat review; no PR or person is currently on this
file.
- `noted, not filed:` `AIFormAssistSchema.formId` in `ai.ts` already
uses the citation form this card proposes and survived objectstack-ai#7678 untouched.
It is evidence, not a defect. Carrier: the decision box above, if option
B is taken.
- `noted, not filed:` `ObjectKanbanSchema.allowCollapse` in
`objectql.ts` argues the tombstone route from the passthrough mechanism
rather than from this discriminator. Both arguments are sound; nothing
disagrees. Carrier: none.
- `noted, not filed:` the round-4 review's suggested one-sentence fix
for A was itself one step wide (`, and (3) …` is caught, because `(3)`
carries no `or` anchor). Round 5's seat has since corrected its own
handoff on this point. Carrier: this body and the round-5 record, which
both say so.

Labels: ⛔ **this round wrote none.** `needs:contract-review` is the
seat's to hang or clear; the seat re-hangs it when this head moves, and
this push neither hangs, removes nor waits on it.

⚠️ **A standing rules conflict, flagged and not silently resolved.**
This round's dispatch names the PR body re-stamp as an owed item, while
the standing os-dev clause says the implementer writes the body once, at
PR creation, and never `PATCH`es it. The conflict is with the maintainer
as **objectui#9976** and is ⛔ unresolved. This round follows the
dispatch, exactly as round 5 did, and says so here rather than choosing
a side quietly.

⚠️ **Provenance, restated as prose rather than left to a footer block.**
A `PATCH` to this body downgrades a session-URL footer to the bare form
and unconditionally appends a second footer, so the durable carrier is
this sentence: this round was implemented by
`session_01Xm4WFhEe5mwcgyqHjxR2hn`, whose session URL is
`https://claude.ai/code/session_01Xm4WFhEe5mwcgyqHjxR2hn`. The body sent
in this edit carries no trailing footer, so the platform's append leaves
exactly one.


---
_Generated by [Claude Code](https://claude.ai/code)_

---------

Co-authored-by: Claude <noreply@anthropic.com>
akarma-synetal pushed a commit to akarma-synetal/objectui that referenced this pull request Sep 28, 2026
…der` key (objectui#7353) (objectstack-ai#10522)

Fixes objectstack-ai#7353

Clause-②: yes — the ruling removes a declared member from a published
prop type (`ObjectPivotTable` is exported from
`@object-ui/plugin-dashboard`) and from `ObjectDataTableSchema` on both
faces.

This carries out ruling 5809008870 (ADR-0049 enforce-or-remove, remove
arm):

- The three `dataProvider: widgetData` writes are deleted.
- The two typed declarations are replaced by **retirement tombstones**,
which refuse the key and point at `objectName`.
- No reader is added.

Round 2 applies contract review 5828182277 (FAIL at `35624634f`). That
review found that the bare deletion left an authored `dataProvider`
absorbed silently. It also found that the changeset described an
unreleased `@object-ui/types` member as if it were published.

## What changed

| Site | Released 17.6.0 | This PR |
|---|---|---|
| `DashboardRenderer`, table arm (`object-data-table` node) | writes
`objectName` and `dataProvider` | writes `objectName` only |
| `DashboardGridLayout`, table arm (`data-table` node) | writes
`objectName` and `dataProvider` | writes `objectName` only |
| `DashboardGridLayout`, pivot arm (`pivot` node) | writes `objectName`
and `dataProvider` | writes `objectName` only |
| `ObjectPivotTableProps['schema']` (prop type of the exported
`ObjectPivotTable`) | `dataProvider?: { provider: string; object?:
string }` | `dataProvider?: never`, a tombstone. There is no zod face:
neither `object-pivot` nor `PivotTableSchema` has a mirror. |
| `ObjectDataTableSchema`, TS interface (`@object-ui/types`) | not
released (enters with objectui#6576, changeset still pending) |
`dataProvider?: never`, a tombstone |
| `ObjectDataTableSchema`, zod mirror (`@object-ui/types/zod`) | not
released | `dataProvider: retirementTombstone(...)`, which refuses the
key by name. Its message says to write `objectName`. |

I measured the released column with `npm pack` of
`@object-ui/types@17.6.0` and `@object-ui/plugin-dashboard@17.6.0` (both
are `latest`), using a word-bounded grep:

- **types 17.6.0**: 0 files name `dataProvider` and 0 name
`ObjectDataTableSchema`. The control, `DashboardSchema`, is found in 4
files. An unbounded grep also finds one `CHANGELOG.md` line, but that is
the `MetadataProvider` substring trap.
- **plugin-dashboard 17.6.0**: `dist/ObjectDataTable.d.ts` and
`dist/ObjectPivotTable.d.ts` both declare `dataProvider?`, and
`dist/index.js` carries 3 `dataProvider: ` writes.

The changeset is `.changeset/7353-retire-widget-dataprovider.md`. It
declares `@object-ui/plugin-dashboard` minor with a BREAKING body, and
`@object-ui/types` minor, per AGENTS.md §9. It is written against
released 17.6.0: the published narrowing is plugin-dashboard's, and no
released `@object-ui/types` validator changes verdict.

**Pre-edit re-grep (H1).** I ran a word-bounded `dataProvider` grep over
every tracked file at base `660d31185`. It left out the `const
dataProvider = ...provider` locals in calendar, gantt, map, tree and
core's `record-source` test, which triage ruled unrelated, and the
`apps/console` comment about them. It found:

- the three writes and the three declarations at the sites the dispatch
named;
- one comment in `ObjectPivotTable`;
- two fixtures in `objectql-union-arms-7363.test.ts`.

It found no reader, no doc and no README that uses the key.
`@objectstack/spec` declares neither `object-data-table` nor
`dataProvider`.

## objectui#4357 question (H2): the key never reached a DOM attribute

A one-off probe, not committed, rendered all three producer paths for
real on base `660d31185`. It listed every attribute on every element and
spied on `console.error`:

| Render | Elements | `dataprovider` / `data-provider` attributes |
React unknown-prop warnings naming it |
|---|---|---|---|
| renderer, table | 68 | 0 | 0 |
| grid, table | 31 | 0 | 0 |
| grid, pivot | 23 | 0 | 0 |
| positive control: a div with the same object spread onto it | 2 | 1
(`dataprovider`) | 1 |

This change does not close any objectui#4357-class leak.

## What the zod mirror does with an authored `dataProvider` (H3)

- **Bare deletion, measured at `35624634f` (round 1).**
`ObjectDataTableSchema` extends the `.passthrough()` `BaseSchema`, so an
authored `dataProvider` was kept on the parsed value and checked by
nothing, whether well-formed or malformed. The TS face has `[key:
string]: any`, so authoring the key still compiled. That was the same
silent no-op the card exists to end.
- **Tombstone, at this head.** A well-formed value and a malformed value
are both refused **by name**, at path `dataProvider`, with code
`invalid_type`. The message names `objectName`. The refusal also reaches
authors through `safeValidateSchema`. An undeclared key is still
accepted and kept (control). On the TS faces, authoring `dataProvider`
is a compile error on both carriers.
- **Released terms.** `@object-ui/types@17.6.0` declares neither the
schema nor the key, so no released validator's verdict moves.
`ObjectDataTableSchema` ships for the first time with `dataProvider`
already refused.

**Why a tombstone rather than a deletion.** I used the repo's retirement
discriminator: objectui#5941 and objectstack-ai#7526, as amended by objectui#7678,
stated on `KanbanColumn.color` in `packages/types/src/complex.ts`. A `?:
never` tombstone is available only on a surviving carrier. On such a
carrier it is used when either prong holds:

1. it steers authors to a named live replacement key;
2. docs taught the key as working.

Here:

- Both carriers survive: `ObjectDataTableSchema` and
`ObjectPivotTableProps['schema']`.
- Prong 1 holds: `objectName` is the key both widgets read.
- Prong 2 does not hold: no doc, README or CHANGELOG ever taught the
key.

A tombstone refuses a key and reads nothing, so the ruling's "no reader
is added" still holds.

## Hand-off to the spec lane (`packages/types`)

Triage note 5548497098 and the ruling put the `packages/types` half in
this PR instead of a separate card. For the `domain:spec` lane:

- `ObjectDataTableSchema` is still unreleased. Its `dataProvider` member
changes from a typed optional object to a retirement tombstone, on the
TS face and the zod face.
- No other member moves.
- **Union-arms fixture triage.** The "with its keys" fixture drops
`dataProvider`, because the key is now refused. The rejection row that
probed `dataProvider.provider` is removed, not respelled, because it
pinned the retired typed declaration. The by-name refusal of the key now
lives in the retirement pin below. The arm is still probed by name
through `searchable`.

## Pins


**`packages/plugin-dashboard/src/__tests__/widgetDataProviderRetired-7353.test.tsx`**

- It records every node handed to `SchemaRenderer` and then renders it
with the real renderer. It checks:
- the `DashboardRenderer` `object-data-table` node, and the `data-table`
node that widget renders next;
  - the `DashboardGridLayout` `data-table` node and `pivot` node.
- Each node must have no `dataProvider` and must keep `objectName`
(control).
- The widget must still fetch through `objectName` (control).
- Type level: `ObjectPivotTableProps['schema']['dataProvider']` and
`ObjectDataTableProps['schema']['dataProvider']` must both be exactly
`undefined`, which is how a `?: never` tombstone reads. `objectName`
must stay `string | undefined` (control).
- `@ts-expect-error` on authoring `dataProvider` on both prop types,
with an undeclared key compiling without a directive (control).
- `ObjectDataTableProps` reads `@object-ui/types` through the built
`.d.ts`.


**`packages/types/src/__tests__/object-data-table-dataprovider-retired-7353.test.ts`**

- The TS face must read as `undefined` (tombstone), with `objectName`
live (control).
- `@ts-expect-error` on authoring both a well-formed and a malformed
value, with an undeclared key compiling (control).
- The zod face must refuse both a well-formed and a malformed value by
name (path `dataProvider`, `invalid_type`, message names `objectName`),
including through `safeValidateSchema`.
- An undeclared key must still be accepted and kept, and a node without
`dataProvider` must validate (controls).

## Red on the earlier trees, green on the head

**Node pins on base `660d31185` (round 1).** 3 failed and 1 passed. Each
failure was `expected [...] to not include 'dataProvider'`.

**Reverse verification at `511316a02`.** A trap-guarded script put the
five source files back from each earlier tree and kept the pins. Each
leg rebuilt `@object-ui/types` and ran the three pin files and both
type-checks.

**Leg A: `35624634f` (bare deletion).** On disk there were 0 tombstones
and 0 writes, and the dist had 0 tombstones.

- vitest: 3 failed, 16 passed. The failures were the zod well-formed,
malformed and `safeValidateSchema` cases (`expected true to be false`).
- types type-check: exit 2. `TS2344` on the tombstone `Equal` line, plus
`TS2578` unused directive on both authoring lines.
- plugin-dashboard type-check: exit 2. `TS2344` on both `Equal` lines,
plus `TS2578` on both authoring lines.
- The controls and the node pins stayed green.

**Leg B: `660d31185` (original base).** On disk there were 0 tombstones
and 3 writes.

- vitest: 6 failed, 13 passed. The failures were the three node pins,
the zod well-formed case (accepted), the zod malformed case (refused at
`dataProvider.provider` instead of at the key: `expected [] to have a
length of 1`), and the `safeValidateSchema` case.
- types type-check: exit 2. `TS2344` on the `Equal` line, plus `TS2578`
on the well-formed authoring line. The malformed line was already an
error under the typed member, so its directive held.
- plugin-dashboard type-check: exit 2 with 4 errors, as in Leg A.
- The controls stayed green.

**Restore, after each leg and at exit.** `git checkout HEAD --` on
absolute paths. All five files were hash-equal to their HEAD blobs, `git
diff HEAD` was 0 bytes and `git status` was clean. `@object-ui/types`
was rebuilt, and the dist tombstone hits were 1.

## Gates (at head `511316a02`)

- **Tests.** `pnpm exec vitest run --maxWorkers=2
packages/plugin-dashboard/ packages/types/
packages/plugin-tree/src/ObjectTree.schemaTyped-8655.test.ts
packages/react/src/hooks/__tests__/navigationOverlayConsumers.onRowClickArity-9357.test.ts`:
`Test Files 363 passed (363)`, `Tests 6442 passed (6442)`, lock `VERDICT
command-exit 0`.
- **Type-check.** `pnpm --filter @object-ui/types --filter
@object-ui/plugin-dashboard run type-check`: both full chains, including
`tsc -p tsconfig.test.json`, lock `VERDICT command-exit 0`. This ran
after building the plugin-dashboard dependency closure (12 `build:
Done`).
- **Changeset gates**, exit 0:
- `check-changeset-presence`: "8 source file(s) of 2 released package(s)
changed, and this change declares 1 changeset(s)".
- `check-changeset-no-major`, `check-changeset-overwrite`,
`check-changeset-fixed` and `check:pending-changeset-literals`.
  - `check:changeset-claims` is report-only.
- **Citation and byte gates**, exit 0: `check:new-line-citations`
(`VERDICT new-cross-file-line-citations: 0 new citation(s)`) and
`check:control-bytes`.
- **Mock and test-root gates**, exit 0: `check-vi-mock-specifiers`,
`check-vi-mock-inherit`, `check-vi-mock-override-shape` and
`check-test-path-roots`.
- **Types-surface and doc gates**, exit 0:
- `check:spec-symbols`, `check:designer-field-key-parity`,
`check:handler-key-reads`, `check:element-data-source-declaration`,
`check:unreferenced-sources`, `check:doc-types`,
`check:doc-example-readers`, `check:prompt-keys`,
`check:action-forward-parity`, `check:metadata-write-doors`,
`check-type-check-coverage` and `check-lint-coverage`.
- `check:component-surface-parity` is report-only, with
`read-of-tombstoned-key 0`.
- **Lint, measured over a proven narrowing.** `eslint --no-inline-config
--format json` over the 8 touched TS files gave 8 files, 0 errors and 63
warnings. The narrowing rests on three facts:
  1. `eslint --print-config` accepts all 8 files.
  2. The JSON output has 8 entries.
3. `eslint.config.js` has no `parserOptions.project` or
`projectService`, so linting is not type-aware and the diff cannot
change a judgement on an untouched file.
- **NOT MEASURED locally.** `check:readme-exports`, `check:doc-examples`
and `check-skill-examples` need the whole package set built.
`check:sdui-registration-pins` needs a console build. The diff touches
no README, doc or registration, and CI runs them.
- **CI on `511316a02`.** 43 check-runs: 40 success and 3 skipped.

## Acceptance notes

- **Clause-②.** The line stays `yes`, which the contract review
confirmed.
- **Out of scope, filed by the seat as objectui#10528** (class a,
reproducible with the H2 probe). `DashboardGridLayout`'s `provider:
'object'` table and pivot widgets never fetch. They become `data-table`
/ `pivot` nodes with `data: []`, and those renderers read no
`objectName`. On the base, the probe measured `find` called 0 times and
the fetched row text absent for both, while `DashboardRenderer` fetched
and rendered the same widget. objectui#7353 does not address this.

The dev session for this PR is `session_014mXUNuFomfj24w7s1pZzhN` (seat
`domain:ui#2`, `mode:subagent`).

---
_Generated by [Claude
Code](https://claude.ai/code/session_014mXUNuFomfj24w7s1pZzhN)_

---------

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

finding(types): MobileComponentConfig is now a fully inert published type — zero mount points, zero readers

2 participants