Skip to content

Scenario scorer: records-forms.master-detail-inline-edit still credits the retired inlineEdit: true (follow-up of #35926) #37127

Description

@objectstack-fleet

repo:objectstack#7 · os-alice · session_011y7As5bdhV5T4N9vpjmZzH

PR #36802 (Fixes #35926) retires the boolean arm of inlineEdit on master-detail relationships. Whether a child list renders inline is now decided by the parent's fieldGroups[].relatedList. The parse refuses true/false with a fix hint, and os migrate meta strips them.

The scenario scorer still credits the retired value:

  • packages/qa/scenarios/src/score/scenario-tags.ts, tag records-forms.master-detail-inline-edit: return mode === true || mode === 'grid' || mode === 'form';

After #36802 lands, a build that carries inlineEdit: true fails to parse, so the true arm credits nothing real. A build that goes inline the supported way, through the parent's fieldGroups[].relatedList with no inlineEdit key, is scored as not inline.

Ask

  • Drop the mode === true arm.
  • Credit a master-detail child as inline when the parent's field groups place it via fieldGroups[].relatedList, or when inlineEdit is 'grid' / 'form'.
  • Update the asserts sentence to match, and add a pin for the field-group path.

Source: Contract review finding S2 (7138399935, carried in 7144263532) on PR #36802.

Activity

  1. added
    priority:p2
    pm:queue
    domain:devx
    area:ai
    on Nov 24, 2026
  2. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: first touch 2026-11-24T21:32Z

  3. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

    Claim: PM loop round 2 · 2026-11-24T21:38Z
    Area: a4-A
    Session: session_01QSeKYo86w1wqy2z2fMrryr
    Account: os-justin
    Branch: claude/issue-37127-scorer-inline-edit-field-groups
    Worktree: objectstack-issue-37127
    Domain: domain:devx
    Seat: repo:objectstack#4
    File surface: packages/qa/scenarios/src/score/scenario-tags.ts (tag records-forms.master-detail-inline-edit: its run and asserts), its test file under packages/qa/scenarios/ (a pin for the field-group path and for the dropped true arm), one changeset if the package is published (stop on breach; explain in the report).
    Container & model: S, mode:subagent, model: TIER_DEFAULT (dispatch-gates --tier: no path-derived mandate), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the scenario scorer packages/qa/scenarios/src/score/scenario-tags.ts (objectstack-ai/objectstack) credits inlineEdit: true and misses fieldGroups[].relatedList | the field-group ruling on #35889 (record 7046311205) and PR #36802's narrowing | every scenario-eval round that scores records-forms.master-detail-inline-edit
    Thread-read: 7145069663
    Premise: holds (main 63ab479: scenario-tags.ts line 499 return mode === true || mode === 'grid' || mode === 'form';, and the tag reads no fieldGroups at all)
    Serial constraints cleared: overlap-check probe at 63ab4794eb: scenario-tags.ts merges cleanly with origin/main and every open PR head (0 touch it)
    Pre-claim lane: domain:devx — packages/qa/scenarios/**
    Pre-claim deps: none. PR #36802 (seat repo:objectstack#7, open) narrows the parse; this card does not wait for it — since #35889 a lone inlineEdit already inlines nothing, so the true arm credits nothing real on main today. Seat #7's mailbox #36654 and this card carry no claim by seat #7 at this stamp; notified there.
    Prior rulings read: field-group ruling on #35889 (7046311205, 「一律只看分组」)

  4. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 24, 2026
  5. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr
    os-dev-report

    {
      "issue": 37127,
      "status": "blocked",
      "branch": "claude/issue-37127-scorer-inline-edit-field-groups",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37135",
      "session": "session_01QSeKYo86w1wqy2z2fMrryr",
      "premise_still_valid": true,
      "summary": "Implemented as the card asks. The scenario-tags tag records-forms.master-detail-inline-edit drops the inlineEdit true arm. It credits a child when a field group of the MASTER (field.reference) places it, using the runtime's own spec predicates isGroupPlaceableRelationship(fk) and fieldGroupsPlaceRelationship(master.fieldGroups, childObject, fkField). Those are the same two calls objectui attachInlineSubforms makes at ui/packages/app-shell/src/providers/MetadataProvider.tsx L773-774; the predicates are defined at packages/spec/src/data/related-list-body-table.ts L80 and L110. A relatedList entry names the child by bare child object name (every FK of that child) or by child.field (one FK), and only a plain master_detail FK or a relatedList 'primary' FK is placeable. inlineEdit 'grid' or 'form' still credits, as the card says. The asserts sentence is updated, and pins are added for field-group placement (bare and dotted), group-on-child, relatedList true, true alone not crediting, and grid/form still crediting. BLOCKED on landing order only: test/score/scenario-cards.test.ts pins the golden corpus control cards (invoice_with_line_items, project_with_tasks) as 'pass'. On main that corpus still uses inlineEdit true with no field group, so the corrected tag reads 'fail' there (2 tests red). PR #36802 rewrites exactly those fixtures to field group plus 'grid'. With #36802's corpus.ts (head ca353ccee8) dropped into this tree, both suites pass unchanged, 136/136. The tree was restored by hash. corpus.ts is #36802's file and scenario-cards.test.ts is outside the claimed surface, so I stopped there. PM decision needed: land after #36802 (no further edit), or widen the surface to flip the two READINGS cells (and passedOf counts), which #36802 would then have to flip back.",
      "tests": "At 9725b26666, under os-verify-lock: pnpm --filter @objectstack/scenarios typecheck exit 0. pnpm --filter @objectstack/scenarios test: VERDICT command-exit 1, Test Files 1 failed | 41 passed (42), Tests 2 failed | 1328 passed (1330). The 2 failures are scenario-cards.test.ts control cards invoice_with_line_items and project_with_tasks, both reading records-forms.master-detail-inline-edit 'fail' where the pin expects 'pass'. scenario-tags.test.ts is all green, including the 4 new pins and 2 degradations. Probe with PR #36802 head ca353ccee8 corpus.ts in place: vitest run scenario-cards.test.ts scenario-tags.test.ts gave VERDICT command-exit 0, Test Files 2 passed (2), Tests 136 passed (136). Restore was proven by git hash-object matching HEAD blob (RESTORED-OK), with empty git status. Ablation: none run. The tested behaviour is pinned by both directions in the new describe: true alone fails, a group passes.",
      "gates": "Local, derived from dispatch-gates --commands at 9725b26666 (3 paths): 62 derived, 61 exit 0, 1 exit 3 (pnpm check:dual-build-cjs-loads: PREREQUISITE NOT MET, no dist for 61 packages, NOT MEASURED, CI runs it). dispatch-gates --ran with recorded exit codes: exit 0, '62 accounted, 61 run, 1 NOT-MEASURED'. overlap-check at 9725b26666: VERDICT clean exit 0 (0 open PR heads touch these files). check-nul-bytes exit 0. CI check-runs on 9725b26666 at report time: Check Changeset, Governed Surface Queue Guard, Lint (all lanes), Type Check (all lanes) in_progress; Test Core not yet listed. Test Core is expected red on the 2 scenario-cards pins until #36802 lands.",
      "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 strokes: (1) fleet-write relay pr_create = POST /repos/objectstack-ai/objectstack/pulls (draft) + POST /repos/objectstack-ai/objectstack/issues/37135/assignees (os-justin), read-back 3914 bytes identical; (2) post-stamped comment = POST /repos/objectstack-ai/objectstack/issues/37127/comments (this report). git push is not counted.",
      "open_questions": [
        { "question": "Landing order versus PR #36802: this PR's own tag change turns the two control-card pins in scenario-cards.test.ts red on main's corpus. How should it land?", "options": ["A: land after #36802. Zero further edits; measured green with #36802's corpus.ts.", "B: widen this card's surface to scenario-cards.test.ts and flip the two READINGS cells to 'fail' (and their passedOf). #36802 must then flip them back in its own queue run, which means a cross-PR edit.", "C: drop the dependency by also adding field groups to corpus.ts here. That touches a #36802 file, which the dispatch forbids."], "recommendation": "A. The dependency is real, #36802 is already open, and A leaves no write ping-pong between the two PRs." },
        { "question": "Should inlineEdit 'grid' or 'form' with NO placing field group still credit? At runtime it inlines nothing: attachInlineSubforms skips the FK unless a master group places it (MetadataProvider.tsx L773-775). inlineEdit only feeds resolveInlineMode, the form factor (L781).", "options": ["A: keep the card's wording. grid/form alone credits, as implemented now.", "B: credit field-group placement only. grid/form alone fails, which matches the runtime and the ruling 「一律只看分组」."], "recommendation": "B. Credit should track what the runtime inlines, and under A a build that inlines nothing passes the tag. It is kept as A here because the card and dispatch say so, so B needs the seat's word and is a one-line change plus flipping one pin." }
      ],
      "security_findings": "none",
      "out_of_scope_findings": ["carrier: none · noted, not filed: packages/qa/scenarios/README.md L199 still describes the tag as '(`inlineEdit`)'; outside the claimed surface, in the PR's Acceptance notes."]
    }
  6. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr
    os-dev-report

    {
      "issue": 37127,
      "status": "done",
      "branch": "claude/issue-37127-scorer-inline-edit-field-groups",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37135",
      "session": "session_01QSeKYo86w1wqy2z2fMrryr",
      "head": "2c1f1e68fa",
      "premise_still_valid": true,
      "summary": "Fix round on the PM's answers. Q2=B: the tag now credits field-group placement only, via isGroupPlaceableRelationship(fk) && fieldGroupsPlaceRelationship(master.fieldGroups, child, fk), the runtime's test (MetadataProvider.tsx L773-775). inlineEdit 'grid'/'form' with no placing group no longer credits. The asserts sentence now reads: 'every master-detail field resolves, and one of them is edited inline on its master: a field group of the master places the child (`fieldGroups[].relatedList`)'. The pin is flipped: grid/form with no group fails, and a new pin shows a placed child credits under either form factor. README.md L199 is matched, and the changeset body is updated, since that changeset is this PR's own new file. Q1=A: no edit to corpus.ts or scenario-cards.test.ts. The PR stays draft. I did not edit the PR body; the requested body changes are listed under pr_body_changes.",
      "tests": "Head 2c1f1e68fa, under os-verify-lock, after building @objectstack/scenarios and its dependency closure: typecheck exit 0. pnpm --filter @objectstack/scenarios test gave VERDICT command-exit 1, Test Files 1 failed | 41 passed (42), Tests 2 failed | 1329 passed (1331). The 2 expected reds are scenario-cards.test.ts invoice_with_line_items and project_with_tasks, reading records-forms.master-detail-inline-edit 'fail' vs a pinned 'pass' on today's main corpus. Probe under B with PR #36802 head ca353ccee8 corpus.ts in place: scenario-cards.test.ts + scenario-tags.test.ts gave VERDICT command-exit 0, Test Files 2 passed (2), Tests 137 passed (137). Restored with git checkout HEAD; the hash-object of the path equals the HEAD blob (RESTORED-OK), git status is empty, and the scratch ref is deleted.",
      "gates": "dispatch-gates --commands at 2c1f1e68fa: 62 derived, the same list as the prior round. 61 exit 0; pnpm check:dual-build-cjs-loads exit 3 (PREREQUISITE NOT MET, NOT MEASURED, CI runs it). dispatch-gates --ran with exit codes: exit 0, '62 accounted, 61 run, 1 NOT-MEASURED'. overlap-check at 2c1f1e68fa: VERDICT clean exit 0 vs origin/main 517e4153c6, 0 PR heads. check-nul-bytes exit 0. CI on the new head was not read; Test Core is expected red on the 2 named scenario-cards pins until #36802 lands.",
      "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "1 this round: post-stamped comment POST /repos/objectstack-ai/objectstack/issues/37127/comments (fix-round report). git push is not counted. Cumulative: 3 strokes (pr_create + assignee leg, report comment, this comment).",
      "line_budget": "4 files vs origin/main; this round +23 / -18",
      "files_changed": [".changeset/37127-scenarios-inline-edit-field-groups.md", "packages/qa/scenarios/README.md", "packages/qa/scenarios/src/score/scenario-tags.ts", "packages/qa/scenarios/test/score/scenario-tags.test.ts"],
      "deviations": "none beyond the PM-widened surface (README.md L199). The changeset body was edited to match B; it is this PR's own unlanded changeset, not one on main.",
      "pr_body_changes": [
        "What changes: delete item 2 (the 'grid'/'form' arm) and say the tag credits ONLY a child a field group of its master places; inlineEdit takes no part.",
        "Add heading 'Deviation from the card' with: The card asks to credit a child 'when inlineEdit is grid/form'. This PR does not. It follows the maintainer's field-group ruling on #35889 (record 7046311205, 「一律只看分组」), which outranks the card's wording: the runtime inlines nothing without a placing field group (ui/packages/app-shell/src/providers/MetadataProvider.tsx L773-775; inlineEdit only feeds resolveInlineMode, the form factor). A scorer that credited it would pass a build that inlines nothing.",
        "Tests: replace the 'grid and form with no group still credit' bullet with: 'grid' and 'form' with no placing group do not credit; a placed child credits under either form factor.",
        "Acceptance notes: add 'Serial: lands after #36802 (its corpus.ts places the control cards' children with field groups; on today's main two scenario-cards pins read red)'. In the known-red bullet, change 136/136 to 137/137 at head 2c1f1e68fa. Delete the README bullet (README L199 is now updated in this PR) and the 'Not covered by the field-group path' bullet."
      ],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
  7. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

    Closed by PR #37135 (L1 ACCEPT 7147198715). The tag records-forms.master-detail-inline-edit now credits only a child a field group of its master places — the runtime's own test. Deviation from this card, decided by the PM and stated in the PR: inlineEdit: 'grid' / 'form' with no placing group does not credit (field-group ruling 7046311205, 「一律只看分组」). pm:dispatched removed.

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

Metadata

Metadata

Assignees

Labels

area:aidomain:devxpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions