Skip to content

feat(spec)!: retire FormView modalSize — no form view opens in a dialog - #38168

Merged
os-zhuang merged 6 commits into
mainfrom
claude/project-thread-ldkc9v
Nov 28, 2026
Merged

os-zhuang merged 6 commits into
mainfrom
claude/project-thread-ldkc9v

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Tesla · project thread

Fixes #36544
repo:objectstack#3 · os-tesla · session_01L9qibyCTygnt62jKN3Wmxu

Clause-②: yes (narrowing)
Metadata-protocol: narrowed
Skills-docs: none — no hand-written skills page teaches a form view's modalSize; the one skills file that listed it is the generated skills/objectstack-ui/references/react-blocks.md, regenerated here, and two evals in skills/objectstack-ui/evals/views-apps-actions-pages.json already carry modalSize: under must_not_contain

维护者速读

What changes

  • packages/spec/src/ui/view.zod.ts: FormViewSchema.modalSize becomes a retiredKey() tombstone. The refusal names the removal version, says why (no form view opens in a dialog), tells the author to delete the key, and names what sizes each dialog now. The form item (FormSchema, ADR-0159) takes the form view's shape by reference, so it refuses the key at that door too.
  • packages/spec/src/ui/react-blocks.ts: the React ObjectForm block keeps modalSize. It moves from dataProps (read off the form view schema) to the block's overlay as a binding prop with the same type, and joins REACT_OVERLAY_SHADOWS.ObjectForm beside drawerSide / drawerWidth. The object-form page block's own modalSize (ObjectFormPropsSchema) is untouched.
  • D2 conversion form-view-modal-size-removed (protocol 19, retiredFromLoadPath: true, retiredAfter: '18.6.0'): deletes the key from form, formViews.*, a form view item's config, a flattened form overlay, the assembled viewItems channel and a forms[] item. It never walks page components. Wired into MAJOR_19_CONVERSIONS at order 4, the last of the major. The list's head comment records the one entry that reads form payloads before this delete applies: over sources, action-type-ask-ai-removed takes every string of the stack as a possible action name, a modalSize value included, and errs on keeping the action.
  • Retired-key registry: ui/FormView:modalSize and ui/Form:modalSize under major 19. D3 entry ui-form-view-modal-size-retired: through 18.6.0 the console's New / Edit dialog opened at the authored size; at 19.0.0 that dialog stopped loading a form view (the change recorded by internal-record-forms-not-loaded, 内部的新建和编辑表单作废:平台不再加载表单定义,弹窗一律按字段分组和字段规则排;字段加一个「新建时显示」的开关(对外表单不受影响) #36425), so the delete changes nothing a reader sees on 19, and an app that comes from 18.x finds the dialog at the size the dialog chooses. No key restores the authored size; the entry's acceptance line asks the upgrader to look at New and Edit on each object whose form carried the key. The changeset says the same under "Coming from 18.x". The step-19 rationale in registry.ts.template gains one sentence.
  • Liveness ledger: view.json form.modalSize and form.json modalSize go live → dead with a REMOVED note; state counts regenerated (view 75 live / 11 dead, form 27 live / 6 dead / 2 planned).
  • Two protocol-18 conversion fixtures used modalSize as the bystander key that must ride through; they now use tabPosition and columns.
  • The protocol-18 D3 entry ui-form-view-type-layout-only said the console's New and Edit dialogs were "sized by modalSize". They choose their own size; the sentence now says so.
  • Regenerated: packages/spec/authorable-surface/ui.json, content/docs/references/ui/view.mdx, content/docs/references/api/protocol.mdx, skills/objectstack-ui/references/react-blocks.md.
  • One changeset: @objectstack/spec minor with the BREAKING banner, FROM → TO and the ADR-0087 marker; @objectstack/skills patch for the regenerated reference.

Tests

  • packages/spec/src/ui/form-view-drawer-keys-retirement.test.ts:
    • "FormView.modalSize — a tombstone at every form-view door": the five former values are refused at a view's form, at formViews.*, at a form view item, at a flattened form overlay and at a form item, each with one issue at modalSize carrying the prescription; a control without the key parses at every door; defineStack answers STACK_SCHEMA_INVALID; RETIRED_KEYS_BY_MAJOR[19] holds both rows; two @ts-expect-error lines pin the authoring-site type.
    • "the modal that reads modalSize keeps it": the object-form page block and the React block overlay still declare it.
    • "the D2 conversion form-view-modal-size-removed": a stored view, a stored form view item and a stored form item lose the key; a page block keeps it; a second pass changes nothing; the entry is off the load path and wired at step 19 with its D3 entry.
    • The tree-scoped absence walk now judges modalSize on a form view and a defineForm({…}) body too, with its own matcher anti-vacuity test.
  • packages/spec/src/ui/form-view-type-layout-retirement.test.ts: the test that pinned "modalSize stays declared" now pins the refusal and its message.
  • packages/spec/src/shared/retired-key-removal-version.pin.test.ts: one join row ties the conversion to the tombstone's removal version.
Readings (head named on each line; base origin/main e42520c)
  • Head history: fa4a7b4 (first reviewed head) → 067eaa9 (the 18.x wording, contract review S1) → e17b04f (merge of main at 9609c13, one hand-resolved conflict in the head comment of conversions/registry.ts) → 953a774 (merge of main at e42520c, no conflict, no generated path changed on both sides).
  • Premise at 0e36120, before the change: modalSize has 0 hits in the console's FormPage.tsx (control submitBehavior: 4), 0 in any server package, 0 in examples/ and packages/apps (control: 6). The remaining ui/ readers are the block's own prop and the host-derived size. At tag @objectstack/spec@18.6.0 the record dialog still copied the key from the object's form view; that read ended at 19.0.0.
  • Ablation through scripts/ablation-replace.mjs, at 3ae879f: the tombstone line put back to the live enum on the committed change; vitest run over the three pin files shows Test Files 3 failed (3), Tests 12 failed | 160 passed (172). Restored: blob equals HEAD and git diff HEAD is empty. No later commit touches view.zod.ts or the pin files.
  • At 953a774: pnpm --filter @objectstack/spec build exit 0 (the retired-key registration gate runs inside it); check:generated exit 0 (All 14 generated artifacts are up to date); vitest run over the three pin files plus src/conversions and src/migrations: Test Files 34 passed (34), Tests 1215 passed (1215). check-platform-checklist --changed-from origin/main exit 0 (13 anchors judged, 0 lost).
  • At e17b04f: spec typecheck exit 0; test: Test Files 911 passed (911), Tests 28853 passed | 1 todo (28854); test:repo: Test Files 94 passed (94), Tests 1604 passed (1604).
  • At e17b04f, derived local gate set: 126 commands from dispatch-gates --commands, 126 exit 0; dispatch-gates --ran: 126 derived, 126 run, 0 NOT-MEASURED, 0 UNRUN.
  • At e17b04f, full dogfood battery (owed: the title carries !): os-verify-lock: VERDICT command-exit 0, Test Files 491 passed | 3 skipped (494), Tests 4148 passed | 68 skipped (4216).
  • At 953a774 (report comment 7238963623 on the card): spec typecheck exit 0; test: Test Files 911 passed (911), Tests 28854 passed | 1 todo (28855); test:repo: Test Files 94 passed (94), Tests 1604 passed (1604). Derived local gate set: 126 commands, 126 exit 0; dispatch-gates --ran: 126 derived, 126 run, 0 NOT-MEASURED, 0 UNRUN. Full dogfood battery: os-verify-lock: VERDICT command-exit 0, Test Files 491 passed | 3 skipped (494), Tests 4148 passed | 68 skipped (4216). CI check-runs on this head: 74, each success or skipped, none re-run.
  • Skills pack at 953a774: skills/objectstack-ui/references/react-blocks.md 113 lines / 13751 bytes on main, 113 lines / 13725 bytes here (one row moved from the data table to the binding table); all SKILL.md files together 4940 lines on main, 4940 here. check-skills-token-ratchet exit 0: authored files 199826 / 199826 (+0); generator-owned 14846 tokens; bundle total 303536.

