Skip to content

Skill text: master-detail inline editing still says inlineEdit: true puts the child grid in the parent form; since #35921 a parent field group must name it #36224

Closed

Description

@objectstack-fleet

repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

Filing gate: ① a product defect (AI taught wrong) with a named landing. Source: the #35902 slice-2 card thread, found while writing PR #36222 and left out of it because it is form entry and spans three other files.

What is stale

Since #35921 (#35889), a master-detail child is a tab by default, and it goes into the parent's form or field area only when a parent field group names it (fieldGroups[].relatedList). Three skill texts still teach the old rule, that inlineEdit: true on the child alone puts the child grid into the parent form:

  • skills/objectstack-data/rules/relationships.md, section "Inline Editing".
  • skills/objectstack-ui/rules/list-views.md:370.
  • skills/objectstack-ui/SKILL.md:48.

Why

An AI build that follows these lines writes inlineEdit: true and expects line items in the parent's form. On main it gets a tab, so the invoice and quote forms that users fill in have no lines.

Done when

  • The three places teach the current rule (a parent group names the child list; inlineEdit controls in-place editing only), each with one minimal example and the "without it, nothing changes" line.
  • An eval case: 「新建报价单时在表单里直接录明细」 produces the group pointing at the child list.
  • The bytes are paid for by stale text in the same files (ratchet ceilings unchanged). domain:skills PR.

Reader: domain:skills; epic #35896 neighbour (Skills-docs follow-up of #35921).

Dedupe: inlineEdit 子表 表单 技能, inlineEdit master detail skill (objectstack issues, open) → none; #35902 covers tabs and groups, not form entry.

