Repository navigation
docs(skills): objectstack-data teaches the paired .custom package's whole arrangement (fieldGroups, relatedLists) - #36568
Conversation
…hole arrangement (fieldGroups, relatedLists)
The object-extension section says only the pair's extension may write
fieldGroups and relatedLists, that a written key replaces the arrangement
whole, that { list, hidden: true } hides a tab, and that any other package
is refused at the same doors as a __c field and told to use place. Paid for
in the same file by five restatement cuts; the token ceiling is unchanged.
One eval case added; the place case no longer says an extension has neither key.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ADHkmPTDM2MxHR8cvoMVUX
|
repo:objectstack#2 · os-steve · session_01ADHkmPTDM2MxHR8cvoMVUX 席位核对ACCEPT — PR #36568 @
|
|
l2-review#4 · os-steve · session_01ADHkmT4eA4YqtxfiPyLPih Contract-review-claim: session_01ADHkmT4eA4YqtxfiPyLPih · head 0db5435 · 2026-11-22T23:56Z |
|
l2-review#4 · os-steve · session_01ADHkmT4eA4YqtxfiPyLPih Contract reviewServed-tier: PR #36568 (card #36541), net diff against merge-base ① Derived judgments
② Semver level
Clause-②: no — agreed. Nothing in the diff narrows what the platform accepts; the PR body and the changeset both carry the line and they agree. The changeset is not under ④, but its first bullet repeats the sentence S1 names ("In any other package both keys are refused ..."); the fix of S1 should carry the same wording there. ③ Boundary flags
④ Design judgmentskills/objectstack-data/SKILL.md — the new paragraph, sentence by sentence against
S1 (should-fix) — SKILL.md line 390, "In any other package both keys are refused at those doors" is false for a The five payment hunks, each against its surviving home at the head:
skills/objectstack-data/evals/objects-fields-relationships.json
N1 (nit) — case 27's N2 (nit) — "an unnamed tab still shows after the listed ones" leaves two things to the key description: a list the owner hid by leaving it out stays hidden until the arrangement names it, and carried tabs go before a trailing approvals / activity run of the listed ones. Neither is stated falsely. If S1's fix leaves bytes, the first is the one worth a clause. skills/objectstack-data/evals/README.md — one clause, "the Attempts to break the design that did not land: a S1 is open on this head and earns a delta review of its fix; N1 and N2 do not hold the round. Implemented-by: VERDICT: PASS |
…ests; case 27 asserts place: The paragraph said any other package is refused both keys. The one judge refuses a writer that is not a .custom package; another .custom package is not refused at the doors, its keys are not applied. The sentence and the changeset bullet now say outside a .custom package. Case 27's must_contain token place also matched the word replaces; it is place: now. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ADHkmPTDM2MxHR8cvoMVUX
|
repo:objectstack#2 · os-steve · session_01ADHkmPTDM2MxHR8cvoMVUX 席位核对ACCEPT — delta · PR #36568 @
|
|
l2-review#4 · os-steve · session_01ADHkmT4eA4YqtxfiPyLPih Contract-review-claim: session_01ADHkmT4eA4YqtxfiPyLPih · head 90a673d · 2026-11-23T00:37Z |
|
l2-review#4 · os-steve · session_01ADHkmT4eA4YqtxfiPyLPih Contract reviewServed-tier: Delta round 1 over record 7087999230 (head Check-runs on this head: 48 total, 30 success, 18 skipped, 0 failed, 0 pending. Success includes Lint and Repo Gates, Lint docs and code guards, Lint repo and tooling gates, Lint CI release and engine gates, Lint ESLint, TypeScript Type Check, Type Check workspace / source gates / consumer gates / debt ledger, Build Core, Test Core (1/10, 2/10 and the rollup), Check Changeset (both runs), PR-body guards (both runs), Governed Surface Queue Guard. The lane's "30 green, 0 red" is confirmed. ① Derived judgments
② Semver level
Clause-②: no — agreed. Nothing in the diff narrows what the platform accepts; PR body and changeset both carry the line. The changeset's first bullet now reads "Outside a ③ Boundary flags
④ Design judgmentskills/objectstack-data/SKILL.md — the reworked sentence, line 390 at this head: "Outside a Against
S1: closed — the sentence now names the refused writer by the judge's own predicate; the changeset bullet carries the same wording. N3 (nit) — read to the letter, "Outside a skills/objectstack-data/evals/objects-fields-relationships.json — case 27,
N1: closed — the token is N2: carried, accepted as it stands — the clause (a list the owner hid by leaving it out stays hidden until the arrangement names it) was offered only if S1's fix left bytes; the file sits on its ceiling (6,710 of 6,710, ratchet green) and the sentence it would extend is not false. It stays with the key description and the docs page; a follow-up card is the seat's choice, none is owed by this PR. skills/objectstack-data/evals/README.md — unchanged in the rework; the one index clause for case 27 still matches the case. Holds. Attempts to break the reworked text that did not land: a No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#2 · os-steve · session_01ADHkmRY38EZf38Yy3zthbY 维护者速读(席位记录 · head
|
|
repo:objectstack#2 · os-steve · session_01ADHkmRY38EZf38Yy3zthbY Hand-off for approval: L1 ACCEPT 7088491072 at head |
Requested by Steve · project thread
Fixes #36541
Clause-②: no
Metadata-protocol: none
维护者速读
Fix round 1
Head
90a673de67, one commit on top of0db54351e8, answering the contract review of that head (record 7087999230)..custompackage that is not the object's pair:judgeExtensionArrangementreturns no refusal whenisCustomizationPackage(packageId)holds (packages/metadata-protocol/src/protocol-extension-arrangement.ts:94; the predicate is the id's.customsuffix over a valid base,packages/spec/src/kernel/customization-package.ts:119), and the key descriptions say such a package "is not refused at those doors: the registry merge does not apply what it writes here ... and the boot log names it" (CUSTOM_ARRANGEMENT_WRITER,packages/spec/src/data/object.zod.ts:6832). Both files read again onmainatabe95a950d: unchanged sinced463c46f. The sentence now reads "Outside a.custompackage both keys are refused at those doors: useplace." The changeset's first bullet carries the same words.place:. The tokenplacealso matched the word "replaces", so an answer that never said what the add-on package writes could pass. It isplace:now, the token case 26 uses; the reference answer already containsplace: [. Regraded below.What changes
One paragraph in
skills/objectstack-data/SKILL.md, § Object Extension Model (lines 386 to 390 at head90a673de67), inside the paragraph about an object an installed package ships, right after the sentence that lists the doors of the__crule:"Those doors" are the ones the sentence before it names: save, publish and install,
os validateandos build.What it teaches is what is on
main(PR #36517, merge commit45ef94ef; ADR-0146 D2, D3 and D10), read atd463c46f:mainpackages/spec/src/data/object.zod.ts:7070(fieldGroups, an array of the object's group schema) and:7082(relatedLists); the key list isCUSTOM_ARRANGEMENT_KEYS,packages/spec/src/data/field-customization.ts:124{ list, hidden: true }packages/spec/src/data/object.zod.ts:6703:hiddenis a boolean on the extension's entry only; an object's own entry refuses it by name (:1347)packages/spec/src/data/object.zod.ts:6837and:6863; the fold isapplyCustomArrangement,packages/objectql/src/registry-custom-arrangement.ts:144.custompackage they are refused and the writer is told to useplacejudgeExtensionArrangement,packages/metadata-protocol/src/protocol-extension-arrangement.ts:91. Its answer isVALIDATION_ERROR/ 400 (:116); the message, measured on this PR's eval shape: "relatedListsin the extension of object 'crm_account' in package 'acme_contracts': only the object extension of a base's paired.custompackage declares an object's whole arrangement (ADR-0146 D10). Remove the key and place what this package brings withplace, e.g.place: [{ list: 'contract', after: 'opportunity' }]."packages/metadata-protocol/src/protocol-save.ts:1390; publishprotocol-history-and-publish.ts:1062; restoreprotocol-authoring-gate.ts:129(all three throughobjectExtensionItemRefusal,protocol-object-extension-item.ts:257);os validatepackages/cli/src/commands/validate.ts:895;os buildpackages/cli/src/commands/compile.ts:948; installpackages/cloud-connection/src/marketplace-install-local-plugin.ts:3192(VALIDATION_ERROR/ 422, one row per key indetails.refusals)Paid for in the same file; the token ceiling is not raised. The file had 0 tokens of headroom (6,710 of 6,710). The paragraph is 407 bytes (400 before fix round 1); five restatements are cut, 405 bytes, and the content of each stays in the bundle. The remaining 2 bytes come out of the 2 priced bytes the file had under its ceiling:
SKILL.mdnullin a predicaterules/validation.mdlines 80 to 83 (the same note) and line 17 (ascriptrule judges the merged record: prior row plus this write)uniquedefaults tofalse; omit it when that is what you mean."rules/indexing.mdline 11lifecyclerow of the optional-properties table in the same file ("Required for append-only, high-write-rate objects") andrules/lifecycle.mdline 14sharingModelheading's "(ADR-0090 D4; legacy aliases removed)"references/lint-rules.mdline 23 (security-owd-alias: a legacy spelling is an error, ADR-0090 D4)pluralLabelrow's(e.g., "Accounts")"pluralLabel": "Accounts")The two readings (tokens in the ratchet's convention,
ceil(utf8 bytes / 4), the release-stamp line not priced):d463c46f)90a673de67)skills/objectstack-data/SKILL.mdskills/*/SKILL.mdOne eval case,
skills/objectstack-data/evals/objects-fields-relationships.jsoncase 27: an add-on package put the tab arrangement (two tabs swapped, one hidden) on its own extension of an installed object andos validaterefused it. The answer moves the arrangement to the object extension of the base's paired.custompackage and namesplaceas what the add-on package writes.must_contain:hotcrm.custom,defineObjectExtension,extend: 'crm_account',relatedLists,hidden: true,place:.Two riders in the eval directory:
placecase) said in its reference answer that "an extension has neither key". That stopped being true when the two keys shipped, and the new paragraph says the opposite, so the parenthesis now reads: only the object extension of HotCRM's pairedhotcrm.custompackage writes those keys; here they are refused. Its prompt and assertions are unchanged, so its case hash is unchanged.evals/README.mdlists what the file covers and gains the new case's topic.Changeset:
.changeset/36541-skills-custom-arrangement.md,@objectstack/skillspatch.Tests
The grader and gate readings are at head
90a673de67, tree clean. The door suites were run at0db54351e8; fix round 1 touches no file they read.The eval file's reference answers under its own grader
gradeAnswer(packages/qa/scenarios/src/skill-evals/grade.ts) over each case'sexpected_output, cases parsed by the runner's ownparseEvalFile. No model round was run.d463c46f(control)0db54351e8(the head reviewed before)90a673de67Named answers for case 27, each graded under the assertions of both heads and each as expected:
0db54351e8(place)90a673de67(place:)place: [...]for the add-on packagemissing=["place:"]missing=["hotcrm.custom"]missing=["hotcrm.custom"]missing=["hidden: true"]missing=["hidden: true"]At
0db54351e8two more named answers were graded as expected: the object redeclared with anoverridesdeclaration (FAIL,forbidden=["name: 'crm_account'","overrides:"]), and the pair named with nothing said about the add-on package (FAIL,missing=["place"]).The reference answer's extension,
{ extend: 'crm_account', relatedLists: ['crm_opportunity', 'crm_contact', { list: 'crm_lead', hidden: true }] }, parses underObjectExtensionSchema;judgeExtensionArrangementanswers 1 refusal for packageacme_contracts(pathobjectExtensions[0].relatedLists) and 0 forhotcrm.custom.node ui/scripts/check-skill-eval-tokens.mjs: exit 0, "Every must_contain token is taught by its own skill bundle."Which doors refuse: the suites of the merged protocol, run on this head
The dispatch asked which doors actually refuse a writer that is not a
.custompackage. Each door's suite was run, at0db54351e8, after building its dependency closure (turbo run build --filter='@objectstack/cli^...', 64 tasks, exit 0), each run under the shared verification lock:packages/metadata-protocol/src/protocol-extension-arrangement.test.tsTests 13 passed (13)packages/objectql/src/protocol-custom-arrangement.test.tsTests 6 passed (6)os validateandos build, both commands in processpackages/cli/test/validate-build-extension-arrangement.test.ts,packages/cli/src/utils/extension-arrangement.test.tsTest Files 2 passed (2),Tests 10 passed (10)packages/cloud-connection/src/marketplace-install-local-extension-arrangement.test.tsTests 5 passed (5)packages/objectql/src/registry-custom-arrangement.test.ts,packages/spec/src/data/object-extension-arrangement.test.tsTests 33 passed (33)andTests 53 passed (53)The publish and restore doors are measured at the gate they call (
objectExtensionItemRefusal); that each of them calls it is read from the call sites cited above, not from a run through the door.Gates
node scripts/pm/dispatch-gates.mjs --commandsat90a673de67derives the same 50 commands as at0db54351e8. All 50 were run again on this head, each exit code recorded before any pipe;--rananswers: "50 derived famil(ies) accounted for — 49 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3)", exit 0.node scripts/check-skills-token-ratchet.mjs("60 authored bundle file(s) within their ceilings"; the data row reads6710 / 6710 (+0)),check:skill-docs,check:skill-served-sections,check:skill-links,check:skill-identifier-liveness,check:skill-compatibility,check:skill-frame-sync,check:doc-authoring,check:doc-formula-expressions,check:role-word,check:nul-bytes,check-empty-changeset,check-changeset-no-major,check-adr-0087-registration.pnpm check:dual-build-cjs-loads, exit 3. It reads the built output of every package and asks for a whole-workspace build; this change touches no package source, and the full build was not made for it. CI reads it.check:skill-refsexit 0 ("10 generated files in sync"),check:skill-examplesexit 0 ("349 prose examples type-check across 3 surface(s)"),node ui/scripts/check-skill-eval-tokens.mjsexit 0.check:dts-closure,check:published-files,check:sourcemap-no-sources-content,check:driver-memory-census,check:lean-entry-closure) answered exit 0 on a tree where the spec, lint, objectql, metadata-protocol and client-react closures were built, not the whole workspace; their full reading is CI's.Acceptance notes
node scripts/pm/overlap-check.mjsat90a673de67:origin/main(abe95a950d) merges cleanly; chore: version packages #35129 and docs(skills): objectstack-automation teaches that a clearable state lists '' among its targets #36559 merge cleanly (docs(skills): objectstack-automation teaches that a clearable state lists '' among its targets #36559 edits case 3 of the same eval file); draft docs(skills): objectstack-data and objectstack-automation SKILL.md become routers #36158 conflicts inskills/objectstack-data/SKILL.md. That one is known to the seat and ruled: this card does not wait, and whichever of the two lands second replays its text.mainmoved after the branch was cut,d463c46ftoabe95a950d. It merges cleanly and the branch was not merged again.os validate/os build, the doors the__csentence already lists, so the paragraph says "at those doors".{ list, hidden: true }is the schema's spelling.content/docs/data-modeling/object-extensions.mdx, "Arranging the whole record page"), to stay inside the ratchet: aplaceentry beside the key that replaces it is refused at parse with its own prescription; a built-in tab is written as its bare name and cannot be hidden; a.custompackage that is not the object's pair is not refused, it is skipped and named in the boot log (since fix round 1 the paragraph no longer says the opposite; it still does not teach the skip); a list the owner hid by leaving it out stays hidden until the arrangement names it; a field is kept off the page by a group whosevisibleWhenis false.must_containtokens (relatedLists,hidden: true), because the colleague's refused extension is quoted in it. The tokens the prompt does not hand over arehotcrm.custom,defineObjectExtension,extend: 'crm_account'andplace:. Withplace:an answer that namesplaceonly in prose, without an entry, does not pass; case 26 has the same property.evals/README.mdis outside the file surface the claim lists. It is the index of the eval file and the same-file PR before this one updated it with its case, so it is updated here too.main.Verification
Read first:
skills/objectstack-data/SKILL.mdlines 386 to 390, the last sentence first (fix round 1), besideCUSTOM_ARRANGEMENT_WRITERand the two key descriptions inpackages/spec/src/data/object.zod.ts(lines 6828 to 6888). The risk is a sentence that says more than the runtime does.rules/validation.md.skills/objectstack-data/evals/objects-fields-relationships.json.Two-minute check:
node scripts/check-skills-token-ratchet.mjs. Expected: the data row reads6710 / 6710 (+0)and the last line reads "60 authored bundle file(s) within their ceilings".🤖 Generated with Claude Code
https://claude.ai/code/session_01ADHkmPTDM2MxHR8cvoMVUX