Acceptance notes

  • File surface beyond the claim, ruled in by the seat on the card (7233916166): the second retired-key row ui/Form:modalSize with the conversion's forms[] reach, because the form item takes the form view's shape by reference; the join row in retired-key-removal-version.pin.test.ts; and the one-sentence correction to the protocol-18 D3 entry.
  • Not edited, by the same ruling: a taxonomy comment in ui/packages/types/src/objectql.ts still lists modalSize among form view keys. Editing it would pull ui/ and an @object-ui/types patch into this narrowing.
  • Not edited either: docs/qa/platform-checklist/areas/studio-authoring.json, the view.form row, still records modalSize as a row that fails today.
  • Both of those edits are carried by the follow-up card follow-up of #36544: after FormView modalSize retires, update the QA checklist view.form row and the @object-ui/types taxonomy comment #38191.
  • Left as they are, still true: packages/lint/src/rule-explanations.ts and the D3 entry internal-record-forms-not-loaded list modalSize among keys that steer nothing on the record dialog.
  • subforms on a form view is a separate decision and is not touched here.
  • hotcrm's uses of the key are not touched here; they meet the refusal when hotcrm moves to spec 19, and os migrate meta --from 18 --write deletes them.

Verification

Read first (by risk):

  1. packages/spec/src/ui/view.zod.ts: FORM_VIEW_MODAL_SIZE_RETIRED and the modalSize member of FormViewSchema.
  2. packages/spec/src/conversions/entries/19/form-view-modal-size-removed.ts: apply, in particular the viewItems branch that tells a config payload from a flattened overlay, and the forms walk.
  3. packages/spec/src/ui/react-blocks.ts: the ObjectForm hunk that moves the prop from dataProps to the overlay.

Two-minute check: pnpm --filter @objectstack/spec exec vitest run src/ui/form-view-drawer-keys-retirement.test.ts src/ui/form-view-type-layout-retirement.test.ts src/shared/retired-key-removal-version.pin.test.ts shows 172 passing; put z.enum(['sm', 'default', 'lg', 'xl', 'full']).optional() back on FormViewSchema.modalSize and the same command shows 12 failing.


Generated by Claude Code

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

github-actions Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 1 package(s): @objectstack/spec, touching 20 documentable anchor(s). ⚠️ 8 changed file(s) yielded no anchor (packages/spec/authorable-surface/ui.json, packages/spec/liveness/form.json, packages/spec/liveness/state-counts/form.md, …), so the pages documenting them are NOT COVERED by this run — this is not a clean bill of health for those files.

11 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:

  • content/docs/deployment/validating-metadata.mdx (via ObjectForm (symbol, a field of const object REACT_OVERLAY_SHADOWS))
  • content/docs/frontend/plugins/plugin-form.mdx (via ObjectForm (symbol, a field of const object REACT_OVERLAY_SHADOWS), drawerSide (literal, a string literal in ObjectForm), drawerWidth (literal, a string literal in ObjectForm), modalSize (literal, a string literal in ObjectForm; a string literal in apply; a string literal in dataProps; a string literal in interactions))
  • content/docs/permissions/field-level-security.mdx (via ObjectForm (symbol, a field of const object REACT_OVERLAY_SHADOWS))
  • content/docs/protocol/objectui/actions.mdx (via submitBehavior (literal, a string literal in dataProps))
  • content/docs/protocol/objectui/concept.mdx (via FormViewSchema (symbol, a top-level const))
  • content/docs/protocol/objectui/index.mdx (via FormViewSchema (symbol, a top-level const))
  • content/docs/protocol/objectui/layout-dsl.mdx (via FormViewSchema (symbol, a top-level const), ObjectForm (symbol, a field of const object REACT_OVERLAY_SHADOWS), tabPosition (literal, a string literal in dataProps))
  • content/docs/ui/forms.mdx (via submitBehavior (literal, a string literal in dataProps))
  • content/docs/ui/public-data-collection.mdx (via submitBehavior (literal, a string literal in dataProps))
  • content/docs/ui/react-pages.mdx (via ObjectForm (symbol, a field of const object REACT_OVERLAY_SHADOWS), REACT_BLOCKS (symbol, a top-level const object), drawerSide (literal, a string literal in ObjectForm))
  • content/docs/ui/translations.mdx (via submitBehavior (literal, a string literal in dataProps))

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

  • content/docs/releases/v12.mdx (via drawerWidth (literal, a string literal in ObjectForm))
  • content/docs/releases/v17/17-1.mdx (via submitBehavior (literal, a string literal in dataProps))
  • content/docs/releases/v17/17-3.mdx (via FormViewSchema (symbol, a top-level const))
  • content/docs/releases/v17/17-5.mdx (via retiredAfter (symbol, a field of const object formViewModalSizeRemoved), retiredFromLoadPath (symbol, a field of const object formViewModalSizeRemoved))
  • content/docs/releases/v17/17-7.mdx (via submitBehavior (literal, a string literal in dataProps))
  • content/docs/releases/v17/index.mdx (via submitBehavior (literal, a string literal in dataProps))
  • content/docs/releases/v18/18-3.mdx (via ObjectForm (symbol, a field of const object REACT_OVERLAY_SHADOWS), drawerSide (literal, a string literal in ObjectForm), drawerWidth (literal, a string literal in ObjectForm))

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
  • 8 changed file(s) yielded no anchor (packages/spec/authorable-surface/ui.json, packages/spec/liveness/form.json, packages/spec/liveness/state-counts/form.md, …) — pages documenting those are invisible to this run
  • 7 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 69 of 252 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 — 177 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 e42520c67bcef027552f8db83655ff9b54d32cef → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 8f8442bd39374344773dc665c23e583400e97827 — the merge of head 953a77454ec5fc166168f237f4d1f71cacd97323 into base e42520c67bcef027552f8db83655ff9b54d32cef, 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 8f8442bd39374344773dc665c23e583400e97827 && git checkout 8f8442bd39374344773dc665c23e583400e97827
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin e42520c67bcef027552f8db83655ff9b54d32cef 953a77454ec5fc166168f237f4d1f71cacd97323 && git checkout -B drift-repro e42520c67bcef027552f8db83655ff9b54d32cef && git merge --no-ff 953a77454ec5fc166168f237f4d1f71cacd97323

node scripts/docs-audit/affected-docs.mjs --json e42520c67bcef027552f8db83655ff9b54d32cef

⚠️ 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 e42520c67bcef027552f8db83655ff9b54d32cef → 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#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1

