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

fix(types): refuse onNavigate / onAddComment by name on the detail-view arm (objectui#9447) - #9698

Merged
os-sales merged 2 commits into
mainfrom
claude/issue-9447-detail-view-handler-key-refusal
Sep 17, 2026
Merged

os-sales merged 2 commits into
mainfrom
claude/issue-9447-detail-view-handler-key-refusal

Conversation

@os-sales

@os-sales os-sales commented Sep 17, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes #9447

Mirrors the objectui#7804 by-name refusal of onNavigate and onAddComment onto the
detail-view arm, so the same two keys stop having two different fates decided only by
which type literal an author wrote. Both keys stay declared and unwritable — the
onBack (objectui#7344 / the objectui#6182 ruling) and related (objectui#7997,
ADR-0049) precedent on this same arm — because BaseSchemaCore ends .passthrough()
and a deletion there leaves the silent accept exactly as it was.

Clause-②: no — re-derived here, not inherited

The dispatching seat declared no; I re-derived it and agree.

The detail-view zod arm declared neither key. I measured that on my own head
(bbe57fdd5): onNavigate 0 and onAddComment 0 in views.zod.ts, beside a
lit control onBack 3 and handlerKeyRefusal 2 in the same file, and an
absent-token control 0. So today's acceptance is an accident of .passthrough(),
⛔ not a declaration — the member list already implied the refusal and the arm simply
never said it. Writing it down is 「拉回已声明契约」 and brings the arm into line with
its own twin.

Three checks for the STOP the order attached to this, all negative:

  • Nothing widens. Every leg of the change narrows or is inert. The one leg that
    could have widened — the nested recordNavigation.onNavigate — is explicitly pinned
    as still parsing green.
  • No name is added to a published barrel. DetailViewSchema is already exported
    from @object-ui/types/zod; the diff adds two MEMBERS to an existing exported object
    and no new export anywhere.
  • The TypeScript face is untouched. packages/types/src/views.ts is not in the
    diff, which is the onBack precedent exactly: keep the callable declaration, refuse
    only on the JSON face.

One row per file in the diff

file what changed why it is in this diff
packages/types/src/zod/views.zod.ts two new members on DetailViewSchema: onNavigate and onAddComment, each handlerKeyRefusal(..., 'runtime-slot', ...), with the read-path derivation in their docblocks the repair itself
packages/types/src/__tests__/zod-mirror-parity.test.ts both keys moved from RuntimeOnlyDeclared to KnownDrift; both header key totals corrected to the derived values with their cumulative history sentences the ledger's own documented drain route; the type-level ratchet and a runtime pin both refuse the change without it
packages/plugin-detail/src/__tests__/detail-view-handler-slots-9447.test.tsx new pin, 13 tests in 3 suites: the read path driven through the real SchemaRenderer, the zod face in both directions, and the boundary this card did not cross the read path had never been measured, and a refusal with no pin is not a refusal
.changeset/9447-detail-view-handler-key-refusal.md @object-ui/types: minor, breaking semantics and migration spelled out published source of a released package moved

The census, refined to node level — the gating measurement

The seat's first cut was file-level and it explicitly was not an answer. A hit only
counts if the key sits on a detail-view node.

Step 1 — whole tracked tree at bbe57fdd5, enumeration and reading both from the
same ref (git grep ... HEAD), so the worktree is never the population:

probe files lines
onNavigate 83 439
onAddComment 27 80
lit control onBack 16 74
lit control detail-view 57 168
absent-token control 0 0

The absent-token control reads 0 and exits 1 while every lit control reads non-zero on
the same instrument, so the zeros below are negative, not void.

Step 2 — intersection. A file that does not contain the token detail-view cannot
author either key on a detail-view node. 57 ∩ 99 = 9 files, and note what is
absent from that list: examples/ contributes zero.

Step 3 — node level, all 9 classified:

file verdict
content/docs/api/schema-reference.md the key hits sit under the DetailSchema heading — prose about the detail arm's own refusal. The detail-view node under the DetailViewSchema heading carries neither key, in the JSON example or the member table. Not a break.
ROADMAP.md every onNavigate hit is a React prop in console / useNavigationOverlay TypeScript, not a node key; the detail-view hit is about registration inputs. Not a break.
docs/audits/2026-07-objectview-detailview-schema.md prose and verdict tables. It files these keys under "live state and callbacks, not metadata … must never enter a serializable protocol". Not a break — and it argues for this change.
packages/plugin-detail/src/__tests__/DetailView.test.tsx 5 onNavigate keys, all nested under recordNavigation (indentation 8 against node keys at 6); different key, different path, different signature. Zero onAddComment. Renders the component directly, never parses. Not a break.
packages/types/src/__tests__/handler-keys-string-any-mirrors-7344.test.ts its detail-view fixture authors onBack only. Not a break.
packages/types/src/__tests__/zod-mirror-parity.test.ts type-level ledger entries, not authored documents. Moved, per the ledger's own drain route.
packages/types/src/views.ts the TypeScript face. Untouched.
packages/types/src/zod/crud.zod.ts comments on the twin arm referencing detail-view. Not a break.
scripts/check-handler-key-read-sites.mjs gate comments and ledger rows. Not a break.

Step 4 — zero pull, the axis the related retirement was carried on. Neither
first-party producer of a detail-view node writes either key:

producer detail-view onNavigate onAddComment lit controls objectName / sections
renderers/record-details.tsx 1 0 0 15 / 17
RecordDetailDrawer.tsx 0 0 0 14 / 0

⇒ zero authored detail-view nodes carry either key as a member. The STOP did not
fire, and the repair proceeded.

The read path, re-derived — the card said outright it had not measured this

It decides the repair, and it turns out to confirm the card's conclusion by a route the
card did not state.

  1. 'detail' registers DetailView raw. 'detail-view' registers
    DetailViewRenderer, so there is a wrapper — the card was right that the two
    registrations are not the same shape.
  2. The wrapper does not strip the key. DetailViewRenderer destructures
    { schema, dataSource, ...props } and renders ElementDataSourceGate, whose
    render-prop child is DetailView schema={bound}.
  3. bound comes from useElementDataSourceSchema, which has exactly two branches:
    it returns schema unchanged when there is no composed binding, and otherwise
    returns { ...base } — a shallow spread whose only overwrites are the binding keys
    (objectName, columns, filter, sort, limit, viewType). A handler key
    survives both branches.
  4. DetailView reads schema.onNavigate and calls it in its own body —
    handleBack, handleEdit, the post-delete redirect — and reads schema.onAddComment
    and forwards it as a prop into RecordComments, whose submit handler awaits it.

⇒ the authored value arrives by identity, exactly as under the raw registration.
The repair is therefore "mirror the refusal", not something narrower. Suite 1 of the new
pin drives both keys to their call sites rather than asserting this.

On the gate. pnpm check:handler-key-reads is green on both keys and always was.
That is measured, not assumed: it exits 0 on the base tree, views.zod.ts declared
neither key there, and KNOWN_UNDECLARED_READS carries no detail-view:: row at all
(only detail::DetailSchema.onTabChange) — an undeclared read it could see would have
been a finding. Its counters are byte-identical before and after this change (105 arms,
212 registrations, 60 reachable reads, 60 judged, 14 exempted). The mechanism — that its
transitive hop stops at the cross-package render-prop boundary — is my reading of its
source, flagged as such; the fact that it does not judge these reads is the measurement.

Gate exit codes

Derived from objectui's own package.json and workflows, because
scripts/pm/dispatch-gates.mjs lives in the sibling repository and refuses objectui
paths by design.

gate exit
pnpm --filter @object-ui/types run lint 0 (0 errors; 288 pre-existing warnings, package-wide)
pnpm --filter @object-ui/types run type-check (all three tsc legs) 0
pnpm exec vitest run packages/types/ see the suite table below
pnpm changeset:check 0
node scripts/check-changeset-presence.mjs 0
pnpm check:changeset-claims 0
pnpm check:pending-changeset-literals 0
pnpm check:control-bytes 0
pnpm check:new-line-citations 0
pnpm check:test-path-roots 0
pnpm check:self-import 0
pnpm check:esm-specifiers 0
node scripts/check-changeset-no-major.mjs 0
pnpm check:handler-key-reads (not owed; run because it is the gate the card names) 0
node scripts/check-governed-queue-guard.mjs --test (the 4 diff paths) 0 — NOT GOVERNED
pnpm --filter @object-ui/plugin-detail run lint 0 (0 errors; 1023 pre-existing warnings, package-wide)

I also ran a control-byte self-scan over the four diff files beyond the gate, with a
firing positive control: no control bytes, and the same expression fires on a planted
one.

Suites — this package and the consumer package

A refusal in packages/types can flip a fixture's assertion elsewhere, and this diff
also adds a file under packages/plugin-detail/src, so that package's own readings are
owed too. Both were run from the repo root through the shared verify lock.

suite files tests exit
pnpm exec vitest run packages/types/ 200 passed (200) 4669 passed (4669) 0
pnpm exec vitest run packages/plugin-detail/ 181 passed (181) 1742 passed (1742) 0
pnpm --filter @object-ui/plugin-detail run type-check (both tsc legs) — — 0

⚠️ One reading needed a prerequisite before it meant anything, recorded rather than
smoothed.
plugin-detail's type-check first came back exit 2 with
Cannot find module '@object-ui/types' and six siblings — in files this diff never
touches. That is an unbuilt workspace dist, not a regression: the package type-checks
against its dependencies' emitted declarations, and a fresh worktree has none. After
pnpm --filter "@object-ui/plugin-detail^..." build (exit 0) the same command exits
0 with zero error TS. ⛔ The first reading is reported as a prerequisite not
met
, never as a failure and never as a pass.

⚠️ One real red was found and fixed, and it is worth reading. The first full
packages/types run failed one test — the runtime pin that re-derives the parity
header's key totals from the ledgers. Moving two keys between two ledgers changed two
figures the header had written down, and the pin named both sides and printed the
derived values. Corrected in the header, never in a key set, and each figure carries the
cumulative history sentence the file's convention requires. ⭐ The entry counts did
not move, and the pin that guards those stayed green — the asymmetry is real
information: both entries survive the transfer, because KnownDrift already held
onBack and RuntimeOnlyDeclared keeps onTabChange.

Reverse verification

Every mutation's direction was predicted in writing before it ran. Each ran under a
trap … EXIT INT TERM, mutated through an anchor whose occurrence count was checked
before and after so a no-op mutation could not be read as a passing run, and each
restore is judged by blob hash against HEAD, never by an exit code.

# mutation predicted observed restored
A delete the onNavigate member from the arm probe RED on exactly its 3 onNavigate legs; onAddComment and lit control onBack green; suites 1 and 3 green; type-check RED naming the pair twice exactly that — 3 failed / 10 passed, the three named legs; type-check exit 2, both ledger halves naming views.zod.ts#DetailViewSchema blob c5275b5f… == HEAD, git diff HEAD empty
B delete the onAddComment member the symmetric 3 legs RED, onNavigate and onBack green; type-check RED exactly that — 3 failed / 10 passed; type-check exit 2 blob c5275b5f… == HEAD, git diff HEAD empty
C flip the onNavigate disposition runtime-slot to retired probe RED on exactly 1 leg (the guidance leg); the refusal and names-the-alternative legs stay green because a tombstone also refuses and shares one remedy string; type-check GREEN, because the mirror SHAPE is unchanged and the ledger cannot see a disposition flip exactly that — 1 failed / 12 passed; type-check exit 0 blob c5275b5f… == HEAD, git diff HEAD empty

Mutation C is the informative one and its prediction was deliberate: it shows the two
pins are not redundant. The type-level ledger sees a key's presence, the probe sees
its disposition, and only the probe can fail on C. After the last restore the whole
tree reads git status --porcelain empty and the probe is 13/13 green again, so the
restores returned behaviour and not merely bytes.

⚠️ There is no rebuild leg in this table, and that is a property of this repo rather
than an omission: the root vitest config aliases @object-ui/types/zod to
packages/types/src/zod/index.zod.ts, so the probe reads source, not dist. A
stale-dist false green is not reachable here. I verified the alias rather than assuming
it.

Acceptance notes

  • onTabChange is deliberately untouched. It is the fourth handler key this arm's
    renderer reads, it is still undeclared, and it is read through an (schema as any)
    cast. It already has a named carrier — objectui#7804 — and it is still ledgered in
    both RuntimeOnlyDeclared here and KNOWN_UNDECLARED_READS in the gate. Suite 3 of
    the new pin records that it still parses green, so this card cannot be mistaken for a
    sweep of the arm's handler keys.
  • A structural blind spot in check-handler-key-read-sites.mjs, reported, not
    repaired.
    detail-view is an instance of a general shape: a registration that goes
    through a wrapper puts its component's reads out of that gate's reach. I did not
    enumerate other wrapper-registered arms — that is the sibling sweep the order put out
    of scope. Needs a named carrier from the dispatching seat.
  • Opportunistic same-file repair. The RuntimeOnlyDeclared docblock I rewrote
    carried a stale parenthetical describing onBack as mirrored "as z.string()"; it
    has been a named refusal since objectui#7344. Corrected in passing because I was
    rewriting that block anyway.
  • An audit claim has rotted; left alone on purpose. The 2026-07 audit says two
    first-party call sites emit a detail-view node, naming RecordDetailDrawer.tsx as
    one. That file contains zero occurrences of the token today. The audit is a dated
    historical reading, so it is evidence about its own moment and editing it would
    destroy the signal. Observation only. 承接者:无。
  • The ledger move is a pure transfer and both entry counts stayed put, because both
    entries survive: KnownDrift already held onBack, and RuntimeOnlyDeclared keeps
    onTabChange. Only the two key totals moved, by two, in opposite directions. The
    runtime pin that derives the header figures caught the stale digits and named both
    sides; I corrected the header, never a key set.

维护者速读(草稿)

改了什么。 给 detail-view 这个 JSON 编写面补上 onNavigate、onAddComment 两个键
的具名拒收,和它的孪生 detail 完全一致。两个键保持「已声明但不可写」,不是删掉 —— 因为底座是
.passthrough(),删掉等于把静默接受原样留下,还顺手扔掉了诊断信息。TypeScript 那一面一个字没动。

为什么改。 同样两个键,过去取决于作者写的是 detail 还是 detail-view,一个被指名拒收、
另一个被静默保留然后交给一个期待函数的调用点。卡片没测的那条读取链路我重新推导了:detail-view
确实多包了一层 wrapper,但那层 wrapper 不剥键 —— 它要么原样返回节点,要么做一次只覆盖绑定键的
浅拷贝,所以作者写的值按引用原封不动地到达同一个组件并被调用。

风险与代价(含回滚)。 这是一次收窄,属于破坏性语义,已在 changeset 里写明并按本仓约定标
minor。风险已测量:全仓节点级普查(含文档、示例、全部 *.json / *.mdx、两个第一方生产者)
命中 零 个真正在 detail-view 节点上写了这两个键的地方,所以现存语料无需迁移。若宿主应用
自己写了,改为以 React prop 传给组件,或改写成节点类型。嵌套的 recordNavigation.onNavigate
是另一个键,不受影响,并已单独钉住。回滚成本低:四个文件,回退 views.zod.ts 的两个成员
即可,台账与头部数字随之回退。

席位意见。 (留空,交席位定稿)

你要做的。 确认这次收窄可以接受;其余无需动作。⛔ 我没有 enqueue、没有翻 ready、没有挂
auto-merge。另外有一条越界发现需要席位指定承接人:check-handler-key-read-sites.mjs 看不见
任何经 wrapper 注册的组件的读取,detail-view 只是其中一例,我按令未做同类普查。

Pending-changeset re-read — all 11, by paragraph, with the probe for each

changeset-claim-re-read flagged 11 pending declarations that name a file this diff
edits. Their bodies publish verbatim into the CHANGELOG, so each was re-read by
paragraph
against this diff, asking only: does this diff make any sentence false?

Verdict: all 11 still true. Zero corrections, so no pending body is touched by this
PR and no frontmatter question arises.

First, the scope of what this diff can even reach inside the parity file — one pair key
and nothing else:

ledger changed lines in my diff
KnownDrift 4
RuntimeOnlyDeclared 4
UnmirroredDeclared 1 (prose inside my own new docblock, not a ledger edit)
EXCLUSIONS · WiderThanDeclared · EXPECTED_MIRROR_PAIRS · SPEC_DERIVED_PAIRS 0 each

The only pair key appearing anywhere in my changed lines is views.zod.ts#DetailViewSchema.

pending entry the claim it makes about a file I touch verdict probe
7344-handler-string-any-mirrors.md the three views.zod.ts z.string() keys that are event NAMES are untouched still true — the STOP did not fire onViewChange 3 at base, 3 at head; onChange 6 and 6; all three still read z.string().optional() at head. This diff adds two members and alters no existing one.
6150-undeclared-but-consumed-keys.md RuntimeOnlyDeclared is a SUBSET of UnmirroredDeclared, and the union equals UnmirroredDeclared still true entry sets extracted from both interfaces: RuntimeOnlyDeclared's three entries are identical at base and head; entries outside UnmirroredDeclared = 0; union = 14 = UnmirroredDeclared's 14. No ENTRY moved — only keys, inside one surviving entry.
7804-tree-view-handler-slot.md the same containment relation, stated from the other side still true same measurement; additionally TreeViewSchema appears in 0 of my changed lines.
6175-column-state-persistence.md onColumnReorder stays declared and unwired, as RuntimeOnlyDeclared records still true the data-display.zod.ts#DataTableSchema entry is byte-identical at base and head, onColumnReorder included.
6639-objectgrid-title-mirrored.md UnmirroredDeclared records ObjectGridSchema.title worked off; the seed decomposition still true the whole UnmirroredDeclared interface body hashes 753747d3… at base and head.
7654-floating-chatbot-trigger-icon-tombstone.md floatingConfig sits in UnmirroredDeclared under complex.zod.ts#ChatbotSchema still true same byte-identical hash.
object-view-unmirrored-keys-7779.md UnmirroredDeclared 14 entries / 96 keys to 14 / 87, ObjectViewSchema re-derived into the spec-derived half still true same byte-identical hash; SPEC_DERIVED_PAIRS has 0 changed lines. The header's cumulative chain shows a LATER card (objectui#7762) took it on to 86 — that is the chain working, not a stale claim.
5928-classname-style-props-rename.md EXCLUSIONS keys its entry to ClassNameStylePropsSchema still true the EXCLUSIONS declaration block hashes c0f1107b… at base and head, and the key is still present.
8338-retire-toast-action.md KnownDrift 42 / 64 to 41 / 63, plus WiderThanDeclared figures still true a historical transition stated at its own card, which this repo's convention keeps as a cumulative chain; independently, toast appears in 0 of my changed lines and WiderThanDeclared in 0.
8572-chatbot-body-retired.md the ChatbotSchema body row and the two inverted pins still true chatbot appears in 0 of my changed lines, against a firing control of 8 for DetailViewSchema.
7735-zod-mirrors-stop-authoring-defaults.md all 41 .default() call sites removed, views.zod.ts contributing 2 still true .default( in views.zod.ts reads 1 at base and 1 at head, and that one occurrence is inside a comment quoting the spec, not a call site; across packages/types/src/zod/ the count is 23 at base and 23 at head. This diff adds no .default() — handlerKeyRefusal returns an optional custom, never a defaulted one.

⚠️ One reading here was wrong the first time and was re-drawn, recorded rather than
quietly fixed.
My first EXCLUSIONS probe was a crude "400 lines after the first
mention" window, which spans regions this diff really does edit, and it reported two
different hashes — a false positive. Extracting the actual const EXCLUSIONS block
instead gives byte-identical hashes, and the same extractor fires on KnownDrift (two
different hashes), so the instrument is lit rather than merely silent. ⛔ The first
reading is reported, not deleted.

⚠️ Two of the eleven (8338, object-view-unmirrored-keys-7779) state ledger counts as
transitions at their own card, not as live figures, and this diff does move
KnownDrift to 46 / 85. Under this file's own cumulative-chain convention that does not
falsify them — the chain in the header is where the current figure lives, and this PR
extends it with the required history sentence. ⛔ I did not edit either body: correcting
a historical reading to today's tree would make it describe a tree it was never written
about.

Angle-bracket scan: no pending body needed replacement prose, so there is none to scan.
I did scan my own new changeset and this PR body — zero angle-bracket-shaped
fragments in either.

Session for this run, in prose so it survives an edit: https://claude.ai/code/session_01UanLVj6xvbS6puBCewLr8L


Generated by Claude Code

…view` (objectui#9447)

The `detail` arm has refused both keys by name since objectui#7804. The
`detail-view` arm, which reaches the same `DetailView` component, declared
neither — and `BaseSchemaCore` is `.passthrough()`, so an authored value was
kept rather than refused and then handed to a call site expecting a function.

Both keys stay DECLARED and unwritable, the `onBack` / `related` precedent on
this same arm: under `.passthrough()` a deletion leaves the silent accept in
place and discards the diagnostic with it. The TypeScript face is unchanged.

The read path is measured rather than assumed: `detail-view` registers
`DetailViewRenderer`, whose data-source gate hands `DetailView` either the node
unchanged or a shallow spread that overwrites only binding keys, so the authored
value arrives by identity and is called.

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

The ledger move is a pure transfer between two EXISTING entries for the same
pair, so the two key totals move by two in opposite directions while neither
entry count moves. Both header figures are corrected to the derived values and
each carries the cumulative history sentence the bullet keeps for every move.

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

github-actions Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

changeset-claim-re-read

⚠️ 11 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/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/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/7735-zod-mirrors-stop-authoring-defaults.md

  • names views.zod.ts → packages/types/src/zod/views.zod.ts — edited by this change

    What changed. All 41 .default() call sites under packages/types/src/zod/ are removed — layout.zod.ts 22, crud.zod.ts 11, form.zod.ts 5, views.zod.ts 2, app.zod.ts 1. @object-ui/components reconciles the third face objectui#8229 found: flex's registration defaultProps.align seeded 'center', the value its own renderer never applies, so a designer-made node laid out differently from a hand-authored one; it now seeds 'start'.

.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 claim that was born false (a changeset this change adds is excluded by construction), 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 82edae063 (merge-base with origin/main): 3 file(s) changed outside .changeset/, read against 1123 pending declaration(s) that publish a body (1631 pending in total). · run

@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 329 chunks) 3049.0 KB 3104.5 KB
Main entry chunk (gzip) 145.7 KB 350 KB
Entry file index-BJRRnOxw.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.84KB 130.66KB
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.27KB 62.92KB
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) 4.39KB 1.66KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 13.52KB 4.88KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.24KB 2.16KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.39KB 3.10KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 14.81KB 3.63KB
plugin-calendar (index.js) 49.92KB 14.22KB
plugin-charts (index.js) 71.49KB 19.99KB
plugin-chatbot (index.js) 195.34KB 46.51KB
plugin-dashboard (index.js) 131.44KB 34.65KB
plugin-designer (index.js) 215.94KB 44.33KB
plugin-detail (index.js) 253.29KB 65.88KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 136.71KB 34.16KB
plugin-gantt (index.js) 167.62KB 41.26KB
plugin-grid (index.js) 212.64KB 57.91KB
plugin-kanban (index.js) 46.41KB 14.49KB
plugin-list (index.js) 112.73KB 27.69KB
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.04KB 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

@os-sales
os-sales marked this pull request as ready for review September 17, 2026 15:25
@os-sales
os-sales added this pull request to the merge queue Sep 17, 2026
Merged via the queue into main with commit ac716ff Sep 17, 2026
38 checks passed
@os-sales
os-sales deleted the claude/issue-9447-detail-view-handler-key-refusal branch September 17, 2026 15:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

2 participants