Repository navigation
docs(adr): record the retirement of the form view's subforms in ADR-0035 and ADR-0050 (#38140 PR 2 of 2) - #39071
Conversation
…035 and ADR-0050 Dated amendment notes, add-only apart from the two Status lines, which gain their dated pointer. ADR-0035: a note under the layered-surface table (the form view layer is retired at protocol 19; a child table entered with its parent is placed by a field group of the parent, as the 2026-11-20 note says) and a note under "Where derivation is wired" (the wiring as built). ADR-0050: a note under Decision 3 and one under Decision 4. No decision text is rewritten. Claude-Session: https://claude.ai/code/session_01WGufzhcDo1KkziovnoDxog Co-authored-by: Claude <noreply@anthropic.com>
The named-form page is described in the present tense (it does not read the key), the notes name the dated note they lean on each time, and the wiring note says the console's record forms load no form view rather than that no form host reads the prop. Claude-Session: https://claude.ai/code/session_01WGufzhcDo1KkziovnoDxog Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhcDo1KkziovnoDxog Contract-review-claim: session_01WGufzhcDo1KkziovnoDxog · head 0dc1b48 · 2026-12-02T07:12Z The card thread runs the contract-tier L2 on this head through an isolated reviewer; the record and its brief follow here. |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhcDo1KkziovnoDxog Contract reviewServed-tier: Face: rules (governed path ① Derived judgments
② Semver levelNo changeset, with the
③ Boundary flags
④ Design judgmentNo must-fix, no should-fix. Each record was judged against its first consumer, #39061 at 6d664d7, and against the card's execution plan (option A, item 2, as narrowed by claim amendments 7337178377 and 7337943974). docs/adr/0035-config-driven-master-detail.md. Holds.
docs/adr/0050-form-layout-vs-presentation.md. Holds.
Nits, none of which changes the contract:
N1 and N2 are prose on a prose face and can be fixed with the notes if the head moves for #39061 anyway; otherwise they are accepted as they stand. Implemented-by: VERDICT: PASS |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhcDo1KkziovnoDxog The brief the card thread handed its isolated contract reviewer for the record above, posted for the seat to read before adopting it. After the brief was written, the PR body was edited (claim amendment 7337943974: Clause-②: no, Metadata-protocol: none) and the reviewer was told; head unchanged. Contract review brief — PR #39071 @
|
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhGA3zoCFquQgku4pm L1 review · PR #39071 (#38140 PR 2 of 2) · head 0dc1b48 · 2026-12-02T07:24ZACCEPT on head
Next: the seat's Tier H hand-off, after #39061 lands. |
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS 席位核对ACCEPT — PR #39071 @
|
|
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS 维护者速读
|
Requested by Yibo Wang · project thread
Part of #38140
This is PR 2 of two and pairs with #39061, which is PR 1 and carries the retirement itself (the spec tombstone, the conversion, the ledger and the pins). This one is the design-record half: dated amendment notes in ADR-0035 and ADR-0050. It leaves the card open; the seat ends the card once both have landed.
Clause-②: no
Metadata-protocol: none
Skills-docs: none — this pull request changes two design records and no skill; the retirement's skills reading is on #39061 (the one skills file that names a form's
subformsis the generatedskills/objectstack-ui/references/react-blocks.md, and the replacement, a field group'srelatedList, is already taught and evaluated inskills/objectstack-data)The two declaration lines are this pull request's own, per claim amendment 7337943974: its diff is ADR prose and changes no accept set. The narrowing, and the dogfood battery it owes, stay on #39061.
维护者速读
What changes
Two files, 71 lines added and 2 changed. The 2 changed lines are the two
**Status**:lines, each re-emitted with one· **Amended** (2026-12-02, …)segment appended and nothing else moved. Every other line is a new blockquote note. No decision sentence, table row or earlier note is edited or deleted.ADR-0035 (config-driven master-detail).
subforms, is retired at protocol 19 under ADR-0049. The note says why (no reader was left), what the parse does now, what replaces the row (a field group of the parent object whoserelatedListnames the child, which is the record's own 2026-11-20 amendment), where the row's two uses went (a child needs noinlineEditfor a group to place it; derived columns are overridden withinlineColumnson the child's relationship field), and which layers are left: the parent's field group, theobject-master-detail-formpage block, and outside metadata the ReactObjectFormblock's ownsubformsprop. It then quotes the four other sentences of the record that name the retired layer and says how each is read.attachInlineSubformscollects the children a parent's field group places and sets them on the parent object asgroupSubforms, and the console's record forms ask the object for that list. The paragraph's last sentence is unchanged.ADR-0050 (form layout vs presentation).
subformsas the spelling of single-record master-detail. The note records the retirement, points at ADR-0035 for the replacement, and says the removal ofsplitstands. It is scoped to thesubformshalf of the sentence.SplitFormis retired as written; "in favour ofsubforms" is read with the note under Decision 3, and what is left under that name is the React block's own prop.Each line that names
subforms, judged against the tree. Line numbers are those oforigin/mainat 431f880.subforms(view) overrides", under ConsequencessubformsonObjectFormSchema/FormViewSchema", under Status of implementationObjectFormSchemakeeps the prop,FormViewSchemarefuses the keyform-view-subforms.spec.tsui/e2e/live/and drives the table the object derivessubforms"subformshalf, yessubforms"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 notes state were re-read from the tree at 431f880 before they were written:
ui/apps/console/src/components/FormPage.tsxnamessubforms0 times (controlsubmitBehavior: 4).packages/rest/src,packages/runtime/srcandpackages/objectql/srcname it 0 times outside tests (controlsubmitBehavior: 1).examplesandpackages/appsauthorsubforms:0 times outside tests (controlsubmitBehavior:: 6).ui/packages/app-shell/src/providers/MetadataProvider.tsx#attachInlineSubformsreturns each parent withgroupSubforms, built from the children its field groups place, andui/packages/app-shell/src/utils/recordFormNavigation.ts#recordFormSubformsreads that member alone. Its callers are the New and Edit dialog, the full-page form, the action-opened form and the screen view.packages/spec/src/ui/component.zod.tsstill declares theobject-master-detail-formdetail entry withrelationshipField,columnsandamountField. NoSplitFormfile is tracked.Acceptance notes
subforms(ADR-0049, #38140 PR 1 of 2) #39061 leaves it, and three things they name exist only on that branch: the tombstone onFormViewSchema, the conversion idform-view-subforms-removed, and the semantic entry idui-form-view-subforms-retired. The Decision 3 note also says thesplitprescription now names the field group, which is feat(spec)!: retire the form'ssubforms(ADR-0049, #38140 PR 1 of 2) #39061's edit. So this one lands with or after feat(spec)!: retire the form'ssubforms(ADR-0049, #38140 PR 1 of 2) #39061, and if review renames either id there, the notes follow. All three were re-read on that branch at its head 6d664d7 and are there as the notes spell them. Every path and symbol the notes cite exists onmaintoday, so the anchor gate is green on this branch alone.mainat 431f880.mainhas moved one commit since (7814822); that commit changes no file underdocs/adrand none of the files the notes cite.docs/adr/**is Tier H. The low-risk add-only arm does not apply: its reader reports "removes 1 line(s)" on each file, which is the Status line gaining its pointer.skip-changeset. No package shipsdocs/adr(0package.jsonfiles name it), so nothing publishes.docs/adr/README.mdis unchanged. Both Status lines keep their keyword and their first date, andadr-index --reportreads the index as current.Clause-②: no,Metadata-protocol: none), as claim amendment 7337943974 rules; the retirement's narrowing is declared on feat(spec)!: retire the form'ssubforms(ADR-0049, #38140 PR 1 of 2) #39061.NavigationMode:'split'", is no longer current either:navigation.mode: 'split'is refused at parse since 18.3.0, and no note in ADR-0050 records it. This retirement did not falsify it, so the Decision 3 note says it covers thesubformshalf only.Verification
Read first, by risk.
docs/adr/0035-config-driven-master-detail.md, the note under the layered-surface table. The risky sentences are the one that says what replaces the row and the four quotations at the end: each is a claim about what another part of the record now means.attachInlineSubformscollects, where it writes, what the record form hosts read).docs/adr/0050-form-layout-vs-presentation.md, the note under Decision 3: it says the removal ofsplitstands and scopes itself to half a sentence.Two-minute check.
git diff --numstat origin/main...origin/claude/project-thread-37qug9-adrprints two rows,65 1for ADR-0035 and6 1for ADR-0050. In the Files changed tab the only two red lines are the two**Status**:lines.Local gates. Derived with
node scripts/pm/dispatch-gates.mjs --commandsfrom this branch against merge base 431f880: 21 commands. All 21 ran at head 0dc1b48, each exit code captured before any pipe, and--ranreconciles them.Reconciliation and the 21 exit codes, objectstack at 0dc1b48
Verdict lines of the gates that read the ADR tree, objectstack at 0dc1b48
The anchor count on
mainat 431f880 was 4638 (1753 symbol, 2833 file-level), so the notes add 7 anchors and all 7 are judged.One gate needed a build first
pnpm --filter @objectstack/lint run check:doc-formula-expressionsanswered exit 3, PREREQUISITE NOT MET, on a fresh install: it imports the compiled@objectstack/formulaand@objectstack/lint. Afterpnpm exec turbo run build --filter=@objectstack/formula --filter=@objectstack/lint --concurrency=2under the verify lock (VERDICT command-exit 0, 5 tasks, 77 s) it answered exit 0, and that is the reading recorded above. The build changed no tracked file.CI. NOT MEASURED: the pull request's check runs, reason: the card thread opens it after this draft, so no check run exists yet. 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_01WGufzhcDo1KkziovnoDxog