Contract-review-claim: session_01L9qibwSEecrzDjKjbk24r1 · head fa4a7b4 · 2026-11-28T05:46Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1
2026-11-28T06:03Z

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: fa4a7b40cafee1ab0ae8a64a7e6d7a86a3da932b
Local-runs: none
Scope: packages/spec/src/conversions/entries/18/form-view-drawer-keys-removed.ts, packages/spec/src/conversions/entries/18/form-view-presentation-types-removed.ts, packages/spec/src/conversions/entries/19/form-view-modal-size-removed.ts, packages/spec/src/conversions/registry.ts, packages/spec/src/migrations/entries/retired-keys/19.ui__FormView__modalSize.ts, packages/spec/src/migrations/entries/retired-keys/19.ui__Form__modalSize.ts, packages/spec/src/migrations/entries/semantic/18.ui-form-view-type-layout-only.ts, packages/spec/src/migrations/entries/semantic/19.ui-form-view-modal-size-retired.ts, packages/spec/src/migrations/registry.ts.template, packages/spec/src/ui/react-blocks.ts, packages/spec/src/ui/view.zod.ts, skills/objectstack-ui/references/react-blocks.md + in the diff: packages/spec/authorable-surface/ui.json, packages/spec/liveness/form.json, packages/spec/liveness/view.json, packages/spec/liveness/state-counts/form.md, packages/spec/liveness/state-counts/view.md, packages/spec/src/shared/retired-key-removal-version.pin.test.ts, packages/spec/src/ui/form-view-drawer-keys-retirement.test.ts, packages/spec/src/ui/form-view-type-layout-retirement.test.ts; read, never reviewed: packages/spec/src/conversions/walk.ts, packages/spec/src/conversions/entries/shared.ts, packages/spec/src/ui/component.zod.ts, packages/spec/src/stack.zod.ts, packages/spec/src/data/record-surface.ts, packages/spec/scripts/build-react-blocks-contract.ts, packages/spec/src/migrations/entries/semantic/18.internal-record-forms-not-loaded.ts, packages/lint/src/validate-react-page-props.ts, packages/lint/src/rule-explanations.ts, packages/cli/src/commands/migrate/meta.ts, ui/apps/console/src/components/FormPage.tsx, ui/packages/app-shell/src/console/AppContent.tsx, ui/packages/app-shell/src/utils/recordFormNavigation.ts, ui/packages/app-shell/src/hooks/useActionModal.tsx, ui/packages/app-shell/src/views/metadata-admin/previews/ViewPreview.tsx, ui/packages/core/src/actions/ActionRunner.ts, ui/packages/plugin-form/src/ModalForm.tsx, ui/packages/plugin-form/src/ObjectFormContainer.tsx, ui/packages/plugin-form/src/autoLayout.ts, ui/packages/plugin-view/src/ObjectView.tsx, ui/packages/types/src/objectql.ts, docs/adr/0050-form-layout-vs-presentation.md, hotcrm main src/sales/views/contact.view.ts and its five siblings
Security-touching: no

Why no: no changed hunk teaches permission, sharing, credential, token or authentication behaviour. The one skills hunk moves the modalSize row of the ObjectForm block from the data table to the binding table. The PR is Tier H in any case (a skills/** path beside published schema).

Inputs read: card #36544 body and all six comments (triage 7084472400, fold 7193096338, claim 7233564954, amendments 7233624584 and 7233916166, os-dev-report 7234867735); PR #38168 body, its two comments, its 23 files and the net diff from merge base 581ae76; the 70 latest check-runs on the head: 60 success, 10 skipped, 0 failed, 0 pending.

① Derived judgments

  • D1 FormViewSchema.modalSize, enum of five to a retiredKey() tombstone: right. The refusal stands at every door built from the shape: FormViewSchema, the container's form and formViews.*, both ViewItem form arms, the flattened form overlay, and defineStack (STACK_SCHEMA_INVALID, 422). The message follows the five guidance conventions, and its --from 18 sentence matches a key the schema accepted through 18.6.0.
  • D2 FormSchema (the form item) refuses the key too: right. Its body is FormViewSchema.shape by reference less data (view.zod.ts, formItemBodyShape), so the second row ui/Form:modalSize is forced by the exact-key gate, as amendment 7233916166 accepted. The row is absent at tag 19.0.0-next.0 and live at 19.0.0-next.2, so no stable release ever published it.
  • D3 TypeScript: modalSize is never at a FormView and a Form input position: right, pinned by two @ts-expect-error lines.
  • D4 ObjectFormPropsSchema.modalSize (the object-form page block) unchanged: right. Its reader is live (ObjectFormContainer.tsx hands schema.modalSize to ModalForm, which uses an authored value as written).
  • D5 React tier: modalSize leaves ObjectForm dataProps, joins interactions as a binding prop of the same type, and joins REACT_OVERLAY_SHADOWS.ObjectForm: right, the spec(view): FormViewSchema drawerSide / drawerWidth are accepted on a form view and read by no form-view surface; the describe says the question "stays open on #27153", which is closed #29012 shape. The react accept set does not narrow: validate-react-page-props builds knownProps from interactions alone and parses no ObjectForm prop against FormViewSchema, so the prop goes from unlisted to known. The new description holds against the code: unset, ModalForm infers the size from the declared columns and the field count.
  • D6 skills/objectstack-ui/references/react-blocks.md: byte-for-byte what the generator emits, judged two ways. By reading build-react-blocks-contract.ts against the new index: the allow-list drops the data row; overlay props print in overlay order under a stable sort, so the new row lands between drawerWidth and modalCloseButton; its cells are the overlay's type with pipes escaped and the unclipped description; no other row reads FormViewSchema.modalSize. By the gate: check:react-blocks is a step of Type Check · source gates, green on this head.
  • D7 D2 conversion form-view-modal-size-removed (toMajor 19, retiredFromLoadPath, retiredAfter 18.6.0): right. apply is the spec(view): FormViewSchema drawerSide / drawerWidth are accepted on a form view and read by no form-view surface; the describe says the question "stays open on #27153", which is closed #29012 entry's walk (mapViewPayloads, then the assembled viewItems channel with the same config / flattened / malformed split) plus mapCollection over forms, the stack key stack.zod.ts declares. stripKeys makes it idempotent. expectedNotices: 5 equals the keys removed. It never walks page components, so D4 survives a replay.
  • D8 Registration order: right. The entry sorts by identifier between agentModelProviderRemoved and knowledgeSourceContentFieldsToContent, its import stands directly above its successor's, and order: 4 is one above the highest. No other major-19 entry walks views, viewItems or forms (read: they walk actions, objects, page components, agents, knowledgeSources, permissions), so the order cannot change a result.
  • D9 Registry tables: RETIRED_KEYS_BY_MAJOR[19] gains two rows, step 19 gains one D3 entry and one rationale sentence, file names follow entries/README.md: right.
  • D10 The 18-era fixtures (form-view-drawer-keys-removed, form-view-presentation-types-removed): right, and forced. Every fixture replays through the whole table and must equal its own after; with modalSize left in as the bystander the new entry would strip it. apply is untouched in both files; only the bystander key (tabPosition, columns) and comments move.
  • D11 The 18 D3 entry ui-form-view-type-layout-only, "(sized by modalSize)" to "and choose their own size": right. The package that ships this text refuses the key, so the old clause prescribed a refused key.
  • D12 Liveness: view.json form.modalSize and form.json modalSize go live to dead and keep their rows: right for the tombstone route. The state counts move by exactly one row each (view 75 / 11, form 27 / 6 / 2) and Spec property liveness is green. Each claim of the note holds on the head tree: FormPage.tsx has 0 hits (control submitBehavior: 4); resolveRecordFormModalLayout writes only a derived full; useActionModal.tsx sets modalSize: d.size after a spread that carries no form view; no package outside packages/spec names the key except one lint explanation; examples/ and packages/apps have 0 hits (control: 4 files).
  • D13 authorable-surface/ui.json: two rows gain [RETIRED], nothing else moves: right. A key-level narrowing leaves api-surface and the JSON-schema manifest untouched, and the def still emits.
  • D14 Pins: the join row in retired-key-removal-version.pin.test.ts, the door, conversion and D3 describes, and the tree-scoped absence walk extended to defineForm literals with its own anti-vacuity test: right. The walk reuses the radius the package already declares.

② Semver level

The Clause-②: yes (narrowing) line stands on the PR body and in the changeset, and it is right: published schema narrows.

Metadata-protocol: narrowed is right (a key tombstoned). @objectstack/spec minor is the level that kind takes: at least one package whose published source moves grades minor or above. @objectstack/skills patch is right: one generated row of the published bundle moves and no skill wording is authored. The changeset carries the BREAKING banner, the FROM → TO mapping, the one-line fix and exactly one adr-0087 marker, registered with the conversion id and the D3 id, both added by this diff. Check Changeset, the job that runs the level gate and the adr-0087 registration gate, is green. One sentence of the changeset is wrong on a date: see S1.

③ Boundary flags

  • open_questions: empty. security_findings: none; I found none.
  • Dev flag 1, the docs/qa/platform-checklist/areas/studio-authoring.json view.form row still scores modalSize as a failing row: accepted as a follow-up, but its cited authority is wrong. Seat ruling 7233916166 does not mention the checklist, and nothing carries the deferral except the PR body. See N2.
  • Dev flag 2, the taxonomy comment in ui/packages/types/src/objectql.ts still lists modalSize as spec-aligned: answered by ruling 7233916166 (declined, to keep ui/ out). Accepted deviation; it shares N2's follow-up.
  • Dev flag 3, the PR body's readings block promises seven gate re-runs and the dogfood battery in a comment: answered. Report 7234867735 carries them (126 derived, 126 run; battery exit 0 on this head).
  • Claim, Skills-docs: line: present and true. The only skills/** text naming the key is the generated reference and two eval must_not_contain entries, which stay valid.
  • Claim, serial constraint: still open. feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924 is not merged, and it edits conversions/registry.ts. The merge of main owed before the PR leaves draft moves this head; a merge is neither a pure regeneration nor prose-only, so this record does not carry over. The S1 delta can ride that head. Re-read the header sentence "and applies last" then.
  • Claim, hotcrm: main authors the key six times, each under a container's default form, on spec 18.6.0. They meet the refusal at 19 and os migrate meta --from 18 --write deletes them. The claim routes them to hotcrm#2840. See S1 for what those six lose and when.
  • Claim, form.subforms: out of this PR, on decision card [Decision] Form view subforms has no reader since #36425: retire it (ADR-0035 layer removed), or build child-row tables into the named and public form page #38140. Not touched by the diff.
  • Escalated to the Tier H approver, not graded: the ruling of record for "retire" is the seat's, on the claim, and it argues from the missing reader. The playbook's test for a declared key with no consumer is whether a mainstream platform has the capability (maintainer ruling 5727134555), and the card does not record that test. My reading under ④ is that it passes.
  • SQL push-down: not applicable. The diff adds no query, no id materialisation and no in-app join.
  • PR author is the fleet relay account; no off-relay login to name.

④ Design judgment

The narrowing itself, against the published spec on main. main declares modalSize as "the dialog a caller opens this form in: the console's New / Edit dialog, or the modal container of the React ObjectForm block". Neither caller reads a form view on this tree. The record dialog builds its schema from the object (AppContent.tsx, resolveRecordFormModalLayout); a type: 'form' action routes to /forms/NAME (ActionRunner.executeForm); FormPage.tsx never names the key; the Studio canvas (buildFormPreviewSchema) and plugin-view's form slot copy keys one by one and omit it; the block takes it as its own prop. So the PR takes no delivered capability away at a consumer: the delivery ended with #36425, whose changeset lists modalSize among what stops steering, and ADR-0050 already made a form's container the caller's concern. Retiring the declaration is the allowed route, and the block-level prop keeps the one live reader. The design holds. I could not break the door set, the conversion's reach or the fixture disjointness.

Per file: view.zod.ts holds (D1, D2). react-blocks.ts and the generated reference hold (D5, D6). The conversion and registry.ts hold (D7, D8). The two retired-key files and the template sentence hold (D9). The two 18 fixtures and the 18 D3 entry hold (D10, D11). The 19 D3 entry holds except for S1.

S1 (should-fix) — packages/spec/src/migrations/entries/semantic/19.ui-form-view-modal-size-retired.ts, reason: "That dialog stopped loading a form view in 18 (the semantic entry internal-record-forms-not-loaded) ... a stored value saved, served and changed nothing." That is false for every released 18.x. At tag @objectstack/spec@18.6.0 (commit 958ee03, 2026-11-18) recordFormNavigation.ts copies a form view's modalSize and AppContent.tsx lets the authored value win over the derived size. PR #36543 merged on 2026-11-22, 625 commits after that tag, and packages/spec/CHANGELOG.md lists it under 19.0.0-next.0. 18.6.0 is this entry's own retiredAfter and the release hotcrm main runs with six authored values. It matters because of who reads the entry: os migrate meta --from 18 composes the steps above 18 (packages/cli/src/commands/migrate/meta.ts), so an 18.6.0 app reads step 19 and never internal-record-forms-not-loaded, which sits in step 18. This entry is then the step-19 chain's only word on the dialog size that app loses, and it says the loss predates the upgrade. The same misdating is in the conversion's TSDoc ("stopped loading a form view in 18 (#36425)") and in the changeset ("Since 18 that dialog loads no form view ... drawn exactly as one without it"). Fix: date the end of the read to 19.0.0, name internal-record-forms-not-loaded as the protocol-18 entry that records it, and say that on 18.x the dialog took the authored size, so a form that carried the key opens at the derived size after the upgrade. The changeset sentence is a prose-face fix; the two .ts sites move the head. The tombstone message, the conversion summary and the step-19 rationale carry no date and stand.

N1 (nit) — at the form item door the refusal names view.form.modalSize to an author who wrote the key in defineForm. It follows from the by-reference shape, and the #29012 keys read the same there. Accepted deviation.

N2 (nit) — the two deferred edits (the QA checklist row and the ui/ taxonomy comment) have no card; "noted, not filed" leaves them on the PR body alone. One follow-up card, filed by the seat.

N3 (nit) — packages/lint/src/rule-explanations.ts (form-view-internal-not-loaded) and the 18 D3 entry internal-record-forms-not-loaded still list modalSize among keys that steer nothing. True as written; at 19 the key no longer parses, so the rule never meets it. Left as is.

No must-fix. One should-fix, S1, open on this head.

Implemented-by: claude/project-thread-ldkc9v
Reviewed-by: session_01L9qibwSEecrzDjKjbk24r1

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1

The brief the contract reviewer above was handed, filled, for the seat to read before it adopts the record:

Contract review brief — PR #38168 @ fa4a7b40cafee1ab0ae8a64a7e6d7a86a3da932b (card #36544)

You review at CONTRACT_REVIEW_TIER. Render ONE ## Contract review record on this head — its shape is
node scripts/pm/record-recognisers.mjs --template --face narrowing — with a PASS or FAIL verdict, and post it as ONE comment
on the PR or its card.

Inputs — these and nothing else:
· card #36544: its body and EVERY comment (rulings and earlier records included)
· PR #38168: its body, its file list, and the net diff against main at fa4a7b40cafee1ab0ae8a64a7e6d7a86a3da932b
· the check-runs on fa4a7b40cafee1ab0ae8a64a7e6d7a86a3da932b: their conclusions ARE the gate verdicts
⛔ Not the dispatch order, ⛔ not the dispatching seat's own conclusions — this brief is adversarial by design.

Scope — the narrowing is declared of the whole PR, never of a path: the floor is EVERY path of the diff outside the
prose faces (.changeset/36544-form-view-modal-size-retired.md, content/docs/references/api/protocol.mdx, content/docs/references/ui/view.mdx), plus every file those hunks make a claim about, read in the cited code.
Widen it freely, ⛔ never below that floor; the record's Scope: line lists both. No path is the lane seat's remainder.
④ judges the narrowing itself over that floor: lockfiles, generated output, changesets and prose elsewhere in
the PR are not reviewed; the published spec and the cited code are READ to judge it, never reviewed.

⛔ READ-ONLY. No worktree, no checkout, no build, no test run, no gate re-run, no ablation: the check-runs
on the head already answered every derived gate family, and a local run costs more than it returns.
If ONE probe is unavoidable, the record's Local-runs: line says probe — REASON; otherwise none.
Scratch space is /tmp/claude-0/-home-user/166e2125-4268-552f-a555-2b7c43a99f0f/scratchpad/pr-38168/ alone; nothing there you did not write this round is read.

Judge, in the record's own sections:
① Derived judgments — every accept-set and public-surface change the diff implies, each named right or wrong.
② Semver level — the changeset (or skip-changeset) matches what the diff publishes, and the Clause-②: line.
③ Boundary flags — every dev flag and every open_questions entry answered, or escalated.
On every face, SQL push-down: a new id materialisation or in-app join where SQL could push down is a
finding unless a reason is given (AGENTS.md, Prime Directive 5: SQL first).
④ Design judgment — the narrowing itself, read against the published spec on main: does it take a
declared capability away at the consumer, or make the spec's own refusal real? A capability declared
and not delivered is an implementation gap, implemented or retired, ⛔ never narrowed at the consumer.
Read the spec and the cited code in the live tree, and try to break the design.
Grade each finding must-fix, should-fix or nit — a nit has no effect on correctness or the contract.
A must-fix is a FAIL; a must-fix or should-fix earns a delta review of its fix; nits alone end the round.
Spell a must-fix or should-fix with its id and grade, S1 (should-fix) — …, and a clean round as
No must-fix, no should-fix.: the queue guard reads a graded finding as OPEN on this head and
refuses the record; the delta record names those it closes by id alone, S1: closed.
A nit is fixed only on the prose faces, or left as an accepted deviation or a follow-up card: a fix
anywhere else moves the head, and this record no longer covers it.
⛔ Judge the tree, never the PR body's account of it.
Sign Implemented-by: with the dev's branch and Reviewed-by: with your session id — the value is the FIRST
thing after each colon.

…m-view read to 19.0.0

Through 18.6.0 the console's New / Edit dialog opened at a form view's
authored modalSize. It stopped loading a form view at 19.0.0. The D3 entry,
the conversion's doc comment and the changeset said "in 18", which told an
app upgrading from 18.x that it loses nothing. They now say the dialog opens
at the size it chooses after the upgrade, and that no key restores the
authored size.

Claude-Session: https://claude.ai/code/session_01L9qibyCTygnt62jKN3Wmxu
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1
2026-11-28T06:05Z

L1-a: REWORK at fa4a7b40ca, for the L2 should-fix S1. The contract record is 7235062576 and its brief is 7235075480.

  • The face is contract tier. This is a published-schema retirement (FormViewSchema.modalSize, two retired-key rows, a D2 conversion and a D3 entry) and a declared narrowing (! and Clause-②: yes (narrowing)). It also regenerates skills/objectstack-ui/references/react-blocks.md. It is Tier H.
  • I confirmed S1. The last 18.x, @objectstack/spec@18.6.0 (958ee035), was cut on 2026-11-18. PR feat(console)!: record create and edit stop loading internal forms; a field's Show on create switch #36543, which stopped the console's New and Edit dialogs loading a form view, merged on 2026-11-22. So on every released 18.x the authored modalSize still sized that dialog.
    • The D3 reason says the dialog stopped loading a form view "in 18". The conversion TSDoc and the changeset say the same.
    • os migrate meta --from 18 only shows steps above 18. So this entry is the only text an 18.6.0 app (hotcrm main, six authored values) reads about the change, and it tells them the effect predates their upgrade.
    • Please date the end of the read to 19.0.0, and say that on 18.x the dialog took the authored size. Fix it in the D3 entry, the conversion TSDoc and the changeset.
  • The rest held in the record, and I spot-read it:
    • no form-view reader of modalSize is left in the tree;
    • the ObjectForm block keeps its own prop through the react-blocks.ts overlay;
    • the ui/Form:modalSize row covers the form item door;
    • the D2 order is 4, by identifier;
    • both ledger rows go live → dead, and each state count moves by one;
    • the generated skills file matches its generator.
  • Nits.
  • Flags for the seat and the approver.
    • The head will move again when feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924 lands: conversions/registry.ts gets a merge and an ordering. That merge is not pure regeneration, so this record does not carry over to it. The S1 fix can ride that same head, and then one delta covers both, by the same reviewer.
    • The record escalates to the Tier H approver, without grading it, the "mainstream platform has it" test for the retire ruling (maintainer ruling 5727134555).
    • CI at this head: 60 success, 10 skipped, 0 failed. Dogfood is recorded at fa4a7b40, and the narrowing will owe it again on the landing head.

…rm-modal-size-retired

# Conflicts:
#	packages/spec/src/conversions/registry.ts
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1

Contract-review-claim: session_01L9qibwSEecrzDjKjbk24r1 · head e17b04f · 2026-11-28T07:49Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1
2026-11-28T08:25Z

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: e17b04f7a7f7848c8fb41d55943552da8d0ccf6d
Local-runs: none
Scope: packages/spec/src/conversions/entries/18/form-view-drawer-keys-removed.ts, packages/spec/src/conversions/entries/18/form-view-presentation-types-removed.ts, packages/spec/src/conversions/entries/19/form-view-modal-size-removed.ts, packages/spec/src/conversions/registry.ts, packages/spec/src/migrations/entries/retired-keys/19.ui__FormView__modalSize.ts, packages/spec/src/migrations/entries/retired-keys/19.ui__Form__modalSize.ts, packages/spec/src/migrations/entries/semantic/18.ui-form-view-type-layout-only.ts, packages/spec/src/migrations/entries/semantic/19.ui-form-view-modal-size-retired.ts, packages/spec/src/migrations/registry.ts.template, packages/spec/src/ui/react-blocks.ts, packages/spec/src/ui/view.zod.ts, skills/objectstack-ui/references/react-blocks.md + in the diff: packages/spec/authorable-surface/ui.json, packages/spec/liveness/form.json, packages/spec/liveness/view.json, packages/spec/liveness/state-counts/form.md, packages/spec/liveness/state-counts/view.md, packages/spec/src/shared/retired-key-removal-version.pin.test.ts, packages/spec/src/ui/form-view-drawer-keys-retirement.test.ts, packages/spec/src/ui/form-view-type-layout-retirement.test.ts; read, never reviewed: packages/spec/src/conversions/entries/19/action-type-ask-ai-removed.ts, packages/spec/src/conversions/action-type-ask-ai-removed.test.ts, packages/spec/src/conversions/apply.ts, packages/spec/src/conversions/stored.ts, packages/spec/src/conversions/types.ts, packages/spec/src/conversions/walk.ts, packages/spec/src/conversions/entries/shared.ts, packages/spec/src/migrations/chain.ts, packages/spec/src/migrations/entries/semantic/18.internal-record-forms-not-loaded.ts, packages/spec/src/ui/component.zod.ts, packages/spec/src/stack.zod.ts, packages/spec/scripts/build-react-blocks-contract.ts, packages/cli/src/commands/migrate/meta.ts, packages/lint/src/rule-explanations.ts, ui/packages/core/src/actions/ActionRunner.ts, ui/packages/auth/src/tests/AuthProvider.test.tsx, and the rest of the read list of record 7235062576
Security-touching: no

Why no: no changed hunk teaches permission, sharing, credential, token or authentication behaviour, and the delta adds none. The one skills hunk is the same generated row as before. The PR is Tier H in any case (a skills/** path beside published schema).

DELTA review from fa4a7b40cafee1ab0ae8a64a7e6d7a86a3da932b (record 7235062576: PASS, should-fix S1, nits N1, N2 and N3) to this head.

Inputs read: the head's history (fa4a7b4, then 067eaa9, then e17b04f, a merge of main 9609c13, no rebase); the diff 067eaa9 to the head over the PR's 23 files; the net diff of the head against 9609c13; the 26 commits main gained between 581ae76 and 9609c13; card #36544 (six comments, none after 05:45Z) and PR #38168 (comments to 7236191929, no review); the 70 latest check-runs on the head, final at 08:21Z: 56 success, 10 skipped, 4 failed, 0 pending.

① Derived judgments

D1 to D14 of record 7235062576 stand. 18 of the 23 files are byte-identical to the head that record judged, and the net diff against 9609c13 is the same 23 files (628 insertions, 77 deletions). What moved:

  • E1 The S1 fix (067eaa9, three files) is text only: right. It changes the D3 reason and acceptanceCriteria, the conversion's TSDoc and the changeset. No schema, no apply, no registry row and no fixture moves, so the accept set is the one D1 to D3 judged. The pin that the reason names form-view-modal-size-removed still holds.
  • E2 The merge of registry.ts: right. Against 9609c13 the file gains one import line, one list entry and one comment paragraph. The list stays sorted by identifier (actionLocationsActedOn, actionTypeAskAiRemoved at 2.5, agentModelProviderRemoved, formViewModalSizeRemoved at 4, then the three knowledge-source entries and the permission entry), the import sits in the same order, and 4 is still one above the highest order of the major. Applied order by inApplicationOrder: the two entries at 1, the two at 2, action-type-ask-ai-removed at 2.5, the two at 3, then form-view-modal-size-removed.
  • E3 The rewritten head comment: true as written. I tried to break each of its three claims.
    • "writes form payloads only, which no other entry of this major writes": holds. The other seven entries write actions, objects[].actions, page components, agents, knowledgeSources and permissions. action-type-ask-ai-removed reaches a page through removePageComponents and mapPageComponents and never a views, viewItems or forms payload.
    • "One entry READS them": holds. Over sources keep(action) is namedStrings(stack).has(action.name), and namedStrings collects every string value of the stack outside the declared ask_ai entries, so a form's modalSize value is in the set. No other entry of the major reads a form payload.
    • "It applies before this delete, so such a value still counts there, and that is its conservative side": holds on both composition paths. applyMetaMigrations (migrations/chain.ts) and applyConversions both walk the major in ascending order, so 2.5 reads before 4 writes. The sources path passes no context, so atRest is unset and the name test runs; the kept action stays for the author, which is the side action-type-ask-ai-removed documents as conservative. At rest (includeRetired) that entry deletes every ask_ai action and reads no name, so the two entries do not meet there. See N4 for the one effect I found.
  • E4 What main brought in (581ae76 to 9609c13) on the surfaces this PR stands on: nothing that moves a judgment. conversions/apply.ts now sets atRest from includeRetired, and this entry ignores the context. applyConversionsToStoredItem may now answer no item when a chain empties the collection; this entry deletes a key and never an item, and the PR's stored-row tests still type-check (TypeScript Type Check and Type Check · workspace green). walk.ts gains removePageComponents; mapViewPayloads and mapCollection are untouched. retired-key-removal-version.pin.test.ts auto-merged and carries both JOIN rows. component.zod.ts moved for ask_ai rows only; ObjectFormPropsSchema is untouched, so D4 stands. main did not touch ui/view.zod.ts, ui/react-blocks.ts, the react-blocks generator, the liveness ledgers, the authorable-surface baseline, registry.ts.template, skills/objectstack-ui/references, stack.zod.ts or either docs page of the diff.
  • E5 Regenerated artifacts are current: right. No input of a generated file moved on main, and the gates that compare them are green on this head: Type Check · source gates (which runs check:react-blocks, the docs checks and the authorable-surface families), Spec property liveness and Check Changeset.
  • E6 The spec suite on this head: Test Core (2/10) ran @objectstack/spec green, 910 files and 28851 tests passed.
  • E7 Drift in the files the first record only read: of the cited ui/ files main changed ActionRunner.ts alone (the ask_ai executor left); form still maps to executeForm and that still routes to /forms/NAME. The modalSize census of the tree equals the one at fa4a7b4 except this PR's own changeset and registry.ts. The design reading under ④ of that record is unchanged.

② Semver level

Unchanged and right. The Clause-②: yes (narrowing) line stands on the PR body and in the changeset. Metadata-protocol: narrowed, @objectstack/spec minor and @objectstack/skills patch are the levels the first record judged; the changeset still carries the BREAKING banner, the FROM → TO mapping, the one-line fix and exactly one adr-0087 marker, and it gains a "Coming from 18.x" bullet that states the size an upgrading app loses. Check Changeset is green on this head.

③ Boundary flags

  • Check-runs, final at 08:21Z: 70 latest runs, 56 success, 10 skipped, 4 failed, 0 pending. The four are two red shards and the two aggregate jobs over them (Test UI, Test Core). Neither red is in this diff:
    • Test UI (11/16), job 140912605438, step "Run the ui tests (shard 11/16)": packages/auth/src/__tests__/AuthProvider.test.tsx, "a name save keeps the id and the email, takes the new name, and remounts nothing", AssertionError: expected 2 to be 1 at line 693 (1 failed, 5800 passed). The PR touches nothing under ui/: the ui tree of the head and of 9609c13 is the same object (4c22b8e9), and that shard is green on 9609c13 and was green on fa4a7b4. The assertion compares a mount count read after a waitFor on text, which reads as a timing race in the test.
    • Test Core (6/10), job 140911671116, step "Run this shard's tests": @objectstack/plugin-approvals, src/stranded-request-inspection.test.ts, "an older strand outside the newest window is reached by the cursor within a bounded number of sweeps", Error: Test timed out in 5000ms. (1 failed, 1978 passed). The PR touches no file of that package, main did not change the package between 581ae76 and 9609c13, and the shard is green on 9609c13 and was green on fa4a7b4.
    • The merge-base exception does not apply to either: both shards are green on 9609c13, so there is no same-signature red to discount. The landing rule wants every PR check green, so the two failed jobs owe a re-run by the seat. A re-run does not move the head, and this record holds for it. I re-ran nothing, so "flake" is my reading and the re-run is the proof. I found no open card for either test; if either reddens again it wants one.
  • Dogfood and report at this head: none posted. Card Ledger: form view modalSize keeps live after #36425 deleted its only named reader — re-audit (enforce-or-remove) #36544 has no comment after the os-dev-report 7234867735 (05:45Z, measured on fa4a7b4), and the PR has none after the review claim 7236191929. The title carries !, so the battery is owed on the landing head, and the 126 derived gates want their reading on e17b04f too. The PR body's readings block still names fa4a7b4 and base 581ae76.
  • Serial constraint: cleared. feat(spec)!: retire the ask_ai action type (ADR-0160 D7) #37924 merged as 9609c13 and is in this head. main has since moved two commits to 1208460 (a data-objectstack fix and a changelog correction); neither touches a path of this diff or a conversion.
  • PR state: draft, mergeable_state blocked, no review. Tier H, so the maintainer's approval is still owed.
  • Dev flags 1 and 2 of the first record (the QA checklist view.form row and the taxonomy comment in ui/packages/types/src/objectql.ts): now carried by card follow-up of #36544: after FormView modalSize retires, update the QA checklist view.form row and the @object-ui/types taxonomy comment #38191, open. See N2.
  • Carried unchanged: the hotcrm six on spec 18.6.0 go to hotcrm#2840, and the D3 entry now tells them what they lose; form.subforms stays on [Decision] Form view subforms has no reader since #36425: retire it (ADR-0035 layer removed), or build child-row tables into the named and public form page #38140; the question for the Tier H approver stands (the retire ruling argues from the missing reader, and the card does not record the mainstream-platform test of ruling 5727134555).
  • open_questions: empty. security_findings: none; I found none.
  • SQL push-down: not applicable. The delta adds no query, no id materialisation and no in-app join.
  • PR author is the fleet relay account; no off-relay login to name.

④ Design judgment

The design holds as the first record judged it, and the merge does not change it: no other entry of the major writes what this one writes, so its place in the order decides no result of its own.

No must-fix. No should-fix. Three nits carried, two new.

  • N1 (nit, carried) at the form item door the refusal names view.form.modalSize to an author who wrote the key in defineForm. Accepted deviation, unchanged.
  • N2 (nit, answered) the two deferred edits now have a card, follow-up of #36544: after FormView modalSize retires, update the QA checklist view.form row and the @object-ui/types taxonomy comment #38191. Nothing left on this PR.
  • N3 (nit, carried) packages/lint/src/rule-explanations.ts and the 18 D3 entry internal-record-forms-not-loaded still list modalSize among keys that steer nothing. Left as is.
  • N4 (nit, new) one effect of E3. Over sources, a declared ask_ai action whose name equals a form's modalSize value (sm, default, lg, xl or full) and that nothing else names is kept by the first os migrate meta --write; this entry then deletes the value, and a second pass deletes the action. So action-type-ask-ai-removed's line "a kept one is kept again for the same reference" does not hold across the chain in that case. main already has the same property between that entry and the two entries at order 3, which also rewrite or delete strings after it reads. The first pass errs toward keeping, no pass loses authored data that still parses, and the head comment says which side it errs on. Nothing to change here.
  • N5 (nit, new) tense. The changeset says "So on 19 a form view saved with modalSize: 'lg' is accepted, served and drawn exactly as one without it", and the D3 reason says "from 19.0.0 a stored value saves, is served and changes nothing"; the conversion's TSDoc says the same of a stored modalSize: 'lg'. All three describe 19 without this removal; with it, 19.0.0 refuses the save. The surrounding text makes the meaning clear. If the changeset is touched again, "would be accepted" reads better; the two .ts sites are not worth a head move.

Implemented-by: claude/project-thread-ldkc9v
Reviewed-by: session_01L9qibwSEecrzDjKjbk24r1

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
2026-11-28T08:26Z · 席位判定:run 46122845589 的两个红 job 按 flake 处理,重跑失败 job 一次

  • Test UI (11/16),job 140912605438:AuthProvider.test.tsx 重挂载计数 expected 2 to be 1。
  • Test Core (6/10),job 140911671116:@objectstack/plugin-approvals › src/stranded-request-inspection.test.ts ›「an older strand outside the newest window is reached by the cursor within a bounded number of sweeps」,Test timed out in 5000ms(1 failed, 1978 passed)。

理由:本 PR(head e17b04f)不碰这两个文件所在的包;plugin-approvals 在 581ae76..9609c13 之间没有提交;两个分片在 fa4a7b4 与 9609c13 上都是绿的;失败形态是时序(超时、重挂载计数),不是断言内容不符。重跑只做一次,再红即按真红处理,由卡线程排查。

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1
2026-11-28T10:13Z

L1-a ACCEPT at e17b04f7a7f7848c8fb41d55943552da8d0ccf6d. This replaces my REWORK at fa4a7b4, which asked for S1.

  • Contract. Delta record 7236573514 is a CONTRACT_REVIEW_TIER PASS at this head with S1 closed, and it carries no must-fix and no should-fix. The D3 reason, the conversion TSDoc and the changeset now say the dialog kept the authored size through 18.6.0 and stopped loading a form view at 19.0.0. That matches the release reading I checked for S1: 18.6.0 (958ee03, 11-18) does not contain feat(console)!: record create and edit stop loading internal forms; a field's Show on create switch #36543 (11-22). The registry.ts merge keeps MAJOR_19_CONVERSIONS in identifier order with this entry at 4. Its new head comment, that action-type-ask-ai-removed reads form payloads before this delete, holds by the record's E3.
  • Readings at this head (os-dev-report 7237741998).
    • Dogfood battery: full, unsharded, under the verify lock. VERDICT command-exit 0. Test Files 491 passed and 3 skipped; Tests 4148 passed and 68 skipped; no failure. That pays the battery the ! narrowing owes on this head.
    • Gates: dispatch-gates --ran derived 126 and ran 126, every one exit 0, with 0 NOT-MEASURED and 0 UNRUN. The discarded sweep on a half-built dist is reported and not counted.
    • Spec: typecheck 0; tests 911 files, 28853 passed; test:repo 94 files, 1604 passed; check:generated reports all 14 artifacts current.
  • CI at this head: 70 latest check-runs, 60 success, 10 skipped, 0 failed, 0 pending. The two first-attempt reds, Test UI 11/16 (AuthProvider) and Test Core 6/10 (plugin-approvals timeout), were in packages this diff does not touch. Both went green on the one re-run of run 46122845589. The rationale is in 7236583500.
  • Nits carried: N1, N3, N4 and N5 of 7236573514, as written. N2 moved to follow-up of #36544: after FormView modalSize retires, update the QA checklist view.form row and the @object-ui/types taxonomy comment #38191. N5 (the changeset's "is accepted") is taken only if the changeset is touched again.
  • For the seat. The PR body's readings block still names fa4a7b4, and the maintainer summary's first line predates S1. It needs your signed patch before the hand-off.
  • Next. Tier H. The head will move to a main-only merge, and dogfood re-runs there. Then the same reviewer and I take a merge delta, and after that the seat hands off to the maintainer. The Tier H approver's open question from the record (the "mainstream platform" test of ruling 5727134555) stands.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1
2026-11-28T12:06Z

Contract-review-claim: session_01L9qibwSEecrzDjKjbk24r1 · head 953a774 · 2026-11-28T12:06Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1
2026-11-28T12:14Z

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 953a77454ec5fc166168f237f4d1f71cacd97323
Local-runs: none
Scope: packages/spec/src/conversions/entries/18/form-view-drawer-keys-removed.ts, packages/spec/src/conversions/entries/18/form-view-presentation-types-removed.ts, packages/spec/src/conversions/entries/19/form-view-modal-size-removed.ts, packages/spec/src/conversions/registry.ts, packages/spec/src/migrations/entries/retired-keys/19.ui__FormView__modalSize.ts, packages/spec/src/migrations/entries/retired-keys/19.ui__Form__modalSize.ts, packages/spec/src/migrations/entries/semantic/18.ui-form-view-type-layout-only.ts, packages/spec/src/migrations/entries/semantic/19.ui-form-view-modal-size-retired.ts, packages/spec/src/migrations/registry.ts.template, packages/spec/src/ui/react-blocks.ts, packages/spec/src/ui/view.zod.ts, skills/objectstack-ui/references/react-blocks.md + in the diff: packages/spec/authorable-surface/ui.json, packages/spec/liveness/form.json, packages/spec/liveness/view.json, packages/spec/liveness/state-counts/form.md, packages/spec/liveness/state-counts/view.md, packages/spec/src/shared/retired-key-removal-version.pin.test.ts, packages/spec/src/ui/form-view-drawer-keys-retirement.test.ts, packages/spec/src/ui/form-view-type-layout-retirement.test.ts; read, never reviewed: packages/spec/src/migrations/entries/semantic/19.chart-series-measure-format-carrier-refused.ts, packages/spec/src/migrations/entries/semantic/18.internal-record-forms-not-loaded.ts, content/docs/releases/v19/index.mdx, content/docs/frontend/plugins/plugin-form.mdx, and the read lists of records 7235062576 and 7236573514
Security-touching: no

Why no: no changed hunk teaches permission, sharing, credential, token or authentication behaviour, and this head adds no hunk to the PR's diff. The PR is Tier H in any case (a skills/** path beside published schema).

DELTA review from e17b04f7a7f7848c8fb41d55943552da8d0ccf6d (record 7236573514: PASS, nits N1 to N5) to this head.

Inputs read: the merge commit and both parents; the net diff of this head against main e42520c and of e17b04f against 9609c13; the 33 commits and 185 files main gained between 9609c13 and e42520c, through the compare API and the two trees; card #36544 with all eight comments, the last being os-dev-report 7238963623; PR #38168, its body as patched, its comments to the review claim 7239000963, no review; the 74 check-runs on this head.

① Derived judgments

D1 to D14 of record 7235062576 and E1 to E7 of record 7236573514 stand. What I measured on this head:

  • M1 The merge is mechanical against the PR's 23 files: right. 953a774 has two parents, e17b04f and e42520c, and no other commit sits between the reviewed head and this one. Each of the 23 files is byte-identical to its blob at e17b04f (the diff between the two heads over those paths is empty). main changed none of the 23 between 9609c13 and e42520c. Both net diffs are 23 files, 628 insertions and 77 deletions, with the same stable patch id (31a2aa37), and the combined diff of the merge is empty, so nothing was resolved by hand.
  • M2 MAJOR_19_CONVERSIONS is untouched by the merge: main added no conversion in this window, so the order E2 judged and the head comment E3 judged read against the same list.
  • M3 What main brought in, on the surfaces the two records stand on: nothing that moves a judgment.
    • One new major-19 D3 entry, chart-series-measure-format-carrier-refused: a file of its own, no conversion, no form surface. Step 19 concatenates one file per entry, so it meets this PR's entry nowhere, and the template sentence this PR adds is intact.
    • scripts/check-adr-0087-registration.mjs changed twice (how a type body is told from a header). The gate ran on this head inside Check Changeset and is green, so the one adr-0087 marker still registers under the newer gate.
    • skills/objectstack-ui/SKILL.md and two of its rule pages changed (the ask_ai row of the action-type table, dashboards). None of those hunks names modalSize, so the Skills-docs: claim holds.
    • content/docs/releases/v19/index.mdx gained one late entry by hand. The page says of the protocol-19 step that "a later prerelease may add more, and os migrate meta lists them", so this PR owes it no line; the ask_ai retirement is not on it either.
    • Not touched in the window: ui/view.zod.ts, ui/react-blocks.ts, ui/component.zod.ts, stack.zod.ts, every file under conversions/, the react-blocks generator, the liveness ledgers, the authorable-surface baseline, packages/cli/src/commands/migrate/meta.ts, and every ui/ file the first record cited. SchemaForm.tsx and the served type schemas (packages/metadata-protocol) moved for other reasons, and neither names the key.
    • The modalSize census of the tree is the same file list with the same counts as at e17b04f.
  • M4 Regenerated artifacts are current: right. No input of a generated file moved, and Type Check · source gates, Spec property liveness and Check Changeset are green on this head.
  • M5 The spec suite on this head in CI: Test Core (2/10), 910 files passed and 1 skipped, 28852 tests passed, 1 skipped, 1 todo; test:repo 94 files, 1604 tests. That is one test more than at e17b04f; main added spec tests in this window and this PR added none.

② Semver level

Unchanged and right. The changeset is byte-identical to the one judged. The Clause-②: yes (narrowing) line stands on the PR body and in the changeset, with Metadata-protocol: narrowed, @objectstack/spec minor, @objectstack/skills patch and exactly one adr-0087 marker. Check Changeset is green on this head.

③ Boundary flags

④ Design judgment

The design holds as the first record judged it. This head changes no file of the diff, and nothing main brought in reads or writes a form view's modalSize, a form payload, or the order of the major-19 conversions. S1 of record 7235062576 stays closed: the three texts that closed it are byte-identical here.

No must-fix. No should-fix. Four nits carried, one answered, one new.

Implemented-by: claude/project-thread-ldkc9v
Reviewed-by: session_01L9qibwSEecrzDjKjbk24r1

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1
2026-11-28T12:16Z

L1-a merge delta: ACCEPT at 953a77454ec5fc166168f237f4d1f71cacd97323. It follows my content ACCEPT 7237757391 at e17b04f7. The new head merges main e42520c into e17b04f and adds nothing else.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

Recorded 2026-11-28T12:19Z.

维护者速读

席位意见:可以合。

席位核对 — ACCEPT · repo:objectstack#3 · head 953a77454ec5fc166168f237f4d1f71cacd97323

  1. 形态:Fixes #36544;23 个文件 +628 / −77;! 破坏性收窄,@objectstack/spec major(19),带 ADR-0087 迁移条目和转换,hotcrm 里的写法交 hotcrm#2840;form.subforms 不在本 PR,见决策卡 [Decision] Form view subforms has no reader since #36425: retire it (ADR-0035 layer removed), or build child-row tables into the named and public form page #38140。
  2. 审查:L2 CONTRACT_REVIEW_TIER:7235062576(fa4a7b40)、7236573514(e17b04f7,S1 已关)、合 main 增量 PASS 7239105628(本 head,同一审核者,档位已核)。L1-a:ACCEPT 7237757391(e17b04f7),合 main 增量 ACCEPT 7239117449(本 head)。
  3. 合 main:953a7745 = e17b04f + origin/main e42520c,只合并、无冲突;合并前后净 diff 的 patch-id 都是 31a2aa37,--cc 为空,23 个文件逐字相同。
  4. dogfood:os-dev-report 7238963623,dogfood_battery 以 953a77454ec5 开头。全量 exit 0:491 个文件、4148 个测试通过。126/126 门禁 exit 0,0 个未跑。spec 28854 通过。CI 74 项,0 失败。
  5. 接受的偏差:两处未改项(QA 清单的 view.form 行、objectql.ts 的分类注释)由 follow-up of #36544: after FormView modalSize retires, update the QA checklist view.form row and the @object-ui/types taxonomy comment #38191 承接。正文按 N6 改过,读数块已换成本 head 的实测数字,head 未动。
  6. 落地条款:Tier H ⇒ GOVERNED_APPROVERS(os-zhuang)批准后,本席合 main、在落地 head 重跑 dogfood(! 要求 dogfood_battery 以落地 head 开头),再照落地前检落地;head 再动就重新判。

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

Tier H approval request at 2026-11-28T12:20Z. Seat record: the newest ## 席位核对 above (ACCEPT, Head-sha: 953a77454ec5fc166168f237f4d1f71cacd97323). L2 merge delta PASS 7239105628 (CONTRACT_REVIEW_TIER, same reviewer) and L1-a merge delta ACCEPT 7239117449 on this head. The merge is mechanical (patch-id 31a2aa37). Dogfood report 7238963623 opens with this head. Open for the approver: ruling 5727134555's mainstream-platform test for the retire route. The seat's reading, in the brief, is that it passes.

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 28, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 28, 2026 12:25
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 28, 2026
Merged via the queue into main with commit 4997cae Nov 28, 2026
84 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-ldkc9v branch November 28, 2026 13:13
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 pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue protocol:ui size/l tests 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.

Ledger: form view modalSize keeps live after #36425 deleted its only named reader — re-audit (enforce-or-remove)

3 participants