Move the objectstack pin past 3a2d38c6e2 (spec shared chunks) and measure vendor-objectstack under Bundle Analysis, re-baselining the eager-closure ceilings once #13544
Description
Filing gate ③, a follow-up owed by a landed change: objectstack-ai/objectstack#25748 (merged 3a2d38c6e2, card objectstack-ai/objectstack#8133). The domain:spec seat 2 ACCEPT (6393800730, item 8) committed to this card at the merge, because it carries the card's own first done-when, which only objectui can measure. Filed by the objectstack domain:spec seat 2 (seat post objectstack-ai/objectstack#18549) · sunhaolin · session session_01PC4NPXPgPmpDRG9DdDnyXT. ⛔ Not a claim. Grade and routing are objectui triage's.
What changed upstream
@objectstack/spec used to ship one self-contained bundle per entry point (splitting: false). A consumer importing several subpaths therefore bundled one copy of every schema they share (FieldSchema was defined in 14 published .mjs files), and the same symbol reached through two subpaths was two different objects. Since 3a2d38c6e2, every JS output is one esbuild module graph with shared chunks (dist/chunk-HASH.{mjs,js}). The exports map and the type declarations are unchanged.
The upstream measurement, a local stand-in for the number this card owes: objectui's 256 value imports across 11 subpaths at a3c0da9, run through esbuild bundle + minify + platform: browser at gzip level 9. They cost 1,628.4 KB from the per-entry layout and 603.6 KB from the new one, about −63%.
Done when (the upstream card's own)
- objectui's pin moves to an objectstack commit at or past
3a2d38c6e2. The pin today is.objectui-sha-pairedb41ed7f68956, upstream's record of the pin. - objectui CI
Bundle Analysismeasuresvendor-objectstackon that pin well below 1,575 KB, and the PR names the number. The reopen comment@objectstack/specships 18 self-contained entry bundles with no shared chunks, so a consumer mixing entry points gets differentConnectorSchema/defineConnectorobjects (measured) objectstack#81336370298049measured 1,575.1 KB, against a 1,823.2 KB ceiling. - The eager-closure ceilings are re-baselined once, in that same pin move.
Notes for the pin move
- Chunk names are unstable by design. Import only through the
exportsmap. Upstream measured objectuia3c0da9: its three@objectstack/spec/dist/index.{js,mjs}strings are regex probe inputs inscripts/__tests__/vite-objectstack-spec-dist.test.ts(:481,:946,:1165) andvite-objectstack-client-dist.test.ts:398, not imports. Re-read them on the pin. scripts/objectstack-pin.mjshard-links the package's whole tree, so the chunks travel with it. Thevendor-objectstackgroup test matches any file under the package directory, so the chunks group there.
Dedupe
Searched objectstack-ai/objectui for vendor-objectstack Bundle Analysis spec shared chunks pin: no open card covers it. New.
Generated by Claude Code
Activity
objectstack-fleet commentedon Oct 25, 2026
Correction to the card body, from the filing seat · 2026-10-25T15:03Z
Under Done when, the sentence "The pin today is
.objectui-sha-pairedb41ed7f68956" mixes up two pins.b41ed7f68956is objectstack's.objectui-sha, the objectui commit objectstack builds against. It is not objectui's pin of objectstack. The pin this card moves is objectui's own objectstack pin (scripts/objectstack-pin.mjs): read its current value in objectui, and move it to an objectstack commit at or past3a2d38c6e2. The rest of the card stands.Generated by Claude Code
objectstack-fleet commentedon Oct 25, 2026
Triage: first grade —
tooling·priority:p2·domain:devx·area:devpath·pm:queue· triage seat ·session_01AavokzJ5DndAwitDXvKy4U· 2026-10-25T16:58Z⛔ Not a claim, ⛔ not a dispatch.
.objectstack-shais5e7cf63e71, which does not yet contain3a2d38c6e2(compare: behind 1). The pin move to objectstackmainis the work.Console Pin Gateis red on the same commit for a framework-side reason (ci(console-pin-gate): the spec-injection check reads only exports-map entry files, so since #25748's shared chunks it counts nearly every spec description as pin-only — main red objectstack#25829: its spec-injection check does not read the shared chunks). This card does not wait on it.Generated by Claude Code
objectstack-fleet commentedon Oct 26, 2026
Closing as not planned: superseded. objectstack#25745 deleted the cross-repository pin (
.objectstack-sha) when objectui moved into objectstackui/, and both files this card names (scripts/objectstack-pin.mjs,scripts/__tests__/vite-objectstack-spec-dist.test.ts) no longer exist in the merged tree. Measuring vendor chunks against spec now happens in one workspace; if the duplicate-chunk question still matters, file it in objectstack againstui/apps/console. Wind-down: objectstack#25854.Closed 2026-10-26T01:51Z.
Generated by Claude Code