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

feat(types,plugin-form)!: a record id is a string wherever metadata names one (objectui#9511) - #10141

Merged
os-steve merged 4 commits into
mainfrom
claude/issue-9511-findone-record-id-string
Sep 20, 2026
Merged

os-steve merged 4 commits into
mainfrom
claude/issue-9511-findone-record-id-string

Conversation

@os-steve

Copy link
Copy Markdown
Collaborator

Fixes #9511

Clause-②: yes

Executes director batch #195 item 1, letter A (comment 5749154869, maintainer 「同意」 2026-09-20T10:11Z), standing on batch #136 item 5 letter B. The ruling's operative clause, quoted:

A record id is a string wherever metadata names one. The six declarations (ObjectFormSchema.recordId, DetailViewSchema.resourceId, DetailSchema.resourceId — TS declaration and zod mirror each) narrow to string, and so do CommentEntry.recordId and MentionNotification.recordId (the same principle; a knowing decision, as the seat asked for). DataSource.findOne then narrows to string and the five TypeScript-only plugin-form faces fall out of ObjectForm's own schema.

and its acceptance pin:

pin: { type: 'detail', resourceId: 42 } is refused with the prescription, '42' parses, and all five DataSource id parameters read string.


维护者速读

改了什么。 记录 id 从今天起在每一扇门上都是字符串。第五扇也是最后一扇门 DataSource.findOne 收窄了,连带它背后三个作者直接手写的元数据键也收窄了 —— 表单的 recordId、详情的 resourceId(两个拼法、三处声明),每个都在两张已发布的面上同时动:TypeScript 声明,和手写的 zod 校验器。

为什么必须动 zod 那一半。 因为 TypeScript 声明在解析时根本不运行。作者写进 JSON 的数字,只有 zod 校验器拦得住。只改声明、不改镜像,结果是已发布面上的 declared ≠ enforced,而且 zod-mirror-parity.test.ts 会一路绿着放它过去 —— 那个仪器只抓「镜像比声明更窄」,镜像更宽它不吭声。所以两张面一起动,这是本卡真正的技术核心。

作者会看到什么。 今天把记录 id 写成裸数字的元数据,升级后校验不过,而且报错会直接告诉你怎么改:加引号,42 写成 '42'。⛔ 平台不会替你转换,这是故意的 —— 主键是数字的部署方在自己的适配器边界转一次,于是下游每个作者、每个调用方、每个适配器看到的都是同一种形状。这类部署方的线上字节其实早就是 '42' 了(update 在 objectui#9333、delete/bulkUpdate/bulkDelete 在 objectui#9712),本卡只是让最后那扇不一致的门跟上。

代价在哪。 另外四扇门当初在本仓一个调用点都不用改;成本全在 findOne 这一扇,因为它的读取方是作者面。这次连带动了五张表单面,外加两处编译器强制的残留(下面单独交代)。

风险与回滚。 风险集中在一件事:外部消费者如果手写了数字 id,升级即报错 —— 这正是裁决要的效果,报错带修法。回滚就是 revert 本 PR,没有数据迁移、没有生成物、没有 schema 基线要还原。

你要做的。 这是一次作者面收窄,Clause-② 已申报 yes,下面是完整的 accept-set 测量。⛔ 未获批准前本 PR 停在 draft,不翻 ready、不入队。


Clause-② — the accept set moved, measured in both directions

Differential over 45 documents across the three mirrors, parsed twice: once on this branch's freshly built dist (--force, no cache, from 813aaf75) and once on a comparison worktree at the merge base 0c2eb5eee0. Same script, same corpus, same instrument on both sides.

reading count
GREEN to RED 9
RED to GREEN 0
verdict unchanged 36
refusals carrying the prescribed repair 9 / 9

The 9 that moved are the only 9 that could: the three keys times three numeric spellings (integer 42, negative -1, float 4.5). Every one refuses with invalid_type at that key's own path, and every message names both '42' and objectui#9511.

Nothing that parsed red now parses green — that is the RED to GREEN row, and it is a measurement over a corpus deliberately stocked with already-red documents, not an inference from the shape of the edit.

Every zero carries a lit control on the same instrument and corpus:

control role reading
title: 42 / objectName: 42 lit — keys that were already string-only refused invalid_type, before and after
type set to a wrong literal lit — the mirror still reads its own discriminator refused invalid_value, before and after
object / array / boolean / null at the same key red-both, 21 rows refused before, refused after — nothing was loosened while the number arm was removed
key absent, '42', 'rec_1', '' green-both, 15 rows parsed before, parses after — the mirror has not started refusing everything
zzqNoSuchKey absent control green both sides (base is passthrough), so the corpus is not silently all-red

⭐ Without the red-both and green-both halves the 9 refusals would prove nothing: a mirror that had simply broken would pass the subject rows too.

All five DataSource id parameters read string — update, delete, bulkUpdate, bulkDelete, findOne — asserted two ways in data-source-id-surface-9511.test.ts: compile-time Expect rows judged by tsc -p tsconfig.test.json, and a runtime census over the declaration text that reds even in a tree where tsc never runs.

Reverse verification — both new pins are proven able to fail

Run through ablation-replace, which requires the anchor to hit and verifies the mutation on disk by blob hash before the command runs, then restores and proves the restore byte-identical.

leg mutation on-disk evidence result
1 crud.zod.ts resourceId back to the union anchor 1 to 0, blob e70c30156759 to 90bb646a8847 authorable-record-id-string-9511.test.ts 5 failed / 28 passed
2 data.ts findOne back to string or number anchor 1 to 0, blob 0f2a090279e1 to 3b5444834866 data-source-id-surface-9511.test.ts 1 failed / 11 passed

Both restored: blob equals HEAD, git diff HEAD empty. ⭐ Leg 1 is the sharper reading — only the DetailSchema rows went red while the other two mirrors stayed green, so the pin discriminates per mirror instead of failing wholesale. Leg 1 also proves these pins resolve the source and not a stale dist: no rebuild happened between mutation and red.

The two paths outside the granted file surface — kept, and why

Both are compiler-forced fallout of the ruled narrowing, not scope creep. The full build does not compile without them, and each is the identical one-token edit as the five granted plugin-form faces.

packages/plugin-grid/src/components/BulkActionDialog.tsx — BulkActionDialogProps.dataSource hand-restates findOne. Without the edit:

src/ObjectGrid.tsx(5476,7): error TS2322: Types of property 'findOne' are incompatible.
  Type 'string | number' is not assignable to type 'string'.

⭐ This is the one shape in the tree where narrowing the protocol reaches a consumer at all. The interface declares findOne as a method, which TypeScript compares bivariantly — that is why the DataSource docblock has always warned that narrowing here does not reach implementors. This face declares it as a property, which is checked contravariantly under strictFunctionTypes. That file's own comment had already predicted the event, in terms: it says deriving those doors from DataSource means "any future drift of that face reddens HERE instead of passing silently". It did.

packages/plugin-view/src/ObjectView.tsx — buildFormSchema asserted an untyped record bag's id as string or number or undefined and assigns it into the now-narrowed ObjectFormSchema.recordId. Without the edit: src/ObjectView.tsx(1989,7): error TS2322. selectedRecord is a Record of unknowns, so this was always a hand-written assertion; it now asserts the protocol instead of the wide shape. ⛔ Deliberately not String(...) — a reader-side coercion is the option the ruling refused by name, because eight such sites contradict 「the conversion lives in one typed place」.

⚠️ How they were found matters, because the first survey missed them. An earlier by-declaration survey of findOne call sites concluded every other site was already string-clean. That survey was incomplete by construction: the failing plugin-form task had stopped 5 of 29 build tasks from ever running. Re-run with plugin-form compiling, the build reached all 43 tasks and named these two. ⇒ the reading in this PR is by compiler, not by declaration, and 43 of 43 tasks now report.

The ruling's KnownDrift note is an instruction over an EMPTY SET

The ruling's execution section asks for 「the KnownDrift / mirror-parity ledger rows shrunk in the same change」. There are none to shrink. Measured in packages/types/src/__tests__/zod-mirror-parity.test.ts: resourceId appears 0 times and recordId 1, and that single hit is prose about an onNavigate signature, not a ledger row. Independently re-verified by the dispatching seat against MirroredUndeclared 50 as the control, so the zero is a real absence and not a dead query.

⇒ zod-mirror-parity.test.ts is untouched — which is also why excluding it from this PR's file surface cost nothing. Stated here so the next reader does not go hunting for rows that never existed.

Gates — hand-derived, since dispatch-gates.mjs refuses for objectui

That script derives families from the objectstack tree it runs in and says so outright; this list comes from objectui's own root package.json scripts and .github/workflows/. Every exit code was captured to a file before any pipe.

gate exit
turbo run build --filter=!@object-ui/site --force (43 of 43 tasks) 0
turbo run type-check (81 of 81 tasks) 0
vitest run over the four affected packages — 504 files, 7685 passed, 1 skipped 0
turbo run lint over the four affected packages (0 errors; 875 pre-existing warnings) 0
the two new/extended pin files alone — 45 tests 0
check:control-bytes · check:new-line-citations (0 new) 0 · 0
check-changeset-fixed · check-changeset-no-major · check-changeset-presence 0 · 0 · 0
check:pending-changeset-literals · check:changeset-claims 0 · 0
check:spec-symbols · check:component-surface-parity (report-only) 0 · 0
check:doc-types · check:doc-snippets (672 of 672 blocks judged) · check:doc-examples · check:doc-fences · check:doc-example-ids · check:doc-example-readers all 0
check:prompt-keys · check:registry-bare-names · check:handler-key-reads · check:designer-field-key-parity all 0
check:test-path-roots · check:vi-mock-specifiers · check:vi-mock-inherit · check:vi-mock-override-shape all 0
check:readme-exports · check:unreferenced-sources · check:self-import · check:sdui-registration-pins · check:element-data-source-declaration all 0
check:skills-paths · check:skill-examples 0 · 0
check-governed-queue-guard --test over 6 changed paths 0 — NOT GOVERNED, none of the 5 governed surfaces matched

Honest notes on three of those readings, rather than letting them read stronger than they are.

  • check:skill-examples exits 0 over 0 selected fences — no marked skill example carries these types, so that gate's corpus for this diff is empty. It is a real zero, ⛔ not coverage.
  • check:component-surface-parity and check:new-line-citations are report-only by their own design; their 0 means "no findings", not "blocking and green".
  • The test-and-lint pair ran inside one lock invocation joined with ;, so the wrapper printed batch-last-exit and warned it does not cover both parts. That warning is correct and the wrapper's number is ⛔ not used here: each part's own exit code was written to its own file (0 and 0) and those are what the table reports.
  • turbo run type-check was measured on tree 0492a2b5. HEAD differs from that tree by exactly one file — .changeset/9511-record-id-is-a-string.md — and no tsconfig project in this repo includes .changeset (the one textual hit in tsconfig.scripts.json is inside a comment). The reading therefore transfers; said explicitly rather than presented as a run on HEAD.

A note on this branch's history

The first commit on this branch, 0492a2b5, is labelled INCOMPLETE AND UNREVIEWED and was not authored by this seat — the dispatching seat made it to stop the container reclaiming an idle worktree after this seat hit the usage wall mid-task. Every hunk in it has since been re-read line by line against the ruling and against the granted surface, and is adopted deliberately in 813aaf75. Nothing in it was built on unreviewed. This repository squash-merges, so that WIP message does not reach main; this body is the record.

In-flight overlap, declared

Two open pull requests touch files this one touches. Both unions are trivial and neither overlaps a line here:

  • objectui#9540 (ObjectGallerySchema.filter) touches packages/types/src/objectql.ts and packages/types/src/zod/objectql.zod.ts — different keys, different members. Whichever lands first, the other rebuilds in the queue.
  • objectui#8941 (lucide bump) touches packages/plugin-grid/package.json, packages/plugin-form/package.json and packages/types/src/objectql.ts — manifests and an unrelated member.

⚠️ Cross-card interaction accepted by the dispatching seat: objectui#8345 derives a strict authoring twin from these mirrors, so its measured refusal figures move when this lands. The files are disjoint (it was re-scoped onto strict-authoring-face.ts) and the merge queue arbitrates.

Acceptance notes

  • packages/plugin-form/src/MasterDetailForm.tsx still declares recordId as string or number. ⛔ Left alone deliberately: it is not one of the five faces the ruling names, it does not hand that value to findOne (it goes through String(...) at its own read point), and it therefore does not break the build. It is the same survivor class as the three declarations on objectui#10078 and belongs with them in one decision rather than being narrowed here on this seat's own initiative. noted, not filed — successor: whoever answers objectui#10078.
  • DataSourceMutationEvent.id, CommentSearchResult.recordId and RecordSubscription.recordId are on objectui#10078 and are ⛔ not touched here.
  • No reader-side conversion was added anywhere in this diff. The count of String(...) coercions introduced is zero, which is the measurable form of the ruling's 「the conversion lives in one typed place」.

Generated by Claude Code

os-steve and others added 2 commits September 20, 2026 12:56
…#9511

⛔ This commit was NOT authored by the dev that produced these changes, and it has
NOT been reviewed. It is a salvage of an uncommitted dispatch worktree whose agent
was terminated by the 5-hour usage wall (HTTP 429, reset 12:40Z) before it could
commit or report. Whoever continues this branch MUST diff this commit and judge it
line by line; ⛔ do not build on it unreviewed.

Observed facts only, at salvage time:

- 15 tracked files modified + 1 untracked file added; 176 insertions, 55 deletions
  by `git diff --stat` before staging.
- Worktree /home/user/objectui-issue-9511, branch head was 0c2eb5e (identical to
  origin/main), i.e. nothing had been committed on this branch.
- Newest non-node_modules mtime in the tree: 2026-09-20 11:26.
- The dev's last transmitted sentence reported its pins green at 45 tests and stated
  an intention to move to the type-level half; ⛔ that is an intent, not a result, and
  nothing here verifies it.
- TWO of the dirty paths are OUTSIDE the file surface this seat granted:
  packages/plugin-grid/src/components/BulkActionDialog.tsx
  packages/plugin-view/src/ObjectView.tsx
  ⛔ Neither was reported or justified before the agent died. The continuing dev must
  justify them against the grant or revert them.

Refs #9511
…ames one

Closes the fifth and last `DataSource` door and the three AUTHORABLE keys that
feed it, executing director batch #195 item 1 letter A on objectui#9511.

`DataSource.findOne` narrows to `string`, joining `update` (objectui#9333) and
`delete` / `bulkUpdate` / `bulkDelete` (objectui#9712). The three authorable
keys narrow on BOTH published faces -- `ObjectFormSchema.recordId`,
`DetailViewSchema.resourceId` and `DetailSchema.resourceId`, each as a
TypeScript declaration and as its hand-written zod mirror -- plus
`CommentEntry.recordId` and `MentionNotification.recordId`, which the ruling
names under the same principle.

The mirror half is the load-bearing half: a TypeScript declaration does not run
at parse time, so the mirror is the only face that can refuse an authored
number. Narrowing the declaration alone would have shipped declared != enforced
on a published surface with `zod-mirror-parity.test.ts` still green, because
that instrument only catches a mirror left NARROWER than its declaration.

Consequential and compiler-forced: the five plugin-form faces that hand their
own `recordId` to `findOne`; `BulkActionDialogProps.dataSource`, which restates
`findOne` as a PROPERTY and is therefore checked contravariantly; and
`ObjectView.buildFormSchema`, whose assertion now states the protocol rather
than the wide shape. No reader-side `String(...)` coercion was added anywhere --
that is the option the ruling refused by name.

Accept set moved in one direction only, measured over 45 documents on this tree
and on the merge base: 9 GREEN->RED (the three keys x integer/negative/float),
0 RED->GREEN, 9/9 refusals carrying the prescribed repair, with lit, green and
red-both controls on the same instrument and corpus.

This commit also adopts, after a line-by-line review, the hunks that reached
this branch through an unreviewed salvage commit made by the dispatching seat
while this worktree was idle. Every hunk there was re-read against the grant and
against the ruling before being kept; the two paths that sat outside the granted
surface are kept deliberately and justified in the pull request body, because
the full build does not compile without them.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

changeset-claim-re-read

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

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

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

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

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

    Both halves move together. The TS declaration (packages/types/src/objectql.ts) and its zod mirror (src/zod/objectql.zod.ts) gain the same ten keys at the same requiredness — all optional — and no KnownDrift entry is added. navigation is taken from @objectstack/spec's NavigationConfigSchema by reference rather than restated, matching ObjectGridSchema.navigation.

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

    Both halves move together. The TS declaration (packages/types/src/objectql.ts) and its zod mirror (src/zod/objectql.zod.ts) gain the same ten keys at the same requiredness — all optional — and no KnownDrift entry is added. navigation is taken from @objectstack/spec's NavigationConfigSchema by reference rather than restated, matching ObjectGridSchema.navigation.

.changeset/6237-wizard-step-config-split.md

  • names WizardForm.tsx → packages/plugin-form/src/WizardForm.tsx — edited by this change

    WizardStepConfig is now declared independently in WizardForm.tsx, which is simply what SplitFormSectionConfig, ModalFormSectionConfig and DrawerFormSectionConfig already do: each layout owns its group shape, documents className / gridClassName in its own terms, and declares visibleWhen only where its renderer honours it. The derivation flips from subtractive to additive — a key is authorable on a wizard step only if someone writes it there.

.changeset/6349-types-internal-name-collisions-batch-1.md

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

    ActionSchema — renamed, because the two shapes are unrelated. crud.ts and ui-action.ts both declared it. Measured member-by-member they share 9 keys out of 28 each: crud.ts extends BaseSchema and pins type: 'action' (a UI node — a button in a component tree), ui-action.ts extends nothing and types type as ActionType (a spec-v2 action definition, with name, locations, params, target). Re-pointing either at the other would silently hand a consumer a different type, so this took the rename branch (objectui#5044 is the precedent for choosing the surviving name). ui-action.ts's declaration is now spelled UIActionSchema — the name src/index.ts has always PUBLISHED it under, via export type { ActionSchema as UIActionSchema }, which is now a plain re-export. The package's public surface is unchanged: ActionSchema still means crud.ts's legacy shape and UIActionSchema still means ui-action.ts's, exactly as before. Nothing outside ui-action.ts imported the old spelling — there is no ./ui-action subpath in exports, so the old name was never reachable from outside the package.

.changeset/6594-headercolor-mirror-enum.md

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

    The nearest precedent is objectui#5853 (.changeset/5853-tablecolumn-type-canonical-union.md), which narrowed TableColumn.type on the same three-ends pattern and exported a TABLE_COLUMN_TYPES tuple for the zod mirror to build its enum from. That shape is not available here and the difference is structural, not a preference: packages/types/src/views.ts is a type-only module, so a tuple there would add a runtime export to the package barrel (a value export cannot ride the barrel's export type block) and a runtime import edge from the zod entry into views.js. finding(types): TableColumn.type disagrees three ways — interface declares 8 literals, zod mirror accepts any string, renderer's live read set handles values outside the union via an as any cast #5853 had a second reason to export — producers needed its normalizeTableColumnType() at their emit seam — and headerColor has no producer that needs a runtime value. The literals are therefore written on each half and the anti-drift guarantee is carried by the pin above, which also covers the third end a shared tuple could not reach: the renderer, in a package @object-ui/types must not depend on.

.changeset/6726-find-envelope-records-arms.md

  • names plugin-view/src/ObjectView.tsx → packages/plugin-view/src/ObjectView.tsx — edited by this change

    | module | what it does | | --- | --- | | components/src/hooks/related-count-store.ts | related-list tab badge count | | components/src/renderers/basic/data-list.tsx | element:repeater rows | | components/src/renderers/basic/elements.tsx | element:number client-side aggregate | | components/src/renderers/basic/record-picker.tsx | element:record_picker options | | plugin-detail/src/renderers/record-activity.tsx | record:activity self-fetch | | plugin-detail/src/renderers/record-history.tsx | record:history self-fetch | | plugin-view/src/ObjectView.tsx | non-grid (kanban / calendar / gallery / timeline) fetch |

.changeset/6940-rowactions-boolean-mirror.md

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

    The list view's same-named rowActions in zod/objectql.zod.ts — z.array(z.string()), the legacy bare-name action list on ObjectGridSchema — is a different key that is correct as it stands, is in parity with its own TS twin (rowActions?: string[]), and is not touched.

.changeset/7070-no-invented-gantt-date-fields.md

  • names plugin-view/src/ObjectView.tsx → packages/plugin-view/src/ObjectView.tsx — edited by this change

    • app-shell/src/views/ObjectView.tsx — the console object page. The inline branch becomes ganttViewOptions, the sibling of calendarViewOptions and timelineViewOptions: the declared block spread whole, title floored at 'name', no date field invented. - plugin-list/src/ListView.tsx — the render branch AND the capability gate. - plugin-view/src/ObjectView.tsx — generateViewSchema, the authored object-view element route, which bypasses ListView entirely.

.changeset/7113-chart-data-model.md

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

    .extend() with a NEW key still works and preserves the fold and the refinement; .optional(), z.discriminatedUnion, z.toJSONSchema and safeValidateSchema are all unaffected. Nothing in this repository calls the throwing combinators on either const, and the published surface already ships refined mirrors (objectql.zod.ts, complex.zod.ts, form.zod.ts, app.zod.ts), so the class is not new — but it is a real behaviour change on a published export and it belongs in the release note rather than in a reviewer's file.

.changeset/7200-object-form-section-style-keys-undeclared.md

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

    The authored-metadata type now agrees with @objectstack/spec, whose FormSectionSchema is a strict object declaring neither key, and with the ruling's rationale (maintainer 2026-09-01, verbatim): "retire the reads … Declaring the keys was weighed and not adopted: it would formally invite free Tailwind strings into authored metadata, the exact class the boundary exists to keep out." A ?: never tombstone was not used: ObjectFormSection has no zod mirror (ObjectFormSchema in zod/objectql.zod.ts does not declare sections), so there is no parse door to refuse at, and a tombstone is still a declaration in completion and in the published .d.ts.

.changeset/7265-types-user-filter-field-derives.md

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

    zod/objectql.zod.ts declared two schemas under names @objectstack/spec/ui already exports. They were triaged separately, by reading their sites, and went different ways.

.changeset/7287-resolve-title-field-shared-ladder.md

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

    def.primaryField — a DetailViewSchema key (@object-ui/types views.ts), read off an OBJECT def and ranked ABOVE the canonical nameField ADR-0079 Phase 2 made the pointer (AGENTS.md Commandment #0.1). No producer can put it there: @objectstack/spec's object schema is a strictObject that answers unrecognized_keys: ['primaryField'], and ObjectSchema.create() throws — which is why objectstack#6326 deleted the identical read from two lint rules. A census across both repos found zero object payloads carrying it (the only writers are three test fixtures), and primaryField appears in zero files of the shipped @objectstack/spec@17.2.0 dist against 68 for nameField. Same shape as the undeclared objectDef.titleField read objectui#6531 measured and Five more consumer-side reads of the undeclared object-level titleField survive #6531 — in ObjectView view-config fallbacks and a useRecordSearch memo key #6557 removed. DetailViewSchema.primaryField is untouched and still honoured by DetailView's own header — it is a view key, and on a view it is legitimate.

.changeset/7322-object-kanban-group-by-limit.md

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

    Breaking for authored metadata: ObjectKanbanSchema.groupField is RETIRED (objectui#7322, ADR-0049 enforce-or-remove), and the two keys the object-kanban renderer actually reads — groupBy and limit — are now DECLARED and validated on both published faces: the TypeScript interface in objectql.ts and the Zod mirror in zod/objectql.zod.ts.

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

    Breaking for authored metadata: ObjectKanbanSchema.groupField is RETIRED (objectui#7322, ADR-0049 enforce-or-remove), and the two keys the object-kanban renderer actually reads — groupBy and limit — are now DECLARED and validated on both published faces: the TypeScript interface in objectql.ts and the Zod mirror in zod/objectql.zod.ts.

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

.changeset/7352-drill-down-config-mirror.md

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

    DrillDownConfigSchema is the zod mirror of DrillDownConfig, and both declarations that carry drillDown reference it — ChartSchema (zod/data-display.zod.ts) and ObjectDataTableSchema (zod/objectql.zod.ts) — so the published validator under @object-ui/types/zod reads the key for the first time (objectui#7352).

.changeset/7363-objectql-union-arms.md

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

    ObjectGallerySchema and ObjectDataTableSchema are members of ObjectQLComponentSchema on both faces — the TS union in objectql.ts and the zod union in zod/objectql.zod.ts — so AnyComponentSchema, and with it validateSchema / safeValidateSchema / objectui validate, has an arm for object-gallery and object-data-table nodes (objectui#7363).

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

    ObjectGallerySchema and ObjectDataTableSchema are members of ObjectQLComponentSchema on both faces — the TS union in objectql.ts and the zod union in zod/objectql.zod.ts — so AnyComponentSchema, and with it validateSchema / safeValidateSchema / objectui validate, has an arm for object-gallery and object-data-table nodes (objectui#7363).

.changeset/7499-gantt-non-axis-floors-omitted.md

  • names plugin-view/src/ObjectView.tsx → packages/plugin-view/src/ObjectView.tsx — edited by this change

    • plugin-list/src/ListView.tsx — the object-gantt render branch. - plugin-view/src/ObjectView.tsx — generateViewSchema, the authored object-view element route, which bypasses ListView entirely.

.changeset/7586-primary-field-consumer-reads.md

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

    primaryField is a DetailViewSchema key (@object-ui/types views.ts) — a view key, which DetailView.resolveDisplayTitle reads off schema and is welcome to. Read off an object def it is undeclared: @objectstack/spec's object schema is a strictObject answering unrecognized_keys: ['primaryField'], and ObjectSchema.create() throws. primaryField appears in zero files of the shipped @objectstack/spec@17.2.0 dist, against 68 for the canonical nameField. objectstack#6326 removed the identical read from two lint rules; objectui#7287 / PR fix(plugin-detail): resolveTitleField delegates to the shared ADR-0079 ladder #7585 removed it from resolveTitleField. These two survived it — and three of this repo's own changelogs already called the probe "not a spec property — always undefined" while the code kept honouring it.

.changeset/7632-shared-record-source-config.md

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

    That ladder is published contract on both faces — packages/types/src/objectql.ts and its zod mirror both ship .describe() strings naming getDataConfig's order (objectui#6939, maintainer ruling 2026-09-02), pinned by objectql-record-source-refinement-6939.test.ts — and it was hand-copied into five plugin components with no gate holding them together. A change to the ruled order had five edit sites and nothing that noticed a missed one; that is the AGENTS.md #0.1 drift class.

.changeset/7735-zod-mirrors-stop-authoring-defaults.md

  • names crud.zod.ts → packages/types/src/zod/crud.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'.

  • 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-objectql-handler-key-arms.md

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

    The four plain objectql.ts node faces declare the nine handler keys their registered renderers read (objectui#7804, the objectql.ts slice): ObjectFormSchema.onCancel / .onError / .onOpenChange / .onStepChange / .onSuccess, ObjectGallerySchema.onCardClick / .onRowClick, ObjectGridSchema.onNavigate and ObjectViewSchema.onNavigate.

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

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

    'runtime-slot' and not 'retired', measured at this key's own channel. 'retired' publishes "no renderer reads this key, so nothing could ever run it" — true of the two siblings already tombstoned on this arm (onSelectChange, onExpandChange) and flatly false here, since the read is live and INVOKED. ⚠️ No in-repo host builds a tree-view node carrying the key: the channel is wired end to end and only the supplier is absent, which is the same shape as ObjectFormSchema.onStepChange in this card's objectql.ts slice and is not evidence of a dead read. The TypeScript declaration is unchanged and still callable, so a programmatic host supplies it exactly as before.

.changeset/7917-export-breadcrumb-object-tree-zod-schemas.md

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

    AnyComponentSchema declares 107 node component types. 105 of them could be named on the ./zod barrel — ButtonSchema.safeParse(node), which is what a designer, a form builder or a targeted test needs. The arms declaring type: 'breadcrumb' (navigation.zod.ts) and type: 'object-tree' (objectql.zod.ts) could not: both were already export const in their own module, but index.zod.ts — the package's only zod entry point — did not re-export them, so the schemas existed, were maintained, and were applied by the union while no consumer could name them.

.changeset/7963-alert-dialog-footer-keys-retired.md

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

    Nothing else moves. These spellings are overloaded across the tree and every other owner is a live key on a different declaration — FormSchema.cancelLabel, objectql.ts's confirmLabel, plugin-designer's ConfirmDialog React props, plugin-grid's def.confirmLabel, and plugin-form's ModalForm / DrawerForm, which build a local cancelLabel from schema.cancelText. None is an AlertDialogSchema; none is touched, and a pin asserts it. No fixture, catalog schema, example app or doc fence authored any of the three on an alert-dialog node, so no shipped document is stranded.

.changeset/8478-describe-line-addresses.md

.changeset/8653-listview-title-retired-rowactiondefs-pinned.md

  • names packages/plugin-view/src/ObjectView.tsx → packages/plugin-view/src/ObjectView.tsx — edited by this change

    title — retired. ListView resolved its export filename through schema.label || (schema as any).title. @objectstack/spec/ui's ListViewSchema refuses title by name (unrecognized_keys: ['title']) while ObjectGridPropsSchema accepts it; packages/types mirrors the platform contract rather than ruling over it, so declaring title on ListViewSchema would have made this repo accept what the platform save gate rejects. That asymmetry is also why objectui#6639 could take the declare branch for ObjectGridSchema.title one package over and this site could not. A parse-based census of apps/ examples/ content/ and packages/ found zero list-view nodes authoring title, so the retirement costs no author a filename. Over that same corpus the instrument reports three object-grid nodes carrying the key: two authored ones, both in content/docs/api/schema-reference.md, plus one that is not authored at all — packages/plugin-view/src/ObjectView.tsx composes title: schema.table?.title onto a grid node it builds, so it is a producer writing the key rather than an author declaring it. ObjectGrid's own title reads are untouched — they remain declared, ruled and read.

.changeset/8735-objectql-mirror-docblocks-not-defaulted.md

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

    Correct four zod/objectql.zod.ts docblocks that described the behaviour objectui#8317 removed. Since that change the zod mirrors strip imported @objectstack/spec defaults at this package's import boundary, but the docblocks on HttpRequestSchema, ListColumnSchema, SelectionConfigSchema and PaginationConfigSchema still said, in the present tense, that method, prefix.type, type and pageSize are defaulted on parse — the opposite of what each export does. Each now says the key is declared and accepted but NOT defaulted on parse.

.changeset/8767-object-grid-refuses-string-sort.md

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

    Migration. Write the array: sort: [{ field: 'name', order: 'desc' }]. Both keys are required. SortConfig.order carries no ? in @object-ui/types (packages/types/src/objectql.ts) and no .optional() in its zod mirror, and the protocol's own reusable SortItemSchema requires order as well — measured: that schema refuses [{ field: 'name' }] with invalid_value at 0.order. Do not omit it: this block's array arm interpolates whatever is present, so an omitted order lowers to $orderby: 'name undefined' today. That is pre-existing behaviour on the arm this change does not touch, and it is filed as a successor card rather than widened into here.

.changeset/8801-object-kanban-allow-collapse-retired.md

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

    • the declarations retired here — packages/types/src/objectql.ts and its mirror packages/types/src/zod/objectql.zod.ts; - the pins that assert the retirement — object-kanban-allow-collapse-retired-8801.test.ts and bare-kanban-node-key-retired-8802.test.ts; - a comment in packages/types/src/zod/complex.zod.ts, recording that the deleted retiredZeroReadKanbanKey helper once carried this spelling on the SIBLING arm; - one row of content/docs/api/schema-reference.md; - the .changeset/ release notes that discuss it — this one, the two historical entries covering the sibling arm's own spelling, and objectui#9629's note recording the correction to this paragraph.
  • names packages/types/src/zod/objectql.zod.ts → packages/types/src/zod/objectql.zod.ts — edited by this change

    • the declarations retired here — packages/types/src/objectql.ts and its mirror packages/types/src/zod/objectql.zod.ts; - the pins that assert the retirement — object-kanban-allow-collapse-retired-8801.test.ts and bare-kanban-node-key-retired-8802.test.ts; - a comment in packages/types/src/zod/complex.zod.ts, recording that the deleted retiredZeroReadKanbanKey helper once carried this spelling on the SIBLING arm; - one row of content/docs/api/schema-reference.md; - the .changeset/ release notes that discuss it — this one, the two historical entries covering the sibling arm's own spelling, and objectui#9629's note recording the correction to this paragraph.

.changeset/8885-object-chart-drilldown-title-compareto.md

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

    ObjectChart.tsx reads all three off schema, and until now neither published copy declared any of them: not the TS interface (packages/types/src/objectql.ts) and not the zod mirror (packages/types/src/zod/objectql.zod.ts). They rode BaseSchema's index signature / .passthrough() and arrived unvalidated. drillDown was the sharpest case — this component's registry inputs advertise it to the designer palette, and @objectstack/spec publishes ChartDrillDownSchema for exactly this carrier, so an author was offered a key that neither published shape mentioned.

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

    ObjectChart.tsx reads all three off schema, and until now neither published copy declared any of them: not the TS interface (packages/types/src/objectql.ts) and not the zod mirror (packages/types/src/zod/objectql.zod.ts). They rode BaseSchema's index signature / .passthrough() and arrived unvalidated. drillDown was the sharpest case — this component's registry inputs advertise it to the designer palette, and @objectstack/spec publishes ChartDrillDownSchema for exactly this carrier, so an author was offered a key that neither published shape mentioned.

.changeset/8913-object-kanban-columns-declared.md

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

    What moved. ObjectKanbanSchema gains columns on both halves that move together — the TypeScript interface (objectql.ts) and its Zod mirror (zod/objectql.zod.ts). Retiring the bare kanban node type key (objectui#8802) removed the only face that judged a lane, and object-kanban had never declared the key, so it rode BaseSchema's [key: string]: any / .passthrough(): read by the renderer at three sites, named by no published face.

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

    What moved. ObjectKanbanSchema gains columns on both halves that move together — the TypeScript interface (objectql.ts) and its Zod mirror (zod/objectql.zod.ts). Retiring the bare kanban node type key (objectui#8802) removed the only face that judged a lane, and object-kanban had never declared the key, so it rode BaseSchema's [key: string]: any / .passthrough(): read by the renderer at three sites, named by no published face.

.changeset/8990-object-kanban-groupby-optional.md

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

    @objectstack/spec declares the key optional — groupBy: z.string().optional() on ObjectKanbanPropsSchema — while this package required it on the TypeScript declaration (packages/types/src/objectql.ts) and on the Zod mirror (packages/types/src/zod/objectql.zod.ts). objectui was therefore narrower than the protocol on a published key: ObjectKanbanSchema.safeParse and safeValidateSchema refused an object-kanban node the protocol accepts, and such a node could not be annotated with its own type.

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

    @objectstack/spec declares the key optional — groupBy: z.string().optional() on ObjectKanbanPropsSchema — while this package required it on the TypeScript declaration (packages/types/src/objectql.ts) and on the Zod mirror (packages/types/src/zod/objectql.zod.ts). objectui was therefore narrower than the protocol on a published key: ObjectKanbanSchema.safeParse and safeValidateSchema refused an object-kanban node the protocol accepts, and such a node could not be annotated with its own type.

.changeset/8992-user-actions-collapse-and-docblock.md

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

    objectql.zod.ts's UserActionsSchema read stripImportedDefaults(Spec).extend({ group, hideFields, rowColor }), an extension that existed only because @objectstack/spec did not declare those three keys while normalizeListViewSchema folded objectui's legacy showGroup / showHideFields / showColor onto them. The protocol adopted all three in 17.3.0 (objectui#5435's ruling), so the extension is now a second local copy of a protocol declaration — the shape two faces start drifting from — and it collapses into the plain by-reference re-export its own note always said it would become.

.changeset/9092-inline-locale-declared-face.md

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

    • AppComponentSchema.label (app.ts) - ObjectGridSchema.label and .description (objectql.ts) - PageNodeSchema.aria.ariaLabel (layout.ts)

.changeset/9309-object-gallery-filter-destination-typed.md

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

    ObjectGallerySchema.filter is typed as the destination its own docblock names — QueryParams['$filter'] — on both faces, the TS interface in objectql.ts and the zod mirror in zod/objectql.zod.ts (objectui#9309).

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

    ObjectGallerySchema.filter is typed as the destination its own docblock names — QueryParams['$filter'] — on both faces, the TS interface in objectql.ts and the zod mirror in zod/objectql.zod.ts (objectui#9309).

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

    It was filter?: unknown under the docblock "Query filter, forwarded verbatim as $filter", and $filter is RecordANGLE-BRACKETS(string, any) | FilterArray (QueryParams, data.ts). The declaration therefore named a destination it did not type: an author told to forward the value verbatim got a type error on the key the sentence had just told them to forward, and the way through was as — which un-checks the destination's real type at that call site too. The declaration is now an INDEXED ACCESS on QueryParams, not a copy of its arms, so the two cannot drift.

.changeset/9550-object-tree-root-barrel.md

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

    ObjectQLComponentSchema declares the node types an ObjectQL block may be. Every one of its arms was a named export of this package's root barrel except ObjectTreeSchema, which was declared in objectql.ts, applied by the union, and re-exported by the ./zod barrel (objectui#7917) — while no TypeScript consumer could name it. There is no ./objectql subpath to reach around the barrel: the package's exports map is pinned by packages/types/src/__tests__/package-exports-manifest.test.ts, and the root barrel was the only route to this type.

.changeset/9606-object-kanban-card-title.md

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

    Both published faces of the object-kanban arm now name the key: the zod mirror ObjectKanbanSchema in zod/objectql.zod.ts and its TypeScript twin, the ObjectKanbanSchema interface in objectql.ts. Both declare it OPTIONAL, at the same requiredness the other face uses, so the two faces accept and refuse the same documents. (Located and cited by SYMBOL: line addresses in zod/objectql.zod.ts have drifted before, and this change is itself about a drifted mirror.)

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

    Both published faces of the object-kanban arm now name the key: the zod mirror ObjectKanbanSchema in zod/objectql.zod.ts and its TypeScript twin, the ObjectKanbanSchema interface in objectql.ts. Both declare it OPTIONAL, at the same requiredness the other face uses, so the two faces accept and refuse the same documents. (Located and cited by SYMBOL: line addresses in zod/objectql.zod.ts have drifted before, and this change is itself about a drifted mirror.)

.changeset/9628-kanban-column-collapsed-honoured.md

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

    The key was declared on both published faces of the object-kanban arm — the lane element of ObjectKanbanSchema (objectql.ts and its Zod mirror) and the runtime lane KanbanColumn (complex.ts and its mirror) — and read by KanbanEnhanced alone, a module no production source imports. An authored { "id": "todo", "title": "To Do", "collapsed": true } therefore parsed green on both faces and reached a board that did nothing with it: KanbanImpl's only collapse is the SWIMLANE row's, held in viewer state under objectui:kanban-collapsed:ANGLE-BRACKETS(swimlaneField) and never keyed to a lane's declared value. That is the ADR-0049 declared-but-unhonoured shape.

.changeset/action-callback-retired-7068.md

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

    What was measured, on this branch's base (900f8d99). ActionCallback ({ type: 'toast' | 'message' | 'redirect' | 'reload' | 'custom' | 'ajax' | 'dialog', message?, url?, api?, method?, dialog?, handler? }) was declared in crud.ts, mirrored in zod/crud.zod.ts, re-exported by both barrels, and carried on the legacy ActionSchema as onSuccess? / onFailure?. Producers: the package's own phase2-schemas.test.ts fixture and three ts fences in content/docs/core/enhanced-actions.mdx — nothing else (git grep -l ActionCallback over packages content skills hit the five packages/types files; positive control SchemaNodeSchema hit 22). Runtime readers: none — ActionRunner imports UIActionSchema, never this interface, and its own ActionDef.onFailure is a different (runner-native) meaning. It was the THIRD meaning of one key: objectui#5934 had already retired the runner's callback meaning of onSuccess and converged it on the spec's block.

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

    What was measured, on this branch's base (900f8d99). ActionCallback ({ type: 'toast' | 'message' | 'redirect' | 'reload' | 'custom' | 'ajax' | 'dialog', message?, url?, api?, method?, dialog?, handler? }) was declared in crud.ts, mirrored in zod/crud.zod.ts, re-exported by both barrels, and carried on the legacy ActionSchema as onSuccess? / onFailure?. Producers: the package's own phase2-schemas.test.ts fixture and three ts fences in content/docs/core/enhanced-actions.mdx — nothing else (git grep -l ActionCallback over packages content skills hit the five packages/types files; positive control SchemaNodeSchema hit 22). Runtime readers: none — ActionRunner imports UIActionSchema, never this interface, and its own ActionDef.onFailure is a different (runner-native) meaning. It was the THIRD meaning of one key: objectui#5934 had already retired the runner's callback meaning of onSuccess and converged it on the spec's block.

.changeset/issue-5373-retire-crud-schema.md

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

    crud had four declaration faces and no registered renderer, for the whole life of the key: the TS interface (packages/types/src/crud.ts), the zod mirror (packages/types/src/zod/crud.zod.ts), a dedicated branch in validateSchema that affirmatively PASSED it, and CRUDBuilder in @object-ui/core. A node spelling it painted the OBJUI-001 "Unknown component type" panel, and content/docs/api/schema-reference.md published it as reference material — so a reader (or an AI author) who copied the page got a red panel.

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

    crud had four declaration faces and no registered renderer, for the whole life of the key: the TS interface (packages/types/src/crud.ts), the zod mirror (packages/types/src/zod/crud.zod.ts), a dedicated branch in validateSchema that affirmatively PASSED it, and CRUDBuilder in @object-ui/core. A node spelling it painted the OBJUI-001 "Unknown component type" panel, and content/docs/api/schema-reference.md published it as reference material — so a reader (or an AI author) who copied the page got a red panel.

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

  • names packages/plugin-view/src/ObjectView.tsx → packages/plugin-view/src/ObjectView.tsx — edited by this change

    What was measured. Every reading was taken on the object-view node renderer (packages/plugin-view/src/ObjectView.tsx, registered by plugin-view/src/index.tsx) with schema.objectName / schema.layout as the positive controls of the same schema.KEY query, so each zero is a reading; the repo-wide census of viewTabBar finds the key in no source file outside @object-ui/types (two doc tables listed it as authorable and are corrected here). The spec side was read through the installed pin (@objectstack/spec@17.2.0, ui entry, 117 exported object schemas walked; control keys objectName / columns / navigation / listViews hit): the three spec-modelled keys are optional slots on ListViewSchema and ObjectListViewSchema; the six local keys have no spec slot anywhere.

.changeset/param-dialog-title-fallback-4282.md

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

    title is declared on no action surface in the ecosystem: it is absent from @objectstack/spec's ActionSchema (44 keys walked at spec 17.0.0), from @object-ui/core's ActionDef and its pinned ACTION_DEF_KEYS / SPEC_ACTION_KEYS inventories, and from @object-ui/types' renderer view (ui-action.ts) and crud.ts ActionSchema / BaseSchema. None of the four action renderers — action:button, action:icon, action:group, action:menu — forwards it either. So the right-hand side of that || could not be reached by authored metadata: a fallback that cannot fire, which is the "declared is not enforced" shape objectstack#4075 exists to reduce. Nothing a user hits changes; the line now reads exactly one key, matching the description line directly below it.

.changeset/record-detail-param-dialog-title-5610.md

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

    title is declared on no action surface in the ecosystem: it is absent from @objectstack/spec's ActionSchema (44 keys walked at spec 17.0.0), from @object-ui/core's ActionDef and its pinned ACTION_DEF_KEYS / SPEC_ACTION_KEYS inventories, and from @object-ui/types' renderer view (ui-action.ts) and crud.ts ActionSchema / BaseSchema. None of the four action renderers — action:button, action:icon, action:group, action:menu — forwards it either. So the right-hand side of that || could not be reached by authored metadata: a fallback that cannot fire, which is the "declared is not enforced" shape objectstack#4075 exists to reduce. Nothing a user hits changes; the line now reads exactly one key, matching the description line directly below it.

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

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

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

Angle-bracketed names in the quoted prose above are rewritten as ANGLE-BRACKETS(name): GitHub deletes tag-shaped fragments from a stored body, and a quote that silently loses the identifier it is about is worse than a visible repair.

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

@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 329 chunks) 3058.9 KB 3104.5 KB
Main entry chunk (gzip) 146.9 KB 350 KB
Entry file index-DnUGKptE.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.92KB 130.72KB
core (index.js) 8.94KB 3.59KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 221.99KB 61.72KB
fields (index.js) 251.67KB 63.42KB
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.90KB 10.97KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.99KB 0.87KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 2.53KB 0.85KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 5.52KB 2.10KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 13.52KB 4.88KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.24KB 2.16KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.39KB 3.10KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 14.81KB 3.63KB
plugin-calendar (index.js) 50.26KB 14.36KB
plugin-charts (index.js) 71.73KB 20.08KB
plugin-chatbot (index.js) 198.20KB 47.14KB
plugin-dashboard (index.js) 132.96KB 35.17KB
plugin-designer (index.js) 215.94KB 44.33KB
plugin-detail (index.js) 255.18KB 66.49KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 139.56KB 35.40KB
plugin-gantt (index.js) 167.62KB 41.26KB
plugin-grid (index.js) 213.44KB 58.21KB
plugin-kanban (index.js) 48.71KB 15.17KB
plugin-list (index.js) 113.53KB 27.99KB
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.68KB 8.95KB
plugin-tree (index.js) 10.58KB 3.72KB
plugin-view (index.js) 85.18KB 21.05KB
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) 109.04KB 36.08KB
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 (body-dialect.js) 4.38KB 1.98KB
sdui-parser (codegen.js) 6.58KB 2.74KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 5.74KB 2.54KB
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) 15.71KB 5.30KB
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) 5.00KB 2.39KB
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

@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 329 chunks) 3058.9 KB 3104.5 KB
Main entry chunk (gzip) 146.9 KB 350 KB
Entry file index-DnUGKptE.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.92KB 130.72KB
core (index.js) 8.94KB 3.59KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 221.99KB 61.72KB
fields (index.js) 251.67KB 63.42KB
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.90KB 10.97KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.99KB 0.87KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 2.53KB 0.85KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 5.52KB 2.10KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 13.52KB 4.88KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.24KB 2.16KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.39KB 3.10KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 14.81KB 3.63KB
plugin-calendar (index.js) 50.26KB 14.36KB
plugin-charts (index.js) 71.73KB 20.08KB
plugin-chatbot (index.js) 198.20KB 47.14KB
plugin-dashboard (index.js) 132.96KB 35.17KB
plugin-designer (index.js) 215.94KB 44.33KB
plugin-detail (index.js) 255.18KB 66.49KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 139.56KB 35.40KB
plugin-gantt (index.js) 167.62KB 41.26KB
plugin-grid (index.js) 213.44KB 58.21KB
plugin-kanban (index.js) 48.71KB 15.17KB
plugin-list (index.js) 113.53KB 27.99KB
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.68KB 8.95KB
plugin-tree (index.js) 10.58KB 3.72KB
plugin-view (index.js) 85.18KB 21.05KB
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) 109.04KB 36.08KB
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 (body-dialect.js) 4.38KB 1.98KB
sdui-parser (codegen.js) 6.58KB 2.74KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 5.74KB 2.54KB
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) 15.71KB 5.30KB
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) 5.00KB 2.39KB
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

@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Console Performance Budget — gauge not trustworthy

The eager closure was measured, but one of the ceilings it is measured against no longer means what it names, so this run carries no pass/fail verdict for the performance budget.

This is not a budget violation. Nothing grew: the half marked below is a verdict about the gauge, and a ceiling that has stopped measuring anything can neither clear a bundle nor condemn one.

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) ⚠️ broken gauge
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. The Check console performance budget step log carries the ceiling and the number it was compared against.

Reason: The entry chunk measured 146.9 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.68KB 6.20KB
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.92KB 130.72KB
core (index.js) 8.94KB 3.59KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 221.99KB 61.72KB
fields (index.js) 251.81KB 63.47KB
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.90KB 10.97KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.99KB 0.87KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 2.53KB 0.85KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 5.52KB 2.10KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 13.52KB 4.88KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.24KB 2.16KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.39KB 3.10KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 14.81KB 3.63KB
plugin-calendar (index.js) 51.08KB 14.50KB
plugin-charts (index.js) 71.73KB 20.08KB
plugin-chatbot (index.js) 198.20KB 47.14KB
plugin-dashboard (index.js) 132.96KB 35.17KB
plugin-designer (index.js) 215.94KB 44.33KB
plugin-detail (index.js) 255.17KB 66.48KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 139.56KB 35.40KB
plugin-gantt (index.js) 167.99KB 41.37KB
plugin-grid (index.js) 213.40KB 58.19KB
plugin-kanban (index.js) 48.71KB 15.17KB
plugin-list (index.js) 113.53KB 27.99KB
plugin-map (index.js) 21.48KB 6.99KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 43.49KB 11.97KB
plugin-timeline (index.js) 30.68KB 8.95KB
plugin-tree (index.js) 10.58KB 3.72KB
plugin-view (index.js) 85.18KB 21.05KB
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) 109.04KB 36.08KB
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 (body-dialect.js) 4.38KB 1.98KB
sdui-parser (codegen.js) 6.58KB 2.74KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 5.74KB 2.54KB
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) 15.71KB 5.30KB
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) 5.00KB 2.39KB
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-steve
os-steve marked this pull request as ready for review September 20, 2026 15:03
@os-steve
os-steve added this pull request to the merge queue Sep 20, 2026
Merged via the queue into main with commit 87af769 Sep 20, 2026
43 of 44 checks passed
@os-steve
os-steve deleted the claude/issue-9511-findone-record-id-string branch September 20, 2026 15:14
akarma-synetal pushed a commit to akarma-synetal/objectui that referenced this pull request Sep 28, 2026
…default and drawer arms (objectui#9849 step 1) (objectstack-ai#10236)

Part of objectstack-ai#9849
Clause-②: no

Step (1) of the two the director ruling orders on this card (comment
`5749155880`, letter E, maintainer 「同意」): 「the three `collapsed` /
`collapsible` resolutions converge to the declaration-based one
objectui#9780 established, before the gate rule lands on it.」 Step (2)
(E in `projectSectionDivider`, deleting `SectionDividerGate`, re-pinning
`drawerFormSectionDescription-9834` row 5, the diagnostic pin) is ⛔ not
in this PR and stays on the card. That is why the first line says `Part
of`.

## What changed

- `fieldGroups.ts` gains `resolveSectionCollapse`, beside
`projectSectionDivider`. It is module-internal: the package barrel
`src/index.tsx` names `fieldGroups` zero times, and `package.json`
`exports` declares only `"."`. It is the ONE resolution of the authored
pair, and it follows objectui#9780 letter A:
- `collapsed` implies `collapsible`, read off the declaration and never
off the live state.
- `collapsible: false` with `collapsed: true` resolves to collapsed,
with the control present.
  - `collapsible` alone is open, with the control.
  - A section declaring neither member is untouched.
- A section is only collapsed while it is collapsible, and it is only
collapsible when the row the arm draws can carry the control
(`hostsControl`). This states the default arm's 「an untitled bucket is
never collapsible」 once, for every arm.
- `ObjectForm.tsx` (grouped layout, explicit and derived sections share
one loop): the inline objectui#9780 expression moves into the helper.
Behaviour is unchanged (see the table).
- `DrawerForm.tsx`, both pushes, now call the same helper:
- The explicit push was still the objectui#9780 trap: it read
`collapsible` alone for the control and `collapsed` unconditionally for
the state.
- The derived push gated the state on `collapsible`, which is a third
spelling.
- The unseeded `useState` replaces a seed that read `collapsed` a second
time. An untoggled section falls back to its declaration inside the
helper, as in ObjectForm.
- `.changeset/9849-collapse-resolution-converge.md`: `patch` for
`@object-ui/plugin-form`.

⛔ No new accepted key or value, no new package export, no new prop.
`DrawerFormSectionConfig` and `ModalFormSectionConfig` are unchanged,
and no section map in `ObjectForm.tsx` copies a new key.

## Premise, re-measured on `origin/main` `62597c5` by printing every
`collaps` line in the four files

- **ObjectForm grouped layout, one site** (the objectui#9780
resolution): `isCollapsible = Boolean(section.collapsible) ||
Boolean(section.collapsed)`, the state `collapsedSections[key] ??
section.collapsed`, and fields hidden only on `label && isCollapsed`.
- **DrawerForm explicit push**: `collapsible: section.collapsible`,
`onToggle` only for `section.collapsible`, and the state
`collapsedSections[key] ?? section.collapsed` read unconditionally,
which hides the fields. A `useState` seed also read `s.collapsed`.
- **DrawerForm derived push**: the state read only when
`section.collapsible`, the control only for `section.collapsible`.
- **ModalForm: zero `collaps` lines.** It has no resolution of its own.
Neither route reads either member, `ModalFormSectionConfig` declares
neither, and `ObjectForm`'s modal map copies neither. So the modal draws
every field and no control, whatever the section declares.
- `fieldGroups.ts` at base only maps the `@objectstack/spec` `collapse`
enum onto the pair (`deriveFieldGroupSections`) and copies a resolved
pair onto the row (`projectSectionDivider`). Neither step is a
resolution.

⇒ The code has **three resolutions, as the ruling says**.
objectui#10172, objectstack-ai#10161 and objectstack-ai#10141 did not move them. But there are only
**two in behaviour**:
- The derived drawer push agrees with objectui#9780 on every input an
author can write. `deriveFieldGroupLayout` never emits `collapsed`
without `collapsible` (the deprecated `collapsed: true` alone maps to
`'collapsed'`, which maps to both), and every keyed group gets a heading
(label defaults to the key).
- Ablation leg 2 below measures this: putting the derived push back on
its old resolution reddens nothing.
- The live trap was the explicit drawer push only.

## Before / after, per route

Read by `__tests__/collapseResolution-9849.test.tsx` through a real
renderer. "Before" means the same pin file run against the base source:
`Tests 9 failed | 21 passed (30)`. Every failure was on a drawer
explicit route or a drawer trap row, and each failed for the right
reason (0 controls while the fields were hidden).

| route | `collapsed` alone | `collapsible: false` + `collapsed` |
`collapsible` alone | neither | no heading, no blurb, `collapsed` | no
heading, blurb, `collapsed` alone |
| --- | --- | --- | --- | --- | --- | --- |
| ObjectForm default, explicit `sections` | closed + control → **same**
| closed + control → **same** | open + control → same | open, no control
→ same | open → **same** | open, no control (blurb-only row,
objectui#9835 B) → same, not re-pinned here
(`objectFormSectionMembers-8071` row 8 owns it) |
| ObjectForm default, derived `fieldGroups` | closed + control → same
(both `collapse: 'collapsed'` and deprecated `collapsed: true`) | n/a |
open + control → same | open, no control → same | not author-reachable |
not author-reachable |
| ObjectForm `formType: 'drawer'` (drawer map) | ⛔ closed, **0
controls** → closed + control | ⛔ closed, **0 controls** → closed +
control | same | same | ⛔ fields hidden, **nothing on the page** → open
| see next row |
| DrawerForm explicit, direct | ⛔ closed, **0 controls** → closed +
control | ⛔ closed, **0 controls** → closed + control | same | same | ⛔
fields hidden, **nothing on the page** → open | ⛔ blurb drawn, fields
hidden, **0 controls** → closed, control on the blurb row |
| DrawerForm derived `fieldGroups` | closed + control → same | n/a |
same | same | not author-reachable | not author-reachable |
| ModalForm explicit, ObjectForm `formType: 'modal'`, ModalForm derived
| every field drawn, no control → **same** (a reading, see below) | same
| same | same | same | same |

⚠️ The last column differs between the default arm (open, no control)
and the drawer (a control on the blurb row). That is the **gate**
residual (`SectionDividerGate`, step 2), ⛔ not the resolution. The
default arm's blurb-only row carries no collapse pair under
objectui#9835 letter B. The drawer's explicit push draws a row for every
member, and `SectionDivider` renders that row when it has a heading or a
blurb. Both answers keep the fields reachable, and that is all the new
file asserts there.

⚠️ The modal rows are a READING, ⛔ not a ruling. The modal honours
neither member, so objectui#9780's one promise (a declared section is
never unreachable) holds there trivially. The pin asserts that, and it
records "no control" so that step (2)'s 「on every arm」 (ruling E item 1)
flips those rows on purpose. Bringing the pair to the modal needs a new
member on `ModalFormSectionConfig`, which this step does not add.

## Evidence, all at head `8cb4574b`

**Pins.** New
`packages/plugin-form/src/__tests__/collapseResolution-9849.test.tsx`,
30 rows:
- one block per route that emits a collapse pair (3 explicit, 2
derived), each asking the objectui#9780 questions;
- the drawer trap rows;
- the modal reading.

Every zero is lit: each absent-fields row also reads the heading drawn
and the same reader non-empty after a click, and each no-control row is
paired on its route with a row where the same reader finds one.
- Before, on the base source: `Tests 9 failed | 21 passed (30)`.
- After: 30 passed.

**Ablation.** Run through `ablation-replace.mjs`: each anchor hit
exactly once, each write was verified on disk by blob hash and marker
count, and each restore was proven by state (blob equals HEAD, `git diff
HEAD` empty) with a wrapper trap on EXIT/INT/TERM. The run covered the
new file plus `collapsedImpliesCollapsible-9780`,
`objectFormSectionMembers-8071` and `fieldGroupSections.test.tsx` (53
tests). Directions were written down before the run, and all three
matched:

| leg | mutation (blob before → during) | result |
| --- | --- | --- |
| 1 | drawer EXPLICIT push back on its old resolution (`d0dc3ee90d5b` →
`c0de0a1cc600`, marker 0 → 3 → 0) | `Tests 9 failed \| 44 passed (53)`:
exactly the 9 drawer explicit and drawer trap rows. **Every ObjectForm
row stays green**, and so do the objectstack-ai#9780 and 8071 files |
| 2 | drawer DERIVED push back on its old resolution (`d0dc3ee90d5b` →
`4bda9e2214c5`) | `Tests 53 passed (53)`: predicted, because the old
derived resolution is behaviourally identical on every author-reachable
input |
| 3 | the ONE helper loses the implication (`c24e82e8e24c` →
`8a713103f65a`) | `Tests 10 failed \| 43 passed (53)`: the
`collapsed`-alone and contradiction rows on **all three explicit routes
at once**, the drawer blurb row, `collapsedImpliesCollapsible-9780` rows
1 and 3, and `objectFormSectionMembers-8071` row 4. One mutation reddens
the default arm and the drawer together, which shows that one path
serves both |

No `dist/` is involved: the suite imports `plugin-form` from source
through the root vitest config, so no dist preflight applies.

**Suites and gates** (heavy runs under the shared verify lock, `VERDICT
command-exit 0`):
- `pnpm exec vitest run packages/plugin-form/` from the repo root: `Test
Files 109 passed (109)`, `Tests 1074 passed | 1 skipped (1075)`.
- `pnpm --filter @object-ui/plugin-form run type-check` echoed `tsc
--noEmit && tsc -p tsconfig.test.json` and exited 0, after building the
dependency closure (`--filter '@object-ui/plugin-form^...' build`, exit
0). `tsc -p tsconfig.test.json --listFilesOnly` lists the new pin file,
so its types are checked.
- Lint, as a DECLARED NARROWING to the 4 touched `.ts`/`.tsx` files:
  - population: `eslint.config.js` applies to `**/*.{ts,tsx}`;
  - count: `--format json` reports 4 files, 0 errors;
- invariance: the config enables no type-aware linting (no
`projectService`, no `parserOptions.project`), so this diff cannot move
the verdict of a file it does not touch;
- warnings on the edited sources are unchanged against BASE (ObjectForm
61 → 61, DrawerForm 22 → 22, fieldGroups 0 → 0). The new pin's 13
warnings are all `no-explicit-any` schema casts, the sibling pins'
pattern;
  - the repo-wide `pnpm lint` is CI's.
- `pnpm check:control-bytes`, `check:new-line-citations` (0 new), `node
scripts/check-changeset-presence.mjs` (names the changeset),
`check:changeset-claims`, `check:pending-changeset-literals`,
`check:test-path-roots`, `check:vi-mock-specifiers` and
`check:vi-mock-override-shape` all exited 0. `check-governed-queue-guard
--test` over the 5 paths reported NOT GOVERNED. A manual control-byte
grep over the 5 files found no match.
- ⚠️ NOT MEASURED locally: the CI farm, including `Spec Main Shape
Gate`, which is red on every PR today on untouched test files
(objectui#10229). ⛔ Not addressed here.

## Acceptance notes

- **Two edge behaviours moved, both in the safe direction:**
- Sections that share a key: on the default arm, toggling a collapsible
section could hide the fields of a non-collapsible twin whose row had no
control. A non-collapsible section is now never collapsed.
- The drawer no longer seeds its live state at mount, so a section whose
declared `collapsed` changes after mount follows its declaration until
the user toggles it, as ObjectForm always has.
- `FormSectionContainer` (`FormSection.tsx`, a published React
component) has the same pair shape at the prop level. The objectui#9780
report already recorded it as not class (c): it is a component prop, and
its only caller (the wizard) passes neither. It is outside this file
surface and not touched.
- The pending `.changeset/9849-single-divider-projection.md` says of
that change that 「every arm's gate, its collapse resolution and its
predicate handling are unchanged」. That was a description of that
change's diff, and it is still true of it. This changeset follows it in
the same CHANGELOG and states the convergence.
- `check:changeset-claims` asks for a read of
`.changeset/8738-object-form-fields-description.md`, which names
`ObjectForm.tsx`. It was read: it concerns the top-level `fields`
vocabulary, which this diff does not touch, and it is still true.

Dispatched by the `domain:ui` seat, session
`https://claude.ai/code/session_01BA3nKVUwKQJf8DBxrSVtNC`, claim comment
`5812052116`.

---
_Generated by [Claude
Code](https://claude.ai/code/session_01BA3nKVUwKQJf8DBxrSVtNC)_

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

2 participants