Skip to content

docs(spec): navigation.size says what 'auto' really does - #36685

Merged
objectstack-fleet[bot] merged 6 commits into
mainfrom
claude/issue-36468-navigation-size-auto-describe
Nov 23, 2026
Merged

objectstack-fleet[bot] merged 6 commits into
mainfrom
claude/issue-36468-navigation-size-auto-describe

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #36468
repo:objectstack#7 · os-alice · session_011y7As8yeqbR9TKANdPKRxt

Clause-②: no
Metadata-protocol: none

维护者速读

  • 写视图配置的人和 AI 在说明文字里看到的抽屉宽度「自动」含义改为实情:固定默认宽度,不再声称按字段数推导;界面行为不变,用户无感。
  • 为写元数据的 AI 解决:旧说明描述了一个早已不存在的行为,会误导它对抽屉宽度的判断。
  • 出错只影响说明文字,不改任何键、取值或默认值,可直接撤回。
  • 无。

What changes

The navigation.size TSDoc and .describe() in packages/spec/src/ui/view.zod.ts said that the default 'auto' makes the renderer derive the drawer size from the object's field count and the viewport, so "AI writes nothing". Measured on origin/main 6a73185, no renderer does that. The text now says what each record overlay that reads navigation.size actually does:

Surface 'auto' (or absent) resolves to Where
Console record side panel (an object's list; the drawer level over a record page) min(92vw, 460px), fixed, whatever the field count ui/packages/app-shell/src/views/recordDrawerContext.ts:96, :132-137 (recordPaneWidth); called from objectViewRecordNavigation.ts:259 and recordDrawerStack.tsx:954
Page-block drawers: grid, kanban, calendar, gantt, tree resolveOverlayWidth answers undefined for 'auto' (ui/packages/react/src/hooks/useNavigationOverlay.ts:177-183), and the host passes RECORD_OVERLAY_DEFAULT_WIDTH = min(960px, 60vw) (ui/packages/plugin-detail/src/RecordDetailPanel.tsx:265; ObjectGrid.tsx:4103, ObjectKanban.tsx:2182, ObjectCalendar.tsx:1675, ObjectGantt.tsx:2441, ObjectTree.tsx:1256)
Page-block drawers: list, gallery, map, timeline the same undefined, spread straight into NavigationOverlay, whose own fallback is 42rem (ui/packages/components/src/custom/navigation-overlay.tsx:600)

Explicit buckets are min(92vw, CAP) with sm 480, md 720, lg 960, xl 1200, full 1600 (ui/packages/plugin-view/src/recordSurface.ts:50-51, mirrored in useNavigationOverlay.ts:162-168). A width the reader drags wins over either (navigation-overlay.tsx:598). Below the sm breakpoint the drawer is full width (navigation-overlay.tsx:709), and on a phone the console opens every record as a page (objectViewRecordNavigation.ts:238).

The field-count derivation still exists as deriveOverlaySize, reached by overlayWidthFor only when it is handed 'auto', and no caller hands it 'auto': recordPaneWidth returns the 460 px default before calling it. Existing pins on main hold this: recordPreviewWidth-36149.test.tsx:212 (recordPaneWidth({ size: 'auto' }, {}) is min(92vw, 460px)) and animation-notification-spec-parity.test.tsx:164 (resolveOverlayWidth of 'auto' is undefined).

The clause "aligned with FormView.modalSize" is dropped: on main modalSize is sm | default | lg | xl | full and maps to sm:max-w-sm … sm:max-w-5xl / 95vw (ui/packages/plugin-form/src/ModalForm.tsx:340-346), so it shares neither the bucket names nor the widths. modalSize itself is not touched.

Files:

  • packages/spec/src/ui/view.zod.ts: TSDoc and .describe() of navigation.size.
  • packages/spec/src/ui/view.form.ts: the view form's navigation.size help text, which view-form-composite-children.test.ts holds equal to the .describe(). It is not on the claim's file surface; the pin makes it part of the same text.
  • content/docs/references/ui/{view,component}.mdx: regenerated (gen:docs).
  • packages/platform-objects/src/apps/translations/en.metadata-forms.generated.ts: regenerated (check-i18n-bundles.mjs --write --filter=platform-objects).
  • packages/platform-objects/src/apps/translations/zh-CN.metadata-forms.generated.ts and ui/packages/app-shell/src/views/metadata-admin/metadata-form-zh-cn.ts: the navigation.size zh-CN help text only, rewritten to the same facts as the new English and kept identical to each other (the second is copied leaf for leaf from the first). It is a hand-written translated value with no source-hash entry, so no gate re-reads it. Added to the claim's file surface by the seat (claim amendment on the card, 2026-11-23T11:27Z).
  • .changeset/36468-navigation-size-auto-describe.md: patch for @objectstack/spec and @objectstack/platform-objects (both ship the text).

Prose only: no key, value, default or shape changes; check:authorable-surface is green and the authorable-surface base did not move.

Read first: packages/spec/src/ui/view.zod.ts (the size hunk, the claim it makes about each host is the risk), then packages/spec/src/ui/view.form.ts (the mirror must stay byte-equal), then the zh-CN leaf in zh-CN.metadata-forms.generated.ts (it must say the same facts).

Two-minute check: git grep -c "derives from field count" origin/main -- packages content lists 13 lines in five files; git grep -c "derives from field count" HEAD -- packages content on this branch lists none.

Tests

All at head 7a0c1ee4b.

Spec build, regeneration, targeted spec tests (under os-verify-lock)
STEP spec-build=0
STEP gen-docs=0
STEP closure-build=0      (turbo build --concurrency=2 of the cli and platform-objects closures: 65 tasks, 65 successful)
STEP i18n-write=0         (platform-objects regenerated; only the English metadata-forms bundle changed)
STEP spec-tests=0         (view-form-composite-children.test.ts + view.test.ts: Test Files 2 passed (2), Tests 509 passed (509))
os-verify-lock: VERDICT command-exit 0
Patch round at head 2148b95 (the two zh-CN leaves, under os-verify-lock)
STEP closure-build=0
STEP i18n-check=0         (check-i18n-bundles --filter=platform-objects: all bundles in sync)
STEP platform-objects-tests=0   (src/apps/translations + setup-copy-vocabulary.test.ts: Test Files 27 passed (27), Tests 647 passed (647))
ui: pnpm exec vitest run packages/app-shell/src/views/metadata-admin/metadata-form-i18n.test.ts (from ui/): Test Files 1 passed (1), Tests 22 passed (22)
os-verify-lock: VERDICT command-exit 0

The first ui run was launched from the package directory and refused by the objectui vitest root guard before any test ran; it was rerun from ui/ as above.

No ablation: the diff changes no tested behaviour.

Acceptance notes

  • Stale comments (no behaviour): recordSurface.ts:17-21 and :63-66 and useNavigationOverlay.ts:153-156 still describe the field-count derivation as the 'auto' path; ui/e2e/toast-under-modal.spec.ts:287 says ObjectView passes overlayWidthFor(...).
  • The deprecated navigation.width TSDoc says it is "kept only as a renderer fallback", but both resolvers let an authored width win over size (recordDrawerContext.ts:134, useNavigationOverlay.ts:179).

Verification

Local subset, each exit captured before any pipe: pnpm --filter @objectstack/spec run check:generated (0; all 14 generated artifacts up to date), node scripts/check-i18n-bundles.mjs --filter=platform-objects (0; 32 bundles in sync), pnpm --filter @objectstack/spec run check:liveness (0), check:nul-bytes, check:doc-authoring, check:issue-citations, check:keyed-text-bounds, check:spec-docblock-symbol-anchors, check:corpus-claim-drift, check:i18n-stale-fill, check:docs-spec-enumerations, check:closed-ceremony-text, check:role-word, check-adr-0087-registration, check-changeset-no-major, check-empty-changeset, check-closing-keyword-parity, docs-audit/check-affected-docs, docs-audit/check-drift-comment (all 0). Patch round at 2148b95: check:i18n-stale-fill, check:nul-bytes, check:doc-authoring (all 0); overlap-check VERDICT clean exit 0. Declared narrowing: dispatch-gates --ran reports 93 of 111 derived families not run locally; the diff is prose plus generated text, and CI runs the full set.


Generated by Claude Code

@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation protocol:ui tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 23, 2026
@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 2 package(s): @objectstack/platform-objects, @objectstack/spec, touching 1 documentable anchor(s).

⛔ 1 release-owned page(s) name something this change touched. These are read-only:

  • content/docs/releases/v17/17-7.mdx (via NavigationConfigSchema (symbol, a top-level const))

content/docs/releases/ is RELEASE-OWNED (AGENTS.md "Documentation Guardrails"): release
notes are written centrally at release time, and a code PR that edits them is the exact PR
that guardrail exists to stop. They are still audited — read-only. If one of them is actually
wrong, file an issue or open a dedicated docs-only PR; do not edit it here.

What this run could not see
  • 2 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 68 of 251 client-bound route-ledger rows — the other 183 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 183: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 124 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 175 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 0d727b70716ccf77fd63d0a0a2f0b17f7ab4d28a → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 4addfe0c961b354a382acfc6c3506cb3af6ef521 — the merge of head 495e0771f3037cfef01a02ee76d1808843d903a9 into base 0d727b70716ccf77fd63d0a0a2f0b17f7ab4d28a, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 4addfe0c961b354a382acfc6c3506cb3af6ef521 && git checkout 4addfe0c961b354a382acfc6c3506cb3af6ef521
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 0d727b70716ccf77fd63d0a0a2f0b17f7ab4d28a 495e0771f3037cfef01a02ee76d1808843d903a9 && git checkout -B drift-repro 0d727b70716ccf77fd63d0a0a2f0b17f7ab4d28a && git merge --no-ff 495e0771f3037cfef01a02ee76d1808843d903a9

node scripts/docs-audit/affected-docs.mjs --json 0d727b70716ccf77fd63d0a0a2f0b17f7ab4d28a

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs 0d727b70716ccf77fd63d0a0a2f0b17f7ab4d28a → pass the list as
args.docs, on the commit named under Which tree this was computed on.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · os-alice · session_011y7As88pUDUZHGdwFmizG4

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 2148b95b0772cffc9778b98ca0023f697fd443f8
Local-runs: none
Scope: packages/spec/src/ui/view.form.ts, packages/spec/src/ui/view.zod.ts + none

No file in the diff implements or enforces navigation.size: the renderers that resolve it (ui/packages/app-shell/src/views/recordDrawerContext.ts, ui/packages/react/src/hooks/useNavigationOverlay.ts, ui/packages/plugin-view/src/recordSurface.ts, ui/packages/components/src/custom/navigation-overlay.tsx, ui/packages/plugin-detail/src/RecordDetailPanel.tsx) are outside the diff and were read on origin/main, not reviewed. The remainder of the diff (the changeset, content/docs/references/ui/{view,component}.mdx, the en and zh-CN metadata-forms bundles, ui/packages/app-shell/src/views/metadata-admin/metadata-form-zh-cn.ts) is the lane seat's ACCEPT at TIER_DEFAULT; it was read only for agreement with its source, below.

① Derived judgments

  • Accept set of navigation.size: unchanged — right. The view.zod.ts hunk leaves z.enum(['auto', 'sm', 'md', 'lg', 'xl', 'full']).default('auto') byte-identical; only the TSDoc block and the .describe() argument move. No key is added, removed, renamed, made optional or required; the default stays 'auto'; navigation.width and FormView.modalSize are untouched.
  • Public surface that does move: the .describe() string of NavigationConfigSchema.size (published in JSON Schema output, the reference pages and agent-facing descriptions) and the served form help text of the same key — right, and this is the whole of the card's ask.
  • view.form.ts: one helpText string on the existing size field entry; no field added or removed, no widget or layout change — right. It is character-for-character the new .describe() (compared after unescaping the quotes), which is what view-form-composite-children.test.ts holds; Test Core is green on this head.
  • Generated agreement, read not graded: the new describe sentence occurs 3 times in view.mdx, 7 times in component.mdx and once in en.metadata-forms.generated.ts, each identical to the source string; the string "derives from field count" no longer occurs under packages, content or ui at the head. The two zh-CN leaves are identical to each other and state the same facts as the English (fixed default, 460px console panel, 480/720/960/1200/1600 caps, drag wins, no effect as a page or on a phone-width screen). Check-runs Lint · docs & code guards, Build Docs, Type Check · source gates and Spec property liveness are success.

② Semver level

patch for @objectstack/spec and @objectstack/platform-objects matches what the diff publishes: description text only, in the spec and in the English and zh-CN bundles that platform-objects ships. Check Changeset is success on the head.

Clause-②: no is correct. No accepted value set, default, key or schema shape moves in either direction; nothing an author could write before is refused now, and nothing new is accepted. Metadata-protocol: none is correct for the same reason. The line is the same on the PR body and in the changeset.

③ Boundary flags

  • open_questions: empty in both dev reports; nothing to answer.
  • Deviation, view.form.ts edited outside the first claim's file surface: answered — the claim amendment of 2026-11-23T11:27Z adds it, and the byte-equal pin makes the edit unavoidable once the describe moves.
  • Deviation, @objectstack/platform-objects added to the changeset: answered — it ships the changed en and zh-CN bundles; correct.
  • Dev out-of-scope flag, the deprecated navigation.width TSDoc says "kept only as a renderer fallback" while both resolvers let an authored width win over size: confirmed on origin/main (recordPaneWidth returns nav.width first, resolveOverlayWidth returns navigation.width first). Not in this diff; it belongs on its own card.
  • Dev out-of-scope flag, stale renderer comments that still call the field-count derivation the 'auto' path (recordSurface.ts, useNavigationOverlay.ts, ui/e2e/toast-under-modal.spec.ts): confirmed; comment-only, outside the diff.
  • Not flagged by the dev, escalated to the seat: the patch round fixed the zh-CN help text, but nine sibling locale bundles under packages/platform-objects/src/apps/translations/ (ar, de, es-ES, fr, ja-JP, ko, pt-BR, ru, zh-Hant, each LOCALE.metadata-forms.generated.ts, key navigation.size) still serve the retired sentence at this head — read in de, ja-JP and zh-Hant: "the renderer derives it from field count + viewport; AI writes nothing". They are translated leaves that no gate re-reads, exactly the case the claim amendment gave for zh-CN. They are outside the diff and outside this record's graded scope; the card's acceptance ("the generated references agree") is met for the references, so this is a follow-up card for the seat to file, not a finding on this head.
  • SQL push-down: not applicable — the diff has no query, no id materialisation and no join.

④ Design judgment

No must-fix, no should-fix.

packages/spec/src/ui/view.zod.ts, each new sentence against origin/main:

  • "Each explicit bucket is a pixel cap the renderer clamps to the viewport (min(92vw, CAP)): sm 480, md 720, lg 960, xl 1200, full 1600" — holds. OVERLAY_SIZE_PX in plugin-view/src/recordSurface.ts and OVERLAY_SIZE_WIDTHS in react/src/hooks/useNavigationOverlay.ts carry exactly these five caps in exactly this form.
  • "'auto' is the host's fixed default width, the same for every object whatever its field count — nothing is derived from the object's fields" — holds. recordPaneWidth returns RECORD_PREVIEW_DEFAULT_WIDTH for an absent or 'auto' size before it ever calls overlayWidthFor; resolveOverlayWidth returns undefined for 'auto'. deriveOverlaySize survives only behind overlayWidthFor's own 'auto' branch, and the single non-test caller of overlayWidthFor (recordPaneWidth) never passes 'auto'. The old sentence was false; the new one is true.
  • "The console's record side panel (opened from an object's list, and the drawer level over a record page) opens at min(92vw, 460px)" — holds for the two surfaces it names: objectViewRecordNavigation.ts and recordDrawerStack.tsx both take recordPaneWidth, and RECORD_PREVIEW_DEFAULT_WIDTH is 'min(92vw, 460px)'.
  • "a page block's drawer opens at that block's own default (min(960px, 60vw) for the grid, kanban, calendar, gantt and tree; 42rem for the list, gallery, map and timeline)" — holds. The first five pass navigation.width ?? RECORD_OVERLAY_DEFAULT_WIDTH ('min(960px, 60vw)'); the other four spread the hook result into NavigationOverlay, whose fallback is resolveWidth(width) ?? '42rem'.
  • "A width the reader drags is remembered and wins over both 'auto' and a bucket" — holds: paneWidthCss takes the remembered resize.width before the host width. The remembered width is bounded to the 380–900 px drag range, which the sentence does not contradict.
  • "no effect where the record opens as a page ... (in the console every record opens as a page on a phone), nor on a phone-width screen, where a block's drawer fills the screen" — holds: on a phone objectViewRecordNavigation.ts returns only deriveRecordSurface(objectDef, { viewport: 'mobile' }), which answers 'page', and carries no width; below the sm breakpoint the drawer is w-screen max-w-none and the width variable is applied only from sm up.
  • The dropped clause "aligned with FormView.modalSize" was untrue on main: modalSize is sm | default | lg | xl | full (no auto, no md, an extra default) and ModalForm.tsx maps it to max-w-sm, max-w-lg, max-w-2xl, max-w-5xl and 95vw — other names and other widths than the drawer buckets. Removing it is correct, and modalSize itself is untouched.
  • The .describe() string is a faithful shortening of the TSDoc: every clause in it (fixed default, 460px console panel, the five caps, drag wins, prefer over width, no effect as a page or on a phone-width screen) is one of the sentences verified above.

packages/spec/src/ui/view.form.ts: the help text is the describe string verbatim, so every judgment above carries over; the entry stays under the same navigation group next to width, whose own text still points authors at size.

Attempt to break it: I looked for a host where 'auto' still reaches the field-count path (none), a host where a bucket resolves to a different cap (none), and a console record drawer that is not 460. The last one exists, and gives the nits:

  • N1 (nit) — two console hosts open a record side drawer without reading navigation.size at all: ObjectDataPage.tsx (the /data route) and InterfaceListPage.tsx both call useNavigationOverlay with a bare { mode }, so their drawer is the NavigationOverlay fallback, 42rem, whatever is authored. The TSDoc's parenthesis scopes the 460 px claim to the object list and the record-page drawer level, so no sentence is false; the "no effect" paragraph is simply not exhaustive, and the short describe's "the console's record side panel opens at 460px" reads a little wider than the TSDoc. No effect on the contract. The real defect is the renderer not honouring the key on those hosts, which is a card of its own, not a text fix here.
  • N2 (nit) — the published describe now quotes one host's constants (460px, and in the TSDoc min(960px, 60vw) and 42rem). Nothing ties the text to RECORD_PREVIEW_DEFAULT_WIDTH or RECORD_OVERLAY_DEFAULT_WIDTH: the pins on main hold the code, not the sentence, so the next change of a default leaves the describe stale the same way this card found it. The card asked for exactly this precision, so it is accepted as written; a parity pin is follow-up material.
  • N3 (nit) — outside the diff, packages/spec/src/data/record-surface.ts ("Maps onto navigation.size / FormView.modalSize") and ui/packages/plugin-view/src/recordSurface.ts ("mirrors spec NavigationConfig.size / FormView.modalSize") still pair the two keys the diff has just stopped calling aligned. Comment-only; same follow-up as the stale comments the dev listed.

All three are left as accepted deviations or follow-up cards; none is fixed on this head.

Implemented-by: claude/issue-36468-navigation-size-auto-describe
Reviewed-by: session_011y7As88pUDUZHGdwFmizG4

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · os-alice · session_011y7As88pUDUZHGdwFmizG4

维护者速读

  • 视图 navigation.size 的说明文字改正:默认 'auto' 并不会按字段数推导抽屉宽度,实际是宿主的固定默认宽度;各档位的像素上限也写明了。
  • 属于「规范说明与实际行为一致」这条线,纠正一句已发布的错误说明(英文、中文表单帮助与参考文档同步)。
  • 只改文字,键、取值和默认值都不变;可直接撤回。
  • 无需你操作;L2 契约审核已过(PASS)。

席位核对

Verdict: ACCEPT at head 2148b95b0772cffc9778b98ca0023f697fd443f8 (read 2026-11-23T14:27Z).

  1. Shape. Open, draft, base main, first line Fixes #36468; the card's two asks (measure 'auto', rewrite TSDoc and describe and regenerate references) are both delivered, so Fixes is right. No closing keyword binds another card. mergeable_state: clean.
  2. Premise measured. The old sentence ("renderer derives from field count + viewport") is gone from every shipped surface on the head: git grep finds it only in the historical packages/spec/CHANGELOG.md and packages/lint/CHANGELOG.md entries, which are records and stay. The renderer facts the new text states are judged in the L2 record (item 6).
  3. Gates at this head (check-runs). 63 success · 11 expected skip · 0 unexpected skip · 0 failed · 0 pending; Lint & Repo Gates and TypeScript Type Check both success (l1-face.mjs --pr 36685, clean on all 13 items). The earlier red on 7a0c1ee4 is a superseded head, not counted.
  4. Accepted deviations. File surface: the claim was amended in comment 7099684159 before the patch round to add view.form.ts (help text pinned byte-equal to the describe), the generated references and en bundle, and the two zh-CN leaves; every file in the diff is inside the amended surface. Generated text: content/docs/references/ui/view.mdx and component.mdx rows and the en.metadata-forms.generated.ts leaf are byte-equal to the new .describe(). The two zh-CN leaves (platform bundle and console overlay) are identical to each other and state the same facts as the English sentence, read clause by clause. Changeset read sentence by sentence against the diff: true, including "Prose only: the key, its values and its default are unchanged" (the z.enum([...]).default('auto') line is untouched). Both published packages touched carry a patch entry.
  5. Out of scope. Owed ONE follow-up card by the area (filing gate), not fixed here because this diff does not touch those files: (a) nine other locale bundles in packages/platform-objects/src/apps/translations/ (ar, de, es-ES, fr, ja-JP, ko, pt-BR, ru, zh-Hant) still serve the retired "derives from field count" sentence under navigation.size (seat read all nine at the head); (b) L2 N1: the /data route (ObjectDataPage.tsx) and InterfaceListPage.tsx open the console record drawer with a bare { mode }, so navigation.size is not honoured there (42rem); (c) L2 N3 and the dev's flags: comments in record-surface.ts and plugin-view/src/recordSurface.ts still pair size with FormView.modalSize, the navigation.width TSDoc says "renderer fallback" though width wins, and the renderer comments on the 'auto' path are stale. The dropped "aligned with FormView.modalSize" clause: removal only; the modalSize retirement is Ledger: form view modalSize keeps live after #36425 deleted its only named reader — re-audit (enforce-or-remove) #36544, untouched here. Skills-docs: not owed (Metadata-protocol: none, no narrowing arm).
  6. Landing. Contract face: packages/spec/src/ui/view.zod.ts and view.form.ts are the published-schema face, so an L2 at CONTRACT_REVIEW_TIER is owed. L2 record: PR docs(spec): navigation.size says what 'auto' really does #36685 comment 7104020332 — Served-tier: CONTRACT_REVIEW_TIER, head 2148b95b0772cffc9778b98ca0023f697fd443f8, Scope: equals the hits (view.zod.ts, view.form.ts), tier verified on the reviewer's transcript, PASS, no must-fix or should-fix; every new sentence checked against the renderers on main, and the dropped modalSize clause confirmed untrue. Its nits N1–N3 are accepted as is and go to the follow-up card in item 5. Not governed; no content/docs/releases/ path. Land on this head; any head move needs a fresh read.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · os-alice · session_011y7As88pUDUZHGdwFmizG4

席位核对 — delta read

Delta read at head e47222c703a24bee5de737ffe6d69f95dc0acfbc (read 2026-11-23T14:39Z): the move from 2148b95b0772cffc9778b98ca0023f697fd443f8 is one merge of origin/main (parents 2148b95b and e343ab7c), no conflict, zero regeneration delta. Seat reading: git diff MERGE_BASE HEAD | git patch-id --stable is 8e93e6014d77a2c6bfe0b4e0ba6ef31cdf12bc96 at both heads (8 files), so the PR's own change is byte-for-byte the one reviewed. The ACCEPT in comment 7104036160 stands at this head. The contract review of record carries by the merge-forward arm:

Regen-provenance: 7104020332 · 2148b95b0772cffc9778b98ca0023f697fd443f8 → e47222c703a24bee5de737ffe6d69f95dc0acfbc · git diff MERGE_BASE HEAD | git patch-id --stable → identical (8e93e6014d77a2c6bfe0b4e0ba6ef31cdf12bc96)

Land only once every check at e47222c7 is green or an expected skip.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · os-alice · session_011y7As88pUDUZHGdwFmizG4

席位核对 — delta read

Delta read at head 495e0771f3037cfef01a02ee76d1808843d903a9 (read 2026-11-23T19:17Z): the move from e47222c703a24bee5de737ffe6d69f95dc0acfbc is one merge of origin/main (parents e47222c7 and 0d727b70), no conflict. Seat reading: git diff MERGE_BASE HEAD | git patch-id --stable is 8e93e6014d77a2c6bfe0b4e0ba6ef31cdf12bc96, the same as at both earlier heads. One commit main brought in touches a file of this PR (0de93df7, #36688, ui/packages/app-shell/src/views/metadata-admin/metadata-form-zh-cn.ts, other leaves of the same file); the merge kept this PR's navigation.size leaf unchanged, as the identical patch-id shows. This merge was not regenerated locally: the generated-artefact checks at this head are the regeneration reading. The ACCEPT in comment 7104036160 stands at this head; the contract review of record carries by the merge-forward arm, chained after the hop in comment 7104357727:

Regen-provenance: 7104020332 · e47222c703a24bee5de737ffe6d69f95dc0acfbc → 495e0771f3037cfef01a02ee76d1808843d903a9 · git diff MERGE_BASE HEAD | git patch-id --stable → identical (8e93e6014d77a2c6bfe0b4e0ba6ef31cdf12bc96)

At read time CI at 495e0771 is still running (8 success · 9 expected skip · 20 pending · 0 failed). Land only once every check there is green or an expected skip.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · os-alice · session_011y7As8yeqbR9TKANdPKRxt

Landing · 2026-11-23T19:44Z · head 495e0771f3037cfef01a02ee76d1808843d903a9

Reading Answer
check-governed-merges.mjs --pr 36685 NOT governed · 64 changed lines ≤ 3000
landing-k.mjs --pr 36685 OK · K = 0 < 15 · no new locale pack · no shared book moved
check-runs at head 61 success · 9 expected skip · 0 failed · mergeable clean
records at head L1 ACCEPT 7104036160 with delta reads 7104357727 and 7111390265 · L2 PASS 7104020332 carried by the two Regen-provenance hops (patch-id 8e93e6014d77a2c6bfe0b4e0ba6ef31cdf12bc96 at every head)

State: ready + auto-merge. On MERGED, #36468 closes by Fixes; follow-ups are #36730.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 23, 2026 19:44
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit cb2d6aa Nov 23, 2026
71 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-36468-navigation-size-auto-describe branch November 23, 2026 20:14
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 protocol:ui size/s tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

spec: navigation.size describe says auto derives the drawer size from field count and viewport, which the renderer no longer does

2 participants