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

test(types): the parity docblock names its instrument instead of restating its count (objectui#9603) - #9901

Merged
os-sales merged 1 commit into
mainfrom
claude/issue-9603-zod-mirror-parity-figure
Sep 18, 2026
Merged

os-sales merged 1 commit into
mainfrom
claude/issue-9603-zod-mirror-parity-figure

Conversation

@os-sales

Copy link
Copy Markdown
Collaborator

Fixes #9603

Clause-②: no

The defect

zod-mirror-parity.test.ts carried a docblock clause that RESTATED a live figure — the Tests N passed (N) line vitest prints for this file — and the figure had rotted. AGENTS.md #9 forbids exactly that: point at the instrument that re-derives a claim, and never write down its answer.

⭐ The irony is the finding, not decoration. This is the file whose entire job is to stop a hand-written restatement drifting away from what it restates, and it carried that defect in its own prose.

Both numbers re-measured here, not taken from the card

probe reading instrument
the quoted figure 12 the literal in the clause
what the runtime half actually prints Tests 37 passed (37) pnpm exec vitest run packages/types/src/__tests__/zod-mirror-parity.test.ts at 4b577229
static cross-check, it( / test( at line start 37 agrees with the instrument
⭐ lit control — is the probe reading this file at all describe( → 12 hits connected
⭐ negative control Tests 999999 passed → 0 does not fire spuriously

⚠️ The card's own replacement number was already stale by the time this was dispatched. The filing seat measured 32 on origin/main on 2026-09-16; the instrument prints 37 at 4b577229 on 2026-09-18. Two days, five cases. That reading is what decided the shape below — it is evidence, not taste.

Which shape, and why it is the right one for a file with THIS job

Chosen: remove the restated figure. ⛔ Not "update the figure to 37".

  1. A replacement number buys about one merge. 12 → 32 → 37 inside the life of a single card. Writing 37 would have re-created the defect with a fresher number and handed the next reader the same trap, in the file least able to afford it.
  2. ⭐ A restated case count in THIS file rots on GOOD NEWS. The suite grows whenever someone adds a pin — which is this file working. So the figure is not merely at risk of going stale; it is guaranteed to, and it goes stale precisely when the file succeeds. Diligence cannot make it durable. Deleting it can.
  3. ⭐ The figure-free spelling was already in the file, and it had never rotted. Thirty lines below, the sibling WiderLedgerMismatch clause makes the same claim about the same instrument — "their passing test counts do not move when this reddens" — carrying no number. That is AGENTS.md 完善设计器的每一个细节 #9 already applied once, by this file's own author, to this file's own sentence. Restating the count in one clause while naming the instrument in its sibling was the whole defect, visible on one screen.
  4. Precedent points the same way: objectui#9617 took this route for the same class of rot elsewhere in this repo ("the count is ten, and derived rather than restated"), and PR objectui#9872 has just taken it for a published docblock.

The card's option 2 — pin it — was considered and rejected on cost. The number is vitest's own output; no in-file constant can read it. A pin would have to assert the suite's own case count, so it would redden on every legitimate test addition. A ratchet that fires on good news is the defect restated as machinery, not a remedy.

What was deliberately NOT touched

This file's header splits a docblock by CLAUSE: a clause that RECORDS a measurement is historical and ⛔ may never be rewritten by a later card; a clause that GIVES GUIDANCE must be true now, and a later card MAY and MUST amend it, naming the card that moved it.

  • The restated figure sat in the guidance half ("... does not move when this half reddens, correctly"). Amending it is therefore obligatory rather than merely permitted, and the new text names objectui#9603 as the header requires.
  • The two record clauses beside it — "it did not move under the ablation either", and the parenthetical reading 5 passed (5) until objectui#6705 added the seven-fixture suite — are left byte-identical; the diff renders them as unchanged context lines.
  • ⛔ No assertion, ledger entry, ledger key, or runtime behaviour changed. What the test asserts was out of bounds for this card.

⚠️ One correction to the card's reasoning; it does not change the outcome. The card read the whole sentence as a RECORD clause and concluded that this file's own ruling barred an in-place repair. Judged by clause, as that ruling requires, the rotten figure is in the guidance half and the record half is the adjacent parenthetical. The card's conclusion still stands, but on its other ground — the choice between deleting and pinning was a judgement, not a mechanical substitution.

The figures the new prose does carry, and why they cannot rot

The replacement clause writes 12, 32 and 37. Each is anchored to a named past event — "true when objectui#6705 wrote it", "when the card was filed", "at 4b577229" — which is the HISTORICAL form the header explicitly permits: readings of a tree that is fixed.

⚠️ Stated honestly, as the card did about its own scope: nothing PINS this clause. headerFigures() guards the header's ledger figures only, and this clause sits about a thousand lines below the header. That is the whole point of removing the live figure rather than refreshing it — a historical figure needs no guard; a live one in an unguarded clause is the defect being repaired.

Verification

All runs at a8c07118, on a worktree byte-identical to HEAD. ⚠️ Exit codes were captured by redirecting to a file first, never read across a pipe.

check command verdict
target suite pnpm exec vitest run packages/types/src/__tests__/zod-mirror-parity.test.ts exit 0 — Test Files 1 passed (1), Tests 37 passed (37)
package type-check pnpm --filter @object-ui/types type-check exit 0, echoing tsc --noEmit && tsc -p tsconfig.examples.json && tsc -p tsconfig.test.json — so the compile-time assertions in this file were actually read
package lint pnpm --filter @object-ui/types lint exit 0 — 0 errors, 290 pre-existing warnings
changeset presence node scripts/check-changeset-presence.mjs exit 0 — one changeset, EMPTY frontmatter, the explicit test-only exemption
changeset no-major node scripts/check-changeset-no-major.mjs exit 0
changeset claims node scripts/check-changeset-claims.mjs exit 0
pending changeset literals pnpm check:pending-changeset-literals exit 0
control bytes node scripts/check-control-bytes.mjs exit 0 — 7952 tracked text files scanned
line citations pnpm check:new-line-citations exit 0 — 0 new cross-file line citations
test path roots pnpm check:test-path-roots exit 0

Does any citation move? ⛔ No. git grep -nE 'zod-mirror-parity\.test\.ts:[0-9]+' over the whole tree returns nothing: no file anywhere cites this one by line address, so a twelve-line insertion at about 3370 moves no pointer. The cross-file mentions that do exist are all in .changeset/*.md and cite this file by filename and symbol, which is AGENTS.md #11's required form.

Repo-wide lint, declared as a measured narrowing rather than skipped. eslint . --no-inline-config --format json reports a universe of 5104 files — read from eslint's own config, not assumed — of which 79 carry errors; this file is not among them, and its own targeted run is 0 errors with 2 pre-existing no-explicit-any warnings, both far above the diff. Invariance: eslint.config.js declares no projectService and no parserOptions.project, so type-aware linting is off and this diff cannot move the verdict on any untouched file.

The file's figure-guard is live — proved, then reverted

Since the new prose still carries figures, it is worth knowing whether anything here can catch a duplicate. One-shot ablation, run against the committed tree:

  • Mutation — a second copy of one pinned header spelling injected on disk; the occurrence count was verified 1 → 2 on disk before anything was run, so the ablation is known to have landed rather than assumed.
  • Result — exit 1, Tests 2 failed | 35 passed (37), both failures naming the guard verbatim:
AssertionError: the header spelling /\*\*(\d+) entries\*\* in `RuntimeOnlyDeclared`/
must occur exactly once in .../zod-mirror-parity.test.ts; it occurs 2 times:
expected 2 to be 1
  • Restore — verified by byte identity, ⛔ not by an exit code: on-disk git hash-object equals the HEAD blob (cb3d5f08...), git diff HEAD is empty, and the ablation marker greps to 0. A trap on EXIT/INT/TERM using absolute paths covered the crash path.

⇒ the guard exists and it fires, and it covers the header — which is exactly why the clause a thousand lines below it needed its figure removed rather than refreshed.

Acceptance notes

No sibling instance of this defect class remains in the file — swept rather than assumed. The only other N passed figures sit in the objectui#6058 ablation record, which is anchored to a named card and written in the past tense (HISTORICAL, and ⛔ not to be rewritten), and the two "85 keys ... today" clauses are both pinned by headerFigures() at the runtime leg. The repaired clause was the only unpinned live one.

Labels. ⚠️ In this repo labelling is CI-owned and destructive: .github/workflows/labeler.yml runs actions/labeler on opened / synchronize / reopened, and that action applies its whole set in ONE setLabels call, which REPLACES rather than adds. .github/labeler.yml derives package: types and tests from these paths. An additive write from this seat would therefore be silently clobbered by the next sync, so none was made; the label set is reported as read back in the delivery report instead.

Out of scope, noted and ⛔ not filed:

  • The card's own title cites this file as a path:line address, and that address is already false — the line it names reads 3371 today. AGENTS.md [WIP] Update documentation for project #11 bans cross-file line addresses, but its carrier list is comments, assertions, failure messages, docs, changesets and script headers; an issue title is not among them, and check:new-line-citations scans tracked files only. So this is a live illustration of why the ban exists rather than a breach of it. Carrier: the next seat editing that card — and if none comes, none is needed.

⛔ Nothing filed under the three classes: no reproducible defect, no other declared contract measured false, and no trap that would lead an author to write metadata the runtime rejects or silently drops.


Generated by Claude Code

…ating its count (objectui#9603)

A docblock clause in `zod-mirror-parity.test.ts` restated the `Tests N passed (N)`
line vitest prints for this file. AGENTS.md #9 forbids exactly that — name the
instrument that re-derives a claim, never write down its answer — and the figure had
rotted, in the one file whose job is to stop a restatement drifting from what it
restates.

Removed rather than refreshed, and the measurement is what decided it: the clause said
12, true when objectui#6705 wrote it; the filing seat measured 32 on `origin/main`;
`vitest run` printed `37 passed (37)` at `4b577229` two days later. A replacement number
would have been false again within about one merge. The reason generalises — this suite
grows whenever a pin is added, which is this file working, so a restated case count rots
on good news and only deleting it makes the sentence durable.

The header's LIVE / HISTORICAL split governs which half moves: the restated figure sat
in the GUIDANCE clause, which a later card must amend and must name itself doing; the
two RECORD clauses beside it are left byte-identical. No assertion, ledger entry or
runtime behaviour changed.

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

Copy link
Copy Markdown
Contributor

changeset-claim-re-read

⚠️ 12 pending changeset(s) describe a file this change touches

Their bodies publish verbatim into the CHANGELOG at the next release, so this is a request to re-read them against your diff — addressed here because you are the one seat that can answer it without re-deriving anything.

⛔ Nothing here blocks, and nothing here is a verdict on your change. This gate exits 0, is not a required context, and judges name resolution, never meaning: it asked whether a pending body names a file you touched. "Is this sentence still true?" is the one question it will not answer, and the one you are being asked to answer.

.changeset/5903-objectgantt-declared-keys.md

  • names packages/types/src/__tests__/zod-mirror-parity.test.ts → packages/types/src/__tests__/zod-mirror-parity.test.ts — edited by this change

    ⚠️ The JUSTIFICATION for that parity clause was retired (objectui#9743); the clause itself stands and did not move. As first written it credited the zod-mirror-parity ratchet with a zero-drift reading for this pair — but at that time the ratchet measured three directions and was structurally blind to the MIRRORED-but-undeclared one (objectui#9711), so a zero from it recorded that it had not looked in that direction, not that nothing was there. objectui#9725 landed the fourth direction, and it covers this pair BY NAME: packages/types/src/__tests__/zod-mirror-parity.test.ts registers objectql.zod.ts#ObjectGanttSchema in both its mirror map and its declaration map; assertionMirroredUndeclaredMatchesLedger requires every registered pair's mirrored-but-undeclared key set to equal that pair's MirroredUndeclared ledger entry — never for a pair the ledger does not name — and assertionNoVacuousMirroredUndeclaredMeasurement refuses a measurement that has degenerated to any. ⛔ Read this pair's verdict off that reconciliation, which re-derives it on every run, rather than off any figure written here; when this paragraph was authored, on 2026-09-18, it required no MirroredUndeclared entry for the pair.

.changeset/5928-classname-style-props-rename.md

  • names zod-mirror-parity.test.ts → packages/types/src/__tests__/zod-mirror-parity.test.ts — edited by this change

    Where the non-pair is recorded now. zod-mirror-parity.test.ts keys its existing EXCLUSIONS entry — the mechanism that accounts for every exported const with no TypeScript declaration to mirror, each with its stated reason — to ClassNameStylePropsSchema. Named for its own two keys, the const leaves no like-named declaration for a name-derived pairing to reach for.

.changeset/6051-gantt-flat-config-declared-keys.md

  • names packages/types/src/__tests__/zod-mirror-parity.test.ts → packages/types/src/__tests__/zod-mirror-parity.test.ts — edited by this change

    ⚠️ The JUSTIFICATION for that parity clause was retired (objectui#9743) — the same retirement objectui#5903's entry carries, for the same clause and the same reason; the clause itself stands and did not move. As first written it credited the zod-mirror-parity ratchet with a zero-drift reading for this pair, at a time when that ratchet measured three directions and was structurally blind to the MIRRORED-but-undeclared one (objectui#9711), so a zero from it recorded that it had not looked in that direction. objectui#9725 landed the fourth direction, and it covers this pair BY NAME: packages/types/src/__tests__/zod-mirror-parity.test.ts registers objectql.zod.ts#ObjectGanttSchema in both its mirror map and its declaration map; assertionMirroredUndeclaredMatchesLedger reconciles every registered pair's mirrored-but-undeclared key set against that pair's MirroredUndeclared ledger entry — never for a pair the ledger does not name — and assertionNoVacuousMirroredUndeclaredMeasurement refuses a measurement that has degenerated to any. ⛔ Read this pair's verdict off that reconciliation, which re-derives it on every run, rather than off any figure written here; when this paragraph was authored, on 2026-09-18, it required no MirroredUndeclared entry for the pair.

.changeset/6150-undeclared-but-consumed-keys.md

  • names zod-mirror-parity.test.ts → packages/types/src/__tests__/zod-mirror-parity.test.ts — edited by this change

    ⭐ AMENDED, and the amendment ships in this same release. objectui#7804's TreeViewSchema slice gave the key a zod arm after all — a NAMED REFUSAL (handlerKeyRefusal(key, 'runtime-slot', label)), never a shape — because "no mirror entry" is not neutral under BaseSchema.passthrough(): it meant an authored { "type": "tree-view", "onNodeClick": { "action": "toast" } } parsed GREEN, survived the parse, and reached a call site that expects a function. ⇒ the three clauses this bullet used to carry are no longer true of the code shipping beside it. The key is now a MEMBER of TreeViewSchema.shape and an authored value is refused BY NAME at path onNodeClick; it has LEFT zod-mirror-parity.test.ts's RuntimeOnlyDeclared for that file's KnownDrift; and it is no longer "the first pair to sit there without also sitting in UnmirroredDeclared" — draining it emptied that difference, so RuntimeOnlyDeclared is now a SUBSET of UnmirroredDeclared and the union of the two equals UnmirroredDeclared itself. ⛔ objectui#6152's ruling is untouched by any of this: what the key still does not have, and never will, is a z.function() shape — no serialized document could satisfy one.

.changeset/6175-column-state-persistence.md

  • names zod-mirror-parity.test.ts → packages/types/src/__tests__/zod-mirror-parity.test.ts — edited by this change

    Nothing is retired. Both spellings remain declared on DataTableSchema; onColumnReorder stays declared and stays unwired, exactly as the RuntimeOnlyDeclared ledger in zod-mirror-parity.test.ts records it. Which of the two survives is a declared-surface ruling that stays open and is deliberately not settled here.

.changeset/6639-objectgrid-title-mirrored.md

  • names zod-mirror-parity.test.ts → packages/types/src/__tests__/zod-mirror-parity.test.ts — edited by this change

    The gain is the typed refusal: the mirror's .passthrough() base was already admitting any title unexamined, and it now enforces the declared string. zod-mirror-parity.test.ts's UnmirroredDeclared ledger records the key as worked off — the ledger's first shrink by repair (97 + 1 mirrored + 23 reclassified is what the seeded "121" now means).

.changeset/7344-handler-string-any-mirrors.md

.changeset/7654-floating-chatbot-trigger-icon-tombstone.md

  • names zod-mirror-parity.test.ts → packages/types/src/__tests__/zod-mirror-parity.test.ts — edited by this change

    Every other tombstone in this package pairs ?: never with a retirementTombstone() refusal on the Zod twin. There is no twin here to carry one: FloatingChatbotConfig has no Zod mirror at all, and floatingConfig sits in the UnmirroredDeclared ledger (zod-mirror-parity.test.ts, complex.zod.ts#ChatbotSchema). BaseSchema is .passthrough(), so the whole floatingConfig object rides through unvalidated — before this change and after it. Minting a mirror to host a refusal would be the declared-but-UNMIRRORED axis (objectui#6152), a different defect: a key can be mirrored and inert, or unmirrored and live, and fixing one says nothing about the other. This change does not widen into it.

.changeset/7804-tree-view-handler-slot.md

  • names zod-mirror-parity.test.ts → packages/types/src/__tests__/zod-mirror-parity.test.ts — edited by this change

    The pair moves from zod-mirror-parity.test.ts's RuntimeOnlyDeclared to its KnownDrift, which empties the former of the one entry the latter did not also hold — so the two unmirrored ledgers are now in a containment relation, and the cross-ledger figure that recorded their difference states the containment instead.

.changeset/8338-retire-toast-action.md

  • names zod-mirror-parity.test.ts → packages/types/src/__tests__/zod-mirror-parity.test.ts — edited by this change

    The parity ledgers drain with it, every figure re-derived by zod-mirror-parity.test.ts's own AST and mirror instruments rather than stepped by hand: KnownDrift 42 entries / 64 keys → 41 / 63 (the entry's whole content, so the entry went too — the ledger's first loss by RETIRING a key rather than by moving either face toward the other), and WiderThanDeclared 23 / 36 / 47 arms, split 6 / 30 / 0 / 11 → 22 / 35 / 45, split 6 / 29 / 0 / 10. The pair itself stays registered, so EXPECTED_MIRROR_PAIRS does not move.

.changeset/8572-chatbot-body-retired.md

  • names zod-mirror-parity.test.ts → packages/types/src/__tests__/zod-mirror-parity.test.ts — edited by this change

    Why this key and not another. It was the ONE place in this vocabulary where body did not mean "what goes inside this component": zod-mirror-parity.test.ts carried the pair under KnownDrift as "two different meanings of one key", and the same collision was the whole reason chatbot was the single arm of the component union whose output was not assignable to SchemaNode. Both ledger rows move with this change, and the two pins that recorded the old state are INVERTED rather than deleted (see below).

.changeset/object-view-unmirrored-keys-7779.md

  • names zod-mirror-parity.test.ts → packages/types/src/__tests__/zod-mirror-parity.test.ts — edited by this change

    Who is NOT affected: every correctly typed document, and every document that never wrote these keys — absent stays valid on all nine. No renderer changed. The parity ledger (zod-mirror-parity.test.ts) records the move: UnmirroredDeclared 14 entries / 96 keys to 14 / 87, the ObjectViewSchema entry re-derived into the SPEC-DERIVED half because the mirror now references the spec in code.

Read the paragraph, not the line: both false halves of the objectui#8617 claim sat in one paragraph, and correcting either alone would have left it asserting the same wrong thing.

If a claim did go false, correct the body. That is precedented and prose-only, frontmatter untouched; check-changeset-overwrite.mjs will report the correction as its own case 2 ("correcting a declaration on purpose … legitimate"), which is the intended shape — one gate asks for the read, the other records the write.

Not covered, stated so nobody reads this as more: a born-false claim that spells no line address at all (objectui#9495 coordinated one by ORDINAL — "a grep finds that member first" — and deciding that means reading what the sentence means), a claim spelled as a symbol or a package rather than a backticked file name, and a file named ambiguously.

Compared the checked-out tree with c1f039a67 (merge-base with origin/main): 1 file(s) changed outside .changeset/, read against 1166 pending declaration(s) that publish a body (1706 pending in total). · run

@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 329 chunks) 3049.8 KB 3104.5 KB
Main entry chunk (gzip) 145.7 KB 350 KB
Entry file index-DPcFZ4ov.js —
Status PASS —

The eager closure is every chunk the entry reaches through static imports — what the browser fetches and parses before the app renders. The entry chunk on its own is a small fraction of it.


📦 Bundle Size Report

Package Size Gzipped
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 16.69KB 6.21KB
app-shell (runtime-config.js) 20.68KB 7.36KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.06KB 3.86KB
auth (ActiveOrganizationStorage.js) 25.05KB 9.16KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.18KB 10.59KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.15KB 5.39KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.65KB 2.22KB
auth (SocialSignInButtons.js) 9.61KB 3.89KB
auth (UserMenu.js) 3.41KB 1.23KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.21KB 10.80KB
auth (createAuthenticatedFetch.js) 8.46KB 3.43KB
auth (index.js) 3.19KB 1.44KB
auth (invitation-status.js) 1.22KB 0.70KB
auth (org-roles.js) 6.66KB 2.78KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 5.30KB 1.02KB
auth (useWorkspaceAdminStatus.js) 11.08KB 4.58KB
collaboration (CommentThread.js) 26.08KB 7.56KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.49KB 2.64KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.05KB 2.52KB
collaboration (useCommentSearch.js) 1.98KB 0.88KB
collaboration (useConflictResolution.js) 7.75KB 1.86KB
collaboration (useMentionNotifications.js) 1.81KB 0.68KB
collaboration (usePresence.js) 6.33KB 1.84KB
collaboration (useRealtimeSubscription.js) 7.91KB 2.01KB
components (index.js) 545.76KB 130.74KB
core (index.js) 8.94KB 3.59KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 215.98KB 59.97KB
fields (index.js) 249.17KB 62.83KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 1.22KB 0.64KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 8.87KB 3.64KB
i18n (index.js) 5.22KB 2.26KB
i18n (pickLocalized.js) 9.86KB 3.95KB
i18n (provider.js) 32.15KB 10.49KB
i18n (useDisplayLocale.js) 2.85KB 1.45KB
i18n (useObjectLabel.js) 34.34KB 9.17KB
i18n (useSafeTranslation.js) 5.60KB 2.33KB
layout (index.js) 38.83KB 10.95KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.99KB 0.87KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 2.53KB 0.85KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 5.52KB 2.10KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 13.52KB 4.88KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.24KB 2.16KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.39KB 3.10KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 14.81KB 3.63KB
plugin-calendar (index.js) 49.92KB 14.22KB
plugin-charts (index.js) 71.73KB 20.08KB
plugin-chatbot (index.js) 195.35KB 46.52KB
plugin-dashboard (index.js) 131.44KB 34.65KB
plugin-designer (index.js) 215.94KB 44.33KB
plugin-detail (index.js) 253.37KB 65.90KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 136.81KB 34.17KB
plugin-gantt (index.js) 167.62KB 41.26KB
plugin-grid (index.js) 212.61KB 57.90KB
plugin-kanban (index.js) 48.10KB 14.94KB
plugin-list (index.js) 112.74KB 27.70KB
plugin-map (index.js) 21.48KB 6.99KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 43.41KB 11.93KB
plugin-timeline (index.js) 30.07KB 8.74KB
plugin-tree (index.js) 10.58KB 3.72KB
plugin-view (index.js) 85.05KB 21.01KB
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) 104.82KB 34.67KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.63KB 2.18KB
react (schema-input.js) 4.25KB 2.04KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (codegen.js) 6.58KB 2.74KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 5.66KB 2.50KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (kanban-quick-add.js) 3.89KB 1.87KB
sdui-parser (parse.js) 25.28KB 7.80KB
sdui-parser (provenance.js) 3.66KB 1.82KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 14.82KB 4.99KB
types (ai.js) 4.11KB 2.06KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 2.87KB 1.00KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 2.93KB 1.49KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
types (data-display.js) 3.75KB 1.85KB
types (data-protocol.js) 0.20KB 0.19KB
types (data.js) 0.20KB 0.18KB
types (designer.js) 1.85KB 0.85KB
types (disclosure.js) 0.20KB 0.18KB
types (error-code.js) 1.54KB 0.88KB
types (expression.js) 0.20KB 0.18KB
types (feedback.js) 0.20KB 0.18KB
types (field-types.js) 0.20KB 0.18KB
types (form.js) 0.20KB 0.18KB
types (http-inflight.js) 8.87KB 3.73KB
types (http-retry.js) 4.32KB 2.02KB
types (icon-key-migration.js) 4.26KB 1.63KB
types (index.js) 4.74KB 2.25KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 4.73KB 2.28KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 0.20KB 0.18KB
types (plugin-scope.js) 0.20KB 0.18KB
types (record-components.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (select-option.js) 0.20KB 0.19KB
types (spec-report.js) 5.05KB 1.93KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 14.04KB 5.36KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 8.11KB 3.32KB
types (views.js) 0.20KB 0.18KB
types (widget.js) 0.20KB 0.18KB

Size Limits

  • ✅ Core packages should be < 50KB gzipped
  • ✅ Component packages should be < 100KB gzipped
  • ⚠️ Plugin packages should be < 150KB gzipped

Copy link
Copy Markdown
Collaborator Author

changeset-claim-re-read answered — 12 read, 0 corrected, 12 judged still true

domain:ui seat 3 (session session_01Xm4WFhEe5mwcgyqHjxR2hn), 2026-09-18T14:28Z. The gate addressed its question to the seat, so the answer goes beside it rather than into the PR body — the body cites a8c07118 for its verification runs and editing it now would desynchronise the one sha it restates.

⚠️ Provenance, stated before the numbers: the arithmetic below is the delivering dev's, taken in its worktree; what THIS seat verified first-hand is the diff on GitHub — one docblock hunk in packages/types/src/__tests__/zod-mirror-parity.test.ts plus a changeset whose frontmatter is empty. ⛔ This seat did not re-run the transpile-and-diff.

Why a comment-only diff cannot have falsified them

The dev settled it mechanically rather than by inspection: transpiling the file at HEAD~1 and at HEAD with removeComments gives 72020 bytes on both sides, byte-identical, while the raw source moved 338787 → 339710 (+923) so the diff is not a no-op. The differ was controlled by renaming one symbol and does detect that. ⇒ the diff changes zero code bytes.

Every one of the 12 paragraphs makes claims about this file's ledgers, registrations, assertions or exclusions — all of which are code. A comment-only diff cannot reach them.

Two probes, each with a firing control:

  • Does any of the 12 reference the text this diff moved? 0 of 12 (probe: the restated Tests N passed figure, the "passing test count" wording, the population-census sentence). ⭐ Control: the same probe against this PR's own changeset → 1 hit, so the probe is connected.
  • Do the symbols those 12 bodies claim live in this file still resolve at HEAD? All 17 resolve (assertionMirroredUndeclaredMatchesLedger, assertionNoVacuousMirroredUndeclaredMeasurement, EXCLUSIONS, ClassNameStylePropsSchema, MirroredUndeclared, RuntimeOnlyDeclared, KnownDrift, UnmirroredDeclared, WiderThanDeclared, EXPECTED_MIRROR_PAIRS, SPEC_DERIVED_PAIRS and the rest). ⭐ Negative control: an invented symbol reads 0.

⚠️ Stated honestly rather than implied: this checked name resolution and present-tense structural claims. It was ⛔ not a full semantic audit of 12 paragraphs — that is outside a comment-only diff's blast radius, and claiming it would be claiming more than was done.

⭐ Two of the twelve (5903-objectgantt-declared-keys.md, 6051-gantt-flat-config-declared-keys.md) end by telling readers to take that pair's verdict off the reconciliation that re-derives on every run 「rather than off any figure written here」. That is the same principle this PR applies, pointing the same way: what this change removes is a figure of exactly the kind those paragraphs tell readers not to trust.

Why a test-only change carries a changeset

Both halves measured, because neither framing of the question was right: it is required, and it publishes nothing.

  • Required — packages/types/src/** is guarded source of a released package, so check-changeset-presence.mjs exits 1 without a declaration and 0 with it. Measured both ways, ⛔ not assumed; removing the file turns the gate red.
  • Publishes nothing — the frontmatter is empty, which declares no package bump, so there is no CHANGELOG section for a body to be written into. The claim gate's own arithmetic confirms it: it reported 「1166 pending declaration(s) that publish a body (1706 pending in total)」, and this tree holds 1706 pending changesets of which 540 have empty frontmatter (1706 − 1166 = 540). The gate ran with this changeset present and placed it in the 540, ⛔ not the 1166.

⇒ no published CHANGELOG entry is earned or created. What the file buys is AGENTS.md's 「declare once」 — a durable in-repo record that this change ships nothing — with same-file precedent .changeset/6705-parity-scan-reads-ast.md, also empty-frontmatter.


Generated by Claude Code

@os-sales
os-sales marked this pull request as ready for review September 18, 2026 14:36
@os-sales
os-sales added this pull request to the merge queue Sep 18, 2026
Merged via the queue into main with commit 69e1378 Sep 18, 2026
38 checks passed
@os-sales
os-sales deleted the claude/issue-9603-zod-mirror-parity-figure branch September 18, 2026 15:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

2 participants