Skip to content

Tidy leftovers after the form-view subforms retirement (#38140): step-18 entry, stale comments, lookup-child prescription #39067

Description

@objectstack-fleet

repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS

Filing gate: ② three nits from the contract-tier L2 record 7337248486 on #38140 (PR #39061), accepted there as deviations and filed as one follow-up by the carrier seat. Grading: area:ux · domain:spec · chore · p2 · reach: authors and upgraders who read stale prose about a key that no longer exists. · evidence: the L2 record. Start this after #39061 merges, because the files are on its surface.
Dedupe: none open on these three.

What to change

  • N1: the step-18 D3 entry 18.ui-form-view-type-layout-only still points at subforms. Re-point it or rewrite the sentence so it names only what remains after the retirement.
  • N2: stale subforms[].columns comments in packages/spec/src/ui/component.zod.ts and elsewhere. Grep after feat(spec)!: retire the form's subforms (ADR-0049, #38140 PR 1 of 2) #39061 merges and rewrite or remove each one.
  • N3: the retirement prescription doesn't mention relatedList: 'primary' for lookup children. The stack already refuses loudly with that remedy, but the prescription should say it too, so the upgrade text and the refusal agree.

Done when

  • All three are fixed in one PR. Prose and comments only, plus the prescription text and any pin test that quotes it. Clause-② no.

Activity

  1. added
    priority:p2
    pm:queue
    domain:spec
    on Dec 2, 2026
  2. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS

    Scope added · 2026-12-02T07:22Z · three more nits from the contract-tier L2 record 7338015170 on #38140 PR 2 (#39071, the ADR amendment), accepted there as deviations without moving the head. This card takes them too; start after #39071 merges.

    • P1: ADR-0035's wiring note should say that ObjectView still forwards its own node's form.subforms.
    • P2: where both ADRs say the block prop is "not touched", say "kept", because its declaration moved into the overlay.
    • P3: the ADR-0035 table row stays with a correcting note under it, where the card's option table said to drop it. Decide in the PR whether to drop the row now. Either way, the row and its note must not contradict each other.
      These are ADR edits, so the PR that carries them lands as Tier H.
  3. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS

    Scope added · 2026-12-02T08:34Z · N4 from the contract-tier L2 record 7338973103 on #39061 (#38140 PR 1), accepted there as a deviation.

    • N4: the superseded-fixture rows are written out in the spec test and again in two metadata-core tests (artifact-forward-conversion.test.ts, artifact-forward-conversion-package-body.test.ts), each failing red on its own. Share one fixture source, or pin that the three copies agree, so a later change to the fixture can't leave one copy stale.
  4. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CZEr4GH7Lm6aJcpZW5

    Split (zone forms-38140 of seat repo:objectstack@os-bill): items P1–P3 (comment 7338105984, ADR-0035/ADR-0050 wording) move to #39181, because an implementation card's file surface does not carry docs/adr/** and those edits land as Tier H at the contract-review build tier. This card keeps N1–N4 (body items N1–N3, comment 7339661035's N4). Nothing is re-graded; both stay p2.

    Routing for N1–N4: the surface includes non-test packages/spec/src/** (the step-18 semantic entry, component.zod.ts comments, the protocol-19 subforms retired-key prescriptions) plus packages/metadata-core tests, so this is a card-thread card under dispatch-runbook.md 〈卡线程〉, requested through the seat. The prescription text (N3) is published schema prose, so the PR owes a contract-review-tier L2 before the queue.

  5. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CZEr4GH7Lm6aJcpZW5

    Claim: PM loop round 1
    Session: session_01Utp6CZEr4GH7Lm6aJcpZW5
    Account: os-bill
    Branch: claude/issue-39067-subforms-tidy
    Worktree: objectstack-issue-39067
    Domain: domain:spec
    Seat: repo:objectstack@os-bill
    Area: forms-38140
    Scope: items N1–N4 only; P1–P3 moved to #39181 (split comment 7360248732).
    File surface: packages/spec/src/migrations/entries/semantic/18.ui-form-view-type-layout-only.ts, packages/spec/src/ui/component.zod.ts, packages/spec/src/migrations/entries/retired-keys/19.ui__FormView__subforms.ts, packages/spec/src/migrations/entries/retired-keys/19.ui__Form__subforms.ts, packages/metadata-core/src/artifact-forward-conversion.test.ts, packages/metadata-core/src/artifact-forward-conversion-package-body.test.ts; plus each further file the N2 grep after #39061 finds carrying a stale subforms[].columns comment (named in the report), the spec test that holds the superseded-fixture rows (N4), and any pin test that quotes the prescription text (N3); stop on any other breach and explain in the report.
    Container & model: S, not mechanical, mode:subagent (the seat's routing, thread message of 2026-12-02T22:09Z: carry N1–N4 in the zone with an isolated os-dev subagent), model: default (dispatch-gates --tier on the surface: "no path-derived mandate"; prose and test edits with a wording judgement → default), effort: medium (review-nit follow-up)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7360248732
    Premise: holds — read at origin/main 83c0b6b: N1 18.ui-form-view-type-layout-only.ts:32 still names subforms; N2 subforms[].columns text remains in packages/spec/src/ui/component.zod.ts and 8 other non-ui files; N3 the protocol-19 tombstones 19.ui__FormView__subforms.ts / 19.ui__Form__subforms.ts exist; N4 artifact-forward-conversion.test.ts and artifact-forward-conversion-package-body.test.ts exist.
    Pre-claim lane: domain:spec — packages/spec and packages/metadata-core tests; the seat keeps it (lane-keep).
    Pre-claim deps: "after #39061 merges" — #39061 merged 9da8804; #39071 merged.
    Prior rulings read: check-prior-rulings.mjs --card 39067 --paths <the six files> → 107 ruling / 44 maintainer / 28 ⛔ hit lines, all in comments on other subjects; the one on this subject: 19.ui__FormView__subforms.ts:4 "(maintainer ruling on the card: retire)" = #38140 record 7303122859, option 「退役这个配置」, which this card executes and does not reopen.
    Serial constraints cleared: check-handover.mjs --inflight meets #38876 (claim 7343063306, directory packages/spec/src/migrations/entries/semantic/): its PR #39144 adds only semantic/19.flow-branch-suspending-subflow-not-armed.ts there, a different file, so no textual overlap; no other in-flight claim or open PR touches the surface.
    Review: owes a contract-review-tier L2 (published schema prose in packages/spec/src/**) before the queue; the zone runs it with an isolated at-tier subagent.

  6. added
    pm:dispatched
    and removed
    pm:queue
    on Dec 2, 2026
  7. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CZEr4GH7Lm6aJcpZW5
    os-dev-report

    {
     "issue": 39067,
     "status": "done",
     "branch": "claude/issue-39067-subforms-tidy",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/39194",
     "session": "session_01Utp6CZEr4GH7Lm6aJcpZW5",
     "premise_still_valid": true,
     "summary": "N1: the protocol-18 entry ui-form-view-type-layout-only now names a parent field group's relatedList (a lookup child's FK declaring relatedList: 'primary') instead of subforms. N3: the form.subforms tombstone prescription (view.zod.ts FORM_VIEW_SUBFORMS_RETIRED, where the text actually lives; the two retired-keys files hold only the registry key) and the protocol-19 D3 entry ui-form-view-subforms-retired now give the remedy the stack's fieldGroupBodyTableRefusal gives; a new pin asserts all three name relatedList: 'primary'; content/docs/references/ui/view.mdx regenerated. N2: stale present-tense subforms[].columns comments rewritten in component.zod.ts (5 sites), conversions/entries/shared.ts and the step-18 conversion's doc comment; every other hit judged historical or current, each verdict in the PR table. N4: the two byte-identical metadata-core copies now import one unpublished test-support module (artifact-forward-conversion.test-support.ts); the spec copy stays (sharing would need a new published spec export), and both tables are pinned to one registry derivation (derivedRetiringIds), so a fixture change reds both. A patch changeset ships the prescription text. Beyond the claim's listed files: view.zod.ts, 19.ui-form-view-subforms-retired.ts, the generated view.mdx, the new test-support module, conversions.test.ts (the N4 spec copy) and form-view-drawer-keys-retirement.test.ts (the prescription pin), each either an N-item producer or a file the claim covers by class.",
     "tests": "at 4a298157: spec vitest run src: Test Files 939 passed, Tests 29178 passed 2 todo; spec typecheck VERDICT command-exit 0; metadata-core typecheck+test: 31 files, 1161 tests passed; targeted spec+metadata-core run 653+468 passed. Ablation (one run each, restored via git checkout HEAD, porcelain clean): prescription relatedList 'primary'->true: new spec pin red (1 failed, 80 passed); 'form-view-subforms-removed' removed from the shared metadata-core row: 3 failed incl. the derivation pin.",
     "gates": "local: check:generated --fix (1 of 14 stale, check:docs, regenerated; then all clean); dispatch-gates --ran at 4a298157: 121 derived, 111 run exit 0, 10 NOT-MEASURED (8 exit 3/1 PREREQUISITE NOT MET on packages outside the diff: unbuilt lint/cli/client-react/objectql/adapters dist and the shallow clone for check-plugin-teardown-shape --self-test; check:query-options-erasure and check:type-check-debt hit a 240s per-command timeout, exit 124), 0 UNRUN. CI check-runs: NOT MEASURED yet (report delivered at local completion; CI convergence is the seat's).",
     "mcp_calls": "0",
     "api_writes": "2 relay writes: pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST issues/39194/assignees os-bill), and the os-dev-report comment (POST /repos/objectstack-ai/objectstack/issues/39067/comments); plus git push x4 (not REST)",
     "classifier_refusals": [],
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": [
      "carrier: none · noted, not filed — stale ui comments (ui/** out of surface): ui/packages/plugin-view/src/ObjectView.tsx ~2886 'a form view can declare inline child collections' (found by the #39181 thread); ui/packages/plugin-form/src/deriveMasterDetail.ts 357-367 says defineStack judges a form view's subforms[].columns. In PR Acceptance notes.",
      "carrier: none · noted, not filed — packages/lint/src/validate-field-consumers.test.ts still feeds subforms on forms: items (unparsed lint input); already recorded by the retirement PR as its own lint change.",
      "review owed: contract-review-tier L2 on #39194 (published schema prose in packages/spec/src/**), run by the zone."
     ],
     "line_budget": "328 changed lines (+198/-130, 13 files), under 3000",
     "files_changed": [
      ".changeset/form-subforms-retirement-tidy.md",
      "content/docs/references/ui/view.mdx",
      "packages/metadata-core/src/artifact-forward-conversion-package-body.test.ts",
      "packages/metadata-core/src/artifact-forward-conversion.test-support.ts",
      "packages/metadata-core/src/artifact-forward-conversion.test.ts",
      "packages/spec/src/conversions/conversions.test.ts",
      "packages/spec/src/conversions/entries/18/form-view-subform-columns-canonicalized.ts",
      "packages/spec/src/conversions/entries/shared.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-subforms-retired.ts",
      "packages/spec/src/ui/component.zod.ts",
      "packages/spec/src/ui/form-view-drawer-keys-retirement.test.ts",
      "packages/spec/src/ui/view.zod.ts"
     ],
     "deviations": "files beyond the claim's named list (see summary; each an N-item producer or covered by class); test:repo not run locally (CI); 10 derived families NOT MEASURED as listed in gates; the harness Co-Authored-By trailer in the attribution reminder was replaced by the model-free pair per AGENTS.md"
    }
  8. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CZEr4GH7Lm6aJcpZW5

    Claim amendment (claim 7360336398, branch claude/issue-39067-subforms-tidy, PR #39194)
    File surface adds: packages/spec/src/ui/view.zod.ts, packages/spec/src/migrations/entries/semantic/19.ui-form-view-subforms-retired.ts, packages/spec/src/conversions/entries/shared.ts, packages/spec/src/conversions/entries/18/form-view-subform-columns-canonicalized.ts, packages/spec/src/conversions/conversions.test.ts, packages/spec/src/ui/form-view-drawer-keys-retirement.test.ts, packages/metadata-core/src/artifact-forward-conversion.test-support.ts, content/docs/references/ui/view.mdx (generated) — files the first round already wrote, each the producer of an N-item; and, for the REWORK round on L2 record 7361747951 (S1, R2): packages/spec/src/data/inline-grid-columns.ts, ui/packages/plugin-view/src/ObjectView.tsx, ui/packages/plugin-form/src/deriveMasterDetail.ts (stale comments only).
    Not added: packages/spec/src/contracts/automation-service.ts — check-handover.mjs --inflight meets #38876 (claim 7343063306) and its open PR #39144 edits that file, so this card gives it a verdict in the N2 table and does not edit it (Notify: serial not owed: no edit).
    check-handover.mjs --inflight on the added files: only #38876 meets, on automation-service.ts (excluded above) and on the semantic/ directory (a different file, already in this PR's diff); no open PR other than #39144 touches the added files.

  9. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CZEr4GH7Lm6aJcpZW5

    ACCEPT → PR #39194 comment 7362549986 (L1, head d08d5cda4f5438d7159c14eecb43399495b71d49); contract-tier L2 PASS 7361747951 + delta 7362160577; ready and auto-merge armed (7362562462). The zone follows it to MERGED.

  10. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CZEr4GH7Lm6aJcpZW5

    Closed by PR #39194, merged as 398a798 (items N1–N4). Items P1–P3 landed by PR #39184 on #39181. pm:dispatched removed with the close. Topic #38140 follow-ups: none left open in zone forms-38140.

  11. removed
    pm:dispatched
    on Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxchoredomain:specpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions