Repository navigation
Description
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Filing gate: ② a decision only the maintainer can make (retiring it amends Accepted ADR-0035). Split off #36544 by the seat's claim 7233564954. Source: fleet.
维护者速读
- 问题:表单定义里可以写一个「在表单下方带子表明细」的配置,校验也通过,可自从新建和编辑改为按对象字段分组排版之后,没有任何页面再看它:具名表单和对外公开表单都不画子表,写了等于没写。目前示例应用和 HotCRM 都没人写它。
- 选项:A 把这个配置退役,写了直接报错并告诉作者改用对象字段分组里的子表,约两个 PR(一个改规范,一个改设计文档);B 给具名表单页和公开表单页补上子表录入和一并提交,约三到四个 PR。
- 推荐 A:记录的主从录入已经在对象字段分组上做齐,每个新建和编辑入口都会画;再在表单上留第二种写法,只会让人和 AI 写了以为生效。
- 不定会怎样:作者或 AI 继续写这个配置,页面上没有子表,也没有任何提示。
Background
FormViewSchema.subforms (packages/spec/src/ui/view.zod.ts, the subforms: z.array(strictObject(...)) member) declares inline master-detail child collections on a form view. The liveness ledger still marks it live (packages/spec/liveness/view.json → form.subforms, verifiedAt 2026-08-10; liveness/form.json → subforms, inherited). The cited readers were the record create/edit dialog and ObjectForm/ModalForm/DrawerForm taking the key from the form view.
#36425 (PR #36543, merged 2026-11-22) stopped the console's record create and edit surfaces from loading any form view. They now take child collections from the object alone: ui/packages/app-shell/src/utils/recordFormNavigation.ts#recordFormSubforms reads objectDef.groupSubforms, which is derived from fieldGroups[].relatedList (ADR-0035 as amended 2026-10-28). That leaves two surfaces where a form view still decides its own form (ADR-0050, note of 2026-11-24): a named form a type: 'form' action opens, and a public form (sharing.enabled: true). Both render through ui/apps/console/src/components/FormPage.tsx, which reads 14 form-view keys and not subforms.
The object-form block's own subforms prop (ObjectForm.tsx → MasterDetailForm) is a block prop. Neither option touches it.
Folded onto #36544 by comment 7193096338 (from the #36798 dev report); split off here by the seat's ruling when #36544 was claimed (claim 7233564954), because retiring it amends an Accepted ADR.
Governing text
- ADR-0035 §2, "The layered surface (most → least automatic)" (
docs/adr/0035-config-driven-master-detail.md:49):| **Form view \subforms`** | object form view | override derived columns/order, or expose a non-`inlineEdit` child |`. Accepted, amended 2026-10-28 (spec: an object declares the business order of its related lists —relatedLists: ['task', 'event', …], an ordered list of child relationships likehighlightFieldsis of fields; unlisted ones follow the derived order; a name that matches no inbound relationship is refused #27069). The table still lists the form-view layer as current. - ADR-0050 §3 (
docs/adr/0050-form-layout-vs-presentation.md:50): "Master-detail is alreadysubforms(single-record parent/child) + the list'sNavigationMode:'split'." §4: "SplitFormretires in favour ofsubforms." - ADR-0050 note of 2026-11-24 (内部的新建和编辑表单作废:平台不再加载表单定义,弹窗一律按字段分组和字段规则排;字段加一个「新建时显示」的开关(对外表单不受影响) #36425): "A form view still decides its own form in two places: a public form (
sharing.enabled: true), and a named form aform-type action opens." - ADR-0049 (enforce-or-remove): a parsed-but-unenforced authorable key must be enforced, marked
experimental, or removed.
Protocol statement
Is the protocol changed? A: yes, narrowed (Metadata-protocol: narrowed, Clause-②: yes (narrowing)). The key becomes a retiredKey() tombstone in major 19, with a conversion that strips it. B: no change to the accept set. A declared key gains a reader (Metadata-protocol: none); the public form submit route widens to a batch write.
Premises (each with a re-check)
- No form-view reader on the named/public form page.
grep -nE "\bsubforms\b" ui/apps/console/src/components/FormPage.tsx: 0 hits at 0e36120. - No server reader.
grep -rnE "\bsubforms\b" packages/rest/src packages/runtime/src packages/objectql/src | grep -v test: 0 hits. - Record surfaces take child tables from the object, not a form view.
grep -n "groupSubforms" ui/packages/app-shell/src/utils/recordFormNavigation.tshitsrecordFormSubforms. - Zero authoring, with a control.
grep -rnE "\bsubforms\s*:" examples packages/apps --include=*.ts | grep -v "\.test\."gives 0; the control keysubmitBehavior(read by FormPage) gives 6 with the same command. hotcrmsrc/**: 0. - The public submit route writes one record.
packages/rest/src/form-routes.tsbuildsallowedFieldsfrom the form's sections and inserts one row (read at 0e36120; re-read before B).
Question
subforms on a form view is declared, documented in two Accepted ADRs, and read by nothing. Remove it (and amend ADR-0035's layer table), or give it a reader on the one surface that still renders form views?
Options
| Option | What is done | What the customer sees | Effort |
|---|---|---|---|
| A: retire | retiredKey() tombstone in major 19, a conversion that strips it, D3 semantic entry, ledger rows to dead, pins. ADR-0035 §2 table drops the form-view row; ADR-0050 §3/§4 wording repointed to field-group relatedList |
Writing subforms on a form view is refused with a fix: put the child table on the object's field group (relatedList). Every New/Edit already draws it there. |
spec lane · 2 PRs (spec retirement + docs/adr amendment, Tier H) · precedent PR #29287 (FormView drawerSide/drawerWidth retirement, +709/−65, 21 files) |
| B: build the reader | FormPage renders MasterDetailForm child grids for a named form; the public submit route accepts child rows and writes parent + children in one transaction (ADR-0034 batch) under the anonymous-intake rules |
A named or public form can carry an editable child table (an order form with line items) | ui + server lanes · 3–4 PRs (renderer, public submit batch, security review of anonymous multi-object writes, docs) · nearest precedent PR #36009 (entry form draws a group-placed master-detail table, +801/−26, 18 files); no precedent for an anonymous batch write |
Business meaning
- A: a master-detail entry belongs to the record. As with a record page layout, you design it once on the object, and every place that creates or edits that record shows it.
- B: a standalone form becomes a small app of its own, like a web order form with line items. It is a new product capability for public intake, not a fix.
Four-axis analysis
End state (axis ① first): in two years, master-detail entry should be modelled once, on the record's own layout, and every create/edit surface should render it. That is how mainstream platforms model it. Salesforce puts related lists on the page layout and Web-to-Lead takes no child rows. Dynamics 365 puts subgrids on the entity's main form. ServiceNow binds related lists to the table's form layout. Public intake forms (Airtable forms, Salesforce Web-to-Case) take a single record. A second, form-local master-detail spelling is a special case. Today it is only declared, and for public forms it would open anonymous multi-object writes.
- Long-term soundness (①): A shrinks the contract to one master-detail mechanism (field-group
relatedList). B keeps two spellings and adds an anonymous batch-write path that needs its own guard rules. - Real business pull (②): zero. No example app and no hotcrm source writes
subforms. Nobody has asked for line items on a public form. With zero pull the default is remove. - Preventing AI mistakes (③): today an AI that writes
subformson a form view gets a green build and no table on the page, a silent no-op. A turns that into a loud refusal that names the working spelling. B also removes the no-op, but leaves two places to declare the same thing, and an AI will pick the wrong one. - Startup focus (④): A removes a declared key, ending an open-ended obligation to maintain it. B expands scope into public-form multi-record intake with no customer asking.
os-decision-facets
① Long-term soundness: A narrows the contract to one master-detail mechanism (field-group relatedList); B keeps a second form-local spelling and adds an anonymous batch-write path.
② Real business pull: none measured — 0 authored instances in examples/apps and hotcrm (control submitBehavior: 6); no request for line items on public forms.
③ Preventing AI mistakes: today a silent no-op; A makes it a loud parse/tsc refusal naming fieldGroups relatedList; B leaves two places to declare the same table.
④ Startup focus: A removes a declared key (no standing obligation); B expands public-form intake scope with zero pull.
Prior rulings read: modalsize,subforms,form-view → 4 hits; ADR-0035 Decision §2, ADR-0035 Decision §6, ADR-0050 Decision §3, ADR-0050 Decision §4; thread: none
Self-check: choosing on ① alone gives A. Do ②③④ flip it? No: all three point the same way.
Recommendation
A (retire). The record-level mechanism already exists and every New/Edit entry draws it. No author writes the form-view key. Keeping it means a capability is declared and never delivered. B is not taken because it builds a new public-intake capability with no pull and opens an anonymous multi-object write path that would need its own security review.
Confidence gaps: I have not measured whether any deployed tenant's stored sys_metadata form rows carry subforms; the conversion strips them either way. If a customer is found who needs line items on a public form, that is a new Feature card under B's shape, not a reason to keep the inert key now.
Execution after the ruling
- A: (1) a spec retirement PR in major 19, following the
spec-property-retirementplaybook: tombstone with a prescription namingfieldGroups[].relatedList, conversionform-view-subforms-removed, aRETIRED_KEYS_BY_MAJORentry, a D3 semantic entry, ledger rows inview.json/form.jsontodead, pins. The ReactObjectFormblock keeps its ownsubformsprop through the overlay (precedent: 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 drawer keys and Ledger: form viewmodalSizekeepsliveafter #36425 deleted its only named reader — re-audit (enforce-or-remove) #36544modalSize);skills/objectstack-ui/references/react-blocks.mdregenerates, so Tier H. (2) A docs/adr amendment: ADR-0035 §2 table and §6, ADR-0050 §3/§4 wording. (3) The platform-checklist studio-authoring failing row forsubformsis repointed. Lands after Ledger: form viewmodalSizekeepsliveafter #36425 deleted its only named reader — re-audit (enforce-or-remove) #36544's PR, because both edit the same conversion registry and FormViewSchema block. - B: a ui card (FormPage master-detail render), a server card (public submit batch with anonymous-intake guards; security review owed), and a docs card. The ledger rows are re-cited to the new readers.
Related
#36544 (form view modalSize, same audit, retired on its own PR) · #36425 / PR #36543 (record forms stop loading form views) · #36798 dev report 7192270649 (finding) · PR #29287 (drawer keys retirement precedent) · PR #36009 (group-placed master-detail on the entry form) · ADR-0034 (atomic multi-write).
Activity
objectstack-fleet commentedon Dec 1, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS
Ruling · 2026-12-01T06:38Z · the maintainer answered on a decision card in this account's fleet project (2026-12-01T06:37Z).
Question, verbatim: 「定 #38140:表单视图里没人读的「子表明细」配置怎么处理?」
Option tapped, verbatim: 「退役这个配置」. Consequence line: 「写了直接报错并提示改用对象字段分组里的子表。约两个 PR,改设计记录的那个要你批。」
Options not taken: 「给表单页补上子表录入」, 「先不动」.
What it settles: the form view's
subformskey is retired. Authoring it is refused, with a prescription that names the object field group's subform as the replacement. This is option A of the analysis on this card, brought forward unchanged. Premises were re-checked onmaintoday:FormPage.tsxreads nosubforms, and neither the examples nor HotCRM author the key.Not settled, and left to the implementer: the removal route under ADR-0049 (tombstone wording, conversion, ledger row), per the spec-property-retirement playbook. Public-form line items stay unbuilt.
The design-record PR is Tier H. This card is area:build: the seat only records the ruling, and the owning lane takes the card.
needs-user-decision→pm:queue.objectstack-fleet commentedon Dec 1, 2026
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z
Claim: PM loop round 1 · maintainer-directed exception to the no-new-cards order, limited to unclaimed cards under the form-split topic #38080; executes the maintainer's ruling 7303122859 (option A, retire)
Session:
session_01ADHkmSAjFEZHRpRq3WCj6zAccount:
os-steveBranch: pending (the seat's card thread cuts it from
origin/mainafter #38888 merges and the seat amends this line)Worktree:
objectstack(the card thread's own container, fromorigin/main)Domain:
domain:specSeat:
repo:objectstack#3Area: area:build (seat-direct, no zone)
File surface: PR 1 (spec retirement, major 19, by the
spec-property-retirementplaybook): thesubformsmember of the form schema inpackages/spec/src/ui/that declares it, itsretiredKey()tombstone entry underpackages/spec/src/migrations/entries/retired-keys/(prescription namingfieldGroups[].relatedList), one conversionpackages/spec/src/conversions/entries/19/form-view-subforms-removed.tswith its fixture and registry order, the D3 semantic entry, the liveness rows (packages/spec/liveness/view.json,form.json) todead, the pins, and the generated baselines, references andskills/objectstack-ui/references/react-blocks.mdthe playbook regenerates; the ReactObjectFormblock keeps its ownsubformsprop. One changeset.changeset/38140-form-subforms-retired.md. PR 2 (design record):docs/adr/0035-config-driven-master-detail.md§2 table and §6,docs/adr/0050-form-layout-vs-presentation.md§3/§4 wording. Anything else ⇒ stop and report.Container & model:
M(two PRs: one spec retirement, one ADR amendment),mode:thread,model: default tier(dispatch-gates.mjs --tieron the surface: no path-derived mandate; the build runs at the default tier and the seat reviews the narrowing atCONTRACT_REVIEW_TIER),effort: highClause-②: yes (narrowing)
Metadata-protocol: narrowed
Responsibility: n/a — the key lost its reader when #36425 (PR #36543) moved record create/edit to the object's field groups; not a defect of one PR
Premise: holds at
origin/mainb56673576b: the ruling is on the card (7303122859); the protocol is 19.0.0;FormPage.tsxreads nosubformsand neither the examples nor HotCRM author it (re-checked in the ruling).Serial constraints: open PR #38888 (Fixes #37112, huangyiirene) tombstones view-held forms and edits the same view schema, liveness and generated surfaces. PR 1 is cut from
mainafter #38888 merges; nothing is pushed before then.Dispatch: to a seat card thread, one os-dev per PR at the default tier; the seat runs L1-b and its own contract review at
CONTRACT_REVIEW_TIER(narrowing face) before hand-off. Both PRs are Tier H.Provenance: the maintainer (Steve), in the seat's project chat on 2026-12-01T04:53Z: 「没人认领的你可以接手」; the ruling itself 7303122859.
objectstack-fleet commentedon Dec 1, 2026
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z
Claim: PM loop round 1 · amendment 1: the branch is named, and the ledger target follows #38888 (amends 7308242680)
Session:
session_01ADHkmSAjFEZHRpRq3WCj6zThread session:
session_01ADHkmSwpNuPwYRDSZ1v6sLAccount:
os-steveBranch:
claude/project-thread-q1x5qf(the card thread's; cut again frommainafter #38888 merges, nothing pushed before then)Worktree:
objectstack(the card thread's own container, fromorigin/main)Domain:
domain:specSeat:
repo:objectstack#3Area: area:build (seat-direct, no zone)
File surface: PR 1 (spec retirement, major 19, by the
spec-property-retirementplaybook): thesubformsmember of the form schema inpackages/spec/src/ui/that declares it, itsretiredKey()tombstone entry underpackages/spec/src/migrations/entries/retired-keys/(prescription namingfieldGroups[].relatedList), one conversionpackages/spec/src/conversions/entries/19/form-view-subforms-removed.tswith its fixture and registry order, the D3 semantic entry, the liveness row inpackages/spec/liveness/form.jsontodead(#38888 deletes theview.jsonform rows,form.subformsamong them; after it lands the key lives only on the standaloneformitem, so the tombstone and the conversion target theformitem body), the pins, and the generated baselines, references andskills/objectstack-ui/references/react-blocks.mdthe playbook regenerates; the ReactObjectFormblock keeps its ownsubformsprop. One changeset.changeset/38140-form-subforms-retired.md. PR 2 (design record):docs/adr/0035-config-driven-master-detail.md§2 table and §6,docs/adr/0050-form-layout-vs-presentation.md§3/§4 wording. Anything else ⇒ stop and report.Container & model:
M(two PRs: one spec retirement, one ADR amendment),mode:thread,model: default tier(dispatch-gates.mjs --tieron the surface: no path-derived mandate; the build runs at the default tier and the seat reviews the narrowing atCONTRACT_REVIEW_TIER),effort: highClause-②: yes (narrowing)
Metadata-protocol: narrowed
Responsibility: n/a — the key lost its reader when #36425 (PR #36543) moved record create/edit to the object's field groups; not a defect of one PR
Premise: holds at
origin/mainb56673576b: the ruling is on the card (7303122859); the protocol is 19.0.0;FormPage.tsxreads nosubformsand neither the examples nor HotCRM author it (re-checked in the ruling).Serial constraints: open PR #38888 (Fixes #37112, huangyiirene) tombstones view-held forms and edits the same view schema, liveness and generated surfaces. PR 1 is cut from
mainafter #38888 merges; nothing is pushed before then.Dispatch: to a seat card thread, one os-dev per PR at the default tier; the seat runs L1-b and its own contract review at
CONTRACT_REVIEW_TIER(narrowing face) before hand-off. Both PRs are Tier H.Provenance: the maintainer (Steve), in the seat's project chat on 2026-12-01T04:53Z: 「没人认领的你可以接手」; the ruling itself 7303122859.
objectstack-fleet commentedon Dec 1, 2026
repo:objectstack@os-steve · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z
Release: claim 7308242680 (amendment 1 7308309542) · no code written; the seat clocks out on the maintainer's word (「当前任务处理完合并后就下班」, then 「要求开发都推pr,快开发完的继续,其他的进入交接模式」), and this card had not started, so it goes back to the queue.
Resume-from: none
In force for the next holder:
subforms) stands.mainonly after Major 19:viewis lists only, the old form shapes are refused with a prescription, and the upgrade command converts stored forms, then switches (ADR-0159, card ⑤b) #37112's PR 2 (draft feat(spec)!: a view holds lists only; view-held forms are tombstoned #38908, which tombstones view-held forms and edits the same view schema, liveness and generated surfaces) merges.retiredKey()tombstone prescribingfieldGroups[].relatedList, conversionform-view-subforms-removedat major 19, D3 semantic entry, liveness rows todead, pins),Clause-②: yes (narrowing),Metadata-protocol: narrowed, contract review atCONTRACT_REVIEW_TIER; PR 2 the ADR-0035 / ADR-0050 amendment. Both Tier H.Back to
pm:queue, unassigned.objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS
Claim: card thread of seat repo:objectstack@os-support-ai, PR 1 of 2 (retire the form view's
subformsunder ruling 7303122859; zone osa-data handed it back as big; serial behind PR #38957, now merged)Session:
session_01WGufzhPdWmTd47Fi2bKYZSThread session:
session_01WGufzhcDo1KkziovnoDxogAccount:
os-support-aiBranch:
claude/project-thread-37qug9Domain:
domain:specSeat:
repo:objectstack@os-support-aiFile surface:
packages/spec/src/ui/view.zod.ts(the form view'ssubformsonly),packages/spec/src/ui/react-blocks.ts(the overlay that keepsObjectForm'ssubformsprop),packages/spec/src/conversions/entries/19/form-view-subforms-removed.ts(new) andpackages/spec/src/conversions/registry.ts, one retired-keys entry, one D3 semantic entry, the step-19 registry template,liveness/form.jsonand its README counts, pins underpackages/spec/src/ui/(reason: new test files beside the schema, named in the report), the lint liveness test (one test file underpackages/lint/src/, named in the report), the generated baselines and references,skills/objectstack-ui/references/react-blocks.md(regenerated), thecontent/docsprose that authors the key, the platform-checklist row,cross-package-test-inputs.mjsandturbo.jsononly if the absence pin is tree-scoped,.changeset/38140-form-subforms-retired.md. PR 2 (the ADR-0035 and ADR-0050 amendment) joins by a claim amendment. Stop on breach; explain in the report.Container & model:
L,mode:card-thread,model: CONTRACT_REVIEW_TIER (dispatch-gates --tier: "Model tier — MANDATORY … 'skills/**'" for PR 1; "… 'docs/adr/**'" for PR 2),effort: highClause-②: yes (narrowing)
Metadata-protocol: narrowed
Responsibility:
n/a — retirement card (ADR-0049 enforce-or-remove)Premise: holds on
main444dce6. The key lives only on the form item now; no runtime reader (FormPage, rest, runtime, objectql: 0), no authoring in examples or platform apps (0), none in hotcrmsrc(0); the liveness ledger row isliveness/form.jsonsubforms.Prior rulings read: 7303122859 (the retirement ruling on this card).
Serial constraints cleared:
check-handover.mjs --inflightmeets #38981 (claim 7334073524) onpackages/spec/src/ui/view.zod.tsonly: theirs is the list viewcolumnsunion's error, this is the form view'ssubforms, so the hunks do not meet. Seat ruling: run in parallel; #38981, the small one, lands first, and this PR mergesmainbefore its hand-off.objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhcDo1KkziovnoDxog
os-dev-report
PR 1 of #38140 → #39061, head 3dc2a1c, reported 2026-12-02T06:30Z.
{ "issue": 38140, "status": "done", "branch": "claude/project-thread-37qug9", "pr": 39061, "session": "session_01WGufzhcDo1KkziovnoDxog", "premise_still_valid": true, "summary": "PR 1 of #38140 is complete and pushed: origin/claude/project-thread-37qug9 at 3dc2a1ca24b2ba96315f3762f443083528f5c994 (local == remote, tree clean), 29 files, 1002 additions + 305 deletions = 1307 changed lines vs origin/main (c748e7df; the branch carries one merge of main, see deviations). FormViewSchema.subforms is a retiredKey() tombstone (the `form` item takes it by reference), with the D2 conversion form-view-subforms-removed (protocol 19, order 6, retired from the load path), two RETIRED_KEYS_BY_MAJOR[19] rows, the D3 entry ui-form-view-subforms-retired, the step-19 template sentence, the react-blocks overlay move (ObjectForm keeps the prop), liveness row dead, regenerated baselines/references, the checklist row (revision 13), tree-scoped absence pin in the shared form-view retirement harness, and .changeset/38140-form-subforms-retired.md. Premises re-measured at 444dce61: zero reads of the key in FormPage, rest/runtime/objectql/metadata, zero authored uses in examples, platform apps and hotcrm. Served tier: CONTRACT_REVIEW_TIER (the mandated tier; dispatched by the card thread). PR body draft: /tmp/claude-0/-home-claude/7d7e46e5-3022-53e5-9959-26ad2729a6cf/scratchpad/issue-38140/pr1-body.md (first line `Part of #38140`, ends with the AGENTS.md session-URL footer). No GitHub writes were made; the worktree /home/claude/objectstack-issue-38140 is left in place for the thread (not removed, since the thread owns it and opens the PR). DEVIATIONS: (1) FILE-SURFACE BREACHES, each forced by a gate/red test or a sentence this change falsified, continued rather than stopped and listed in the PR body for the seat to amend the claim: second retired-keys entry packages/spec/src/migrations/entries/retired-keys/19.ui__Form__subforms.ts (gate needs one per def key; claim said one); packages/spec/src/conversions/conversions.test.ts (released 18 fixture now superseded by two retiring entries); packages/spec/src/inline-grid-column-carriers.test.ts; packages/spec/src/ui/view-strictness-batch18.test.ts; packages/spec/src/shared/retired-key-removal-version.pin.test.ts; packages/spec/src/stack.zod.ts (unreachable form arm of the hydrated inline-column check removed); packages/spec/dropped-refinements.baseline.json and packages/spec/scripts/liveness/undrilled-containers.baseline.json (shrink-only); packages/spec/src/migrations/entries/semantic/19.master-detail-related-list-tab-by-default.ts (one falsified sentence removed); the split-type prescription in view.zod.ts repointed from subforms to the field group relatedList; generated docs/audits/2026-07-unknown-key-strictness-ledger.counts/ui.md; a SECOND lint test file packages/lint/src/validate-field-consumers.test.ts (its pin asserted the spec accepts a form item carrying subforms; flipped to the refusal); and ui/packages/types/src/__tests__/object-form-subforms-columns-11266.test.ts (its two-door case read the spec form view as the other door; now reads the spec InlineGridColumnSchema). (2) Merged origin/main (c748e7df, one commit, two scripts, no overlap) into the branch as commit e62e35ea, no force-push: without it check:closed-ceremony-text crashed with ENOBUFS because this branch's added paths pushed its git ls-files output past the 1 MiB default buffer (main was 11 bytes under it), which main had just corrected. (3) One foreground ui vitest run exceeded the ~10 min cap and was moved to background by the harness; I stopped it immediately (TaskStop), confirmed the verify lock free, and reran a narrowed set in the foreground. (4) Two early gate-runner batches ran `pnpm --dir ui exec vitest run scripts/` and check:type-check-debt outside the verify lock; both were rerun under the lock for the recorded readings. (5) PR body uses details/summary blocks for log readings as os-dev requires, although the dispatch said no angle-bracket fragments: see open_questions. (6) Earlier commits dbb406b4/7951806e carry `wip` subjects and dbb406b4 has `(#38140)` in its subject (no closing keyword, no card trailer).", "tests": "At head 3dc2a1ca (exit codes captured before any pipe, VERDICT command-exit lines read): `pnpm --filter @objectstack/spec test` → Test Files 919 passed (919), Tests 29086 passed | 1 todo, VERDICT command-exit 0; `pnpm --filter @objectstack/spec typecheck` → exit 0 (tsc + check:scripts-typecheck + check:test-typecheck OK); harness `pnpm --filter @objectstack/spec exec vitest run --project repo --maxWorkers=2 src/ui/form-view-drawer-keys-retirement.test.ts` → 1 file, 80 passed; `pnpm --filter @objectstack/lint test` → Test Files 259 passed, Tests 10301 passed; `pnpm --filter @objectstack/lint typecheck` → exit 0; `pnpm --filter @object-ui/types test` → 391 files, 10528 passed; `pnpm --filter @object-ui/types type-check` → exit 0. At 2ed32afa (only later spec change: one comment line in the harness, rerun above): `pnpm --filter @objectstack/spec test:repo` → Test Files 95 passed, Tests 1633 passed. At e62e35ea: cli `vitest run test/migrate-meta-engine-guidance.test.ts test/doctor-refs.test.ts` → 2 files, 11 passed. At 191c0b0e (no ui source touched since): targeted ui runs → 11 files / 436 passed (form-spec.containers, ViewVariantInspector formViewType, block-config-schema-parity, view-schema, MetadataProvider.merge, recordFormNavigation, editFormLockedByState, console formViewFeaturesRootRefused, registry-inputs-spec-parity, FormPage.viewSpec, submitRedirect) and 166 files / 1803 passed | 1 skipped (AppContent/RecordFormPage internalFormRetired, ScreenPreview, publicForm, public-block-binding-reach, plugin-view and plugin-form __tests__). ABLATION (dev-ablation.md, via scripts/ablation-replace.mjs, both at e62e35ea, expected direction red, observed red): (a) view.zod.ts anchor `subforms: retiredKey(FORM_VIEW_SUBFORMS_RETIRED),` → `subforms: z.array(z.unknown()).optional(),` — mutation landed (anchor 1→0, blob afa6717be74a→27ba3e029ee8), harness 5 failed | 75 passed, restored blob == HEAD afa6717be74a, git diff HEAD empty; (b) conversion entry `stripKeys(form, ['subforms'], …)` → `['subformz']` — landed (blob 993c8a0afd61→9b352ff37bf7), conversions.test.ts 2 failed | 224 passed, restored blob == HEAD, git diff HEAD empty. Spec tests resolve the subject from src (relative imports), so no dist leg applied. Removed form-carrier column tests have twins on surviving carriers (data/inline-grid-column-currency-scale-refused.test.ts, data/inline-related-columns.test.ts, the details and inlineColumns sections of inline-grid-column-carriers.test.ts); stated in the PR body.", "gates": "Local derived subset at 3dc2a1ca: `node scripts/pm/dispatch-gates.mjs --commands` derived 136 families (29 paths vs merge base c748e7dfd); `--ran` with recorded exit codes prints `✓ dispatch-gates --ran: 136 derived famil(ies) accounted for — 135 run, 1 NOT-MEASURED (0 DERIVED from a recorded exit 3, 1 claimed).` 135 exited 0, including check:generated, check:authorable-surface, check:api-surface, check:liveness, check:docs, check:react-blocks, check:skill-examples, check:upgrade-guide, check:spec-changes, check:strictness-ledger, check-adr-0087-registration --base origin/main, check-changeset-no-major, check:cross-package-test-inputs, check:doc-authoring, check:nul-bytes, check:role-word, check:platform-checklist, check:type-check-debt, check:closed-ceremony-text, check:dual-build-cjs-loads, check:published-readme-exports. NOT MEASURED: `node scripts/check-plugin-teardown-shape.mjs --self-test`, exit 3, reason: shallow clone cannot reach the positive-control commit 621a4876 it is pinned to (its own PREREQUISITE refusal; script untouched by this diff) → CI. Outside the derivation, run: `node scripts/check-platform-checklist.mjs --changed-from origin/main` → `OK — 2 anchored file(s) in the change set, 19 anchor(s) judged, 0 lost.`; `node scripts/check-skills-token-ratchet.mjs` exit 0 (react-blocks.md is generator-owned, measured not ratcheted). Local-only families: check:skill-frame-freshness exit 0; check:dev-prereqs exit 1 with its single precondition (32 ui workspace packages have no dist in this container), a machine-state reading, not a change verdict. NOT MEASURED: type-check of @object-ui/app-shell, @object-ui/console, @object-ui/plugin-form, @object-ui/plugin-view, reason: ui dist closure not built locally (plugin-form/plugin-view type-check exited 2 on TS2307 unresolved workspace imports, i.e. prerequisite, not a finding) → CI. CI check-runs: none exist yet, the PR is not opened (the thread opens it); every CI family is therefore unread. Dogfood battery: this is a `!` / `(narrowing)` change, so the seat owes the PR the needs:dogfood-battery label; not run locally by rule.", "mcp_calls": "0", "api_writes": "0 — no REST writes; only `git push` to origin/claude/project-thread-37qug9 (after every commit, never forced)", "classifier_refusals": [], "open_questions": [ { "question": "The dispatch says the PR body must carry no angle-bracket fragments; os-dev.md requires log readings folded into details/summary blocks and says it prevails on conflict. The draft follows os-dev.md (two details/summary blocks, no other angle brackets, no HTML comments). Keep or strip?", "options": [ "A keep the two details/summary blocks as drafted", "B the thread strips the four tag lines before pr_create, leaving the fenced blocks inline" ], "recommendation": "A, because os-dev.md is the standing rule and details/summary is the repo's own PR shape; B is a four-line mechanical edit if the thread's write channel is known to eat them." }, { "question": "The claim's File surface line needs amending for the out-of-surface files listed in summary (two of them outside packages/spec: one extra lint test file and one ui/packages/types test file). Does any other open claim hold packages/lint/src/validate-field-consumers.test.ts or ui/packages/types/src/__tests__/object-form-subforms-columns-11266.test.ts?", "options": [ "A seat amends the claim and checks for collisions before opening the PR", "B seat asks for those two edits to be split out" ], "recommendation": "A, because both tests go red on the tombstone itself, so the PR cannot be green without them." }, { "question": "The changeset carries the gate-mandated ADR-0087 disposition marker, which is an HTML comment in a repo file (same shape as .changeset/pre/36544-form-view-modal-size-retired.md). If the thread copies changeset text into GitHub-bound prose, that line must not be copied.", "options": [ "A leave as is; do not quote the marker line on GitHub" ], "recommendation": "A — check-adr-0087-registration requires exactly that marker in the changeset." } ], "security_findings": "none", "out_of_scope_findings": [ "class: b · Seam: spec:packages/spec/liveness/form.json (dead rows) → runtime:packages/lint/src/lint-liveness-properties.ts#TYPE_COLLECTIONS · contract quoted from that file: 'A newly governed type needs its collection registered or its ledger warns nobody, which would leave the ledger correct and silent: the exact shape this lint exists to prevent' and 'add them here the day one of their entries warns' · evidence: `form` is not in TYPE_COLLECTIONS; measured in this run, `lintLivenessProperties({ forms: [{ name, object, sections, subforms: [...] }] })` returns no finding for `subforms` (vitest: expected undefined to be 'liveness-dead-property'), while authorWarnedProperties('form') contains it; the ledger had 6 dead rows before this change (split*, drawerSide, drawerWidth, modalSize), 7 now · reach: measured at the exported lint function only; the `os lint` CLI door was NOT measured, and at parsing doors the tombstone refuses first · predates this change · dedupe words: TYPE_COLLECTIONS forms, liveness form ledger silent, lintLivenessProperties forms collection, liveness-dead-property form item", "carrier: none · noted, not filed (stale fixtures): packages/lint/src/validate-field-consumers.test.ts hands the field-consumer rule about twenty `forms:` items carrying `subforms`; the rule reads `subforms` by key name on raw input (CHILD_COLLECTION_KEYS in validate-field-consumers.ts, generic leaf-key walk), and the spec now refuses that carrier. Only the one spec-acceptance pin was flipped here; rehoming the fixtures to a carrier that parses is a lint-owned change. The file is excluded from the new absence pin's subforms judgement with a written reason.", "carrier: none · noted, not filed (dead code, predates this change): packages/cli/src/commands/doctor.ts collectViewObjectRefs reads `subforms` on a form held by a view (`form` / `formViews`), unreachable on a parsed protocol-19 stack since views hold lists only; its witness packages/cli/test/doctor-refs.test.ts is excluded from the absence pin's subforms judgement with a written reason.", "carrier: none · noted, not filed (comments only): prose still naming a form view's `subforms[].columns` as a carrier of the inline grid column in packages/spec/src/ui/component.zod.ts, packages/spec/src/data/inline-grid-columns.ts, packages/spec/src/contracts/automation-service.ts, packages/spec/src/conversions/entries/shared.ts, packages/lint/src/validate-field-consumers.ts docblocks, ui/packages/types/src/zod/objectql.zod.ts and ui/packages/app-shell/src/views/metadata-admin/form-spec.ts.", "carrier: none · noted, not a defect: content/docs/frontend/plugins/plugin-view.mdx documents the objectui object-view node's own `form.subforms` (forwarded by ObjectView to the ObjectForm block prop, which stays live) and content/docs/deployment/validating-metadata.mdx names the React block prop; neither was edited, and plugin-view.mdx is excluded from the absence pin's subforms judgement with that reason." ] }objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS
Claim amendment · 2026-12-02T06:33Z · claim 7334156966, PR 1 (#39061) surface widened by the files a red gate, a red test or a falsified sentence forced (card thread report 7337106467).
File surface (added):
packages/spec/src/migrations/entries/retired-keys/19.ui__Form__subforms.ts(the gate needs one retired-keys entry per def key),packages/spec/src/conversions/conversions.test.ts,packages/spec/src/ui/inline-grid-column-carriers.test.ts,packages/spec/src/ui/view-strictness-batch18.test.ts,packages/spec/src/shared/retired-key-removal-version.pin.test.ts,packages/spec/src/stack.zod.ts(the inline-column check's form arm, unreachable once the key is gone),packages/spec/dropped-refinements.baseline.jsonandpackages/spec/liveness/undrilled-containers.baseline.json(shrink only),packages/spec/src/migrations/entries/semantic/19.master-detail-related-list-tab-by-default.ts(one sentence the change falsified), the generated strictness-ledger counts page underdocs/audits/,packages/lint/src/validate-field-consumers.test.ts,ui/packages/types/src/__tests__/object-form-subforms-columns-11266.test.ts.Serial constraints cleared:
check-handover.mjs --inflightover the lint test, the ui types test andstack.zod.tsreads no other in-flight claim on them.objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS
Claim amendment · 2026-12-02T06:34Z · claim 7334156966, PR 2 of 2 joins: the ADR amendment the retirement owes.
File surface (added, PR 2 only):
docs/adr/0035-config-driven-master-detail.md(§2, §6),docs/adr/0050-form-layout-vs-presentation.md(§3, §4) — dated amendment notes recording that the form view'ssubformsis retired at protocol 19 and what replaces it; no decision text rewritten beyond what the retirement falsifies.Container & model:
M,mode:card-thread,model: CONTRACT_REVIEW_TIER (dispatch-gates --tier: "Model tier — MANDATORY … 'docs/adr/**'"),effort: xhigh (reason: ADR amendment; this PR's File surface names docs/adr/** alone)Serial constraints cleared:
check-handover.mjs --inflightover the two ADR files reads no other in-flight claim on them.Landing: Tier H (
docs/adr/**); the maintainer approves.objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhcDo1KkziovnoDxog
os-dev-report
PR 2 of #38140 → #39071, head 0dc1b48, reported 2026-12-02T07:12Z.
{ "issue": 38140, "status": "done", "branch": "claude/project-thread-37qug9-adr", "pr": 39071, "session": "session_01WGufzhcDo1KkziovnoDxog", "served_tier": "CONTRACT_REVIEW_TIER (read from the harness-written model field of this subagent's transcript, 26 of 26 rows equal to the constant dispatch-gates.mjs maps to that tier name; matches the order). Served effort: NOT MEASURED, reason: the subagent transcript carries no effort field I could read.", "premise_still_valid": true, "summary": "PR 2 of 2 is written and pushed, not opened: remote branch claude/project-thread-37qug9-adr at 0dc1b48f548d4e672d19160e3e3fd255e6a45e27 (two commits, f93ce759 then 0dc1b48f, on base 431f8802; model-free trailer pair on both; no force push). The diff is two files, 71 lines added and 2 changed: ADR-0035 gains a dated note under the layered-surface table (the claim's §2) and one under 'Where derivation is wired' (§6); ADR-0050 gains a dated note under Decision 3 and one under Decision 4; each record's Status line gains one appended '· **Amended** (2026-12-02, #38140, ruling record 7303122859, 「退役这个配置」)' segment. No decision sentence, table row or earlier note is edited or deleted. The notes record that a form view's `subforms` is retired at protocol 19 and that the replacement is a field group of the parent object whose `relatedList` names the child (ADR-0035's 2026-11-20 note, #35889). Per-line verdicts against the tree are tabled in the PR body draft: every line the order listed is answered, line 266 (the e2e file name) is NOT falsified and gets one clause, and two lines the order did not list are answered too (ADR-0035 line 57 'All three converge', ADR-0050 line 23 the TL;DR). PR body draft: /tmp/claude-0/-home-claude/7d7e46e5-3022-53e5-9959-26ad2729a6cf/scratchpad/issue-38140/pr2-body.md (first line 'Part of #38140', session-URL footer, body checker exit 0). Changeset: none needed, the thread sends the `skip-changeset` label in the same pr_create (no package ships docs/adr; without the label Check Changeset fails a PR with zero changesets). Tier: H as claimed; the low-risk add-only arm does not apply because its reader reports 'removes 1 line(s)' on each file (the Status line). Suggested title: docs(adr): record the retirement of the form view's subforms in ADR-0035 and ADR-0050. No GitHub write was made, so the os-dev-report issue comment is NOT posted: the order forbids it and the thread owns it.", "tests": "None added, none owed: the diff is prose in two design records and changes no behaviour, so nothing is ablated (docs are not ablated). Tree readings behind the notes, re-run at 431f8802 with positive controls: `subforms` in ui/apps/console/src/components/FormPage.tsx = 0 (control `submitBehavior` = 4); `subforms` outside tests in packages/rest/src, packages/runtime/src, packages/objectql/src = 0, 0, 0 (control `submitBehavior` = 1 in packages/rest/src); authored `subforms:` outside tests in examples and packages/apps = 0 (control `submitBehavior:` = 6); `attachInlineSubforms` in ui/packages/app-shell/src/providers/MetadataProvider.tsx sets `groupSubforms` on the parent object and `recordFormSubforms` in ui/packages/app-shell/src/utils/recordFormNavigation.ts reads that member alone; tracked files named SplitForm = 0; the `object-master-detail-form` detail entry in packages/spec/src/ui/component.zod.ts still declares relationshipField, columns, amountField. The three names the notes take from PR 1 only (tombstone `subforms: retiredKey(...)` on FormViewSchema at view.zod.ts line 5812, conversion id `form-view-subforms-removed`, semantic entry id `ui-form-view-subforms-retired`) and the `split` prescription naming `relatedList` were re-read on PR 1's branch at its CURRENT head 6d664d75 (it moved from the 3dc2a1ca the order named by one test-only commit touching two metadata-core test files) and are there as the notes spell them.", "gates": "Derived with `node scripts/pm/dispatch-gates.mjs --commands` (no paths; merge base 431f8802): 21 commands. All 21 ran at head 0dc1b48f, each exit code captured after redirect and before any pipe; reconciliation line: '✓ dispatch-gates --ran: 21 derived famil(ies) accounted for — 21 run, 0 NOT-MEASURED (a DERIVED zero — all 21 recorded an exit code and none of them is 3).' Rows, all exit 0: node scripts/check-adr-links.mjs; same --self-test; node scripts/check-closing-keyword-parity.mjs; same --self-test; node scripts/check-comment-mask-corpus.mjs; node scripts/ci/plan-test-core-shards.mjs --self-test; pnpm check:adr-anchors; pnpm check:adr-index; pnpm check:adr-symbol-anchors; pnpm check:ci-filter-parity; pnpm check:closed-ceremony-text; pnpm check:cross-package-test-inputs; pnpm check:doc-authoring; pnpm check:driver-memory-census; pnpm check:gitlink-declared; pnpm check:nul-bytes; pnpm check:pm-governed-merges; pnpm check:pm-prior-rulings; pnpm check:refd-timer-probe; pnpm check:watch-hint-literal; pnpm --filter @objectstack/lint run check:doc-formula-expressions. Verdict lines: 'check-adr-links: 1287 relative link destination(s) under docs/adr/ resolve'; 'check-adr-symbol-anchors: 4645 anchors across 165 records resolve — 1756 symbol (1727 declaration, 29 literal), 2837 file-level, 52 cross-repo, 6 exempt, 130 continuation' (main at 431f8802 read 4638, 1753, 2833: the notes add 7 anchors, all judged); 'adr-index --report: OK — docs/adr/README.md is current' (the index did not need regenerating: no file outside the two records changed); 'check-adr-anchors: OK (135 anchored file(s) ...)'; 'check-nul-bytes: OK (scanned 29409 text file(s) ...)'. One gate first answered exit 3 PREREQUISITE NOT MET (doc-formula-expressions imports compiled @objectstack/formula and @objectstack/lint); after `pnpm exec turbo run build --filter=@objectstack/formula --filter=@objectstack/lint --concurrency=2` under os-verify-lock ('VERDICT command-exit 0', held 77s, waited 0s, 0 tracked files changed) it answered exit 0, which is the recorded reading. Outside the derived list: `PR_BODY=... node scripts/check-partof-closing-keyword.mjs` on the body draft, exit 0. NOT MEASURED: the PR's check-runs, reason: the PR is not open (the thread opens it), so no check run exists; every CI-owned family (type-check lanes, whole-root scans, test:repo, the scheduled governed-merges audit with its since window) is CI's. Logs: /tmp/claude-0/-home-claude/7d7e46e5-3022-53e5-9959-26ad2729a6cf/scratchpad/issue-38140/pr2/gate-results.txt, /tmp/claude-0/-home-claude/7d7e46e5-3022-53e5-9959-26ad2729a6cf/scratchpad/issue-38140/pr2/ran-reconcile.log and /tmp/claude-0/-home-claude/7d7e46e5-3022-53e5-9959-26ad2729a6cf/scratchpad/issue-38140/pr2/gatelogs/.", "mcp_calls": "0 GitHub MCP calls. One non-GitHub MCP read: mcp__claude-code-remote__get_session (session info; it reports the parent thread session, not this subagent).", "api_writes": "0. No REST write, no comment, no label, no PR. Reads: one `gh api` read of the card's comments. Git: 2 pushes to claude/project-thread-37qug9-adr (never forced), 2 ls-remote reads, 1 fetch of main to FETCH_HEAD only (empty refmap, origin/main ref left at 431f8802).", "classifier_refusals": [], "deviations": [ "Both records' Status lines were edited (one appended Amended segment each). The claim names sections (§2, §6; Decisions 3, 4), not the Status line. I read this as inside 'as the repo's ADR amendment convention does': Prime Directive 13 and every earlier amendment in both records carry it. It is the only reason the diff is not add-only. If the seat reads it as outside the surface, the two segments drop cleanly and the notes stand alone.", "The note under ADR-0035's layered-surface table also reads four sentences that sit outside §2 and §6 (the 2026-11-20 and 2026-11-21 notes under the read-side table, Consequences, Status of implementation). They are quoted and left as written; no line there is edited.", "The os-dev-report issue comment was not posted and no PR was opened: the order forbids GitHub writes. The report exists only as this handback until the thread posts it.", "The branch is named by the dispatch order only: claim 7334156966 names claude/project-thread-37qug9 and amendment 7337178377 names no branch.", "main moved one commit past the base (431f8802 to 78148226) during the run. That commit changes no file under docs/adr and none of the files the notes cite. The branch was not merged with main and the gate union was not re-run against it.", "Six ADR gates were first run at f93ce759; the full union cited above is the later run at the final head 0dc1b48f.", "The worktree /home/claude/objectstack-issue-38140-adr is left in place with node_modules installed and formula and lint built (thread-created worktree; the thread opens the PR and may need a fix round). Tree clean, nothing local-only. No background process or monitor is left running.", "test:repo was not run locally: the derivation did not name it and it belongs to CI." ], "open_questions": [ { "question": "Which declaration lines does PR 2's body carry? The draft copies the claim's (Clause-②: yes (narrowing), Metadata-protocol: narrowed) and adds Skills-docs: none with its reason, because os-dev says copy the claim's two lines and never invent them, and amendment 7337178377 carries none of its own. But PR 2's own diff is ADR prose and narrows nothing: the narrowing arm makes the seat owe needs:dogfood-battery on every head of a prose-only PR, and the body says narrowed beside a skip-changeset label.", "options": [ "A keep the claim's lines as drafted: rule-compliant today; costs one opt-in battery run per head and reads oddly beside skip-changeset", "B the seat amends the claim with PR-2-specific lines (Clause-②: no, Metadata-protocol: none) and the thread rewrites the three lines in the draft before pr_create: matches the diff; needs a written claim amendment first, since an unbacked no is the auditable false declaration", "C zero-write the lines on PR 2: only if the seat rules the claim's lines belong to PR 1 alone" ], "recommendation": "A unless the seat amends the claim first, because the standing rule is to copy and a wrong no is the costly error; B is the cleaner end state and costs the seat one comment." }, { "question": "Landing order against PR 1 (#39061). The notes describe the tree as PR 1 leaves it (authoring refused at parse, the conversion id, the semantic entry id, the repointed split prescription).", "options": [ "A land PR 2 after PR 1: the record never describes a refusal main does not yet make", "B same merge-queue batch, PR 1 first", "C PR 2 first: the two records would state a retirement that main does not carry, for as long as PR 1 is open" ], "recommendation": "A, because every anchor already holds on main so nothing forces PR 2 early, and if review renames either id on PR 1 the notes must follow before landing." }, { "question": "Should claim amendment 7337178377 name PR 2's branch? It names the file surface and tier but no branch; the claim's Branch line names PR 1's.", "options": [ "A the seat adds the branch to the claim before the thread opens the PR", "B leave it: the order names it" ], "recommendation": "A, because a reader of the card cannot tell from the claim which branch PR 2 lives on." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed (it is in the PR body's Acceptance notes) · ADR-0050 Decision 3's other half, \"the list's `NavigationMode:'split'`\", is stale too: `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 scopes itself to the `subforms` half. A stale sentence in a design record, observation only.", "carrier: PR 1 of this card (the card thread) · noted, not filed · ui/packages/plugin-view/src/ObjectView.tsx lines 2886 to 2888: the comment above `subforms: schema.form?.subforms` says 'a form view can declare inline child collections'. After PR 1 a form view cannot; the line forwards the object-view block's own form slot. Comment wording only, no behaviour.", "carrier: PR 1 of this card (the card thread) · noted, not filed · .changeset/38140-form-subforms-retired.md line 16 on PR 1's branch says the page a named or public form opens on 'never drew a child table'. That is a claim about all history; on this shallow clone I could only confirm the present tree (0 hits in FormPage.tsx), so the ADR notes say 'does not read the key'. The thread may want to confirm the historical wording or soften it." ] }objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS
Claim amendment · 2026-12-02T07:14Z · claim 7334156966, following the card thread's report 7337906368.
PR 1 (#39061) file surface (added):
packages/metadata-core/src/artifact-forward-conversion.test.tsandpackages/metadata-core/src/artifact-forward-conversion-package-body.test.ts, test-only. Four tests replay the step-18 subform-columns fixture through the major-step half, and the new 19 conversion fires there; this was a real CI red on the PR.PR 2 (#39071) branch:
claude/project-thread-37qug9-adr(amendment 7337178377 named none).PR 2 declaration lines:
Clause-②: noandMetadata-protocol: none. PR 2 is ADR prose only (two ADR files); the narrowing and its dogfood battery belong to PR 1, which carries the code. The claim'sClause-②: yes (narrowing)andMetadata-protocol: narrowedstay on PR 1.PR 2 file surface (added): the
Statuslines of both amended ADRs, which gain an appendedAmendedsegment per house convention.Landing order: PR 2 after PR 1. Both are Tier H.
Serial constraints cleared:
check-handover.mjs --inflightover the two metadata-core tests reads no other in-flight surface on them.objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhcDo1KkziovnoDxog
os-dev-report
PR 1 of #38140 (#39061), patch round for the Test Core red: head 6d664d7, reported 2026-12-02T08:05Z. The branch has since merged main (head abe4bce; regeneration changed nothing).
{ "issue": 38140, "status": "done", "branch": "claude/project-thread-37qug9", "pr": "https://github.com/objectstack-ai/objectstack/pull/39061", "session": "session_01WGufzhcDo1KkziovnoDxog", "premise_still_valid": true, "summary": "Patch round for the Test Core red on PR 39061. New head: 6d664d7545af3c045fac02b2da8b0f5675d79274 on origin/claude/project-thread-37qug9 (local == remote, tree clean, one new commit 6d664d75 on top of 3dc2a1ca, pushed without force, model-free trailer pair). Diff vs origin/main is now 31 files, 1140 additions + 322 deletions = 1462 changed lines. Reproduced the CI failure locally first (4 failed | 455 passed across the two files, the four extra notices at views[0].form.subforms, views[0].formViews.quick.subforms, viewItems[0].config.subforms, viewItems[1].subforms and their packages[0].manifest. twins), then fixed it in the tests only: FILES TOUCHED (both outside the claim, please have the seat amend): packages/metadata-core/src/artifact-forward-conversion.test.ts and packages/metadata-core/src/artifact-forward-conversion-package-body.test.ts. Each gains a `SUPERSEDED_AT_THIS_DOOR` map (`form-view-subform-columns-canonicalized` → [`form-view-subforms-removed`]) and an `afterRetiringEntries` helper that states the spec suite's SUPERSEDED_FIXTURES rule at this door: expected result = the listed retiring entries applied, in order, to the released fixture's `after`; the fixture's own notices are counted as before; every other notice must equal, in order, the `ID at PATH` sites the retiring entries report (prefixed with packages[0].manifest. in the body file); each retiring entry must be registered, load-retired, from a LATER major, and must actually change what it is handed, so a stale row fails. The built-after pins keep by-reference identity for every non-superseded entry and assert the retiring entries' result for the superseded one. A census case in each file requires every row to name a retired step-18 entry. No released fixture was edited, no test was skipped, no product code changed: the door replaying a protocol-19 retired entry over a ^18 artifact is its designed behaviour (retiredAfter 18.6.0 is at or above the 18.0.0 floor) and is what keeps an installed 18 artifact loading on 19. Only the door-replayed entry is listed, since the major-19 form move in the spec's list never replays at this door. Sweep result: no other consumer turned red (readings in tests). The PR body draft file /tmp/claude-0/-home-claude/7d7e46e5-3022-53e5-9959-26ad2729a6cf/scratchpad/issue-38140/pr1-body.md is updated for this head (the two files added to the out-of-surface list, new readings, gates at 6d664d75); I did not write to GitHub, so the live PR body still describes 3dc2a1ca until the thread re-sends it. Served tier: CONTRACT_REVIEW_TIER. MISS TO OWN: my first report's local scope stopped at the packages whose tests I knew read the form schema and did not run the downstream packages that iterate ALL_CONVERSIONS fixtures; the sweep below closes that for packages/, ui/, examples/ and scripts/.", "tests": "All at head 6d664d75, exit codes captured before any pipe, VERDICT command-exit lines read. Reproduction before the edit (at 3dc2a1ca): `pnpm --filter @objectstack/metadata-core exec vitest run --maxWorkers=2 src/artifact-forward-conversion.test.ts src/artifact-forward-conversion-package-body.test.ts` → Test Files 2 failed, Tests 4 failed | 455 passed, exit 1. After: same command → Test Files 2 passed, Tests 461 passed (459 + the two census cases), exit 0. `pnpm --filter @objectstack/metadata-core test` (full) → Test Files 30 passed (30), Tests 1126 passed, exit 0. `pnpm --filter @objectstack/metadata-core typecheck` (tsc + tsconfig.test.json, so the test layer is covered) → exit 0. SWEEP (grep over packages/ excluding spec, plus ui/, examples/, scripts/, for form-view-subform-columns-canonicalized, ALL_CONVERSIONS, STEP_18, toMajor === 18, and also applyConversions, collectConversionNotices, applyConversionsToStoredItem, CONVERSIONS_BY_MAJOR, RETIRED_KEYS_BY_MAJOR, fixture.before/after): the only tests that replay released fixtures through a door are the two metadata-core files; `form-view-subform-columns-canonicalized` and STEP_18 occur nowhere else outside spec. Suites run on what the sweep found: `pnpm --filter @objectstack/metadata-protocol test` (full) → Test Files 381 passed | 9 skipped (390), Tests 23940 passed | 45 skipped, exit 0; `pnpm --filter @objectstack/metadata test` (full) → Test Files 84 passed, Tests 2922 passed, exit 0; cli, 21 named files without --project (migrate-meta-composed-load-conversions, -composed, -default-range-window, -default-range, -engine-guidance, -json-replayed-nothing, -load-conversions, -out-snapshot, -protocol-range, -stored-failed, -strict-factories, -write, stack-conversion-record-door, diff-upgrade-plan, doctor-refs, meta.report-order, meta.form-move-sites, meta.stored-flags, meta.stored-actor, meta.stored-view-all-fields, stored-forms) → Test Files 21 passed, Tests 184 passed | 1 skipped, exit 0; runtime standalone-stack-option-b-forward-conversion (6 passed), service-automation decision-overlapping-edge-conditions.pin + structural-condition-shape (70 passed), create-objectstack scaffold-retired-manifest-keys (5 passed), objectql rule-validator (194 passed), all exit 0; ui conversion consumers ObjectView.storedRowParity-10380, ViewPreview.foldedOnRead-25923, page-header-subtitle-conversion-coverage, ListView.strayGroupByRefused-8365 → 4 files, 40 passed, exit 0. @objectstack/lint full suite (259 files, 10301 passed, covers page-walk-conversion-parity and authoring-rule-input-tier) and the spec suites were read at 3dc2a1ca and no file of theirs changed since. NOT MEASURED: cli test/migrate-meta.e2e.test.ts, lint-conversion-notices.e2e.test.ts, build-json-failure-conversions.e2e.test.ts, validate-json-failure-conversions.e2e.test.ts — named explicitly they match no file in the package's local unit/integration projects (vitest: 'FILTER SELECTED NOTHING', exit 1, nothing ran), so they are CI's; the cli integration tier as a whole is declared to CI per os-dev. Non-vacuity of the new rule: the reproduction above is the ablation (without the row both blocks are red); with the row, `afterRetiringEntries` itself fails if the retiring entry reports no site. Readings unchanged from the first report for everything else (spec test 919 files / 29086 passed, spec typecheck, spec test:repo 95 files / 1633 passed, ui types 391 files / 10528 passed, the two ablations).", "gates": "Re-derived at 6d664d75: `node scripts/pm/dispatch-gates.mjs --commands` → the same 136 families (31 paths vs merge base c748e7dfd). The whole union was rerun on this head, not a subset: `--ran` with recorded exit codes prints `✓ dispatch-gates --ran: 136 derived famil(ies) accounted for — 135 run, 1 NOT-MEASURED (0 DERIVED from a recorded exit 3, 1 claimed).` 135 exited 0 (among them check:generated, check:authorable-surface, check:api-surface, check:liveness, check:docs, check:react-blocks, check:skill-examples, check:upgrade-guide, the ADR-0087 registration and changeset no-major scripts, check:cross-package-test-inputs, check:test-source-alias, check:nul-bytes, check:role-word, check:issue-citations, check:platform-checklist, check:type-check-debt). Two families first hit my own 300 s per-command cap under box load (check:query-options-erasure, and check:type-check-debt in the previous round): each was rerun with a longer budget and exited 0; the recorded code is the rerun's. NOT MEASURED: `node scripts/check-plugin-teardown-shape.mjs --self-test`, exit 3, shallow clone cannot reach its pinned positive-control commit (its own PREREQUISITE refusal; script untouched) → CI. CI check-runs: not read by me (no GitHub reads or writes this round); the coordinator reported Test Core 11/12 red on 3dc2a1ca for exactly the four metadata-core cases fixed here, and the new head owes a fresh CI round and a fresh dogfood-battery round.", "mcp_calls": "0", "api_writes": "0 — no REST writes; one `git push` of commit 6d664d75 to origin/claude/project-thread-37qug9, not forced", "classifier_refusals": [], "open_questions": [ { "question": "The live PR 39061 body still describes head 3dc2a1ca and does not list the two metadata-core test files. Who re-sends it?", "options": [ "A the thread/seat replaces the body from the updated draft at /tmp/claude-0/-home-claude/7d7e46e5-3022-53e5-9959-26ad2729a6cf/scratchpad/issue-38140/pr1-body.md", "B leave the body and note the patch round in a seat comment" ], "recommendation": "A, because the body's Verification section must cite the head the gates ran on (6d664d75) and its out-of-surface file list is the claim-amendment record; the draft still carries two details/summary blocks, the open point from the first report." }, { "question": "The claim needs a further amendment for packages/metadata-core/src/artifact-forward-conversion.test.ts and packages/metadata-core/src/artifact-forward-conversion-package-body.test.ts. Does any other open claim hold either file?", "options": [ "A seat amends and checks for collisions", "B split the two files out" ], "recommendation": "A, because Test Core cannot be green on this retirement without them." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed (observation, no defect measured): the superseded-fixture rule now lives in three test files with their own maps — packages/spec/src/conversions/conversions.test.ts (SUPERSEDED_FIXTURES, whole table) and the two metadata-core files (SUPERSEDED_AT_THIS_DOOR, the door-replayed subset). A future retirement that supersedes a released fixture must add its row in each place its entry is replayed; the metadata-core rows fail loudly when stale, but nothing links the two lists. The spec list is module-local to a test, so sharing it would mean a published test seam, which is a contract decision and not taken here.", "class: b · Seam: spec:packages/spec/liveness/form.json (dead rows) → runtime:packages/lint/src/lint-liveness-properties.ts#TYPE_COLLECTIONS · unchanged from the first report: `forms` is not registered, so the form ledger's dead rows warn nobody when the rule is handed an unparsed stack (measured at the exported function; the `os lint` CLI door not measured) · dedupe words: TYPE_COLLECTIONS forms, liveness form ledger silent, lintLivenessProperties forms collection", "carrier: none · unchanged from the first report, noted not filed: the field-consumer lint suite's `forms:` fixtures carrying `subforms`; the CLI doctor's view-held-form `subforms` arm; comments still naming a form view's `subforms[].columns` as a column carrier (spec component.zod.ts, data/inline-grid-columns.ts, contracts/automation-service.ts, conversions/entries/shared.ts, lint validate-field-consumers.ts, ui types objectql.zod.ts, app-shell form-spec.ts)." ] }objectstack-fleet commentedon Dec 2, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS
2026-12-02T09:09Z · Closed by the owning seat. Both PRs of this card landed: #39061 (the code: the form view's
subformsis retired under ADR-0049, and the protocol-19 conversionform-view-subforms-removeddeletes the key with one notice per key) merged 2026-12-02T09:06Z as 9da8804, and #39071 (the ADR-0035 and ADR-0050 amendment notes) merged earlier. Follow-ups: #39067 (wording and fixture nits N1–N4, P1–P3) and #39066 (the lint liveness walk skips stackforms). The merged branchesclaude/project-thread-37qug9andclaude/project-thread-37qug9-adrcan be deleted.