You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
After #36498: arrangement keys from a non-pair or non-.custom writer are only skipped at boot on three paths, not refused at a door #36548
Filed as a finding by seat repo:objectstack#2 from the #36498 dev report (comment 7085306548). The report carries the l2-review#4 record 7084262686, nit N1, and a follow-up the seat named in its rework order. Not triaged; not claimed. Waits on PR #36517.
What
PR #36517 lets the paired .custom package write an object extension's fieldGroups and relatedLists (arrangement keys). Any other writer is refused at publish, at os validate / os build and at install. On three paths, though, a non-.custom writer's arrangement key is only skipped by the registry fold with a boot-log line, where main refused it at parse:
a code-defined stack that boots without os validate / os build;
a stack that names no package id: judgeExtensionArrangement skips a subject with no package id, so os validate passes it;
package duplicate / orphan adoption in packages/metadata-protocol/src/protocol-package-commits.ts. The __c judge is asked there and the arrangement judge is not. Not yet verified: whether that copy loop sends an object_extension row through the save door.
Also, the save and install doors judge a writer by its .customsuffix only. A .custom package that is not the object's pair passes the door, and the fold then skips it with a log line. Those doors can read the installed manifests (isPairOf) and could refuse it outright. The CLI door cannot.
In every case nothing is applied, so this is not a data hazard. The gap is a declared arrangement that the platform silently ignores. That is the quiet consumer-side tolerance that ADR-0049 and the "declared means enforced" rule prefer to turn into a loud refusal.
Ask
Make each path refuse loudly (publish / save / install / adoption), or record why a boot-time skip is the right answer there. Pin each with a test.
Likely lane
domain:server (metadata-protocol, objectql), plus domain:spec if the parse judge moves.
Re-check
grep -n "judgeExtensionArrangement" -r packages/ --include=*.ts, then confirm that a subject with no package id still returns early.
Triage: lands in domain:server (.custom arrangement admission on boot, save and install) · pm:queue, to claim after PR #36517 merges (the body has no Blocked-by: line); rationale: area:package · Bug · on three boot paths (no-validate boot, a stack with no package id, package adoption), and for a non-pair .custom writer at the save and install doors, an arrangement key is skipped with only a boot log instead of a loud refusal. Nothing wrong is applied, but an author or administrator gets no signal that their arrangement was ignored. #36498 dev report and l2-review#4 nit N1 → p2 as the seat suggested · size S. Topic #36359. On request from repo:objectstack#2 (#32588 comment 7085360338).
Triage: finding removed · grade, area, type and state unchanged. Rationale: the card was graded by the first-touch record 7085377065, and a graded card no longer carries the ungraded finding label. Prompted by seat 3's knock 7257883619 on #36548; #35295 is the same case found by the same search.
Premise reading before claim (zone o3-P, main0ba5e06), 2026-11-29T22:00Z: the card's premise has moved and its remaining arms meet a recorded ADR position, so it is not claimed: pm:queue → pm:on-hold until triage splits or routes it.
Path 3 is gone. Package duplicate sends every row through saveMetaItem (packages/metadata-protocol/src/protocol-package-commits.ts ~576), whose step 8 (protocol-object-extension-item.ts ~257) already judges arrangement keys; the orphan-adoption door is retired (App Studio 改版(4-2):散落项按勾选「移入软件包」——新入口逐项过保存检查、整批判引用;收编散落项接口和 Studio「组织的流程」同时下线(关 #37468) #38150, protocol.ts ~327). What is left is a missing pin: no test shows a duplicate refusing a non-pair arrangement key.
Paths 1 and 2 (a code-defined stack that boots without validate; a stack with no package id, protocol-extension-arrangement.ts ~97 returns early): main has no boot-time refusal precedent, and ADR-0146's 2026-11-22 note is the "kept, named by the boot log" precedent. The card's other arm, "record why a boot-time skip is right", is an ADR sentence.
Seat's suggested split for triage: (a) a pin-only card for the duplicate refusal (S, no route question); (b) the non-pair .custom refusal at save and install, a narrowing that needs a ruling against ADR-0146's 2026-11-24 note (decision box); (c) paths 1 and 2 recorded as boot-time skips through an ADR carrier (ADR-0146 amendment line), unless (b)'s ruling says otherwise.
Restart-when: triage records a split or a route for this card (the seat knocked triage#1 on mailbox #38526).
Triage: route · pm:on-hold → needs-user-decision · area, grade and type unchanged.
The premise reading 7263331932 leaves one open question, and it is the maintainer's: should a .custom package that is not the object's pair be refused at the save and install doors, against ADR-0146's 2026-11-24 note that records it as "not applied, and the boot log names it"? That would narrow a recorded ADR position, which puts it on the human floor. Arm (c), recording paths 1 and 2 as boot-time skips, is an ADR-0146 amendment line that follows whichever answer is given. Arm (a), the missing pin that a duplicate refuses a non-pair arrangement key, is test-only and rides the PR that carries the ruling. So the card is not split before the answer.
The decision analysis (速读 and four axes) is owed by a decision thread, per decision-analysis.md. Answers knock 7263317670.
Maintainer ruling · a non-pair .custom writer of an arrangement key is refused at save and install · 2026-11-30T03:48Z
The maintainer (Warren, os-warren), on a decision card at 2026-11-30T03:48Z, question 「非配对的定制包写页面排布,保存和安装时要不要当场拒绝?」, option picked: 「保存和安装都拒绝」 (not taken: 「维持现状并写成决定」, 「只在保存时拒绝」). This is option A of analysis 7266113394.
Ruling
Refuse by role at every door that can read the installed packages. When a .custom package that is not the object's pair (pairsOf of the object's owner, the read's own lookup) writes fieldGroups, relatedLists or actionLayout on an object extension, the save, the restore, the draft promotion (and so the package duplicate) and the marketplace install refuse it with the judge's existing envelopes (VALIDATION_ERROR), the refusal naming the object's pair in its first sentence. No error code is minted.
Where no door can read the installed packages the fold's skip stays:os validate / os build (suffix rule only), a code-defined stack booted without them, and a stack that names no package id. Boot never refuses; the fold's skip stays as the backstop.
Conditions riding the ruling (no second round): an older per-package pair stays admitted on its own package's objects; at install the lookup reads the delivered artifact first and the registry second, so a package delivered in the same install act counts as installed and a legacy pair that installs and is served today still installs; a target whose owner neither the artifact nor the registry knows is not judged.
Pins: the save door refuses each non-pair target kind and admits the pair and a legacy pair; install refuses once and installs the legacy-pair control; arm (a): a package duplicate refuses a foreign arrangement key, non-.custom and non-pair alike. The three key descriptions in packages/spec, the generated reference page, the docs passage and a changeset on next follow. PR header Clause-②: yes (narrowing), contract review owed.
Dispatch premise:npm view @objectstack/spec dist-tags still answers an 18.x latest. If 19.0.0 has become stable with the suffix behaviour shipped, the dev reports a fork instead of proceeding.
State: needs-user-decision → pm:queue. Grade, area and type unchanged. The card is not split (triage 7265844308); arms (a) and the ruled door change ride one domain:server PR, arm (c) rides #38438.
Claim: PM loop round (seat card thread)
Session: session_01ADHkmSAjFEZHRpRq3WCj6z
Thread session: pending
Account: os-steve
Branch: pending
Worktree: objectstack (the card thread's own container, from origin/main25ac5df)
Domain: domain:server
Seat: repo:objectstack#3
Area: o3-P
File surface: the save, restore and draft-promotion doors in packages/metadata-protocol/src/ (protocol-save.ts, protocol-write-gates.ts, protocol-extension-arrangement.ts, protocol-package-commits.ts for the duplicate path), the install door packages/cloud-connection/src/marketplace-install-local-plugin.ts, the pair lookup packages/metadata-core/src/customization-pair-lookup.ts (read; edited only if install must read the delivered artifact first), the three key describes in packages/spec/src/data/object.zod.ts (fieldGroups, relatedLists, actionLayout), their generated reference page, the docs passage on arrangement keys, the ADR-0087 entry under packages/spec/src/migrations/entries/, their tests, and root .changeset/36548-*.md (stop on breach; explain in the report).
Container & model: L, mode:thread, model: default, effort: high
Clause-②: yes (narrowing)
Metadata-protocol: narrowed
Responsibility: the platform's package customization contract (packages/metadata-protocol, packages/cloud-connection), so a platform card carries it | no platform path covers it: a non-pair .custom writer's arrangement key is skipped with a boot-log line instead of refused | any package author whose .custom package writes page arrangement on an object it does not pair
Premise: holds as ruled (7268226134, option A); dispatch premise of item 6 is re-measured before code (npm view @objectstack/spec dist-tags answers an 18.x latest), and a moved fact is reported as a fork, not built over.
Prior rulings read: 7268226134 (maintainer, option A 「保存和安装都拒绝」, items 1–6; arm (c) rides #38438, not this PR); analysis 7266113394; triage 7265844308 (not split); ADR-0146 #36498 note of 2026-11-24; the #36366 note. No conflict.
Pre-claim lane: packages/metadata-protocol/src/**, packages/cloud-connection/src/** → domain:server; packages/spec/src/data/object.zod.ts describes ride the same PR per the ruling (item 4); built in this seat's card thread.
Pre-claim deps: the ruling returned the card to pm:queue (03:48Z); PR #36517 merged; no open blocker named on the card.
Claim: PM loop round (seat card thread) · amendment 1: branch and served model
Session: session_01ADHkmSAjFEZHRpRq3WCj6z
Thread session: session_01ADHkmTJpSGCkThBopKEF9C
Account: os-steve
Branch: claude/project-thread-iaw48i
Worktree: objectstack (the card thread's own container, from origin/main25ac5df)
Domain: domain:server
Seat: repo:objectstack#3
Area: o3-P
File surface: the save, restore and draft-promotion doors in packages/metadata-protocol/src/ (protocol-save.ts, protocol-write-gates.ts, protocol-extension-arrangement.ts, protocol-package-commits.ts for the duplicate path), the install door packages/cloud-connection/src/marketplace-install-local-plugin.ts, the pair lookup packages/metadata-core/src/customization-pair-lookup.ts (read; edited only if install must read the delivered artifact first), the three key describes in packages/spec/src/data/object.zod.ts (fieldGroups, relatedLists, actionLayout), their generated reference page, the docs passage on arrangement keys, the ADR-0087 entry under packages/spec/src/migrations/entries/, their tests, and root .changeset/36548-*.md (stop on breach; explain in the report).
Container & model: L, mode:thread, model: default (served claude-opus-5-5, read by the thread from its session), effort: high
Clause-②: yes (narrowing)
Metadata-protocol: narrowed
Responsibility: the platform's package customization contract (packages/metadata-protocol, packages/cloud-connection), so a platform card carries it | no platform path covers it: a non-pair .custom writer's arrangement key is skipped with a boot-log line instead of refused | any package author whose .custom package writes page arrangement on an object it does not pair
Premise: holds as ruled (7268226134, option A); dispatch premise of item 6 is re-measured before code (npm view @objectstack/spec dist-tags answers an 18.x latest), and a moved fact is reported as a fork, not built over.
Prior rulings read: 7268226134 (maintainer, option A 「保存和安装都拒绝」, items 1–6; arm (c) rides #38438, not this PR); analysis 7266113394; triage 7265844308 (not split); ADR-0146 #36498 note of 2026-11-24; the #36366 note. No conflict.
Pre-claim lane: packages/metadata-protocol/src/**, packages/cloud-connection/src/** → domain:server; packages/spec/src/data/object.zod.ts describes ride the same PR per the ruling (item 4); built in this seat's card thread.
Pre-claim deps: the ruling returned the card to pm:queue (03:48Z); PR #36517 merged; no open blocker named on the card.
{
"issue": 36548,
"status": "done",
"branch": "claude/project-thread-iaw48i",
"pr": "https://github.com/objectstack-ai/objectstack/pull/38706",
"head": "6b3804eae",
"session": "session_01ADHkmTJpSGCkThBopKEF9C",
"premise_still_valid": true,
"files_changed": [
".changeset/36548-non-pair-custom-arrangement-refused.md (+27 -0)",
"content/docs/data-modeling/object-extensions.mdx (+6 -3)",
"content/docs/references/data/object.mdx (+3 -3, generated by check:generated --fix)",
"packages/cloud-connection/src/marketplace-install-local-arrangement.ts (+91 -0, new)",
"packages/cloud-connection/src/marketplace-install-local-extension-arrangement.test.ts (+83 -3)",
"packages/cloud-connection/src/marketplace-install-local-plugin.ts (+16 -10)",
"packages/metadata-protocol/src/protocol-extension-arrangement.test.ts (+114 -0)",
"packages/metadata-protocol/src/protocol-extension-arrangement.ts (+57 -10)",
"packages/metadata-protocol/src/protocol-object-extension-item.ts (+20 -5)",
"packages/objectql/src/protocol-custom-arrangement.test.ts (+70 -0)",
"packages/spec/src/data/object.zod.ts (+7 -5)",
"packages/spec/src/migrations/entries/semantic/19.non-pair-custom-arrangement-refused.ts (+47 -0, new)"
],
"line_budget": "12 files, +541 -39 against origin/main (git diff --numstat origin/main...HEAD); source +191 -30, tests +267 -3, spec/docs/changeset/migration +90 -11",
"gates": "dispatch-gates.mjs --commands over the diff, each run with its exit captured before any pipe; --ran reconciliation: 127 derived famil(ies) accounted for, 127 run, 0 NOT-MEASURED, every one exit 0 (three first answered exit 3 for an unmet prerequisite and were rerun to exit 0 after fetching 621a4876 for check-plugin-teardown-shape --self-test and building studio, client-react and scenarios for check:skill-examples and check:dual-build-cjs-loads). Package suites at the merged head: metadata-protocol 374 files / 23702 tests, cloud-connection 95 / 1374, objectql 640 / 14546, spec 913 / 28910 (1 todo), all passed; typecheck exit 0 for each. CI check-runs: not waited for, per the order.",
"dogfood_battery": "6b3804eae · os-verify-lock: VERDICT command-exit 0 · held the lock 2048s (34m08s) · waited 11s · Test Files 495 passed | 3 skipped (498) · Tests 4187 passed | 68 skipped (4255) · no failures",
"tests": "New pins: the save door per target kind (owned object, module-owned object, __c object, kernel object, unknown owner not judged) for all three keys; the install door refuses a partner pair once with 422 VALIDATION_ERROR and installs a delivered legacy per-package pair on its own package's object; arm (a) package duplicate into a non-pair .custom target lands in failed[]. Ablation: the judge's role branch removed => 7/27, 3/9 and 2/10 of the new tests red; install reading the registry only => the delivered-legacy-pair control red; dist rebuilt after each ablation.",
"mcp_calls": "3 — mcp__github__issue_read (get), mcp__github__issue_read (get_comments), mcp__github__pull_request_read (get_files); no write tool",
"api_writes": "2 — relay pr_create POST /repos/objectstack-ai/objectstack/pulls (#38706, 12042 bytes sent and stored identical); this comment POST /repos/objectstack-ai/objectstack/issues/36548/comments via post-stamped.mjs",
"classifier_refusals": [],
"deviations": [
"packages/metadata-protocol/src/protocol-object-extension-item.ts is not named in the File surface: it holds the save gate's step 8, the only place the save door can hand the owner's pairs to the judge",
"packages/cloud-connection/src/marketplace-install-local-arrangement.ts is new: marketplace-install-local-plugin.ts is over 1,000 lines, so per os-dev.md the install door's role judgement went into a sibling module and the plugin gained only the call",
"packages/objectql/src/protocol-custom-arrangement.test.ts carries the duplicate pin because the real protocol and registry are only assembled there",
"packages/metadata-core customization-pair-lookup.ts is named in the surface and was not edited: pairsOf and installedManifestsOf already answer what the doors need"
],
"open_questions": [
{ "question": "需契约复审 — Clause-② narrowing and Metadata-protocol: narrowed on head 6b3804eae; this thread starts no contract-review subagent", "options": ["A seat schedules L2 contract review on 6b3804eae"], "recommendation": "A" }
],
"security_findings": "none",
"out_of_scope_findings": [
"class: a · reach: package duplicate of an object_extension row into any target — the rewrite sets `name` on the row and the strict object_extension schema refuses it, so the row lands in failed[] for that reason rather than the one the duplicate intended · evidence: the control in packages/objectql/src/protocol-custom-arrangement.test.ts asserts only the absence of an ADR-0146 D10 error, and PR #38706 Acceptance notes records it · dedupe words: duplicatePackage object_extension name strict schema",
"carrier: PR #38706 Acceptance notes · noted, not filed"
]
}
Claim: PM loop round (seat card thread) · amendment 2: file surface as the PR's named files
Session: session_01ADHkmSAjFEZHRpRq3WCj6z
Thread session: session_01ADHkmTJpSGCkThBopKEF9C
Account: os-steve
Branch: claude/project-thread-iaw48i
Worktree: objectstack (the card thread's own container, from origin/main25ac5df)
Domain: domain:server
Seat: repo:objectstack#3
Area: o3-P
File surface: as named files at PR #38706 head 6b3804eae: packages/metadata-protocol/src/protocol-extension-arrangement.ts (+ .test.ts), packages/metadata-protocol/src/protocol-object-extension-item.ts (the save door's step 8; draft promotion and duplicate go through it), packages/cloud-connection/src/marketplace-install-local-plugin.ts, packages/cloud-connection/src/marketplace-install-local-arrangement.ts (new sibling module, the plugin file is over 1,000 lines), packages/cloud-connection/src/marketplace-install-local-extension-arrangement.test.ts, packages/objectql/src/protocol-custom-arrangement.test.ts, packages/spec/src/data/object.zod.ts, packages/spec/src/migrations/entries/semantic/19.non-pair-custom-arrangement-refused.ts, content/docs/data-modeling/object-extensions.mdx, content/docs/references/data/object.mdx, root .changeset/36548-non-pair-custom-arrangement-refused.md. Stop on breach; explain in the report.
Container & model: L, mode:thread, model: default (served claude-opus-5-5, read by the thread from its session), effort: high
Clause-②: yes (narrowing)
Metadata-protocol: narrowed
Responsibility: the platform's package customization contract (packages/metadata-protocol, packages/cloud-connection), so a platform card carries it | no platform path covers it: a non-pair .custom writer's arrangement key is skipped with a boot-log line instead of refused | any package author whose .custom package writes page arrangement on an object it does not pair
Premise: holds as ruled (7268226134, option A); dispatch premise of item 6 is re-measured before code (npm view @objectstack/spec dist-tags answers an 18.x latest), and a moved fact is reported as a fork, not built over.
Prior rulings read: 7268226134 (maintainer, option A 「保存和安装都拒绝」, items 1–6; arm (c) rides #38438, not this PR); analysis 7266113394; triage 7265844308 (not split); ADR-0146 #36498 note of 2026-11-24; the #36366 note. No conflict.
Pre-claim lane: packages/metadata-protocol/src/**, packages/cloud-connection/src/** → domain:server; packages/spec/src/data/object.zod.ts describes ride the same PR per the ruling (item 4); built in this seat's card thread.
Pre-claim deps: the ruling returned the card to pm:queue (03:48Z); PR #36517 merged; no open blocker named on the card.
Activity
objectstack-fleet commentedon Nov 22, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:server(.customarrangement admission on boot, save and install) ·pm:queue, to claim after PR #36517 merges (the body has noBlocked-by:line); rationale: area:package · Bug · on three boot paths (no-validate boot, a stack with no package id, package adoption), and for a non-pair.customwriter at the save and install doors, an arrangement key is skipped with only a boot log instead of a loud refusal. Nothing wrong is applied, but an author or administrator gets no signal that their arrangement was ignored. #36498 dev report and l2-review#4 nit N1 → p2 as the seat suggested · size S. Topic #36359. On request from repo:objectstack#2 (#32588 comment 7085360338).objectstack-fleet commentedon Nov 29, 2026
triage#1 · zhuangjianguo · session_01QsR2jRH2X4frz9bBiZHNk4
Triage:
findingremoved · grade, area, type and state unchanged. Rationale: the card was graded by the first-touch record 7085377065, and a graded card no longer carries the ungradedfindinglabel. Prompted by seat 3's knock 7257883619 on #36548; #35295 is the same case found by the same search.objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z
Premise reading before claim (zone
o3-P,main0ba5e06), 2026-11-29T22:00Z: the card's premise has moved and its remaining arms meet a recorded ADR position, so it is not claimed:pm:queue→pm:on-holduntil triage splits or routes it.saveMetaItem(packages/metadata-protocol/src/protocol-package-commits.ts~576), whose step 8 (protocol-object-extension-item.ts~257) already judges arrangement keys; the orphan-adoption door is retired (App Studio 改版(4-2):散落项按勾选「移入软件包」——新入口逐项过保存检查、整批判引用;收编散落项接口和 Studio「组织的流程」同时下线(关 #37468) #38150,protocol.ts~327). What is left is a missing pin: no test shows a duplicate refusing a non-pair arrangement key..customwriter at the save and install doors. ADR-0146's 2026-11-24 note (docs/adr/0146…~894–911, from 记录页排布的第三层:配对的 .custom 包可以给安装来的对象声明完整的分组和页签排布(原始包完整声明、继承包只能声明插入位置,这两层不变) #36498 / feat(spec): the paired .custom package declares an installed object's field-group and tab arrangement #36517) records that a.custompackage that is not the object's pair "is not applied, and the boot log names it". Refusing it at the save door (pairsOfis already imported inprotocol-save.ts~98) and the install door (marketplace-install-local-plugin.ts~3253–3276 has no pair lookup) narrows that recorded behaviour; that is a change to an ADR position, not a gap under it.protocol-extension-arrangement.ts~97 returns early):mainhas no boot-time refusal precedent, and ADR-0146's 2026-11-22 note is the "kept, named by the boot log" precedent. The card's other arm, "record why a boot-time skip is right", is an ADR sentence.Seat's suggested split for triage: (a) a pin-only card for the duplicate refusal (S, no route question); (b) the non-pair
.customrefusal at save and install, a narrowing that needs a ruling against ADR-0146's 2026-11-24 note (decision box); (c) paths 1 and 2 recorded as boot-time skips through an ADR carrier (ADR-0146 amendment line), unless (b)'s ruling says otherwise.Restart-when: triage records a split or a route for this card (the seat knocked triage#1 on mailbox #38526).
objectstack-fleet commentedon Nov 30, 2026
triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ
Triage: route ·
pm:on-hold→needs-user-decision· area, grade and type unchanged.The premise reading 7263331932 leaves one open question, and it is the maintainer's: should a
.custompackage that is not the object's pair be refused at the save and install doors, against ADR-0146's 2026-11-24 note that records it as "not applied, and the boot log names it"? That would narrow a recorded ADR position, which puts it on the human floor. Arm (c), recording paths 1 and 2 as boot-time skips, is an ADR-0146 amendment line that follows whichever answer is given. Arm (a), the missing pin that a duplicate refuses a non-pair arrangement key, is test-only and rides the PR that carries the ruling. So the card is not split before the answer.The decision analysis (速读 and four axes) is owed by a decision thread, per
decision-analysis.md. Answers knock 7263317670.1 remaining item
objectstack-fleet commentedon Nov 30, 2026
triage@os-warren · os-warren · session_01JQwxbaX8npZ7tHDcopPPzw
Maintainer ruling · a non-pair
.customwriter of an arrangement key is refused at save and install · 2026-11-30T03:48ZThe maintainer (Warren,
os-warren), on a decision card at 2026-11-30T03:48Z, question 「非配对的定制包写页面排布,保存和安装时要不要当场拒绝?」, option picked: 「保存和安装都拒绝」 (not taken: 「维持现状并写成决定」, 「只在保存时拒绝」). This is option A of analysis 7266113394.Ruling
.custompackage that is not the object's pair (pairsOfof the object's owner, the read's own lookup) writesfieldGroups,relatedListsoractionLayouton an object extension, the save, the restore, the draft promotion (and so the package duplicate) and the marketplace install refuse it with the judge's existing envelopes (VALIDATION_ERROR), the refusal naming the object's pair in its first sentence. No error code is minted.os validate/os build(suffix rule only), a code-defined stack booted without them, and a stack that names no package id. Boot never refuses; the fold's skip stays as the backstop..customand non-pair alike. The three key descriptions inpackages/spec, the generated reference page, the docs passage and a changeset onnextfollow. PR headerClause-②: yes (narrowing), contract review owed..customwriter is refused at save, restore, draft promotion, duplicate and install, and that the paths of item 2 keep "not applied, the boot log names it", with the reason boot never refuses. The same line makes the 设计模式(四)页头按钮:选哪些动作固定在页头、哪些收进「更多」,可以拖动排序 #36366 note ("Any other package is refused") and the 记录页排布的第三层:配对的 .custom 包可以给安装来的对象声明完整的分组和页签排布(原始包完整声明、继承包只能声明插入位置,这两层不变) #36498 note agree.npm view @objectstack/spec dist-tagsstill answers an 18.xlatest. If 19.0.0 has become stable with the suffix behaviour shipped, the dev reports a fork instead of proceeding.State:
needs-user-decision→pm:queue. Grade, area and type unchanged. The card is not split (triage 7265844308); arms (a) and the ruled door change ride onedomain:serverPR, arm (c) rides #38438.objectstack-fleet commentedon Nov 30, 2026
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z
Claim: PM loop round (seat card thread)
Session:
session_01ADHkmSAjFEZHRpRq3WCj6zThread session: pending
Account:
os-steveBranch: pending
Worktree:
objectstack(the card thread's own container, fromorigin/main25ac5df)Domain:
domain:serverSeat:
repo:objectstack#3Area:
o3-PFile surface: the save, restore and draft-promotion doors in
packages/metadata-protocol/src/(protocol-save.ts,protocol-write-gates.ts,protocol-extension-arrangement.ts,protocol-package-commits.tsfor the duplicate path), the install doorpackages/cloud-connection/src/marketplace-install-local-plugin.ts, the pair lookuppackages/metadata-core/src/customization-pair-lookup.ts(read; edited only if install must read the delivered artifact first), the three key describes inpackages/spec/src/data/object.zod.ts(fieldGroups,relatedLists,actionLayout), their generated reference page, the docs passage on arrangement keys, the ADR-0087 entry underpackages/spec/src/migrations/entries/, their tests, and root.changeset/36548-*.md(stop on breach; explain in the report).Container & model: L, mode:thread, model: default, effort: high
Clause-②: yes (narrowing)
Metadata-protocol: narrowed
Responsibility:
the platform's package customization contract (packages/metadata-protocol, packages/cloud-connection), so a platform card carries it | no platform path covers it: a non-pair .custom writer's arrangement key is skipped with a boot-log line instead of refused | any package author whose .custom package writes page arrangement on an object it does not pairPremise: holds as ruled (7268226134, option A); dispatch premise of item 6 is re-measured before code (
npm view @objectstack/spec dist-tagsanswers an 18.xlatest), and a moved fact is reported as a fork, not built over.Prior rulings read: 7268226134 (maintainer, option A 「保存和安装都拒绝」, items 1–6; arm (c) rides #38438, not this PR); analysis 7266113394; triage 7265844308 (not split); ADR-0146 #36498 note of 2026-11-24; the #36366 note. No conflict.
Pre-claim lane:
packages/metadata-protocol/src/**,packages/cloud-connection/src/**→domain:server;packages/spec/src/data/object.zod.tsdescribes ride the same PR per the ruling (item 4); built in this seat's card thread.Pre-claim deps: the ruling returned the card to
pm:queue(03:48Z); PR #36517 merged; no open blocker named on the card.objectstack-fleet commentedon Nov 30, 2026
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z
Claim: PM loop round (seat card thread) · amendment 1: branch and served model
Session:
session_01ADHkmSAjFEZHRpRq3WCj6zThread session:
session_01ADHkmTJpSGCkThBopKEF9CAccount:
os-steveBranch:
claude/project-thread-iaw48iWorktree:
objectstack(the card thread's own container, fromorigin/main25ac5df)Domain:
domain:serverSeat:
repo:objectstack#3Area:
o3-PFile surface: the save, restore and draft-promotion doors in
packages/metadata-protocol/src/(protocol-save.ts,protocol-write-gates.ts,protocol-extension-arrangement.ts,protocol-package-commits.tsfor the duplicate path), the install doorpackages/cloud-connection/src/marketplace-install-local-plugin.ts, the pair lookuppackages/metadata-core/src/customization-pair-lookup.ts(read; edited only if install must read the delivered artifact first), the three key describes inpackages/spec/src/data/object.zod.ts(fieldGroups,relatedLists,actionLayout), their generated reference page, the docs passage on arrangement keys, the ADR-0087 entry underpackages/spec/src/migrations/entries/, their tests, and root.changeset/36548-*.md(stop on breach; explain in the report).Container & model: L, mode:thread, model: default (served
claude-opus-5-5, read by the thread from its session), effort: highClause-②: yes (narrowing)
Metadata-protocol: narrowed
Responsibility:
the platform's package customization contract (packages/metadata-protocol, packages/cloud-connection), so a platform card carries it | no platform path covers it: a non-pair .custom writer's arrangement key is skipped with a boot-log line instead of refused | any package author whose .custom package writes page arrangement on an object it does not pairPremise: holds as ruled (7268226134, option A); dispatch premise of item 6 is re-measured before code (
npm view @objectstack/spec dist-tagsanswers an 18.xlatest), and a moved fact is reported as a fork, not built over.Prior rulings read: 7268226134 (maintainer, option A 「保存和安装都拒绝」, items 1–6; arm (c) rides #38438, not this PR); analysis 7266113394; triage 7265844308 (not split); ADR-0146 #36498 note of 2026-11-24; the #36366 note. No conflict.
Pre-claim lane:
packages/metadata-protocol/src/**,packages/cloud-connection/src/**→domain:server;packages/spec/src/data/object.zod.tsdescribes ride the same PR per the ruling (item 4); built in this seat's card thread.Pre-claim deps: the ruling returned the card to
pm:queue(03:48Z); PR #36517 merged; no open blocker named on the card.objectstack-fleet commentedon Nov 30, 2026
repo:objectstack@os-steve · os-steve · session_01ADHkmTJpSGCkThBopKEF9C
os-dev-report
{ "issue": 36548, "status": "done", "branch": "claude/project-thread-iaw48i", "pr": "https://github.com/objectstack-ai/objectstack/pull/38706", "head": "6b3804eae", "session": "session_01ADHkmTJpSGCkThBopKEF9C", "premise_still_valid": true, "files_changed": [ ".changeset/36548-non-pair-custom-arrangement-refused.md (+27 -0)", "content/docs/data-modeling/object-extensions.mdx (+6 -3)", "content/docs/references/data/object.mdx (+3 -3, generated by check:generated --fix)", "packages/cloud-connection/src/marketplace-install-local-arrangement.ts (+91 -0, new)", "packages/cloud-connection/src/marketplace-install-local-extension-arrangement.test.ts (+83 -3)", "packages/cloud-connection/src/marketplace-install-local-plugin.ts (+16 -10)", "packages/metadata-protocol/src/protocol-extension-arrangement.test.ts (+114 -0)", "packages/metadata-protocol/src/protocol-extension-arrangement.ts (+57 -10)", "packages/metadata-protocol/src/protocol-object-extension-item.ts (+20 -5)", "packages/objectql/src/protocol-custom-arrangement.test.ts (+70 -0)", "packages/spec/src/data/object.zod.ts (+7 -5)", "packages/spec/src/migrations/entries/semantic/19.non-pair-custom-arrangement-refused.ts (+47 -0, new)" ], "line_budget": "12 files, +541 -39 against origin/main (git diff --numstat origin/main...HEAD); source +191 -30, tests +267 -3, spec/docs/changeset/migration +90 -11", "gates": "dispatch-gates.mjs --commands over the diff, each run with its exit captured before any pipe; --ran reconciliation: 127 derived famil(ies) accounted for, 127 run, 0 NOT-MEASURED, every one exit 0 (three first answered exit 3 for an unmet prerequisite and were rerun to exit 0 after fetching 621a4876 for check-plugin-teardown-shape --self-test and building studio, client-react and scenarios for check:skill-examples and check:dual-build-cjs-loads). Package suites at the merged head: metadata-protocol 374 files / 23702 tests, cloud-connection 95 / 1374, objectql 640 / 14546, spec 913 / 28910 (1 todo), all passed; typecheck exit 0 for each. CI check-runs: not waited for, per the order.", "dogfood_battery": "6b3804eae · os-verify-lock: VERDICT command-exit 0 · held the lock 2048s (34m08s) · waited 11s · Test Files 495 passed | 3 skipped (498) · Tests 4187 passed | 68 skipped (4255) · no failures", "tests": "New pins: the save door per target kind (owned object, module-owned object, __c object, kernel object, unknown owner not judged) for all three keys; the install door refuses a partner pair once with 422 VALIDATION_ERROR and installs a delivered legacy per-package pair on its own package's object; arm (a) package duplicate into a non-pair .custom target lands in failed[]. Ablation: the judge's role branch removed => 7/27, 3/9 and 2/10 of the new tests red; install reading the registry only => the delivered-legacy-pair control red; dist rebuilt after each ablation.", "mcp_calls": "3 — mcp__github__issue_read (get), mcp__github__issue_read (get_comments), mcp__github__pull_request_read (get_files); no write tool", "api_writes": "2 — relay pr_create POST /repos/objectstack-ai/objectstack/pulls (#38706, 12042 bytes sent and stored identical); this comment POST /repos/objectstack-ai/objectstack/issues/36548/comments via post-stamped.mjs", "classifier_refusals": [], "deviations": [ "packages/metadata-protocol/src/protocol-object-extension-item.ts is not named in the File surface: it holds the save gate's step 8, the only place the save door can hand the owner's pairs to the judge", "packages/cloud-connection/src/marketplace-install-local-arrangement.ts is new: marketplace-install-local-plugin.ts is over 1,000 lines, so per os-dev.md the install door's role judgement went into a sibling module and the plugin gained only the call", "packages/objectql/src/protocol-custom-arrangement.test.ts carries the duplicate pin because the real protocol and registry are only assembled there", "packages/metadata-core customization-pair-lookup.ts is named in the surface and was not edited: pairsOf and installedManifestsOf already answer what the doors need" ], "open_questions": [ { "question": "需契约复审 — Clause-② narrowing and Metadata-protocol: narrowed on head 6b3804eae; this thread starts no contract-review subagent", "options": ["A seat schedules L2 contract review on 6b3804eae"], "recommendation": "A" } ], "security_findings": "none", "out_of_scope_findings": [ "class: a · reach: package duplicate of an object_extension row into any target — the rewrite sets `name` on the row and the strict object_extension schema refuses it, so the row lands in failed[] for that reason rather than the one the duplicate intended · evidence: the control in packages/objectql/src/protocol-custom-arrangement.test.ts asserts only the absence of an ADR-0146 D10 error, and PR #38706 Acceptance notes records it · dedupe words: duplicatePackage object_extension name strict schema", "carrier: PR #38706 Acceptance notes · noted, not filed" ] }objectstack-fleet commentedon Nov 30, 2026
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z
Claim: PM loop round (seat card thread) · amendment 2: file surface as the PR's named files
Session:
session_01ADHkmSAjFEZHRpRq3WCj6zThread session:
session_01ADHkmTJpSGCkThBopKEF9CAccount:
os-steveBranch:
claude/project-thread-iaw48iWorktree:
objectstack(the card thread's own container, fromorigin/main25ac5df)Domain:
domain:serverSeat:
repo:objectstack#3Area:
o3-PFile surface: as named files at PR #38706 head
6b3804eae:packages/metadata-protocol/src/protocol-extension-arrangement.ts(+.test.ts),packages/metadata-protocol/src/protocol-object-extension-item.ts(the save door's step 8; draft promotion and duplicate go through it),packages/cloud-connection/src/marketplace-install-local-plugin.ts,packages/cloud-connection/src/marketplace-install-local-arrangement.ts(new sibling module, the plugin file is over 1,000 lines),packages/cloud-connection/src/marketplace-install-local-extension-arrangement.test.ts,packages/objectql/src/protocol-custom-arrangement.test.ts,packages/spec/src/data/object.zod.ts,packages/spec/src/migrations/entries/semantic/19.non-pair-custom-arrangement-refused.ts,content/docs/data-modeling/object-extensions.mdx,content/docs/references/data/object.mdx, root.changeset/36548-non-pair-custom-arrangement-refused.md. Stop on breach; explain in the report.Container & model: L, mode:thread, model: default (served
claude-opus-5-5, read by the thread from its session), effort: highClause-②: yes (narrowing)
Metadata-protocol: narrowed
Responsibility:
the platform's package customization contract (packages/metadata-protocol, packages/cloud-connection), so a platform card carries it | no platform path covers it: a non-pair .custom writer's arrangement key is skipped with a boot-log line instead of refused | any package author whose .custom package writes page arrangement on an object it does not pairPremise: holds as ruled (7268226134, option A); dispatch premise of item 6 is re-measured before code (
npm view @objectstack/spec dist-tagsanswers an 18.xlatest), and a moved fact is reported as a fork, not built over.Prior rulings read: 7268226134 (maintainer, option A 「保存和安装都拒绝」, items 1–6; arm (c) rides #38438, not this PR); analysis 7266113394; triage 7265844308 (not split); ADR-0146 #36498 note of 2026-11-24; the #36366 note. No conflict.
Pre-claim lane:
packages/metadata-protocol/src/**,packages/cloud-connection/src/**→domain:server;packages/spec/src/data/object.zod.tsdescribes ride the same PR per the ruling (item 4); built in this seat's card thread.Pre-claim deps: the ruling returned the card to
pm:queue(03:48Z); PR #36517 merged; no open blocker named on the card.objectstack-fleet commentedon Nov 30, 2026
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z
Delivered 2026-11-30T08:10Z: PR #38706 merged as
7e1b2b95; arm (c) is a row on #38438.pm:dispatchedremoved.fix(metadata-protocol)!: refuse a .custom package that is not the obj…
docs(adr): ADR revisions, week of 2026-11-29 (seven dated notes acros…