From a5ea2daa97dfbd3df5deb8b2721b496192b77e39 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 22 Nov 2026 04:07:02 +0000 Subject: [PATCH] docs(skills): the lint table and the repeater row name the parent field group, not inlineEdit references/lint-rules.md: the three relationship rows state the trigger packages/lint/src/data-model-rules.ts reads (R5, R6, lintInlineEditBulk): whether a field group of the parent places the child (fieldGroups[].relatedList). None of the three reads inlineEdit. rules/field-types.md: a typed list is a master_detail child that a parent fieldGroups[].relatedList names. Each file pays in its own bytes. Claude-Session: https://claude.ai/code/session_01FEkQ5kDGa1ViantgrfH797 Co-authored-by: Claude --- .changeset/36252-lint-rules-field-group.md | 10 ++++++++++ skills/objectstack-data/references/lint-rules.md | 6 +++--- skills/objectstack-data/rules/field-types.md | 6 +++--- 3 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 .changeset/36252-lint-rules-field-group.md diff --git a/.changeset/36252-lint-rules-field-group.md b/.changeset/36252-lint-rules-field-group.md new file mode 100644 index 00000000000..42e17b13857 --- /dev/null +++ b/.changeset/36252-lint-rules-field-group.md @@ -0,0 +1,10 @@ +--- +'@objectstack/skills': patch +--- + +docs(skills): the lint table and the `repeater` row name the parent field group, not `inlineEdit`, as what places a child's rows + +Clause-②: no +Metadata-protocol: none + +objectstack-data's `references/lint-rules.md` said three `os lint` rules trigger on `inlineEdit`. They read the parent's field groups, and the rows now say so: `relationship/line-items-inline-edit` catches a line-item `master_detail` child that no parent field group places (`fieldGroups[].relatedList`), `relationship/inline-edit-needs-bulk` a placed child whose parent or child withholds `'bulk'`, and `relationship/association-inline-edit` an association a group places. `rules/field-types.md` pointed a typed list at a child object with `inlineEdit: 'grid'`; it now points at a `master_detail` child that a parent `fieldGroups[].relatedList` names. Text only; the rule ids and the lint are unchanged, and each file pays for its new wording in its own bytes. diff --git a/skills/objectstack-data/references/lint-rules.md b/skills/objectstack-data/references/lint-rules.md index 6dede1c8771..dcc34fda04a 100644 --- a/skills/objectstack-data/references/lint-rules.md +++ b/skills/objectstack-data/references/lint-rules.md @@ -12,10 +12,10 @@ Data-model rules (in addition to naming/label/i18n): | `relationship/missing-reference` | error | lookup/master_detail without a `reference` target | | `relationship/master-detail-required` | warning; error under `controlled_by_parent` | a `master_detail` that isn't `required` (under `controlled_by_parent`, the only one may be `required: false`: the optional master) — or, under `controlled_by_parent`, is `readonly`/`system` | | `relationship/delete-behavior` | suggestion | `master_detail` without an explicit `deleteBehavior` | -| `relationship/line-items-inline-edit` | suggestion | a `*_line`/`*_item` master_detail child without `inlineEdit` | -| `relationship/inline-edit-needs-bulk` | warning | `inlineEdit` while the parent's or child's `enable.apiMethods` omits `'bulk'` | +| `relationship/line-items-inline-edit` | suggestion | a `*_line`/`*_item` master_detail child placed by no parent field group (`fieldGroups[].relatedList`) | +| `relationship/inline-edit-needs-bulk` | warning | a child a group places while the parent's or child's `enable.apiMethods` omits `'bulk'` | | `relationship/line-item-should-be-master-detail` | suggestion | a line-item-shaped child using `lookup` instead of `master_detail` | -| `relationship/association-inline-edit` | warning | an association (comment/audit/activity) marked `inlineEdit` (clutters the parent form — use a detail-page related list) | +| `relationship/association-inline-edit` | warning | an association (comment/audit/activity) a group places (leave it a tab) | | `rollup/missing-summary` | suggestion | a parent of numeric master_detail children with no roll-up `summary` | | `field/select-missing-options` | warning | a `select`/`multiselect`/`radio` with no `options` (or options source) | | `object/missing-name-field` | suggestion | an object with no `nameField` (ADR-0079's canonical title pointer) and no name-like field (`name`/`title`/`subject`/`label`/`full_name`/`display_name`/`code`) | diff --git a/skills/objectstack-data/rules/field-types.md b/skills/objectstack-data/rules/field-types.md index fd33d9d0303..66000636a37 100644 --- a/skills/objectstack-data/rules/field-types.md +++ b/skills/objectstack-data/rules/field-types.md @@ -115,12 +115,12 @@ only; in a grid a declared target leaves the same-named `autofill` copy. ## Embedded (JSON sub-objects) -Stored as JSON on the parent row — no separate table / FK: +Stored as JSON on the parent row, no separate table/FK: | Type | When to Use | |:-----|:------------| -| `composite` | Single embedded JSON object, **untyped** — a field declares no sub-fields (`fields` / `subFields` are refused) | -| `repeater` | Embedded JSON **array**, **untyped** — no sub-fields or `columns`; a typed list is a child object (`master_detail`, `inlineEdit: 'grid'`) | +| `composite` | Single embedded JSON object, **untyped**: a field declares no sub-fields (`fields`/`subFields` are refused) | +| `repeater` | Embedded JSON **array**, **untyped**: no sub-fields or `columns`; a typed list is a `master_detail` child a parent `fieldGroups[].relatedList` names | | `record` | Name-keyed **map** of embedded sub-objects (insertion order = display order; ADR-0007) | ## Calculated