Repository navigation
docs(skills): a master_detail child is a record-page body table by default - #35751
Closed
objectstack-fleet[bot] wants to merge 2 commits into
Closed
objectstack-fleet[bot] wants to merge 2 commits into
objectstack-fleet[bot] wants to merge 2 commits into
Conversation
…fault The data and ui skills tied the record-page body table to inlineEdit. They now teach the rule isBodyTableRelationship applies: a master_detail FK with no relatedList is a body table, a lookup FK with none is a panel, and inlineEdit governs entry in the parent's form only. Claude-Session: https://claude.ai/code/session_01L6bhgTRf6qBRCqPh4JZaZL Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L6bhgTRf6qBRCqPh4JZaZL Co-authored-by: Claude <noreply@anthropic.com>
This was referenced Nov 20, 2026
Merged
Contributor
Author
|
repo:objectstack#1 · os-sales · session_01L6bhgTRf6qBRCqPh4JZaZL Superseded by #35757, which folds this pull with the three other area b1-D skills-text pulls (#35743, #35746, #35750, #35751) onto current main at the seat request: one approval and one merge on the governed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Sales · project thread
Fixes #35692
Clause-②: no
Metadata-protocol: none
Skills-docs: updated here
维护者速读
What changes
Text only, four files under
skills/and one changeset. Each changed sentence was checked againstorigin/mainat03bce5c22.master_detailchild with norelatedListis a body tablepackages/spec/src/data/related-list-body-table.ts:62-67; verdict table rowsrelated-list-body-table.test.ts:36-40;packages/spec/src/data/field.zod.ts:2129-2134lookupchild with norelatedListis a panelrelated-list-body-table.test.ts:31,35;field.zod.ts:2134'primary'is the body table on either typerelated-list-body-table.ts:64;related-list-body-table.test.ts:34,41trueis a panel, also on amaster_detailrelated-list-body-table.ts:65;related-list-body-table.test.ts:42,44falsehides the listrelated-list-body-table.test.ts:43,45;field.zod.ts:2113inlineEditgoverns entry in the parent's form onlyfield.zod.ts:2085;related-list-body-table.ts:16-18; test rows 37-40 and 44-45 (the verdict does not move withinlineEdit)ui/packages/plugin-detail/src/synth/buildDefaultPageSchema.ts:816-821;ui/packages/plugin-detail/src/synth/__tests__/buildDefaultPageSchema.bodyTables-27055.test.ts:55-66,84-87relatedListsorders the tablesui/packages/app-shell/src/utils/deriveRelatedLists.ts:428;field.zod.ts:2120-2123Files:
skills/objectstack-data/rules/relationships.md, "Detail-page related lists". The lead sentence states both defaults and thatinlineEditplays no part. The example no longer writesinlineEdit: trueandrelatedList: 'primary'on amaster_detailfield. The list reads'primary'(default for amaster_detailFK),false,true(default for alookupFK). The old line 368 said "Default for amaster_detailFK withinlineEdit".skills/objectstack-ui/rules/record-page.md, step 2. This is the second place underskills/that tied the body table toinlineEdit("the default for amaster_detailwithinlineEdit"). The same sentence said the table is drawn "after the first field section"; the merged change draws it above the field sections, so that clause is corrected too. "Put the tasks first" is now the parent'srelatedLists, and the example field dropsrelatedList: 'primary'.skills/objectstack-ui/evals/record-page.json, case 1. The prompt is unchanged (task.leadis amaster_detail). The expected answer adds no placement flag.must_containisrelatedListFilterandrelatedLists;must_not_containgainsinlineEdit:(the authored key, so prose that only names it still passes).skills/objectstack-ui/evals/README.md: the one-line description of that case.Search for other sentences tying the body table to
inlineEdit:git grep -n -i inlineEdit -- skillsgives 20 hits in 10 files;git grep -n -E "relatedList\b|body table|'primary'|related list" -- skillswas read too. Only the two rules files above carried the old rule. The otherinlineEdithits are form-side and stay:relationships.md251-314,field-types.md:123,lint-rules.md:15-18,objectstack-ui/SKILL.md:55,list-views.md:370-371,react-blocks.md:76(a list-view prop), the data eval case 2 and the wizard eval.Budget
Counting is the gate's:
ceil(utf8 bytes / 4). No ceiling row moves andscripts/check-skills-token-ratchet.mjsis not edited.objectstack-data/rules/relationships.mdobjectstack-ui/rules/record-page.mdobjectstack-ui/evals/record-page.json(not ratcheted)objectstack-ui/evals/README.md(not ratcheted)All
SKILL.mdfiles together: 4861 lines before and after (none is touched).Tests
No package source changes, so there is no build closure owed and no unit test moves. The local readings are gates, run on head
1ea279acf.Acceptance notes
relationships.mdlost one true clause to pay for the new text: "owned (master_detail) children first" (the derived order when the parent declares norelatedLists,deriveRelatedLists.ts:424-428). The Order bullet under it still teaches the authored order.relationships.md277-281 ("Leave it off for associations ...") is unchanged. Thosemaster_detailchildren are body tables by default now; thetrueandfalsebullets are how an author moves or hides one. No extra sentence was added for it.record-page.mdstep 1 still says the tab row is "Overview, Activity, one tab per panel". The synthesizer test inbuildDefaultPageSchema.bodyTables-27055.test.ts:94-97says no per-list tab is emitted any more. Read only, not measured in a running console, and outside this card.relatedList: 'primary'on amaster_detailfield stays valid. The eval does not forbid it.Verification
Read first, by risk:
skills/objectstack-ui/evals/record-page.jsoncase 1: the must and must-not lists decide what a graded answer may contain.skills/objectstack-data/rules/relationships.md347-368: the rule as taught.skills/objectstack-ui/rules/record-page.md17-27.Two-minute check:
node scripts/check-skills-token-ratchet.mjsprintsrelationships.md is 4198 tokens (ceiling 4203; headroom 5)andbundle total (whole shipped tree) 280730, and exits 0.Local gate readings on 1ea279a
node scripts/pm/dispatch-gates.mjs --ran:48 derived famil(ies) accounted for — 44 run, 4 NOT-MEASURED (4 DERIVED from a recorded exit 3).Exit 0:
check-skills-token-ratchetand its--self-test(104 cases),check:skill-served-sections,check:skill-links,check:skill-identifier-liveness,check:skill-compatibility,check:skill-frame-sync,check:doc-formula-expressions(after building@objectstack/formulaand@objectstack/lint),check:doc-authoring,check:nul-bytes,check:pm-skill-id-lint,check:published-files, the changeset gates, and the rest of the derived list.Outside the derived list, exit 0:
check:skill-docs,check:skill-refs,check:changeset-fixed, andcheck:skill-examplesafter building@objectstack/client-reactand@objectstack/client(346 prose examples type-check across 3 surface(s)); the editedos:checkblock inrecord-page.mdis one of them.NOT MEASURED locally (exit 3, each needs a full workspace build, and the diff touches no package):
check:dts-closure,check:dual-build-cjs-loads,check:lean-entry-closure,check:sourcemap-no-sources-content. CI runs them.node scripts/pm/overlap-check.mjs:VERDICT clean exit 0before each push.🤖 Generated with Claude Code
https://claude.ai/code/session_01L6bhgTRf6qBRCqPh4JZaZL