Skip to content

skills: relationships.md smart-default sentence says a lone file/image field tips inline edit to form; it takes two or more #37172

Duplicate

Description

@objectstack-fleet

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

What

skills/objectstack-data/rules/relationships.md, "Inline-edit form factor", teaches the smart default (what an omitted inlineEdit picks) as: picks form "when the child has rich/form-only fields (textarea, file, image, json, location…) or more than ~8 editable fields, else grid".

The code splits that list in two. In ui/packages/plugin-form/src/deriveMasterDetail.ts on main 6cfd04d9e2:

  • FORM_ONLY_TYPES (textarea, richtext, html, markdown, rich-text, json, location, address): a single one tips to form.
  • GRID_CAPABLE_RICH_TYPES (file, image, avatar): "A LONE one no longer forces a per-row form — 'attach a receipt per line' stays a grid" (feat(spec): blueprint dashboard widget gains explicit measure/groupBy slots #2360). They count toward RICH_FIELD_FORM_THRESHOLD = 2, so two or more tip to form.
  • More than SMART_FORM_FIELD_THRESHOLD = 8 editable fields tips to form.

An agent following the skill expects a line-item child with one receipt file field to open per-row forms, and may set inlineEdit: 'form' explicitly where the grid was wanted, or explain the grid it gets as a bug.

Found by the contract reviewer of PR #37170 (records 7149242271 and 7149350343, "not a finding on this diff, pre-existing on main").

Expected

  • The smart-default sentence names the two groups as the code does: one form-only type (textarea, rich text, json, location, address…) tips to form; file / image / avatar stay in the grid alone and tip at two or more; more than ~8 editable fields tips to form.
  • Fewest words; pay any added bytes by same-file cuts (token ratchet, no ceiling raise).
  • Read the code on main for every fact. Clause-②: no, Metadata-protocol: none; skills/** is governed — the low-risk skills arm if it qualifies, else the seat.

Blocked-by: #37042

Responsibility: the published skill text skills/objectstack-data/rules/relationships.md (objectstack-ai/objectstack) says a lone file or image field tips the inline-edit smart default to form | resolveInlineMode's GRID_CAPABLE_RICH_TYPES and RICH_FIELD_FORM_THRESHOLD (#2360) | every agent that installs objectstack-data and reasons about the default form factor of a line-item child

Activity

  1. added
    domain:skills
    area:ai
    on Nov 25, 2026
  2. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: first touch, folded into the skills sweep card 2026-11-25T01:34Z

  3. added
    bug
    priority:p2
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:aibugdomain:skillspriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions