Skip to content

fix(studio): a seeded grouped record page heads its ungrouped fields with the translated Other heading - #33470

Merged
objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/project-thread-da00rg
Nov 15, 2026
Merged

objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/project-thread-da00rg

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Leehom · project thread

Fixes #33377

Clause-②: no
Metadata-protocol: none

Seat domain:ui#1 · os-project-manager · card thread session_01FEkQ5nV6skFMkjLTEGHKL3 · claim 6884066738

维护者速读

  • 改了什么:在 Studio 里给声明了字段分组的对象新建完整记录页(或把默认页「转为完整页面」)时,未归入任何分组的字段现在写成带标题的分区,标题是「其他 / Other」的多语言写法(每种内置语言一条),保存后的页面按查看者的语言显示;默认页的预览也显示同样的标题。分组本身的写法不变。
  • 为什么改:ui: the derived record layout's ungrouped bucket has no header, so its fields read as part of the group above it — under a collapsed group they look hidden in that group #33229 之后运行中的记录页已把这些字段放在「其他」标题下,但 Studio 生成的页面仍写成无标题分区,保存后这些字段又看起来属于上一个分组(ui: the derived record layout's ungrouped bucket has no header, so its fields read as part of the group above it — under a collapsed group they look hidden in that group #33229 的症状回来了)。
  • 风险与回滚:只改 Studio 生成和预览页面的方式,不改 spec、不改运行中的记录页、不改已保存的页面(不迁移)。标题用的是 spec 已允许的内联多语言写法,没有写死英文。回滚即还原本 PR。
  • 先看:ui/packages/app-shell/src/views/recordDetailSections.ts(deriveStudioDetailSections 给分组对象的未分组段加标题,loadPersistedUngroupedHeading 生成多语言标题)、ui/packages/app-shell/src/views/metadata-admin/previews/PagePreview.tsx(「转为完整页面」等多语言标题加载好才可用)、ui/packages/app-shell/src/views/metadata-admin/anchors.ts(新建完整页的种子)。
  • 两分钟验证:pnpm dev,在 Studio 给一个有 fieldGroups 且有未分组字段的对象新建 kind 为 full 的记录页并保存,切到中文打开一条记录:未分组字段在「其他」标题下,而不是挂在上一个分组下面。
  • 需要你做的:无,席位落地。

What changes

deriveFieldGroupLayout (@objectstack/spec/data, ADR-0085 §5) ends a grouped layout with a keyless bucket of the fields no declared group claims. Since #33372 the running record page draws it under the translated common.ungroupedSection heading. Studio's three page builders did not:

Surface Before After
Create page, kind full (anchors.ts createSeed) bucket written { columns, fields }, no heading { label, columns, fields }, label the inline locale map
Convert to full page (PagePreview.tsx convertToFull) same as the seed same as the seed
Slotted page preview (PagePreview.tsx renderSchema) bucket drawn untitled headed with the translated text the running page draws
  • The form of the persisted heading. Measured on the spec before choosing: record:details sections[].label is an I18nLabel, a plain string or an inline locale map; name addresses only the per-object objects.OBJECT._sections.NAME.label bundle key, and no section form reaches a shell key such as common.ungroupedSection. A plain string would render one language for every viewer (the order bars a literal "Other"). The inline locale map is the declared translated form, and record:details already resolves it per viewer with pickLocalized. So a persisted page writes label as the map of common.ungroupedSection from every catalogue @object-ui/i18n ships, keyed by its tag (en "Other", zh-Hans 「其他」, zh-Hant, ja, ko, de, fr, es, pt-BR, ru, ar). A renderer rule that heads an untitled trailing section was rejected: the spec's label describe says an omitted label is "an untitled, borderless section", so that would be the renderer overriding a declaration.
  • recordDetailSections.ts: deriveStudioDetailSections no longer returns undefined for a grouped object. It returns the synthesizer's own sections (resolveDetailSections: { group, columns } per group, then the enumerated bucket) with the bucket headed by labels.ungrouped. New loadPersistedUngroupedHeading(objectDef) builds the map through loadBuiltInLocale, and only when the object's field groups apply, so a flat object fetches no catalogue. A catalogue that fails to load rejects the call rather than saving a partial map. RecordDetailSectionLabels.ungrouped widens from string to SectionHeading (string or a locale map).
  • anchors.ts: the full-page seed passes the loaded map. PagePreview.tsx: the preview passes t('common.ungroupedSection', 'Other') (now a memo dependency); "Convert to full page" loads the map for the schema on screen and is enabled once it is in, as it already waited for the schema.
  • Docs: content/docs/ui/field-grouping-and-order.mdx names the Studio-seeded page among the surfaces that draw the heading (the fix(console): the ungrouped field-group bucket renders under its own "Other" heading #33372 contract review's nit).
  • Changeset .changeset/33377-studio-seed-ungrouped-heading.md: @object-ui/app-shell and @object-ui/console patch. app-shell is private, and console's dist ships it.

Tests

  • New recordDetailSections.studioUngroupedHeading-33377.test.tsx:
    • the full seed for a grouped object: the group reference equals the synthesizer's, the bucket equals the synthesizer's plus label, the label is an object with exactly the shipped language codes, each equal to that catalogue's common.ungroupedSection; the sections parse under RecordDetailsProps;
    • CONTROL: a flat object seeds a primary section with no heading, no section carries a locale map, and the loader answers the English default;
    • rendered through the real RecordDetailsRenderer under I18nProvider: the saved seed draws "Other" in en and 「其他」 in zh-CN (and not the other language), after the group heading and above the ungrouped field's value; the preview's sections draw 「其他」 the same way.
  • PagePreview.slottedDefault-27054.test.tsx, new describe: Convert to full page on a grouped object writes the group reference unheaded and the bucket under the full map, and the written page passes validateMetadataDraft and every block's ComponentPropsMap row.
  • Rewritten, because they pinned the defect: the grouped CONTROL in recordDetailSections.agreement-12442.test.ts (seed equalled the bare synthesizer output; now every section equals it except the bucket's added label) and in PagePreview.test.tsx (preview equalled the bare synthesizer; now the bucket carries "Other").
  • Ablations, one-off through scripts/ablation-replace.mjs on 1b987ec (@object-ui/* resolves to src through the vitest aliases, so no rebuild), each restored with the blob equal to HEAD and git diff HEAD empty:
    • the bucket heading dropped in deriveStudioDetailSections: 7 failed / 20 passed over the 4 files (the seed, both rendered seed rows, the rendered preview row, convert-to-full, the preview node, the 12442 grouped row);
    • the loader answering the plain English default for every object: 3 failed / 24 passed (the seed's map row, the zh-CN rendered seed row, convert-to-full). The en rendered row stays green, as it should: a plain "Other" reads right in English only.

Acceptance notes

  • Pages already saved are not migrated. A full page Studio seeded or converted before this change keeps its untitled bucket and keeps drawing those fields under the last group, as it does today. Its author can give that section a heading in the page designer (label, a string or a per-locale value). A slotted page was never affected at runtime: the running app synthesizes it with the record page's own sections, which already carry the heading; only its preview was wrong, and that is fixed here.
  • buildDefaultPageSchema in @object-ui/plugin-detail is unchanged. Its fieldGroupSectionReferences still writes the bucket untitled for a caller that passes no sections. It has no heading to give (no translator, and a published API), and the only callers that persist it are the Studio ones above, which now pass their sections. So Clause-②: no: no exported type or output of a published package changes; app-shell is private. Metadata-protocol: none: no spec edit, and the written value is one sections[].label already accepts.
  • Measured trade-off of the map: the saved page holds a copy of the catalogue text as of the save. A later rewording of common.ungroupedSection does not reach pages already saved, and a language the platform adds later falls back to en on those pages (pickLocalized's en limb). The running page, which translates live, is unaffected.
  • Out of scope, noted for the seat: the same seed persists "More details" (MORE_DETAILS_DEFAULT_LABEL) as a plain English string under name: 'details', so on a saved seeded page of an object with no field groups that heading is English for a viewer whose object bundle has no _sections.details.label, while the running page translates it through detail.sectionMoreDetails. Read on the code, not driven live.

Verification

Local gates, type-check and suites (head 8acd49d)
  • node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derives 68 families. All 68 ran on 1b987ec and exited 0 except check:test-source-alias (exit 1: the edited convert-to-full test reaches @objectstack/lint through clientValidation and lacked the module-top import). 8acd49d adds it; on 8acd49d check:test-source-alias and the other test-reading families (cross-package-test-inputs, query-options-erasure, undeclared-dep-imports, nul-bytes, where-matcher, engine-double-contract, driver-memory-census, refd-timer-probe, registry-log-declared, rest-log-spy-declared, watch-hint-literal, type-check-coverage, tier-file-adoption) exit 0. --ran reconciliation: 68 derived, 68 run, 0 NOT-MEASURED, 0 UNRUN.
  • pnpm --filter @object-ui/app-shell run type-check (tsc --noEmit and tsconfig.test.json): exit 0 on 8acd49d.
  • pnpm --dir ui exec vitest run, app-shell narrowed to the record view and the Studio callers (views/recordDetailSections*, views/RecordDetailView*, metadata-admin/previews/PagePreview*, metadata-admin/anchors*, two ResourceEditPage seed files): 109 files, 777 passed on 1b987ec; the convert-to-full file re-run on 8acd49d: 5 passed. The rest of app-shell is CI's sharded Test UI.
  • eslint on the touched files: 0 errors. pnpm --dir ui check:new-line-citations: 0 new.

Generated by Claude Code

…with the translated Other heading

Studio's full-page seed, Convert to full page and the slotted preview wrote
the field-group layout's keyless bucket as an untitled section, while the
running record page draws it under common.ungroupedSection. The Studio
derivation now heads the bucket: a persisted page carries the inline locale
map of every shipped catalogue's common.ungroupedSection (the I18nLabel form
record:details resolves per viewer), the preview the translated text.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEkQ5nV6skFMkjLTEGHKL3
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:ui#1 · os-project-manager · session_01FEkQ5nWoa1Ze1QzjRTSYXD

席位核对

Verdict: ACCEPT · head 8acd49d4 · 2026-11-14T22:17Z

  1. Shape. Draft → main, Fixes #33377. 9 files, +418/−35:

    • ui/packages/app-shell/src/views/recordDetailSections.ts, metadata-admin/anchors.ts, metadata-admin/previews/PagePreview.tsx
    • the new recordDetailSections.studioUngroupedHeading-33377.test.tsx, a new describe in PagePreview.slottedDefault-27054.test.tsx, and the two rewritten CONTROLs that pinned the defect (agreement-12442, PagePreview.test.tsx)
    • content/docs/ui/field-grouping-and-order.mdx (the fix(console): the ungrouped field-group bucket renders under its own "Other" heading #33372 contract review's nit)
    • one root changeset (@object-ui/app-shell + @object-ui/console patch)

    All of it is on the claimed surface.

  2. Premise. Read on the diff. deriveStudioDetailSections returned undefined for a grouped object, so the synthesizer wrote the trailing bucket untitled, and the saved page drew those fields under the last group (ui: the derived record layout's ungrouped bucket has no header, so its fields read as part of the group above it — under a collapsed group they look hidden in that group #33229's symptom).

    • The fix: the grouped path returns resolveDetailSections' own sections, with group references unchanged and the bucket headed by labels.ungrouped. A persisted page gets loadPersistedUngroupedHeading's inline locale map of common.ungroupedSection from every shipped catalogue. The preview gets the live t() text.
    • The form is the one sections[].label (I18nLabel) already declares, resolved per viewer by pickLocalized. It is not a renderer rule that would override an authored untitled section.
    • A catalogue that fails to load rejects the call rather than saving a partial map. A flat object fetches no catalogue.
    • Pins: the seed and convert-to-full write the full map; it renders "Other" in en and 「其他」 in zh-CN through the real RecordDetailsRenderer; the written page passes validateMetadataDraft.
    • CONTROL: a flat object keeps its untitled primary section.
    • Ablations: 7 red with the heading dropped; 3 red with an English-only loader. The en row stays green, as it should.
  3. Contract record. Not owed (Clause-②: no, Metadata-protocol: none). app-shell is private, there is no spec edit, and buildDefaultPageSchema in @object-ui/plugin-detail is unchanged.

  4. Gates on head 8acd49d4.

    • All 55 check runs are success or skipped, including Test UI 16 shards + aggregate, Test Core, Type Check UI, Lint UI, Build & E2E UI, Live E2E UI, Lint & Repo Gates, TypeScript Type Check, Check Changeset, Spec property liveness, Governed Surface Queue Guard and PR-body guards.
    • The dev's local --ran is 68/68. check:test-source-alias, red on 1b987ec, is fixed in 8acd49d.
  5. Accepted trade-off (nit, no change asked). The saved map is a snapshot of the catalogue text at save time. A later rewording, or a language added later (which falls back to en), does not reach pages already saved. The running page translates live and is unaffected. Pages saved before this change are not migrated; their author can head the section in the page designer.

  6. K. 26 first-parent commits since base 2797f81d ≥ 15, so I synced the base before landing. The landing waits for the rerun to go green.

  7. Out of scope. The seed's plain-English "More details" heading is already carded as studio: a seeded record page saves its "More details" section heading as plain English, so viewers in other languages read English where the running page translates it #33471 (p3, dispatched after this lands; same files).

  8. Authority. Landing under the maintainer's standing authorisation 「按照 pm-dispatch 规则复核过的都授权」 (2026-10-25T11:35Z).

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:ui#1 · os-project-manager · session_01FEkQ5nWoa1Ze1QzjRTSYXD

Landing · head ba064a48 (base sync of the ACCEPTed 8acd49d4, merge of main at b392ff7b; patch-id a5d262d1b803 on both heads) · 2026-11-14T22:40Z

reading value
check runs on ba064a48 55, all success or skipped
contract record not owed (Clause-② no)

State: ready + auto-merge.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 14, 2026 22:41
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 14, 2026
Merged via the queue into main with commit b3a8fc0 Nov 15, 2026
56 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-da00rg branch November 15, 2026 00:26
scbdzhwl pushed a commit to scbdzhwl/objectstack-analysis that referenced this pull request Nov 16, 2026
… the translated heading (objectstack-ai#33575)

<!-- claude-projects-attribution: {"github_login":"os-project-manager"}
-->
_Requested by **Leehom** · [project
thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1XPgd8ZZWd9bveFNaYXhzdnR)_

domain:ui#1 · os-project-manager · session_01FEkQ5p26Duousy4rdtkRMB

Fixes objectstack-ai#33471

Clause-②: no
Metadata-protocol: none

Seat `domain:ui#1` · card thread `session_01FEkQ5p26Duousy4rdtkRMB` ·
claim 6886592905

## 维护者速读

- 改了什么:Studio 给没有字段分组的对象新建完整记录页(或把默认页「转为完整页面」)时,「More details /
更多详情」分区的标题不再写成英文原文,而是写成每种内置语言各一条的多语言写法(取自语言包
`detail.sectionMoreDetails`),保存后的页面按查看者的语言显示。对象自己语言包里的
`_sections.details.label` 仍然优先。
- 为什么改:运行中的记录页会翻译这个标题,但 Studio 生成的页面把它存成英文字符串,非英文用户打开保存过的页面看到的是 "More
details"。objectstack-ai#33470 已为「其他」分区用了同一写法。
- 风险与回滚:只改 Studio 生成页面的方式,不改
spec、不改运行中的记录页、不迁移已保存的页面(它们仍显示英文,对象语言包的覆盖照样生效)。回滚即还原本 PR。
- 先看:`ui/packages/app-shell/src/views/recordDetailSections.ts` 的
`loadPersistedSectionLabels`;`metadata-admin/previews/PagePreview.tsx` 的
`convertToFull`;`metadata-admin/anchors.ts` 的 record 页 `createSeed`。
- 两分钟验证:`pnpm --dir ui exec vitest run
packages/app-shell/src/views/recordDetailSections.studioMoreDetailsHeading-33471.test.tsx`,预期
5 条全绿(中文显示「更多详情」,英文显示 "More details",对象语言包的标题优先)。
- 需要你做的:无,席位落地。

## What changes

**Measured first, on `origin/main` (`8e63ed87`).** Studio's create seed
(`metadata-admin/anchors.ts`, record page `kind: 'full'`) and
`PagePreview.tsx` `convertToFull` passed `MORE_DETAILS_DEFAULT_LABEL` as
the `details` section's label, so the saved section was `{ name:
'details', label: 'More details', … }`. The red-first run below draws
that saved seed through the real `RecordDetailsRenderer` under `zh-CN`:
「更多详情」 is not on the page (the English text is), while en and an object
bundle carrying `_sections.details.label` read correctly. It reproduces.

**How `record:details` resolves the heading (the measurement the order
asked for).** In `plugin-detail` `record-details.tsx`, a section's
`label` is first resolved for the viewer with `pickLocalized(s.label,
language)`, and when the section has a `name`, that text is passed as
the FALLBACK to `sectionLabel(objectName, s.name, rawTitle ?? s.name)`,
which answers `objects.OBJECT._sections.NAME.label` when the bundle has
it (`useObjectLabel` `sectionLabel` → `resolve(objectSuffixes(…),
fallback)`). So an inline locale map never shadows the per-object
override: the override wins over the map exactly as it wins over a
string. Leaving `label` unset would not help either: the fallback then
becomes the literal section name `details`. ⇒ the form objectstack-ai#33470 chose for
the ungrouped bucket fits here too, and this PR uses it. The CONTROL pin
below draws the override winning over the map.

**The change.**

- `recordDetailSections.ts`: `loadPersistedUngroupedHeading` becomes
`loadPersistedSectionLabels(objectDef)`, which answers both headings the
derivation writes itself, each as the inline locale map of its catalogue
key over every catalogue `@object-ui/i18n` ships
(`BUILT_IN_LANGUAGE_CODES` + `loadBuiltInLocale`): `moreDetails` from
`detail.sectionMoreDetails`, `ungrouped` from `common.ungroupedSection`
(unchanged). It loads the catalogues only when the page writes one of
them (the object's `fieldGroups` apply, or the flat split yields a
`details` section), and otherwise answers the English defaults, which no
section reads. One catalogue that fails to load rejects the whole call
(`Promise.all`), so no partial map is ever saved (the objectstack-ai#33470 rule).
`RecordDetailSectionLabels.moreDetails` widens from `string` to
`SectionHeading` (app-shell internal).
- `anchors.ts` (create seed) and `PagePreview.tsx` (`convertToFull`)
pass `loadPersistedSectionLabels`' answer. "Convert to full page" stays
disabled until it has loaded for the current object, as before, and
stays unavailable if a catalogue fails.
- The running record page (`RecordDetailView`) and the slotted preview
still pass the translated text; they are untouched.

**What an existing page shows.** No migration. A page saved before this
change keeps `label: 'More details'` (a plain string): every viewer
reads English, unless the object's bundle carries
`_sections.details.label`, which still wins. An author can change the
heading in the page designer, or re-create the page.

## Why

The running record page translates the "More details" heading for every
viewer; a page Studio seeded saved it as English, so the same page read
differently once saved. objectstack-ai#33470 settled the persisted form for the
sibling "Other" heading; this applies it to the other heading the seed
writes itself.

## Tests

- **New:
`recordDetailSections.studioMoreDetailsHeading-33471.test.tsx`** (5
tests, the real `RecordDetailsRenderer` under `I18nProvider`, as
objectstack-ai#33470's pins).
- The seed for a flat object with a long-text field writes
`details.label` as the map of every shipped catalogue's
`detail.sectionMoreDetails` (keys = `BUILT_IN_LANGUAGE_CODES`, `en`
"More details", `zh-Hans` 「更多详情」), never a string; firing control: the
split yields `[['name','subject'],['notes']]`.
  - The seeded sections parse under the spec's `RecordDetailsProps`.
- Drawn under `zh-CN`: 「更多详情」, no "More details", above the `notes`
value.
  - CONTROL, `en`: "More details".
- CONTROL: an object bundle with `_sections.details.label` (「补充信息」) wins
over the saved map.
- **New leg in `PagePreview.slottedDefault-27054.test.tsx`**: "Convert
to full page" on a flat object with a textarea writes the `details`
section under the same map, and the converted page passes
`validateMetadataDraft('page', …)` and the block props check.
- **Adjusted sibling pins** (they asserted the English string this card
removes):
- `recordDetailSections.studioUngroupedHeading-33377.test.tsx` CONTROL:
a flat object's primary section stays unheaded and only its `details`
section carries a map; a page that writes neither heading answers the
English defaults (it called the removed
`loadPersistedUngroupedHeading`).
- `recordDetailSections.agreement-12442.test.ts`: the flat seed equals
the runtime split with the persisted headings, and `details.label.en` is
"More details".

<details><summary>Red-first on origin/main sources (the three source
files checked out at 8e63ed8, tests at head): 3 failed | 8 passed
(11)</summary>

```text
× the details section carries the locale map of every shipped catalogue 29ms
× zh-CN: the section is headed 更多详情, never the English text, above its field 87ms
× writes the details section under the locale map of every shipped catalogue 39ms
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 3 ⎯⎯⎯⎯⎯⎯⎯
AssertionError: expected 'string' to be 'object' // Object.is equality
TestingLibraryElementError: Unable to find an element with the text: 更多详情.
AssertionError: expected 'string' to be 'object' // Object.is equality
Test Files  2 failed (2)
Tests  3 failed | 8 passed (11)
os-verify-lock: VERDICT command-exit 1 · held the lock 16s · waited 0s · ⚠ SHARED-BOX SECONDS — this lock excluded other LOCKED runs, NOT unlocked sibling work (`check:*` gates and the rest), so these
```

</details>

<details><summary>Ablation at head 8ade4c0: the map put back to the
English string — 3 failed | 8 passed (11); restored, blob ==
HEAD</summary>

```text
ablation-replace: anchor   "  return { moreDetails, ungrouped };"  x1 (before)
ablation-replace: replace  "  return { moreDetails: MORE_DETAILS_DEFAULT_LABEL, ungrouped };"  x0 -> x1
ablation-replace: ok mutation landed: anchor 1 -> 0, blob 01bc7b3 -> 161be10235f8
× the details section carries the locale map of every shipped catalogue 69ms
× zh-CN: the section is headed 更多详情, never the English text, above its field 132ms
× writes the details section under the locale map of every shipped catalogue 39ms
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 3 ⎯⎯⎯⎯⎯⎯⎯
Test Files  2 failed (2)
Tests  3 failed | 8 passed (11)
ablation-replace: ok restored: blob == HEAD (01bc7b3) and `git diff HEAD` is empty
```

</details>

<details><summary>Touched and sibling files at head 8ade4c0</summary>

```text
8 touched/sibling files (the new pin, objectstack-ai#33377, objectstack-ai#12442, 27054, PagePreview, 27177, anchors.page-seed, 6190):
Test Files  8 passed (8)
Tests  54 passed (54)
os-verify-lock: VERDICT command-exit 0 · held the lock 42s · waited 0s · ⚠ SHARED-BOX SECONDS — this lock excluded other LOCKED runs, NOT unlocked sibling work (`check:*` gates and the rest), so these

Every app-shell test file importing recordDetailSections, metadata-admin/anchors or PagePreview (41 files):
Test Files  41 passed (41)
Tests  370 passed (370)
os-verify-lock: VERDICT command-exit 0 · held the lock 219s (3m39s) · waited 0s · ⚠ SHARED-BOX SECONDS — this lock excluded other LOCKED runs, NOT unlocked sibling work (`check:*` gates and the rest),
```

</details>

## Acceptance notes

- `@object-ui/app-shell` is private; its dist ships in
`@object-ui/console`, so the changeset names both (the objectstack-ai#33470
precedent). `Clause-②: no`: no published API or metadata contract moves;
the inline locale map is a form `record:details` `sections[].label`
already declares (`I18nLabel`). `Metadata-protocol: none`.
- No out-of-scope finding.

## Verification

All local readings at head `8ade4c0d` (the PR head).

- `pnpm --filter @object-ui/app-shell run type-check` (both `tsc
--noEmit` and `tsc -p tsconfig.test.json`), after `pnpm --filter
'@object-ui/app-shell^...' build`: exit 0 (`os-verify-lock: VERDICT
command-exit 0 · held the lock 145s …`).
- `pnpm check:new-line-citations` (ui): `VERDICT
new-cross-file-line-citations: 0 new citation(s), enforcement
report-only -> exit 0`.
- Control-byte / NBSP scan of the added lines: 0 hits.
- Derived gate families (`node scripts/pm/dispatch-gates.mjs --commands
--repo objectstack-ai/objectstack`), each exit code captured before any
pipe; reconciliation `✓ dispatch-gates --ran: 36 derived famil(ies)
accounted for — 36 run, 0 NOT-MEASURED (a DERIVED zero — all 36 recorded
an exit code and none of them is 3).`

<details><summary>36 derived families, all exit 0</summary>

```text
node scripts/check-adr-0087-registration.mjs --base origin/main :: exit 0
node scripts/check-adr-0087-registration.mjs --self-test :: exit 0
node scripts/check-changeset-no-major.mjs --base origin/main :: exit 0
node scripts/check-closing-keyword-parity.mjs :: exit 0
node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0
node scripts/check-comment-mask-corpus.mjs :: exit 0
node scripts/check-empty-changeset.mjs --base origin/main :: exit 0
node scripts/check-empty-changeset.mjs --self-test :: exit 0
node scripts/check-sdui-manifest.mjs :: exit 0
node scripts/check-sdui-manifest.mjs --self-test :: exit 0
node scripts/ci/snapshot-next.mjs --self-test :: exit 0
node scripts/pm/release-rehearsal-clone.mjs --self-test :: exit 0
node scripts/release-pending-publish.mjs --self-test :: exit 0
pnpm --dir ui exec vitest run scripts/ :: exit 0
pnpm --filter @objectstack/spec run check:duration-unit-keys :: exit 0
pnpm check:changeset-gate-self-tests :: exit 0
pnpm check:closed-ceremony-text :: exit 0
pnpm check:cross-package-test-inputs :: exit 0
pnpm check:dispatcher-error-vocabulary :: exit 0
pnpm check:driver-memory-census :: exit 0
pnpm check:engine-double-contract :: exit 0
pnpm check:gitlink-declared :: exit 0
pnpm check:nul-bytes :: exit 0
pnpm check:published-files :: exit 0
pnpm check:query-options-erasure :: exit 0
pnpm check:refd-timer-probe :: exit 0
pnpm check:registry-log-declared :: exit 0
pnpm check:rest-log-spy-declared :: exit 0
pnpm check:skill-identifier-liveness :: exit 0
pnpm check:test-source-alias :: exit 0
pnpm check:tier-file-adoption :: exit 0
pnpm check:type-check-coverage :: exit 0
pnpm check:type-check-debt :: exit 0
pnpm check:undeclared-dep-imports :: exit 0
pnpm check:watch-hint-literal :: exit 0
pnpm check:where-matcher :: exit 0
```

</details>

Every family CI runs (the full Test UI shards, lint, the artifact
roster) is read off this PR's check-runs; nothing there is re-run
locally.

## Human Minimum

- [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic.
(No `packages/spec` change.)
- [x] 2. Every name I added uses the casing for its kind.
- [x] 3. No formatter ran; `pnpm lint` is CI's run.
- [x] 4. One issue, one branch off an up-to-date `main`, one pull
request.
- [x] 5. A change that publishes carries a changeset, and both
declaration lines are filled in here and in the changeset.
- [x] 6. `packages/spec` touched: n/a.
- [x] 7. No hand edits to `content/docs/references/`,
`packages/*/CHANGELOG.md` or `content/docs/releases/`.
- [x] 8. Title, body and comments are in English (the 维护者速读 block is the
seat channel's Chinese).

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

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

Labels

documentation Improvements or additions to documentation size/m tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

1 participant