Repository navigation
feat(types): name InputShorthandSchema and UiCalendarSchema on the ./zod barrel (objectui#9067) - #9405
Conversation
…zod barrel Two new exported symbols on `packages/types/src/zod/index.zod.ts`, plus the ledger rows that record why the other two objectui#8499 arms stay unnamed (objectui#9067, director seat, decision batch #121 item 5, maintainer 2026-09-12). The barrel means one name, one node type. `InputShorthandSchema` stands for two `type` literals and `UiCalendarSchema` for one, so both fit that meaning and are named. `SemanticElementSchema` and `HtmlElementSchema` are family schemas keyed by a tag `z.enum` — a name bound to either hands a consumer a schema accepting every tag in the family — so both stay absent, and splitting them into per-tag schemas was ruled out in the same record as expansion for a consumer nobody has measured. The absence is ledgered rather than left to the changeset that declared it: `.changeset/*.md` is consumed and deleted at release, and a reason that lives only there leaves a deliberate non-export looking exactly like a dropped line. The two rows move to ABSENT_BY_DECISION in `packages/types/src/__tests__/arm-named-export-8784.test.ts` quoting that changeset's own sentence, the two named arms lose their rows because exporting them makes the rows stale, and the non-export is written on the barrel beside the `layout.zod.js` block the way RetiredKanbanNodeSchema's already is. No accept set moves in either direction: both schemas already existed, were maintained and were applied by the union. Only the barrel line is new. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011QreXiyMEqKLN4U5daMPVa
|
| Step | Outcome |
|---|---|
| Build packages | success |
| Check console performance budget | failure |
Which half objected:
| Eager-closure half | Verdict |
|---|---|
| Aggregate closure ceiling | ✅ pass |
| Per-chunk ceilings | ✅ pass |
| Ceiling sensitivity (headroom) | |
| Ceiling freshness (checkout vs. base branch) | ✅ pass |
⚠️ A broken gauge half is a verdict about the ceiling, not about the bundle: that line has drifted out of range of the regression it exists to catch, or the report behind it cannot be trusted. It does not say anything grew. TheCheck console performance budgetstep log carries the ceiling and the number it was compared against.
Reason: The entry chunk measured 144.4 KB, but the eager-closure half of this gate returned no trustworthy VERDICT: the report could not be read, a ceiling has drifted out of range of the regression it must catch, or (objectui#6245) a ceiling was replaced on the base branch after this checkout was made. The step log says which. This is not a passing budget — and it is not a size regression either.
See the workflow run for details.
📦 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) | 502.03KB | 115.16KB |
| core (index.js) | 8.52KB | 3.41KB |
| create-plugin (index.js) | 27.94KB | 9.51KB |
| data-objectstack (index.js) | 211.58KB | 58.68KB |
| fields (index.js) | 247.89KB | 62.50KB |
| 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.25KB | 13.99KB |
| plugin-charts (index.js) | 71.34KB | 19.90KB |
| 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.46KB | 65.85KB |
| plugin-editor (index.js) | 2.23KB | 1.05KB |
| plugin-form (index.js) | 136.77KB | 34.17KB |
| plugin-gantt (index.js) | 166.95KB | 41.04KB |
| plugin-grid (index.js) | 211.66KB | 57.50KB |
| plugin-kanban (index.js) | 46.00KB | 14.30KB |
| plugin-list (index.js) | 112.58KB | 27.65KB |
| plugin-map (index.js) | 20.64KB | 6.86KB |
| 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) | 9.55KB | 3.32KB |
| plugin-view (index.js) | 84.42KB | 20.79KB |
| 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) | 96.00KB | 31.71KB |
| 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) | 0.20KB | 0.17KB |
| 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
Clause-② in-seat contract review — PASS
What widened: Verified mechanically, ⛔ not from the report — occurrences of those two names in that file: ⇒ genuinely two new symbols on a published surface, so Is the widening inside the ruling? Yes, and exactly at its边界: decision batch #121 item 5 names " Bump level: Accept-set control: the dev measured Gates: package tests 185 files / 4251 tests exit 0; the objectui#8784 pin 15/15; type-check exit 0 (test program included); lint exit 0; changeset presence exit 0; package build with ⇒ Generated by Claude Code |
|
…ot barrel (objectui#9406) (objectstack-ai#9525) Fixes objectstack-ai#9406 Implements decision batch objectstack-ai#133 item 2, letter (a) (maintainer 2026-09-14, recorded on the card). Nothing here is a judgement call of this branch's: the ruling names the file, the act, the bump level and the pin. ## The exact published delta Two names join **one** list: the root barrel `packages/types/src/index.ts`, on its existing `export type { ... } from './form.js';` clause, from the module `packages/types/src/form.ts`. | name | declared in | was on `@object-ui/types/form` | was on `@object-ui/types/zod` | root `@object-ui/types` | |---|---|---|---|---| | `InputShorthandSchema` | `form.ts` | yes | yes (objectui#9067 / PR objectstack-ai#9405) | **added here** | | `UiCalendarSchema` | `form.ts` | yes | yes (objectui#9067 / PR objectstack-ai#9405) | **added here** | **No other export moves.** Measured on the published artifact rather than asserted: `packages/types` was built at the branch point and at this head, and `dist/index.d.ts` differs by exactly one line, which differs by exactly these two names inserted between `CalendarSchema,` and `FieldValidationRules,`. Nothing else in that file changed, in either direction. The dispatch cautioned that this package's emit is not byte-reproducible (measured on PR objectui#9517), so the comparison carries a **same-source control**: two consecutive clean builds of byte-identical source, compared before any normalisation. For `dist/index.d.ts` on this tree they came back **byte-identical** (raw differing lines 0, sorted differing lines 0), so the delta above is a reading and not emit noise. Reported as measured: the instability that card saw on another emitted file did not appear on this one, which the control establishes rather than assumes. The source diff is **one additive hunk**, 16 insertions and 0 deletions on `index.ts` — two names and the comment that says why they are there. The comment does not reach the published artifact (the emitted clause is one comma-joined line), so the published surface change is exactly the two names. ## Why it mattered more than a missing name From the root entry point the compiler did not merely fail, it **suggested a different component**. Reproduced live on this branch by removing the two lines again and running the package's own `tsc -p tsconfig.test.json`: ``` error TS2724: '"../index"' has no exported member named 'InputShorthandSchema'. Did you mean 'InputOTPSchema'? error TS2724: '"../index"' has no exported member named 'UiCalendarSchema'. Did you mean 'CalendarSchema'? ``` `ui:calendar` and `calendar` resolve to different renderers, and `InputOTPSchema` is not an input at all. An author who accepts the suggestion writes an import that compiles and means something else. ## The pin derives the gap; it does not assert a pair `packages/types/src/__tests__/form-barrel-mirror-9406.test.ts`. On every run it reads `form.ts`'s own export list and the root barrel's `./form.js` re-export list, and the verdict is the **set difference** — so the declaration that lands in `form.ts` next month and is forgotten fails it. A pin asserting "these two names are present" would have passed that day, which is this class reopening a third time. - Names deliberately left off carry a **ledger row with the reason** (`ABSENT_BY_DECISION`), names nobody has ruled on carry one saying so (`ABSENT_PENDING_DECISION`) — the two-ledger shape `arm-named-export-8784.test.ts` settled for the zod barrel. - **Rows cannot rot:** a row whose name `form.ts` no longer declares, or which has since reached the barrel, fails the file and asks to be deleted. - Both populations carry controls, so a dark instrument fails instead of passing: exactly one `./form.js` clause, the barrel list is a subset of what the module declares, the four names the card measured all read non-zero, and a star re-export from either module under the pin fails rather than silently shortening the denominator. - `SemanticElementSchema` / `HtmlElementSchema` are recorded as the ruling asked, with the reason and the ruling that made them so (objectui#9067, decision batch objectstack-ai#121 item 5), and **checked** — they are declared in `layout.ts`, not `form.ts`, so they sit outside this pin's population by construction, and the block fails the day either reaches the root barrel. They are not added here. ## One finding, ledgered and reported rather than repaired Running the derived pin over this list surfaced two more names in the same state: **`CommandItem` and `CommandGroup`** (the element types of `CommandSchema.groups` and of its `items`), reachable only through the `/form` subpath while `CommandSchema` sits on the root list. That is objectui#7697's shape exactly. The ruling authorises exactly two names and says "additive, no other line moves", so they are ledgered as **undecided** with the reason and handed to the dispatching seat for their own card. This PR does not move them.⚠️ A related correction to the filing card's framing, from the disk at this branch point: the card reads "re-exports 28 of the 30 interfaces `src/form.ts` exports", which conflates two populations. `form.ts` exports 30 interfaces plus 2 type aliases; the barrel's list carried 28 names, of which 26 are interfaces. So the gap was **four** names, not two — the two this ruling names, plus the pair above. The card's own two-zero reading is confirmed unchanged: both names read 0 on the barrel while `CalendarSchema` and `InputSchema` read non-zero in the same pass. ## Checks run before pushing | check | how | result | |---|---|---| | the new pin | `pnpm exec vitest run packages/types/src/__tests__/form-barrel-mirror-9406.test.ts` | 16 passed | | the pin, with the change removed | same command, `index.ts` taken back to the branch point | 1 failed, naming both missing names | | the type-level leg, with the change removed | `tsc -p tsconfig.test.json` | exit 2, the two TS2724 lines quoted above | | package type-check | `pnpm --filter @object-ui/types run type-check` (all three `tsc` legs) | exit 0 | | package suite | `pnpm exec vitest run packages/types/` | 190 files, 4345 tests passed | | package lint | `pnpm --filter @object-ui/types run lint` | exit 0, 0 errors | | changeset declaration | `check-changeset-presence.mjs`, `pnpm changeset:check`, `pnpm check:changeset-claims` | exit 0 | | line citations | `pnpm check:new-line-citations` | exit 0 | | control bytes | `pnpm check:control-bytes` and a direct sweep of the diff | exit 0, no hits | Both ablation legs restored from `HEAD` and verified by blob hash against the `HEAD` blob, with `git diff HEAD` empty afterwards. Repository-scale runs (`Lint`, `Type Check`, the test shards, `Build & E2E`, `Build Docs`) are CI's. ## Changeset `.changeset/9406-types-root-barrel-two-names.md`, **`minor`** on `@object-ui/types` — the level the ruling sets, on the ground that this is a published surface gaining two names, not on the size of the diff. ## For the Clause-2 contract review The reviewed surface is one clause in one file. The published delta is the two names in the table above and nothing else, established against the built `dist/index.d.ts` with a same-source control. Both names were already published on two other entry points of this same package, so the third is aligned rather than widened; both subpaths are untouched and every previously published name is still published. Draft, not enqueued, no auto-merge, no labels written by this branch. --- _Generated by [Claude Code](https://claude.ai/code/session_011QreXiyMEqKLN4U5daMPVa)_ Co-authored-by: Claude <noreply@anthropic.com>
Fixes #9067
Implements the recorded ruling (director seat, decision batch #121 item 5, maintainer 2026-09-12): the split. Two of objectui#8499's four arms are named on the
./zodbarrel; two are recordedABSENT_BY_DECISIONwith the reason, in the tree.The two newly exported symbols
packages/types/src/zod/index.zod.tsnow exports, by name, for the first time:typeliterals it stands forInputShorthandSchemazod/form.zod.tsemail,passwordUiCalendarSchemazod/form.zod.tsui:calendarThat is the entire movement on the published surface. Both schemas already existed, were already maintained and were already applied by
AnyComponentSchema; only the barrel line is new, so a consumer can finally validate one of those node types on its own — the questionAnyComponentSchemacannot answer, because it only answers "is this SOME valid node".Clause-②: yes, declared by the ruling itself.needs:contract-reviewis hung on this PR.What stays unnamed, and why the reason moved into the tree
SemanticElementSchemaandHtmlElementSchemaare not exported and are not split into per-tag schemas. Both are FAMILY schemas keyed by a tagz.enum: a name bound to either hands a consumer a schema that accepts every tag in the family, not the one node type every other name on that barrel stands for. objectui#8499 recorded exactly that reason when it armed the arms and deferred the naming — exporting the pair "would publish a NAMED authoring surface (z.enumfamilies, not per-tag schemas) that this card's ruling does not cover" — and the ruling upheld it. Splitting the families into per-tag schemas was ruled out in the same record, as expansion for a consumer nobody has measured.⭐ The reason is now recorded where it will survive. A
.changeset/*.mdis consumed and deleted at release, so a reason that lives only in a changeset outlives its own explanation and leaves a deliberate non-export looking exactly like a dropped line. So:ABSENT_BY_DECISIONrows inpackages/types/src/__tests__/arm-named-export-8784.test.ts, quoting that changeset sentence rather than citing it;layout.zod.jsblock, the wayRetiredKanbanNodeSchema's already is;ABSENT_PENDING_DECISIONis left in place and empty: it is one of the three answers the pin's failure message offers, so a future card that arms an arm it has no ruling to name still has somewhere to say so.⛔ On this card's framing — corrected by the record, not by editing the filer's text
The card is titled as objectui#7917's defect "recurring one day after its repair" and reads the four omissions as accidental. That is wrong, and this PR does not carry it. The omission was declared out loud in objectui#8499's changeset, raised by its ceiling review as a blocking finding, and passed on the surface-widening reason. No one forgot. A decision was deferred, and this change is that decision landing. The filer's text is left as filed; the correction lives in the ruling, in the changeset here, and in the ledger docblock.
Recorded instrument habit that makes the correction reproducible, and which was run on this card before anything was written: before writing "X was omitted",
git grep -n X -- .changeset— deliberate deferrals in this repo are written there. Run here it returns the 8499 changeset; the control (a symbol written into no changeset) returns nothing, so the finder discriminates rather than matching everything.Evidence
Gate results are quoted from each run's own verdict line, exit codes captured before any pipe.
pnpm exec vitest run packages/types/VERDICT command-exit 0pnpm exec vitest run packages/types/src/__tests__/arm-named-export-8784.test.tsVERDICT command-exit 0pnpm --filter @object-ui/types type-check(all three tsc projects,tsconfig.test.jsonincluded, so the ledger edit is type-checked)VERDICT command-exit 0pnpm --filter @object-ui/types lintexit 0— 0 errors; the 284 warnings are pre-existingno-explicit-anyin files this PR does not touchnode scripts/check-changeset-presence.mjsexit 0— "2 source file(s) of 1 released package(s) changed, and this change declares 1 changeset(s)"node scripts/check-governed-queue-guard.mjs --test PATH PATH PATH(the three changed paths)NOT GOVERNED — 3 path(s) checked against 5 governed surface(s); none matchedpnpm --filter @object-ui/types build(tsc && vite build && check-dist-completeness)VERDICT command-exit 0— "dist completeness: 1 package(s) complete (130 emitted files verified)"OBJECTUI_DIST_PINS=1 vitest run --project dist packages/types/(zod-subpath-single-module-8598.dist.spec.tsx, the pin that the shipped./zodis ONE module)VERDICT command-exit 0Dependency-closure build (
pnpm --filter '@object-ui/types^...' build) is empty by construction:@object-ui/typesis the zero-dependency protocol package, so there is no upstream closure to build.Remaining required checks —
Test (shard 1/4…4/4),Build & E2E,Build Docs— are repo-wide runs owned by CI.The published surface, read as a consumer reads it
Importing the built entry (
packages/types/dist/zod/index.zod.js, the fileexports['./zod']resolves to) rather than the source, afterpnpm --filter @object-ui/types build:The last block is the accept-set control:
h1still validates through the union even though no name is bound to it, andh1ZZis still refused. Nothing widened, nothing narrowed.Ablation — three legs, each proved on disk, each restored from
HEADRun after the implementation commit, so every restore leg targets
git checkout HEAD -- PATHwith the implementation already inHEAD. Each mutation is proved to have reached the disk by counting the anchored text before and after (an editor's exit code proves nothing — a zero-hitperl -0piexits 0), and each restore is proved by comparinggit hash-objectagainst theHEADblob hash and by an emptygit diff HEAD, never by an exit code. An empty hash is treated as failure, not as "nothing to compare". The script carriestrap restore EXIT INT TERMwith absolute paths.⭐ No build step is involved, and the ablation is what proves that: the pin imports
../zod/index.zod.js, a same-package relative specifier that resolves tosrc/zod/index.zod.ts. Mutating the source turns the pin red with nothing rebuilt, which is the measurement — not an assumption about the resolution path.UiCalendarSchema,barrel line (1 occurrence to 0)1 failed | 14 passed,+ "form.zod.ts#UiCalendarSchema [type: ui:calendar]"asideABSENT_BY_DECISIONrow (1 to 0)1 failed | 13 passed,+ "layout.zod.ts#SemanticElementSchema [type: aside, main, header, nav, footer, section, and 1 more]"ui:calendarledger row, i.e. keep the row this PR deletes (0 to 1)1 failed | 15 passed (16), on "delete the row. A ledger that keeps rows after their reason is gone stops being read"Leg 1 shows the new export is load-bearing. Leg 2 shows the
ABSENT_BY_DECISIONrows, not luck, are what keep the two families green. Leg 3 shows that deleting the twoemail/ui:calendarrows was required rather than cosmetic — leaving them would have been red. Baseline before the legs and the tree after them both verify at theHEADblob hashes, and the finalgit status --porcelainis empty.Acceptance notes
Out of scope for this card, filed as objectui#9406 rather than carried here:
packages/types/src/index.ts(the TypeScript root barrel, a different surface from the zod barrel this card rules on) exports neither theInputShorthandSchemanor theUiCalendarSchematype counterpart, though it exports their neighboursInputSchemaandCalendarSchema. Both types are reachable today through the@object-ui/types/formsubpath, so nothing is blocked; the root spelling is the one that reads TS2305. That is the same shape objectui#7697 filed forComboboxOption, and its repair changeset states it in as many words. The ruling here names one file,packages/types/src/zod/index.zod.ts, and touching the TS root barrel would mint two more published names on a surface no one has ruled on — precisely the widening this card exists to refuse doing by reflex. Measured with a probe whose two controls pass in the same compilation pass (TS2724on the two root imports; the/formsubpath import and theCalendarSchemaroot import both clean), and the instrument habit run against.changeset/found no record deferring these two from the root barrel. Filed as objectui#9406, unassigned and ungraded, asking for the ruling rather than asserting the repair.Implemented by the ObjectStack
os-devagent seat with Claude Code; sessionhttps://claude.ai/code/session_011QreXiyMEqKLN4U5daMPVa.PATCHunconditionally appends a second attribution footer even when the submitted body already ends with one, and that it can downgrade a session-URL footer to the bare form — so the footer block is not a durable carrier for a session reference, while a backtick code span in prose is measured to survive. Read back after this edit: the body is byte-identical to what was sent apart from the one footer the platform appends itself.Generated by Claude Code