Repository navigation
docs(skills): the lint table and the repeater row name the parent field group, not inlineEdit - #36280
Conversation
…ld 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 <noreply@anthropic.com>
|
repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797 Final green head · area a4-I · 2026-11-22T04:54Z |
|
repo:objectstack#4 · os-project-manager · session_01FEkQ5oVqoTJkrRZcyZS4xd 席位核对 — ACCEPT · head a5ea2da
|
|
repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797 Contract-review-claim: session_01FEkQ5kDGa1ViantgrfH797 · head a5ea2da · 2026-11-22T04:56Z |
|
repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797 Contract reviewServed-tier: Inputs read: card #36252 (body, triage 7073845398, claim 7073908822, os-dev-report 7074267786), PR #36280 (body, file list, net diff against ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentNo must-fix, no should-fix.
Break attempts: an author who sets
Nits (no effect on correctness or the contract):
Implemented-by: VERDICT: PASS |
|
repo:objectstack#4 · os-project-manager · session_01FEkQ5krBqrrgxCYgjXmfbv 席位核对Landing (low-risk skills arm, Tier S) · 2026-11-22T05:00Z · head
|
Requested by Leehom · project thread
Fixes #36252
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
State at head
a5ea2daa9(one commit onorigin/mainc30ce97cd). Text only, in the published catalog; the rule ids and the lint are unchanged.skills/objectstack-data/references/lint-rules.md, the three "Catches" cells:relationship/line-items-inline-edit: was "a*_line/*_itemmaster_detail child withoutinlineEdit"; now "a*_line/*_itemmaster_detail child placed by no parent field group (fieldGroups[].relatedList)".relationship/inline-edit-needs-bulk: was "inlineEditwhile the parent's or child'senable.apiMethodsomits'bulk'"; now "a child a group places while the parent's or child'senable.apiMethodsomits'bulk'".relationship/association-inline-edit: was "an association (comment/audit/activity) markedinlineEdit(clutters the parent form — use a detail-page related list)"; now "an association (comment/audit/activity) a group places (leave it a tab)".skills/objectstack-data/rules/field-types.md, seat-added scope (seat comment 7073941454 on PR #36250), therepeaterrow: "a typed list is a child object (master_detail,inlineEdit: 'grid')" becomes "a typed list is amaster_detailchild a parentfieldGroups[].relatedListnames". Three punctuation trims in the same section pay for it (the section's intro line and thecompositeandrepeaterrows: an em dash becomes a comma or a colon, two spaced slashes close up); no teaching is removed.Changeset
.changeset/36252-lint-rules-field-group.md:@objectstack/skillspatch.This agrees with the rule that PR #36250 teaches in
rules/relationships.md: a parent field group naming the child places it in the record details and the entry form, andinlineEditonly picks how the rows are edited.Each claim against the lint source (origin/main c30ce97)
inlineEdit. Inpackages/lint/src/data-model-rules.tsthe word occurs only in comments and in one unrelatedfixstring (see Acceptance notes).relationship/line-items-inline-edit(severitysuggestion): fires on amaster_detailfield of an object whose name matchesLINE_ITEM_REwhenisGroupPlaceableRelationship(def)holds andformInlines(...)is false.formInlinesisisGroupPlaceableRelationship(def)andfieldGroupsPlaceRelationship(parent.fieldGroups, child, field), which reads each parent group'srelatedList(a bare child name, orobject.field). Itsfixline adds arelatedListgroup to the parent'sfieldGroups.lintInlineEditBulk,relationship/inline-edit-needs-bulk(severitywarning): for every group-placeable relationship that a parent field group places, it warns once per object, parent or child, whose declaredenable.apiMethodsdoes not allowbulk.relationship/association-inline-edit(severitywarning): fires on a relationship of an association-named object whenformInlines(...)is true, i.e. a parent field group places it. Its message says to leave it a tab of the record page; itsfixremoves the group.repeaterrow: the spec's own route sentence for a typed list (EMBEDDED_JSON_TYPED_LISTinpackages/spec/src/data/authoring-key-lint.ts) reads: a child object whosemaster_detailfield points back at this object; a field group on this object whoserelatedListnames that child edits its rows as an inline grid on this object's form.Evals
No eval case pins the old wording, so none is changed. Searched
skills/*/evals/*.jsonfor the three rule ids, for the old cell wording, and forrepeaterand "typed list": zero hits. Three cases mentioninlineEditfor other reasons (objectstack-data case 2 and objectstack-ui views case 6, both rewritten by PR #36250; objectstack-ui record-page case 1, see Acceptance notes). No eval round was run (a round is the eval seat's).Tests
All readings at head
a5ea2daa9.Token ratchet, size and line budget
skills/objectstack-data/references/lint-rules.md: 49 lines and 3735 bytes before, 49 lines and 3736 bytes after; 934 tokens before and after (ceiling 934, headroom 0).skills/objectstack-data/rules/field-types.md: 267 lines and 14163 bytes before, 267 lines and 14162 bytes after; 3541 tokens before and after (ceiling 3541, headroom 0).SKILL.mdsummed is 4947 lines before and after (none is touched); the ratchet's bundle total is 288824 tokens after, and the same before by the per-file identity above (both files keep their token count; the before total was not run separately).node scripts/check-skills-token-ratchet.mjs: exit 0, "60 authored bundle file(s) within their ceilings". No ceiling row is moved.Derived gates and the skill-evals test
node scripts/pm/dispatch-gates.mjs --commands: 48 commands. All 48 ran underos-verify-lock.sh; 43 answered exit 0 on the first pass, and 5 answered exit 3 (PREREQUISITE NOT MET, nothing built yet):check:doc-formula-expressions,check:dts-closure,check:dual-build-cjs-loads,check:lean-entry-closure,check:sourcemap-no-sources-content. Afterpnpm build(120 tasks successful) the same five commands answered exit 0.--ranreconciliation: "48 derived famil(ies) accounted for, 48 run, 0 NOT-MEASURED", exit 0.pnpm --filter @objectstack/scenarios exec vitest run --maxWorkers=2 test/skill-evals/skill-evals.test.ts: Test Files 1 passed (1), Tests 38 passed (38); lock lineVERDICT command-exit 0.node scripts/pm/overlap-check.mjs --branch=claude/issue-36252-lint-rules-field-group:VERDICT clean exit 0; PR docs(skills): objectstack-data and objectstack-automation SKILL.md become routers #36158 sharesrules/field-types.mdand merges cleanly with this branch.Acceptance notes
line-items-inline-editcell does not spell the rule's one precondition, that the FK is one a group may place. A line-item FK that itself declaresrelatedList: trueorfalseis never flagged, because a group naming it would be refused. The cell stays at the table's summary level, like its*_line/*_itemshorthand for the ten suffixes the lint matches.line-items-inline-editcell uses the file's one byte of headroom (3735 to 3736 bytes, 934 tokens either way). Thefield-types.mdedit is one byte smaller than before, so PR docs(skills): objectstack-data and objectstack-automation SKILL.md become routers #36158's measured row for that file cannot be pushed up by this change.packages/lint/src/data-model-rules.ts, thefixline offield/embedded-sub-fields, still says to make the typed list a child object and thatinlineEdit: 'grid'edits it inline. The spec's route sentence and that rule's explanation text already name the parent field group. Read, not run.skills/objectstack-data/rules/relationships.md§ Detail-page related lists andskills/objectstack-ui/rules/record-page.mditem 2 still teach that amaster_detailchild with norelatedListis a body table by default, and objectstack-ui evalrecord-page.jsoncase 1 expects that answer.packages/spec/src/data/related-list-body-table.tssays it is a tab by default and a body table only when a parent field group names it. Read against the spec source, not run.Verification
Read first, by risk:
skills/objectstack-data/references/lint-rules.md, the three changed rows (the published claim about when each rule fires).skills/objectstack-data/rules/field-types.md, therepeaterrow and the two byte-paying lines beside it..changeset/36252-lint-rules-field-group.md.Two-minute check:
node scripts/check-skills-token-ratchet.mjsexits 0 and printslint-rules.md 934 / 934 (+0)andfield-types.md 3541 / 3541 (+0); thengrep -c "inlineEdit" skills/objectstack-data/references/lint-rules.mdprints0(it printed3onorigin/mainc30ce97cd; the rule ids are spelledinline-editand are unchanged).Generated by Claude Code