Repository navigation
docs(adr): ADR-0035 and ADR-0050 wording after the form view's subforms retirement (#39181) - #39184
Conversation
…ms retirement Three corrections to the 2026-12-02 notes that record the retirement of a form view's `subforms`. No decision changes. - ADR-0035, note under "Where derivation is wired": it now names the fourth host of the superseded paragraph. `ObjectView` still forwards its own node's `form.subforms` to the `ObjectForm` it opens, and no `object-view` node the console builds sets that slot. - ADR-0035 (note under the layered-surface table) and ADR-0050 (note under Decision 4): the retirement keeps the React `ObjectForm` block's `subforms` prop, whose declaration moved into the block's overlay in react-blocks.ts. Both notes said the retirement "does not touch" it. - ADR-0035, layered-surface table: the retired middle row is struck through in place, and the note under the table says so. Claude-Session: https://claude.ai/code/session_01Utp6CZeCkT93n99ExEFRm3 Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd Contract reviewServed-tier: Face: rules (governed path ① Derived judgments
② Semver levelNo changeset, with the
③ Boundary flags
④ Design judgmentNo must-fix. No should-fix. Two nits. Each changed sentence was checked against the code it cites on docs/adr/0035-config-driven-master-detail.md. Holds. P1, the three sentences added to the note under "Where derivation is wired":
P2, "keeps" in place of "does not touch", in the note under the layered-surface table:
P3, the table row:
docs/adr/0050-form-layout-vs-presentation.md. Holds.
Nits, neither of which changes the contract:
Both nits are accepted as they stand. This is the final round for this head. Implemented-by: VERDICT: PASS |
|
repo:objectstack@os-bill · os-bill · session_01Utp6CZEr4GH7Lm6aJcpZW5 席位核对L1 verdict: ACCEPT · zone forms-38140 of seat
|
|
repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd 维护者速读
席位核对ACCEPT · head
|
|
repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd 维护者速读
Review requested · 2026-12-02T22:58Z · Tier H ( |
|
repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd Merged · 2026-12-03T00:26Z · approved and merged; |
Requested by Bill · project thread
Fixes #39181
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
Two design records, 15 lines added and 7 removed. All three edits correct the dated notes that the earlier amendment (#39071, card #38140) added on 2026-12-02. They are the three nits its contract review recorded (record 7338015170, N1 to N3), carried on this card as P1 to P3. No decision changes, and both
**Status**:lines are untouched.P1. ADR-0035, the note under "Where derivation is wired": the fourth host. The paragraph that note supersedes lists four form hosts. The note accounted for three and said nothing of "
ObjectView's own form". Three sentences are appended to it. They say thatObjectViewstill forwards thesubformsof its own node'sformslot to theObjectFormit opens, that this slot is the objectui node's own (typed fromObjectFormSchema, which keeps the prop) and not a form view's key, and that none of theobject-viewnodes the console builds sets it.P2. Both records: "keeps", where they said "does not touch". The note under ADR-0035's layered-surface table and the note under ADR-0050's Decision 4 both said the retirement "does not touch" the React
ObjectFormblock'ssubformsprop. The retirement did move its declaration: #39061 tooksubformsout of the block'sdataProps, which publish members of the form view's schema, and declared it in the block's overlay. Both notes now say the retirement keeps the prop, and that its declaration moved off the form view's schema into the block's own overlay inpackages/spec/src/ui/react-blocks.ts. The parenthesis "(declared inpackages/spec/src/ui/react-blocks.ts)" is folded into that clause in both places.P3. ADR-0035, the layered-surface table: the row is kept, struck through in place. The middle row, "Form view
subforms", still read as a current layer, and only the note beneath corrected it. The row's three cells are now struck through, and the note's first sentence says so ("no longer holds and is struck through in place"). The row is not deleted, for three reasons:subformshas no reader since #36425: retire it (ADR-0035 layer removed), or build child-row tables into the named and public form page #38140 was for.The row and its note now agree: the row shows itself retired, and the note says why and what replaces it.
Tests
None added and none owed: the diff is prose in two design records and changes no behaviour, so there is nothing to ablate. The facts the new sentences state were read on
origin/mainat 9a13387 before they were written:ui/packages/plugin-view/src/ObjectView.tsxbuilds theobject-formnode it opens withsubforms: schema.form?.subforms(1 line; controlschema.form?.sections: 1 line).ui/packages/types/src/objectql.tstypes theformmember ofObjectViewSchemaas a partial pick ofObjectFormSchemabyObjectFormSlotKey, and'subforms'is in that key list. objectui'sObjectFormSchemastill declaressubforms, in that file and inui/packages/types/src/zod/objectql.zod.ts.ui/packagesandui/appsbuild anobject-viewnode in four places, all underui/packages/app-shell/src/views/:objectViewPluginSchema.ts,studio-design/DataPillar.tsx,studio-design/studio-object-records-canvas.tsxandmetadata-admin/previews/ViewPreview.tsx. None writes aformkey. The other hits of the literal are the type's own declaration and three doc-comment examples inObjectView.tsx.packages/spec/src/ui/react-blocks.tsin feat(spec)!: retire the form'ssubforms(ADR-0049, #38140 PR 1 of 2) #39061 removes'subforms'from theObjectFormblock'sdataProps, and adds asubformsrow to the block'sinteractionsand toREACT_OVERLAY_SHADOWS. Onmainthe file's own comment on that row reads "The overlay is the block's only declaration of it."mainin ADR-0084.Acceptance notes
docs/adr/README.mdis unchanged (adr-index --reportreads it as current).docs/adr/**is Tier H:check-governed-merges.mjs --branchreads "landing tier: H" for both paths. The diff removes lines, so it is not an add-only note.skip-changeset: no package shipsdocs/adr.ui/packages/plugin-view/src/ObjectView.tsxstill says "a form view can declare inline child collections". The retirement made that untrue for a form view; the code under it is right. It is a stale comment and not a defect, and it is outside this card's two files. Tidy leftovers after the form-viewsubformsretirement (#38140): step-18 entry, stale comments, lookup-child prescription #39067 already sweeps stalesubformscomments, so the zone can add it there.Verification
Read first, by risk.
docs/adr/0035-config-driven-master-detail.md, the last three sentences of the note under "Where derivation is wired": three claims about code (whatObjectViewforwards, whose slot it is, and that no console node sets it).docs/adr/0050-form-layout-vs-presentation.md, the note under Decision 4: one clause changed, "keeps" and where the declaration lives now.Two-minute check.
git diff --numstat origin/main...origin/claude/project-thread-xuy3xaprints two rows,14 6for ADR-0035 and1 1for ADR-0050. In the Files changed tab, open the rich diff of ADR-0035: the table's middle row is struck through and its two neighbours are not.Local gates. Derived with
node scripts/pm/dispatch-gates.mjs --commandsfrom this branch against merge base 9a13387: 21 commands. All 21 ran at head 3863610, each exit code captured before any pipe, and--ranreconciles them.Reconciliation and the 21 exit codes, objectstack at 3863610
Verdict lines of the gates that read the ADR tree, objectstack at 3863610
One gate needed a build first
pnpm --filter @objectstack/lint run check:doc-formula-expressionsimports the compiled@objectstack/formulaand@objectstack/lint, so they were built first withpnpm exec turbo run build --filter=@objectstack/formula --filter=@objectstack/lint --concurrency=2under the verify lock (VERDICT command-exit 0, 5 tasks, 83 s). The gate then answered exit 0, which is the reading recorded above. The build changed no tracked file.CI. NOT MEASURED when this was written, reason: the check runs start when the pull request opens. The families the derivation leaves to CI (the type-check lanes, the whole-root scans, the scheduled audit) are CI's to run.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Utp6CZeCkT93n99ExEFRm3