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
metadata-protocol: a bare save of a name two ENABLED packages ship answers 200 (writes a package-unbound row or updates one package's row) while the bare read refuses 409 naming both #33955
Filing gate: ① a product defect with a named location, measured. Found by area S5's dev on #32605 (report 6896224874, out_of_scope_findings, class a), filed by the area on the seat's instruction. Area S5 (E1b), lease E1.
On the dispatcher at the #32605 branch (49ebb6d) and on main 1e65a38: two ENABLED packages ship a dashboard of one name.
The bare read (GET /meta/dashboard/NAME, no ?package=) answers 409 RESOURCE_CONFLICT naming both packages.
The bare save (PUT /meta/dashboard/NAME, no ?package=) answers 200:
with no stored row: it writes a package-unbound row;
with one package's row stored: it updates that row.
Cause (read): the save door resolves its address with packagelessAddress over stored-row bindings only, while the read counts registry holders. Seam: packages/metadata-protocol/src/protocol-save.tssaveMetaItemUnaudited (packageless address) vs packages/metadata-protocol/src/protocol-meta-item-face.tsreadMetaItemFace. PR #33889 (#32605) fixed only the case where a DISABLED package is among the holders.
Acceptance
A bare publish-mode save of a name two or more enabled packages hold refuses 409 RESOURCE_CONFLICT naming the holders with the ?package= remedy, as the bare read does, in both registration orders and with 0 / 1 / 2 stored rows. CONTROL: one holder (unchanged), the environment's own item (unchanged).
Measure and align the same shape on the bare DELETE (protocol-diff-delete-load.ts, packagelessAddress) and the draft-mode bare save (packagelessDraftAddress).
Declared FROM→TO with its Clause-② arm (accepted→refused is a narrowing: !, BREAKING banner, ADR-0087 marker, dogfood battery), pinned and ablated.
Reader
domain:server area S5 (E1b). Same file as #32780 (protocol-save.ts): serial behind it only if a merge-tree check shows overlap.
Dedupe
Searched "bare save" packagelessAddress and "bare save" "two packages" 409: #32605 (disabled holder, fixed by PR #33889), #32607 (read, closed), #32354 (read, closed), #33127 (restart rows), #30806 (phase 3 bare names). None covers the save with two enabled holders.
Claim: area S5 (lease E1, E1b), #33751 §2 area-lease mode, round 7. This card is a fold member of #34144 (same door: protocol-save.ts package-less save address, same refusal family).
Session: session_01QsR2jUcj2x2Wr4UErwBi12
Account: zhuangjianguo
Branch: claude/area-E1b-34144
Worktree: objectstack-e1b-34144
Domain: domain:server
Seat: domain:server#5
File surface: as in #34144's claim (protocol-save.ts; protocol-diff-delete-load.ts, bare DELETE, measure and align; tests; one changeset). No protocol.ts, no packages/spec/src/**, no protocol-meta-item-face.ts. Stop and ask on a breach.
Container & model: M, mode:subagent, model: default judgment tier, effort: high
Clause-②: no (narrowing)
Metadata-protocol: none
Responsibility: objectstack platform code (metadata-protocol bare save / delete) | none | a deployment where two or more enabled packages ship a name and a writer saves it without ?package=
Thread-read: none
Premise: card (measured by the #32605 dev, report 6896224874); the dev re-measures on origin/main before any edit
Pre-claim lane: domain:server because the seam is packages/metadata-protocol/src/protocol-save.ts
Pre-claim deps: the same open PRs as #34144's claim (#34181, #34147, #34169, #33885, branch claude/area-E1b-32780). Merge-tree before every push. No Blocked-by.
Prior rulings read: ADR-0150 D3/D5 and red line 2 (two enabled holders: the read refuses 409 naming both, and the save must not guess); PR #33889 (#32605) fixed only the disabled-among-holders case. Own commit and own Fixes #33955 line in the one PR.
{
"issue": 34144,
"folded": [
33955,
34262
],
"status": "done",
"branch": "claude/area-E1b-34144",
"pr": "https://github.com/objectstack-ai/objectstack/pull/34324",
"head": "6401aad2f3",
"session": "session_01QsR2jUcj2x2Wr4UErwBi12",
"premise_still_valid": true,
"summary": "Both premises were re-measured on origin/main 35cc6638 before any edit, through both transports and in both registration orders. Disabled-only names: the bare save edited D's row or wrote a withheld package-unbound row (200), the draft save wrote an unbound draft, and the bare delete removed D's row. Two enabled shippers: the bare save wrote an unbound row (0 rows) or updated the one row (1 row); the draft save and delete matched. H1 holds. The save took its address from packagelessAddress (stored-row bindings) while the read counts holders through the registry resolver. Fix: one judgment, packagelessHolderRefusal in protocol-save.ts, asked after servedPackagelessSaveAddress and the two-bindings refusal by the publish save, the draft save and the bare delete (H2 aligned in this PR). With two or more enabled holders, registry.resolveItem(type, name, null, member) refuses ambiguous-in-environment, and the write is refused through the existing packagelessAddressAmbiguityRefusal naming them. With every holder disabled, disabledHoldersOnlyRefusal (409 RESOURCE_CONFLICT, ?package= remedy, names no package) applies. H3 holds: every moved cell goes accepted to refused, none the other way. The #33889 CONTROL is flipped and ablated. #34262 (bare save at a member the disabled holder never ships) is covered by the #34144 arm, with a pin, re-enable as CONTROL, and its own commit. PR #34324 waits on #33995. After that merges, this branch merges main and flips #33995's S3 save pin in packages/objectql/src/disabled-holder-packageless-row-doors.test.ts (seat-approved surface extension), keeping the delete half.",
"tests": "meta-disabled-holder-served-stack.test.ts at 504dd1f809: Tests 128 passed (128). metadata-protocol test: Test Files 344 passed, 9 skipped; Tests 22946 passed. At 6401aad2f3 (main merged): runtime test 607/607 files, 11144 passed; rest test 413/413 files, 8491 passed. typecheck metadata-protocol and runtime: exit 0. Ablation A (disabled-only arm, marker ABLATION_34144_NEVER in 2 dist files): 20 failed and 108 passed, exactly the 5 ruling-A pins x 4 cases. Ablation B (enabled arm, ABLATION_33955_NEVER in 2 dist files): 16 failed and 112 passed, the 4 #33955 pins x 4; the 'row of each' CONTROL stayed green. Restored: git diff HEAD empty, and --absent passed for both markers.",
"gates": "dispatch-gates --commands derived 70 families at 6401aad2f3. All 70 ran, each recorded as 'cmd :: exit N'. --ran: 70 derived, 70 run, 0 NOT-MEASURED (a DERIVED zero). check:dual-build-cjs-loads exited 3 (prereq, no dist) and then 0 after the full build check:type-check-debt makes under the lock. check:type-check-debt ran under the lock, exit 0. pnpm lint exit 0. Body gates (changeset-no-major, adr-0087-registration, closing-keyword-parity, partof-closing-keyword) exit 0. merge-tree vs #34147, #33995, claude/area-E1b-32780 and origin/main: exit 0 each. CI check-runs on #34324: in_progress at report time.",
"dogfood_battery": "6401aad2f3 · VERDICT command-exit 0 · Test Files 470 passed, 3 skipped (473) · Tests 3985 passed, 42 skipped · no failures. Owed again on the final head after the #33995 merge and its pin flip.",
"declaration_self_check": "PASS. Title carries '!'. Clause-②: no (narrowing) and Metadata-protocol: none are copied verbatim from both claims into the PR body and the changeset. The BREAKING banner is in the changeset and the PR body. The ADR-0087 marker not-required (no-migration-prescription) passes check-adr-0087-registration. Skills-docs: none, with the reason from a git grep of skills/. The dogfood battery ran at 6401aad2f3. dispatch-gates --tier: no path mandate; 'A card that only NARROWS one is Clause-②: no', which matches. Precedent difference: #33646 declared 'Clause-②: yes (narrowing)'. The current --tier text and AGENTS.md (no plus the narrowing arm) back 'no (narrowing)', so the claim's line stands. #33769 is a widening precedent and not comparable.",
"deviations": [
"Unpushed local commits during the first locked measurement: a WIP commit was amended into the #34144 commit before the first push. The branch is claude/area-*, so force-push is never allowed, and that is why the commits stay one per card. The pushed history has no rewrite.",
"The order and claims name the #33889 CONTROL flip in meta-disabled-holder-served-stack.test.ts. All new pins went into that file's #32605 describe (shared-harness rule). The harness put() gained an optional query argument, and a mailAt/emailTemplates fixture was added for #34262."
],
"open_questions": [
{
"question": "A package-unbound row of a name only disabled packages ship (measured: d_unbound_dash, D disabled): the bare read answers 404 but the bare save edits that row (200), so the edit is stored and stays hidden until re-enable, the #34262 shape at an existing row. Kept unchanged as the order's 'environment's own item' CONTROL.",
"options": [
"A: keep as is. Real need: the environment's own customization stays editable while its holder is disabled, and the ?package= remedy cannot reach a package-unbound row. Long-run: leaves one read/write asymmetry. AI-safety: an AI sees 200 and no visible change. Scope: zero.",
"B: refuse the bare save there too, with a remedy of re-enable or delete (a new sentence, not ?package=). Real need: unmeasured, no named writer. Long-run: full symmetry with the read. AI-safety: loud. Scope: one more narrowing and new refusal prose."
],
"recommendation": "A for now, and file B only if a real writer is measured. The ruling's remedy (?package=) does not reach this row, so refusing it needs its own ruling."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: #33995 (s5-33385) · that PR's S3 pin expects the bare save at a never-shipped member to succeed while disabled. The coordinator ruled #33995 lands first, then this branch flips that save pin. noted, not filed"
],
"mcp_calls": "0",
"api_writes": "1 relay pr_create (objectstack-ai/objectstack#34324) + 3 post-stamped comments (#34144, #33955, #34262); git push x3",
"files_changed": [
".changeset/34144-bare-save-holder-judgment.md",
"packages/metadata-protocol/src/protocol-diff-delete-load.ts",
"packages/metadata-protocol/src/protocol-save.ts",
"packages/runtime/src/domains/meta-disabled-holder-served-stack.test.ts"
],
"line_budget": "+320/-12 across 4 files (dispatch-gates changed-lines 332, under the 3000 human-merge threshold)"
}
Release: session session_01QsR2jUcj2x2Wr4UErwBi12 (claim 6905875947, account zhuangjianguo, seat domain:server#5) · reason: cross-account takeover; the old seat signed off (brief #28677 comment 6912561028) · provenance: who = Leehom (maintainer); words = 「接手 前任。#28677 (comment) 的未完成任务」; where = this account's Claude Code project, seat thread 「运行 objectstack 仓库车道席位」 (repo:objectstack#1) · hand-over record: comment 6912060472 on PR #34324 (branch claude/area-E1b-34144, last pushed sha 7b1880f38169f4f3cddfa4764e23afde7b02e975; see the chain head #34144)
Claim: repo:objectstack#1 area o1-D (lease o1-D), takeover of domain:server#5's in-flight PR #34324 on the maintainer's order above. Fold member of #34144 (chain head), one PR
Session: session_01FEkQ5obaLbqgzRUR9xXfft
Account: os-project-manager
Branch: claude/area-E1b-34144
Worktree: objectstack-e1b-34144
Domain: domain:server
Seat: repo:objectstack#1
File surface: unchanged from claim 6905875947 and its amendments; the PR's committed tree at 7b1880f381 is the surface
Container & model: M, mode:subagent, model: default judgment tier, effort: high
Clause-②: no (narrowing)
Metadata-protocol: none
Responsibility: objectstack platform code (metadata-protocol bare save / delete) | none | a deployment where two or more enabled packages ship a name and a writer saves it without ?package=
Thread-read: 6908985329
Premise: holds (carried from claim 6905875947; ADR-0150 D3/D5 unchanged)
Serial constraints cleared: see the chain head #34144's claim
Pre-claim lane: repo:objectstack#1 area o1-D; packages/metadata-protocol/src/protocol-save.ts (domain:server file ownership); listed under o1-D in seat post #34366's lease table.
Pre-claim deps: see the chain head #34144
Prior rulings read: ADR-0150 D3/D5 and red line 2; PR #33889, as cited in claim 6905875947; re-read at takeover, no newer ruling on the card.
Resume-from: claude/area-E1b-34144@7b1880f38169f4f3cddfa4764e23afde7b02e975
Close-out · #33955 · area o1-D · 2026-11-16T18:06Z
Delivered: PR fix(metadata-protocol)!: a bare save or delete counts the holders the bare read counts (ADR-0150 D3/D5) #34324 merged (merge commit 20bf2225f4ad93959c5e465b3bc0fb2a7de4f633, Part of #33955, folded per the seat's ruling) on review#1 delta PASS 6919013626 and L1-b ACCEPT 6918432890. A write that names no package of a name two or more enabled packages hold now asks the package-scoped resolver the bare read asks, and answers 409 naming those packages (the existing ambiguity refusal) instead of rewriting one package's row. Pins live in packages/runtime/src/domains/meta-disabled-holder-served-stack.test.ts.
Left: nothing on this card. The area closes it (completed) in this stroke and clears pm:dispatched, lease:o1-D and the assignee.
Activity
objectstack-fleet commentedon Nov 16, 2026
domain:server#5 · zhuangjianguo · session_01QsR2jUcj2x2Wr4UErwBi12
Claim: area S5 (lease E1, E1b), #33751 §2 area-lease mode, round 7. This card is a fold member of #34144 (same door:
protocol-save.tspackage-less save address, same refusal family).Session:
session_01QsR2jUcj2x2Wr4UErwBi12Account:
zhuangjianguoBranch:
claude/area-E1b-34144Worktree:
objectstack-e1b-34144Domain:
domain:serverSeat:
domain:server#5File surface: as in #34144's claim (
protocol-save.ts;protocol-diff-delete-load.ts, bare DELETE, measure and align; tests; one changeset). Noprotocol.ts, nopackages/spec/src/**, noprotocol-meta-item-face.ts. Stop and ask on a breach.Container & model:
M,mode:subagent,model: default judgment tier,effort: highClause-②: no (narrowing)
Metadata-protocol: none
Responsibility: objectstack platform code (metadata-protocol bare save / delete) | none | a deployment where two or more enabled packages ship a name and a writer saves it without
?package=Thread-read: none
Premise: card (measured by the #32605 dev, report 6896224874); the dev re-measures on origin/main before any edit
Pre-claim lane: domain:server because the seam is packages/metadata-protocol/src/protocol-save.ts
Pre-claim deps: the same open PRs as #34144's claim (#34181, #34147, #34169, #33885, branch
claude/area-E1b-32780). Merge-tree before every push. No Blocked-by.Prior rulings read: ADR-0150 D3/D5 and red line 2 (two enabled holders: the read refuses 409 naming both, and the save must not guess); PR #33889 (#32605) fixed only the disabled-among-holders case. Own commit and own
Fixes #33955line in the one PR.objectstack-fleet commentedon Nov 16, 2026
domain:server#5 · zhuangjianguo · session_01QsR2jUcj2x2Wr4UErwBi12
os-dev-report
{ "issue": 34144, "folded": [ 33955, 34262 ], "status": "done", "branch": "claude/area-E1b-34144", "pr": "https://github.com/objectstack-ai/objectstack/pull/34324", "head": "6401aad2f3", "session": "session_01QsR2jUcj2x2Wr4UErwBi12", "premise_still_valid": true, "summary": "Both premises were re-measured on origin/main 35cc6638 before any edit, through both transports and in both registration orders. Disabled-only names: the bare save edited D's row or wrote a withheld package-unbound row (200), the draft save wrote an unbound draft, and the bare delete removed D's row. Two enabled shippers: the bare save wrote an unbound row (0 rows) or updated the one row (1 row); the draft save and delete matched. H1 holds. The save took its address from packagelessAddress (stored-row bindings) while the read counts holders through the registry resolver. Fix: one judgment, packagelessHolderRefusal in protocol-save.ts, asked after servedPackagelessSaveAddress and the two-bindings refusal by the publish save, the draft save and the bare delete (H2 aligned in this PR). With two or more enabled holders, registry.resolveItem(type, name, null, member) refuses ambiguous-in-environment, and the write is refused through the existing packagelessAddressAmbiguityRefusal naming them. With every holder disabled, disabledHoldersOnlyRefusal (409 RESOURCE_CONFLICT, ?package= remedy, names no package) applies. H3 holds: every moved cell goes accepted to refused, none the other way. The #33889 CONTROL is flipped and ablated. #34262 (bare save at a member the disabled holder never ships) is covered by the #34144 arm, with a pin, re-enable as CONTROL, and its own commit. PR #34324 waits on #33995. After that merges, this branch merges main and flips #33995's S3 save pin in packages/objectql/src/disabled-holder-packageless-row-doors.test.ts (seat-approved surface extension), keeping the delete half.", "tests": "meta-disabled-holder-served-stack.test.ts at 504dd1f809: Tests 128 passed (128). metadata-protocol test: Test Files 344 passed, 9 skipped; Tests 22946 passed. At 6401aad2f3 (main merged): runtime test 607/607 files, 11144 passed; rest test 413/413 files, 8491 passed. typecheck metadata-protocol and runtime: exit 0. Ablation A (disabled-only arm, marker ABLATION_34144_NEVER in 2 dist files): 20 failed and 108 passed, exactly the 5 ruling-A pins x 4 cases. Ablation B (enabled arm, ABLATION_33955_NEVER in 2 dist files): 16 failed and 112 passed, the 4 #33955 pins x 4; the 'row of each' CONTROL stayed green. Restored: git diff HEAD empty, and --absent passed for both markers.", "gates": "dispatch-gates --commands derived 70 families at 6401aad2f3. All 70 ran, each recorded as 'cmd :: exit N'. --ran: 70 derived, 70 run, 0 NOT-MEASURED (a DERIVED zero). check:dual-build-cjs-loads exited 3 (prereq, no dist) and then 0 after the full build check:type-check-debt makes under the lock. check:type-check-debt ran under the lock, exit 0. pnpm lint exit 0. Body gates (changeset-no-major, adr-0087-registration, closing-keyword-parity, partof-closing-keyword) exit 0. merge-tree vs #34147, #33995, claude/area-E1b-32780 and origin/main: exit 0 each. CI check-runs on #34324: in_progress at report time.", "dogfood_battery": "6401aad2f3 · VERDICT command-exit 0 · Test Files 470 passed, 3 skipped (473) · Tests 3985 passed, 42 skipped · no failures. Owed again on the final head after the #33995 merge and its pin flip.", "declaration_self_check": "PASS. Title carries '!'. Clause-②: no (narrowing) and Metadata-protocol: none are copied verbatim from both claims into the PR body and the changeset. The BREAKING banner is in the changeset and the PR body. The ADR-0087 marker not-required (no-migration-prescription) passes check-adr-0087-registration. Skills-docs: none, with the reason from a git grep of skills/. The dogfood battery ran at 6401aad2f3. dispatch-gates --tier: no path mandate; 'A card that only NARROWS one is Clause-②: no', which matches. Precedent difference: #33646 declared 'Clause-②: yes (narrowing)'. The current --tier text and AGENTS.md (no plus the narrowing arm) back 'no (narrowing)', so the claim's line stands. #33769 is a widening precedent and not comparable.", "deviations": [ "Unpushed local commits during the first locked measurement: a WIP commit was amended into the #34144 commit before the first push. The branch is claude/area-*, so force-push is never allowed, and that is why the commits stay one per card. The pushed history has no rewrite.", "The order and claims name the #33889 CONTROL flip in meta-disabled-holder-served-stack.test.ts. All new pins went into that file's #32605 describe (shared-harness rule). The harness put() gained an optional query argument, and a mailAt/emailTemplates fixture was added for #34262." ], "open_questions": [ { "question": "A package-unbound row of a name only disabled packages ship (measured: d_unbound_dash, D disabled): the bare read answers 404 but the bare save edits that row (200), so the edit is stored and stays hidden until re-enable, the #34262 shape at an existing row. Kept unchanged as the order's 'environment's own item' CONTROL.", "options": [ "A: keep as is. Real need: the environment's own customization stays editable while its holder is disabled, and the ?package= remedy cannot reach a package-unbound row. Long-run: leaves one read/write asymmetry. AI-safety: an AI sees 200 and no visible change. Scope: zero.", "B: refuse the bare save there too, with a remedy of re-enable or delete (a new sentence, not ?package=). Real need: unmeasured, no named writer. Long-run: full symmetry with the read. AI-safety: loud. Scope: one more narrowing and new refusal prose." ], "recommendation": "A for now, and file B only if a real writer is measured. The ruling's remedy (?package=) does not reach this row, so refusing it needs its own ruling." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: #33995 (s5-33385) · that PR's S3 pin expects the bare save at a never-shipped member to succeed while disabled. The coordinator ruled #33995 lands first, then this branch flips that save pin. noted, not filed" ], "mcp_calls": "0", "api_writes": "1 relay pr_create (objectstack-ai/objectstack#34324) + 3 post-stamped comments (#34144, #33955, #34262); git push x3", "files_changed": [ ".changeset/34144-bare-save-holder-judgment.md", "packages/metadata-protocol/src/protocol-diff-delete-load.ts", "packages/metadata-protocol/src/protocol-save.ts", "packages/runtime/src/domains/meta-disabled-holder-served-stack.test.ts" ], "line_budget": "+320/-12 across 4 files (dispatch-gates changed-lines 332, under the 3000 human-merge threshold)" }objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#1 · os-project-manager · session_01FEkQ5obaLbqgzRUR9xXfft
Release: session
session_01QsR2jUcj2x2Wr4UErwBi12(claim 6905875947, accountzhuangjianguo, seat domain:server#5) · reason: cross-account takeover; the old seat signed off (brief #28677 comment 6912561028) · provenance: who = Leehom (maintainer); words = 「接手 前任。#28677 (comment) 的未完成任务」; where = this account's Claude Code project, seat thread 「运行 objectstack 仓库车道席位」 (repo:objectstack#1) · hand-over record: comment 6912060472 on PR #34324 (branchclaude/area-E1b-34144, last pushed sha7b1880f38169f4f3cddfa4764e23afde7b02e975; see the chain head #34144)Claim: repo:objectstack#1 area o1-D (lease o1-D), takeover of domain:server#5's in-flight PR #34324 on the maintainer's order above. Fold member of #34144 (chain head), one PR
Session:
session_01FEkQ5obaLbqgzRUR9xXfftAccount:
os-project-managerBranch:
claude/area-E1b-34144Worktree:
objectstack-e1b-34144Domain:
domain:serverSeat:
repo:objectstack#1File surface: unchanged from claim 6905875947 and its amendments; the PR's committed tree at
7b1880f381is the surfaceContainer & model:
M,mode:subagent,model: default judgment tier,effort: highClause-②: no (narrowing)
Metadata-protocol: none
Responsibility: objectstack platform code (metadata-protocol bare save / delete) | none | a deployment where two or more enabled packages ship a name and a writer saves it without
?package=Thread-read: 6908985329
Premise: holds (carried from claim 6905875947; ADR-0150 D3/D5 unchanged)
Serial constraints cleared: see the chain head #34144's claim
Pre-claim lane: repo:objectstack#1 area o1-D;
packages/metadata-protocol/src/protocol-save.ts(domain:server file ownership); listed under o1-D in seat post #34366's lease table.Pre-claim deps: see the chain head #34144
Prior rulings read: ADR-0150 D3/D5 and red line 2; PR #33889, as cited in claim 6905875947; re-read at takeover, no newer ruling on the card.
Resume-from:
claude/area-E1b-34144@7b1880f38169f4f3cddfa4764e23afde7b02e975objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#1 · os-project-manager · session_01FEkQ5obaLbqgzRUR9xXfft
Close-out · #33955 · area o1-D · 2026-11-16T18:06Z
20bf2225f4ad93959c5e465b3bc0fb2a7de4f633,Part of #33955, folded per the seat's ruling) on review#1 delta PASS 6919013626 and L1-b ACCEPT 6918432890. A write that names no package of a name two or more enabled packages hold now asks the package-scoped resolver the bare read asks, and answers 409 naming those packages (the existing ambiguity refusal) instead of rewriting one package's row. Pins live inpackages/runtime/src/domains/meta-disabled-holder-served-stack.test.ts.pm:dispatched,lease:o1-Dand the assignee.