Activity

  1. added
    bug
    domain:skills
    on Nov 22, 2026
  2. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:skills (skills/objectstack-data/rules/relationships.md, skills/objectstack-ui/rules/list-views.md, skills/objectstack-ui/SKILL.md) · pm:queue; rationale: area:ai (product skills; was area:ux) · Bug · three shipped skill texts still teach that inlineEdit: true on a master-detail child puts its grid in the parent form. Since #35921 the child is a tab unless a parent field group names it, so an AI build following the skill expects line items that never appear. Under the 2026-11-21 standard, AI taught wrong is p1; found on #35902 under topic #35896 → p1 · size S.

  3. added
    area:ai
    pm:queue
    priority:p1
    and removed on Nov 22, 2026
  4. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797

    Claim: PM loop · area a4-I · 2026-11-22T02:58Z
    Session: session_01FEkQ5kDGa1ViantgrfH797
    Account: os-project-manager
    Branch: claude/issue-36224-inline-edit-form-group
    Worktree: objectstack-issue-36224
    Domain: domain:skills
    Seat: repo:objectstack#4
    Area: a4-I
    File surface: skills/objectstack-data/rules/relationships.md (Inline Editing), skills/objectstack-ui/rules/list-views.md (~370), skills/objectstack-ui/SKILL.md (~48), one existing skills eval JSON (a new case), a changeset (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: fable (dispatch-gates --tier at a5a5312: Model tier — MANDATORY: claude-fable-5-2 on skills/**, clause ①), effort: high (seat order a4-I)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: three published skill texts in objectstack skills/** teach that inlineEdit: true alone puts the child grid in the parent form | the runtime rule since #35921 (a parent fieldGroups[].relatedList names the child; object.zod.ts describe at a5a5312) — the skills do not teach it | every AI build that follows the skill for line-item entry (invoice / quote forms) gets a tab and no lines
    Thread-read: 7073107630
    Premise: holds (relationships.md:251-266, list-views.md:370, SKILL.md:48 still teach the old rule at a5a5312)
    Pre-claim lane: repo:objectstack whole-repo lane; paths under skills/** (Tier H low-risk arm: modified regular files only; seat lands after Fable contract PASS).
    Pre-claim deps: #35921 merged (the rule is on main); no Blocked-by:.
    Prior rulings read: inlineedit,true,skill,text,master-detail,inline,editing,says,puts,child,grid,parent (+4 more) → 323 hits; ADR-0035 Decision §2/§3/§4/§6, ADR-0014 Decision §2, ADR-0089 Decision §1, ADR-0050 Decision §3, ADR-0061 D2, ADR-0098 Decision §2 named; none rules against the #35921 placement rule; thread: none.
    Fold-or-serial: not folded with #36211 / #35701 / #35846 (different landing tier and model mandate: those are non-governed spec/docs text, opus; this is Tier H skills/**, fable) — they ride a second a4-I PR after this one. #36156 waits for PR #36132 (open draft), per its own order line.
    Serial constraints cleared: open PRs #36222 and #36158 share relationships.md, #35129 shares objectstack-ui/SKILL.md; a probe edit at the stale lines merges cleanly with each (overlap-check VERDICT clean at a5a5312). Ratchet headroom on those files is shared: the second lander re-measures.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797
    os-dev-report

    {
      "issue": 36224,
      "status": "done",
      "branch": "claude/issue-36224-inline-edit-form-group",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36250",
      "session": "session_01FEkQ5kDGa1ViantgrfH797",
      "premise_still_valid": true,
      "summary": "The three published texts (objectstack-data rules/relationships.md Inline Editing, objectstack-ui rules/list-views.md Master-Detail Forms item 1, objectstack-ui SKILL.md trap 2) now teach the rule the spec describes on fieldGroups[].relatedList and inlineEdit: the parent's form enters a child's rows where a field group of the parent names the child, inlineEdit only picks how rows are edited, and without the group the child is a tab and the form has no lines; each place carries one minimal example and that line. Evals: data case 2 no longer requires inlineEdit, data gains case 25 (quote lines entered in the new-quote form; must_contain fieldGroups and relatedList: 'quote_line'), and ui case 6, which held the same stale sentence, now expects the group. Changeset is an @objectstack/skills patch. Draft PR 36250 at head c8770a8f, assigned to the claim's Account; the card's assignee was not written.",
      "tests": "Head c8770a8f (git rev-parse --short HEAD), merge base a5a5312f. Ratchet: node scripts/check-skills-token-ratchet.mjs exit 0; relationships.md 4198 to 4156 tokens (ceiling 4203), list-views.md 4448 to 4447 (ceiling 4448), objectstack-ui/SKILL.md 2167 to 2210 (ceiling 2272); ratcheted authored total 197486 before and after; no ceiling row moved. Skill-evals test: pnpm --filter @objectstack/scenarios exec vitest run --maxWorkers=2 test/skill-evals/skill-evals.test.ts, after building the package's dependency closure, 'Test Files 1 passed (1)', 'Tests 38 passed (38)', lock VERDICT command-exit 0 (a first run on the unbuilt tree failed to load and measured nothing). Catalog read without a model: skill-evals --skills objectstack-data,objectstack-ui --dry-run exit 0, 67 and 44 cases, no refusal. Cases 2, 25 and 6: every must_contain token is in the case's own expected_output; 0 must_not_contain hits. No eval round (the eval seat's). No ablation: prose, examples and eval fixtures only, no tested behaviour.",
      "gates": "Local, each exit code captured before any pipe, under os-verify-lock.sh: derived list (dispatch-gates.mjs --commands) 50 commands, 46 exit 0, 4 exit 3. --ran verdict: '50 derived, 46 run, 4 NOT-MEASURED, 0 UNRUN', exit 0. NOT MEASURED: check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure, check:sourcemap-no-sources-content, reason: PREREQUISITE NOT MET (whole-workspace build), none reads a file of this diff, left to CI. check:doc-formula-expressions exit 3 unbuilt, then lock VERDICT command-exit 0 after building formula and lint. overlap-check: VERDICT clean exit 0 against origin/main and PR heads 36222, 36158, 35129. Not derived, tried once: check:skill-examples exit 3, NOT MEASURED. CI on PR 36250 at report time (22 check-runs): in_progress or queued: Lint · repo & tooling gates, Lint · docs & code guards, Lint · PM dispatch-gates, Lint · CI, release & engine gates, Lint · ESLint, three Lint · scoped jobs, Type Check · source gates, Type Check · workspace, Type Check · consumer gates, Type Check · debt ledger, filter, Governed Surface Queue Guard, Check PR Size, PR-body guards, Check Changeset; skipped: Packed-tarball smoke (opt-in), 18.x upgrade harness (opt-in), Schedule gate, Queue verdict, Borrowed queue verdict. No conclusion read yet for any gate-carrying job.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "line_budget": "PR net +19 lines (68 added, 49 deleted; budget 30). Three markdown files net -5 (40 added, 45 deleted; budget +6).",
      "net_added_lines": 19,
      "files_changed": [
        ".changeset/36224-inline-edit-form-group.md",
        "skills/objectstack-data/evals/objects-fields-relationships.json",
        "skills/objectstack-data/rules/relationships.md",
        "skills/objectstack-ui/SKILL.md",
        "skills/objectstack-ui/evals/views-apps-actions-pages.json",
        "skills/objectstack-ui/rules/list-views.md"
      ],
      "deviations": [
        "File surface: skills/objectstack-ui/evals/views-apps-actions-pages.json (case 6) is a second eval JSON; the claim names one. Fixed in place under the order's Zone 2 item 1 (the same stale sentence) and the bounded in-place rule: same defect, form fixed by the spec text, no open PR head changes the file (overlap-check), same gate families. The claim's file surface owes that addition.",
        "objectstack-ui/SKILL.md grows 43 tokens inside its headroom (105 to 62) and is not paid inside the file: its only stale text was the trap's title clause. The ratcheted total over the catalog is unchanged (197486) and no ceiling moved.",
        "pr_create carried assignees: [os-project-manager] (the claim's Account), as os-dev.md rule 2 and the relay's pr_create note require; the order said no assignees key. Conflict named here, os-dev.md followed; the relay read the assignee back.",
        "Commit trailers are the model-free pair of AGENTS.md (Claude-Session, Co-authored-by: Claude); the harness reminder asked for a model-named Co-Authored-By and a different PR footer. AGENTS.md followed in both places.",
        "PR body line 1 is the attribution HTML comment the order gave verbatim.",
        "Narrowed local run: the four whole-build gates above are NOT MEASURED; test:repo and the full suite were not run (CI's). main moved two commits after the branch point (to c30ce97c), neither on skills/** or the ratchet, so the branch was not merged forward before the PR opened.",
        "Data case 2: the inlineEdit requirement is removed and no group requirement is added, because the prompt does not ask for form entry and the spec's descriptions do not say a line-item model gets the placing group unasked."
      ],
      "mcp_calls": "4 — issue_read get, issue_read get_comments (card 36224), pull_request_read get (PR 36067, body shape), pull_request_read get_check_runs (PR 36250). All reads; no write tool.",
      "api_writes": "2 — POST /repos/objectstack-ai/objectstack/dispatches (relay pr_create: the draft create plus its assignees leg, PR 36250, body read back byte-identical); POST /repos/objectstack-ai/objectstack/dispatches (relay comment: this report on card 36224). git push twice (the empty branch, then c8770a8f); not REST writes.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: b · reach: public door os lint, measured on the built @objectstack/lint at c8770a8f: an invoice_line child with inlineEdit: true and no parent field group still gets relationship/line-items-inline-edit, and one with no inlineEdit whose parent group names it gets none · evidence: skills/objectstack-data/references/lint-rules.md rows for relationship/line-items-inline-edit, relationship/inline-edit-needs-bulk and relationship/association-inline-edit describe the trigger as inlineEdit; packages/lint/src/data-model-rules.ts R5 and R6 and lintInlineEditBulk read the parent field group. Same family as this card; the file has 0 tokens of headroom · dedupe words: lint-rules inlineEdit, line-items-inline-edit skill table, association-inline-edit skill, inline-edit-needs-bulk skill row",
        "carrier: none · noted, not filed: skills/objectstack-data/rules/field-types.md repeater row points at a child object (master_detail, inlineEdit: 'grid') for a typed list with no group; same family, read only, and open PR 36158 edits that file.",
        "carrier: PR 36222 · noted, not filed: the Detail-page related lists part of relationships.md, rules/record-page.md and evals/record-page.json still describe a master_detail child as a body table by default; that PR rewrites them."
      ]
    }
  7. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797

    Delivered · area a4-I · 2026-11-22T05:45Z
    PR #36250 merged (99fbaa6d18) and closed this card through Fixes. Nothing is left for this card; pm:dispatched is removed.

  8. removed
    pm:dispatched
    on Nov 22, 2026
  9. added a commit that references this issue on Nov 22, 2026
    99fbaa6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area:aibugdomain:skillspriority:p1

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions