This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
fix(components): route the SVG-hosted renderers' spread through toDomProps - #7564
Merged
Merged
Conversation
…mProps` `ui:icon` and `ui:spinner` forwarded their whole prop bag to the SVG they render, so every authored SDUI key on the node became an attribute — the `BARE_SPREAD_ON_SVG` shape of objectui#5574, 14 per target, plus `icon="check"` on all 71 icon nodes in the schema catalog. `IconSchema` and `SpinnerSchema` declare only `icon` / `size` / `color`, and both renderers already consume all three by name, so the element-agnostic SDUI pass-through list withholds nothing they need. That is why this group takes the bare `toDomProps` rather than the third declaration the form-control group needed for `name` and `disabled`. Two behaviours change that the sweep gate structurally cannot see, because its judge counts `stroke` / `width` / `height` as legitimate on an SVG host: - `ui:spinner` now spins. Its computed class (`animate-spin` plus the size class) was being overwritten by the `className` carried in the spread. - A sized `ui:spinner` no longer emits `width="lg" height="lg"`: `size` is an enum and the spread handed the string to lucide's numeric `size` prop. An icon's `color` is a Tailwind class, as `IconSchema.color` declares and as every authored value in the catalog uses; it also reached lucide's `color` prop and emitted an invalid `stroke="text-red-500"`. Only the class path remains. Both ledger rows are DELETED in this change, as the two-way exact-set assertion requires — 97 targets in six shapes to 95 in five. Part of #5632 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EMrWaQw3XS5DxTHxp4yRyC
Contributor
✅ Console Performance Budget
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
Size Limits
|
os-project-manager
marked this pull request as ready for review
September 3, 2026 22:07
os-project-manager
enabled auto-merge
September 3, 2026 22:07
This was referenced Sep 8, 2026
os-tesla
pushed a commit
that referenced
this pull request
Sep 12, 2026
…ot remembered (#8659) `widget-dom-leak-sweep.test.tsx` states its reading in prose in ten places. Every row it records is derived from the arrays and is therefore always current truth; the COUNTS were not — they were a second, hand-written copy of the same facts that nothing read. objectui#8659 measured six of them wrong at once, produced by three correctly scoped PRs (#7564, #7958, #8034 plus the `element:*` additions) that each moved an array and left the paragraph quoting it behind. ⛔ The harm is realised, not potential: this docblock is the first thing a burn-down slice reads, and a dispatch had already quoted `95 of 158` out of it as a baseline — a slice believing it would have reported `95 -> 94` where the truth was `90 -> 89`. objectui#5632's slice corrected all six texts once. This change is deliberately NOT a seventh correction: it is the mechanism, in two legs, because the obvious implementation stops after the first. 1. `DOCBLOCK_COUNTS` (hand-written, the numbers as the prose writes them) against `MEASURED_COUNTS`, re-derived on every run from `COMPONENTS_PLAIN_TYPES`, `COMPONENTS_SPECIAL_TARGETS`, `COMPONENTS_LEAK_GROUPS`, `OWNED_NAMESPACES`, `ALL_TARGETS` and `LEAK_LEDGER`. One side is DERIVED; a constant compared against another constant asserts nothing. 2. The prose against `DOCBLOCK_COUNTS`. Ten `QUOTED_COUNTS` statements plus the five-row reading table are read back out of this file's own source, rooted at `import.meta.url` (never the cwd — `scripts/check-test-path-roots.mjs`), and checked. Without this leg the first only MOVES the hand-written copy from the prose into a constant: a slice reddened by leg 1 repairs the constant, the paragraph stays wrong, and the defect is where it was with one more place to forget. Move an array and leg 1 is red; repair only the constant and leg 2 is red. Re-derived on today's `origin/main` (704e695), NOT copied from the card, whose table was measured at 51f3d8d: components 159 targets / 89 ledgered rows / 70 clean / 4 shapes / 140 plain types / 155 readiness matches, and 91 of 182 across the whole sweep. All ten statements already agreed, so the six corrected by objectui#5632 have held — with ONE exception, which is the card's own argument arriving a seventh time: `READY_OVERRIDE_REASONS` shrank from six entries to four and the sentence pointing at it still said "the other six". Prose changes are confined to that class. The stale live reading gains today's figure; two incidental `158`s that were counting nothing lose their literal; one arrival reading that read as present tense ("registers **158 types across five**") is put in the past. Counts that SAY they are historical — `119 of 158 ON ARRIVAL`, the phantom-clean census, the per-PR burn-down rows — are left exactly as they are, and the new section states that rule for the next number added here. ⛔ No ledger row is edited and no existing assertion is weakened: 203 pre-existing cases pass unchanged alongside the 27 new ones. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UzHd6hDYatoDn17BuwKxnZ
ultimvision
pushed a commit
to ultimvision/objectui
that referenced
this pull request
Sep 12, 2026
…ot remembered (objectstack-ai#8659) (objectstack-ai#9249) `widget-dom-leak-sweep.test.tsx` states its reading in prose in ten places. Every row it records is derived from the arrays and is therefore always current truth; the COUNTS were not — they were a second, hand-written copy of the same facts that nothing read. objectui#8659 measured six of them wrong at once, produced by three correctly scoped PRs (objectstack-ai#7564, objectstack-ai#7958, objectstack-ai#8034 plus the `element:*` additions) that each moved an array and left the paragraph quoting it behind. ⛔ The harm is realised, not potential: this docblock is the first thing a burn-down slice reads, and a dispatch had already quoted `95 of 158` out of it as a baseline — a slice believing it would have reported `95 -> 94` where the truth was `90 -> 89`. objectui#5632's slice corrected all six texts once. This change is deliberately NOT a seventh correction: it is the mechanism, in two legs, because the obvious implementation stops after the first. 1. `DOCBLOCK_COUNTS` (hand-written, the numbers as the prose writes them) against `MEASURED_COUNTS`, re-derived on every run from `COMPONENTS_PLAIN_TYPES`, `COMPONENTS_SPECIAL_TARGETS`, `COMPONENTS_LEAK_GROUPS`, `OWNED_NAMESPACES`, `ALL_TARGETS` and `LEAK_LEDGER`. One side is DERIVED; a constant compared against another constant asserts nothing. 2. The prose against `DOCBLOCK_COUNTS`. Ten `QUOTED_COUNTS` statements plus the five-row reading table are read back out of this file's own source, rooted at `import.meta.url` (never the cwd — `scripts/check-test-path-roots.mjs`), and checked. Without this leg the first only MOVES the hand-written copy from the prose into a constant: a slice reddened by leg 1 repairs the constant, the paragraph stays wrong, and the defect is where it was with one more place to forget. Move an array and leg 1 is red; repair only the constant and leg 2 is red. Re-derived on today's `origin/main` (704e695), NOT copied from the card, whose table was measured at 51f3d8d: components 159 targets / 89 ledgered rows / 70 clean / 4 shapes / 140 plain types / 155 readiness matches, and 91 of 182 across the whole sweep. All ten statements already agreed, so the six corrected by objectui#5632 have held — with ONE exception, which is the card's own argument arriving a seventh time: `READY_OVERRIDE_REASONS` shrank from six entries to four and the sentence pointing at it still said "the other six". Prose changes are confined to that class. The stale live reading gains today's figure; two incidental `158`s that were counting nothing lose their literal; one arrival reading that read as present tense ("registers **158 types across five**") is put in the past. Counts that SAY they are historical — `119 of 158 ON ARRIVAL`, the phantom-clean census, the per-PR burn-down rows — are left exactly as they are, and the new section states that rule for the next number added here. ⛔ No ledger row is edited and no existing assertion is weakened: 203 pre-existing cases pass unchanged alongside the 27 new ones. Claude-Session: https://claude.ai/code/session_01UzHd6hDYatoDn17BuwKxnZ Co-authored-by: os-tesla <yinlianghui@steedos.com> Co-authored-by: Claude <noreply@anthropic.com>
akarma-synetal
pushed a commit
to akarma-synetal/objectui
that referenced
this pull request
Sep 28, 2026
…e 5632 pending body (objectstack-ai#9763) Fixes objectstack-ai#9753 `Clause-②: no` — prose in one pending changeset body; no declaration face moves, no accepted set is relaxed. ## What lands One sentence in `.changeset/5632-svg-host-dom-passthrough.md` is **corrected outright**. Frontmatter untouched (`check-changeset-overwrite`'s documented **case 2**). The claim was **BORN FALSE**, ⛔ not ROTTED, so it takes the opposite repair: no dating, no "this was true at…" preamble, no falsifier note — because nothing falsified it. It was wrong at the ref that wrote it. ## Which commit wrote the lines — established here, ⛔ not inherited from the card Two independent instruments, both run in this worktree against the real history: ``` $ git log -L 10,12:.changeset/5632-svg-host-dom-passthrough.md --oneline e304a4e fix(components): route the SVG-hosted renderers' spread through `toDomProps` (objectstack-ai#7564) --- /dev/null +++ b/.changeset/5632-svg-host-dom-passthrough.md @@ -0,0 +10,3 @@ ``` ``` $ git blame -L 10,12 origin/main -- .changeset/5632-svg-host-dom-passthrough.md e304a4e (Leehom 2026-09-03 22:17:03 +0000 10) … e304a4e (Leehom 2026-09-03 22:17:03 +0000 11) … e304a4e (Leehom 2026-09-03 22:17:03 +0000 12) … ``` `log -L` shows the hunk as an ADD against `/dev/null` — the commit that wrote the lines is the commit that created the file, and it is the only entry in the whole `log -L` walk, so nothing has touched those lines since. ⇒ write-time ref = **`e304a4ef7`**, confirmed, not assumed. ## `SpinnerSchema`, read at both refs **At the write-time ref** — `git show e304a4e:packages/types/src/feedback.ts`, `SpinnerSchema`: ```ts export interface SpinnerSchema extends BaseSchema { type: 'spinner'; /** Spinner size @default 'md' */ size?: 'sm' | 'md' | 'lg' | 'xl'; } ``` ⇒ no `icon`, no `color`. The sentence was false the moment it landed. **On `origin/main`** — `git show origin/main:packages/types/src/feedback.ts`, same symbol: the same `type` + `size`, plus `body?: never` and `children?: never` (the objectui#9256 / ADR-0049 refuse-by-name pair). ⇒ still no `icon`, still no `color`. Nothing moved under the sentence; it never described this interface. ## What actually went wrong — verified independently of the card `IconSchema` is declared in `packages/types/src/layout.ts`; `SpinnerSchema` in `packages/types/src/feedback.ts`. At `e304a4ef7`, `IconSchema` declares `icon: string`, `size?: number`, `color?: string`. ⇒ the `icon` / `color` half belongs to `IconSchema` **alone**. ⭐ The decisive evidence is inside `e304a4ef7` itself: the **same commit** wrote both renderers' pass-through docblocks, and each of them is correct **per interface** — - `packages/components/src/renderers/basic/icon.tsx`: *"`IconSchema` declares exactly `icon`, `size` and `color`, and this renderer already CONSUMES all three by name"* - `packages/components/src/renderers/feedback/spinner.tsx`: *"`SpinnerSchema` declares exactly one key beyond the SDUI base, `size`, and this renderer already CONSUMES it by name through `sizeClasses`"* ⇒ the changeset body collapsed those two per-interface statements into one and applied the `icon` side to both. That is the lane's standing **「a name is not a key — a key is (interface, name)」** error one level up: a claim naming two interfaces while describing one. ## The replacement ```diff -`icon="check"` on all 71 icon nodes in the schema catalog. `IconSchema` and -`SpinnerSchema` declare only `icon` / `size` / `color`, and both renderers -already consume all three by name, so the SDUI pass-through list withholds -nothing they need. +`icon="check"` on all 71 icon nodes in the schema catalog. The two nodes declare +different keys, and each renderer consumes its own node's keys by name: +`IconSchema` (`packages/types/src/layout.ts`) against the pass-through docblock +in `renderers/basic/icon.tsx`, and `SpinnerSchema` +(`packages/types/src/feedback.ts`) against the one in +`renderers/feedback/spinner.tsx`. `icon` and `color` are `IconSchema`'s alone — +`SpinnerSchema` declares neither. Read those two declarations for what they +carry; this paragraph deliberately copies no member list. So the SDUI +pass-through list withholds nothing they need. ``` ⛔ **No member list is written down.** Per Commandment objectstack-ai#9, the replacement names **where each declaration is derived** — file plus symbol — so a reader re-takes the reading instead of trusting a figure that will rot. No line addresses, so Commandment objectstack-ai#11 has nothing to catch either. ⛔ **The surrounding conclusion is NOT assessed.** "the SDUI pass-through list withholds nothing they need" is preserved verbatim and deliberately left to stand; it is out of this card's scope. ## Frontmatter untouched — mechanically `check-changeset-overwrite` prints both sides itself: ``` M .changeset/5632-svg-host-dom-passthrough.md declared at base: @object-ui/components: patch declares now: @object-ui/components: patch ``` ## Before/after probe — wrap-tolerant, with a lit control and an absent control ⭐ Changeset prose wraps near eighty columns, so a line-anchored `grep -F` is **structurally blind** to the sentence. Demonstrated on this very corpus: ``` $ grep -cF '`IconSchema` and `SpinnerSchema` declare only `icon` / `size` / `color`' BEFORE_FILE -> 0 $ grep -cF '`IconSchema` and `SpinnerSchema` declare only `icon` / `size` / `color`' AFTER_FILE -> 0 ``` 0→0 on a sentence that demonstrably changed ⇒ broken instrument, ⛔ not an absent change. The working probe flattens whitespace before counting (`re.sub(r'\s+', ' ', text)`), over `git show HEAD~1:PATH` vs the working file: | needle | before | after | | --- | --- | --- | | SUBJECT-OLD — the false claim | **1** | **0** | | SUBJECT-NEW — the correction | **0** | **1** | | LIT CONTROL — unchanged sentence that spans a wrap | 1 | 1 | | LIT CONTROL 2 — the preserved conclusion, spans a wrap | 1 | 1 | | ABSENT CONTROL — `DATED READING`, never present | 0 | 0 | The two lit controls span a line wrap and read 1 on both sides, which is what proves the instrument sees across the wrap; the absent control reads 0 on both sides, which is what proves it is not matching everything. ## Changeset grade — MEASURED, ⛔ not asserted by analogy Both legs run `node scripts/check-changeset-presence.mjs` on **this same corpus** (this working tree vs its merge base): - **Absent control** — this change as it stands. `EXIT=0`: *"1 file(s) changed, 0 of them published source of a package the release covers … ✅ No source or published contract of a released package changed in this range, so no changeset is owed."* - **Lit control** — a marker line appended to `packages/types/src/feedback.ts` (published source of `@object-ui/types`). `EXIT=1`: *"2 file(s) changed, 1 of them published source of a package the release covers … ❌ 1 source file(s) of 1 released package(s) changed, and this change adds no changeset: @object-ui/types / packages/types/src/feedback.ts"*. ⇒ the grade is **no changeset owed**, on an instrument shown to be able to say otherwise. The mutation was proved to land on disk before the leg was read (`grep -cF` marker 0→1, and `git hash-object` returning `bc911354e…` against the HEAD blob `6c8e6083d…`), the restore leg ran under `trap … EXIT INT TERM` using an absolute `$REPO_ROOT` path and `git checkout HEAD -- PATH`, and the restore is proved by state rather than by an exit code: `git diff HEAD` empty, `git status --porcelain` empty, and `git hash-object packages/types/src/feedback.ts` back to `6c8e6083d026ba18d999341f241c9058086ab2c7`, byte-identical to `git rev-parse HEAD:packages/types/src/feedback.ts`. ## Gates run (exit codes captured to a file BEFORE any pipe) | gate | exit | verdict line | | --- | --- | --- | | `node scripts/check-changeset-overwrite.mjs` | **0** | report-only; 1 modified, declaration unchanged on both sides (case 2) | | `node scripts/check-changeset-presence.mjs` | **0** | no changeset owed | | `node scripts/check-changeset-claims.mjs` | **0** | ✅ no pending changeset names a file this change touches; 0 line addresses read | | `node scripts/check-pending-changeset-literals.mjs` | **0** | ✅ no test source names a pending changeset | | `node scripts/check-changeset-no-major.mjs` | **0** | ✅ no changeset declares a `major` bump | | `node scripts/check-changeset-fixed.mjs` | **0** | ✅ all workspace packages in the fixed group | | `node scripts/check-control-bytes.mjs` | **0** | ✅ scanned 7855 tracked text files | | `node scripts/check-new-cross-file-line-citations.mjs` | **0** | `VERDICT new-cross-file-line-citations: 0 new citation(s)` | | `node scripts/check-governed-queue-guard.mjs --test PATH` | **0** | ✅ NOT GOVERNED — none of 5 governed surfaces matched | No test suite is owed: the diff touches no source, and `check-changeset-presence` measured that rather than my asserting it. ## The window Release PR objectstack-ai#5400 was re-read immediately before this push and is **open, `merged=false`** — so the repair lands in the pending body, which is this dispatch's only sanctioned channel. ⛔ objectstack-ai#5400 is not touched by this branch, and no file it owns is touched. objectstack-ai#5400 is not addressed here. ## ⛔ Not for this PR Draft on purpose. ⛔ Do not flip ready, ⛔ do not enqueue, ⛔ do not merge — the dispatching seat does that after review. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01UanLVj6xvbS6puBCewLr8L --- _Generated by [Claude Code](https://claude.ai/code/session_01UanLVj6xvbS6puBCewLr8L)_ Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #5632
Clause-②: no
Determined from this diff, not from the expectation: the changed files are two renderer bodies and two test files.
packages/typesandpackages/specare untouched, and no registryinputs/defaultProps/namespace/labelline moved — so no published accept surface moves.The slice, and why this one
One mechanism group, per the triage seat's decomposition ruling (comment 5380586286):
BARE_SPREAD_ON_SVG—ui:iconandui:spinner.Exclusion list: EMPTY. Stated rather than omitted. Both members land, so the group entry is DELETED from
COMPONENTS_LEAK_GROUPSoutright and the grouping is five mechanisms now, not six.Why this group and not another, re-measured on
origin/main3e01cb55frather than inherited (six groups, 97 targets):ui:iconreads the SDUI identity keynameas its lucide icon name, so any icon node that authorsnamerenders nothing at all #5631, "or exclude that row".ui:iconreads the SDUI identity keynameas its lucide icon name, so any icon node that authorsnamerenders nothing at all #5631 closed 2026-08-24 (PR feat(types,components)!:ui:iconnames its glyph withicon, not the identity keyname#6012,ui:iconnames its glyph withicon, not the identity keyname), so the entanglement no longer exists and the group lands whole with no exclusion.BARE_SPREAD(91) is sub-batched by triage's own ruling and would force a partial group plus an exclusion list of ~89 rows; the four remaining groups are one target each.BARE_SPREAD.Ledger: 97 targets in six shapes to 95 in five.
The mechanism: the bare
toDomProps, and why NOT a third declarationThe sibling slice (PR #5858) could not take the bare executor: its hosts are form controls, where
nameanddisabledare legal HTML, so it needed a declaration of its own. That question has to be asked per host, and here the answer is the opposite one — measured, not assumed.IconSchemadeclaresicon,size,color;SpinnerSchemadeclaressize. Both renderers already consume every one of them by name (the glyph lookup,sizeStyle, thecn()class list,sizeClasses). Nothing they declare needs to reach the element through a spread, so nothing legitimate is withheld and no third declaration is warranted.The half a leak gate cannot see — which on an SVG host is most of it
This is the part worth reviewing. A leak gate reports attributes that ARRIVE illegitimately; it has no case for one that STOPS arriving. On an SVG host
@object-ui/test-support's judge countsstroke,width,height,fillandcoloras legitimate, so everything lucide emits sits in the half the gate never reports, in either direction. Three real behaviours lived in that blind spot. All three were read off the DOM directly, and all three are now pinned by full-attribute-set assertions in the new probe:ui:spinnerdid not spin.classNameis on the SDUI pass-through list, so it stayed in the prop bag and overrode the computed class that followed it: aui:spinnerrendered throughSchemaRenderercarriedclass="lucide lucide-loader-circle"and neitheranimate-spinnor its size class. Filtering the spread does not fix this — the key survives the filter — so it is destructured and MERGED here, the way the siblingbasic/icon.tsxin this same group already did it and the way the migration's worked examplelayout/grid.tsx([finding] grid renderer 把 schema 键原样漏成 DOM 属性(columns="[object Object]"、mdcolumns="2" 等无效 HTML 属性) #4787 / PR fix(components): whitelist ui:grid's DOM passthrough so schema keys stop leaking as attributes #5573) does by ordering. Named here rather than ridden along: it is the other half of the harm of the same bare spread, on the same line, and routing the spread without it would leave the filter forwarding a key that destroys a legitimate computed value.ui:spinneremitted invalid dimensions.sizeis an enum (sm/md/lg/xl) consumed throughsizeClasses; the spread also handed the string to lucide's numericsizeprop, so every sized spinner carriedwidth="lg" height="lg".colorproduced an invalid paint value.IconSchema.colordeclares a Tailwind CLASS ("Color Class") andcn()applies it. The spread also reached lucide'scolorprop, emittingstroke="text-red-500"beside the class doing the real work. All threecolorvalues authored in the catalog are classes, so nothing depended on the raw-CSS-colour accident; an authored raw colour no longer tints the glyph through it, which is the contract-first direction (AGENTS.md #0.1).Evidence
"The tests are green" is not evidence on this card, and this run re-confirms why:
packages/components' full 2155 tests are green in BOTH ablation directions — no existing test asserted any of these attributes, nor noticed that the spinner was not spinning.Catalog-scale DOM measurement, new probe
examples/schema-catalog/test/svg-host-dom-leak-5632.test.tsx, through the realSchemaRenderer:icon: 71 nodes, 71 illegitimate attributes before, 0 after (icon[icon], the declared glyph key the renderer consumes and forwarded as well).spinner: 6 nodes, 0 before and after at catalog scale — the catalog authors no undeclared keys on them, so the sweep's canary node is what covers this member. Said plainly rather than presented as a result.ui:grid: 26 nodes, 0 in both runs, in the same run asicon's 71.noElement0 everywhere), so the after-zero is a reading and not a walk that stopped finding nodes — fix(components): route flex/stack/container/text throughtoDomProps(#5574) #5839's guard. Each node renders withchildren/bodyremoved, so the control is not a mixture of other groups.['label','zzcanary']on an svg host and['color','label','width','zzcanary']on a div host. A judge that allowedcolor/widtheverywhere — or that lowercased SVG names — would pass everything here while seeing none of this group.Two-way expiry observed. With the renderers fixed and the rows still present, the sweep failed on EXACTLY the two group members and no others:
2 failed | 200 passed, directionexpected [] to deeply equal [ 'ariaDescribedBy', …(13) ]. The rows were then DELETED — not edited, noit.skip, no exemption — and the gate is green at202 passed.Reverse-verification on commit
5d023aaa2, reverting ONLY the two renderer sources to3e01cb55f. Predicted before running; observed as predicted. Mutation proven ON DISK in both directions, not by an editor exit code: blob hashes moved to exactly theorigin/mainblobs, injected anchorstoDomProps(iconProps)/toDomProps(spinnerProps)2/1 to 0/0 and the deleted bare spreads counted back in at 2/1. Observed4 failed | 201 passed: the two sweep targets (ui:icon leaked 14 non-DOM attribute(s), same forui:spinner) plus both probe readings (expected [ …(71) ] to deeply equal [], and the legitimate-set pin at 12 attributes vs 11). The census did NOT move under mutation, so the reds are leaks and not a broken walk. Restore proven BY STATE —git diff HEADempty,git statusclean, worktree blobs byte-equal to the HEAD blobs — never by an exit code; the script carriestrapon EXIT/INT/TERM with absolute paths.Legs that do NOT discriminate, named so the discriminating ones mean something: the judge element-awareness self-check (green both legs — it renders raw markup, no renderer in the path); the
ui:gridcontrol (0 both legs by construction); the node census (identical both legs — it discriminates a broken walk, never the fix); andpackages/components' 2155 tests (green both legs, which is the finding above rather than a reassurance).Verification, and every narrowing declared
All vitest runs from the repo root; no
pnpm --filterfor vitest and no run from a package cwd (the #3378 guard). Union re-run at the final commit5d023aaa2.pnpm exec vitest run packages/app-shell/src/__tests__ packages/fields/src/__tests__/widget-dom-leak-e2e.test.tsx examples/schema-catalog/test—Test Files 33 passed (33)/Tests 2536 passed (2536).pnpm exec vitest run packages/components—Test Files 230 passed (230)/Tests 2155 passed (2155).pnpm --filter @object-ui/components --filter @object-ui/app-shell type-check— bothDone.--listFilesconfirms the edited sweep test is really in thetsconfig.test.jsonprogram (1 hit), so "type-check clean" actually covers it.pnpm --filter @object-ui/example-schema-catalog type-check— clean, and--listFilesconfirms the new probe is in that program (1 hit). It first reported fiveTS2882errors in files this PR does not touch; those were an unbuilt dependency closure and cleared afterpnpm --filter '@object-ui/example-schema-catalog^...' build, which reads exactly like a real break.pnpm exec eslint . --no-inline-config -f json— the FULL repo, not a narrowing: 4264 files linted (population read from eslint's own config, count read from the JSON output), 0 errors in all four files this PR touches. The repo carries 93 pre-existing errors across 77 other files on this tree; none is a file this PR touches.node scripts/check-changeset-presence.mjs—3 source file(s) of 2 released package(s) changed, and this change declares 1 changeset(s).check:control-bytesOK (6224 tracked text files) ·check:icon-record-namesOK (182 names, and this PR touchesicon.tsx) ·check:self-importOK ·check:phantom-depsOK ·check:side-effects-arrayOK.check:sdui-registration-pinsNOT RUN, declared: it exits 2 withNo console build to weigh at apps/console/dist/assets— a prerequisite, not a failed measurement. It guards registrations being dropped by a wrongsideEffectsarray at bundle time; this PR changes nopackage.json, andcheck:side-effects-array(which reads that array directly) is green. CI owns the bundle-level run.Exit codes were captured before any pipe, and every gate result above quotes the gate's own printed line rather than a bare
$?.🤖 Generated with Claude Code
https://claude.ai/code/session_01EMrWaQw3XS5DxTHxp4yRyC
Generated by Claude Code