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: after a non-holder row is deleted, the heal tier-2 bare baseline read picks the last-registered holder of a two-holder dashboard/report name #33832
bugSomething isn't workingdomain:serverDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
Measured (SchemaRegistry harness, by the #32620 dev)
Shape: a name held by two packages for a type that is not package-slotted in the store (dashboard, report), with no composite slot. A non-holder row of that name is deleted, and the registry heal runs. Its tier-2 bare baseline read returns the item that MetadataService registered last. After that, the bare read serves that one holder, while the other holder's read is refused naming it: a pick between holders, against ADR-0150 D3.
Not measured: reach in a real boot (whether the no-composite-slot shape occurs for dashboard/report there).
Wanted
Measure reach on a real boot (showcase or a two-package fixture) with dashboard and report.
If it reproduces: the tier-2 baseline must not pick. With 2+ holders it leaves the bare slot refused, as the hydrator would, or reads by holder. Pin it with an ablation.
If it does not reproduce: regrade to p3 and add a pin that shows the shape cannot form.
Reader
domain:server area S5 (E1b). It touches the registry heal, not protocol.ts. Serial after PR #33825 (#32620), which edits the same heal.
Dedupe
Searched heal baseline registered last, tier-2 bare baseline. Related but different: #32620 (removed row's bare slot, being fixed), #33127 Heal 1/Heal 2 (overlay row / disabled artifact), #32365/#32366 (action type, closed).
Claim: area S5 (lease E1, E1b), #33751 §2 area-lease mode, round 3 — measure reach first
Session: session_01QsR2jUcj2x2Wr4UErwBi12
Account: zhuangjianguo
Branch: claude/area-E1b-33832
Worktree: objectstack-e1b-33832
Domain: domain:server
Seat: domain:server#5
File surface: packages/metadata-protocol/src/protocol-registry-hydration.ts (heal tier-2 bare baseline read), the shared heal harness tests (packages/objectql/src/protocol-registry-heal-packageless-refusal.test.ts, packages/metadata-protocol/src/protocol.registry-heal-package-read.test.ts), one changeset; no protocol.ts (stop on breach; explain in the report)
Container & model: M, mode:subagent, model: default judgment tier, effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: objectstack platform code (metadata-protocol registry heal) | none | a deployment where two packages hold one dashboard/report name and a non-holder row of it is deleted (real-boot reach not yet measured)
Thread-read: none
Premise: inbox (measured only on a SchemaRegistry harness by the #32620 dev; the dev measures real-boot reach first; no reach ⇒ regrade p3 with a pin)
Serial constraints cleared: PR #33825 (#32620, same heal) MERGED. S5 #33851 (same file) waits for this card. S5 fold #33385, #32605, #33264 files disjoint. protocol.ts (S4), protocol-save.ts, registry-question.ts, seed-loader.ts not touched.
{
"issue": 33832,
"status": "done",
"branch": "claude/area-E1b-33832",
"pr": "https://github.com/objectstack-ai/objectstack/pull/34092",
"head": "929fc53e43",
"session": "session_01QsR2jUcj2x2Wr4UErwBi12",
"premise_still_valid": true,
"summary": "H2 measured first on a real boot (artifact door + AppPlugin, 3 package bodies, both orders, both kernel shapes, 8 boots, at 45dee177): the card's no-composite shape never forms (every boot puts both holders in composite slots), so the card's symptom (a holder's read refused naming the other) is unreachable; but H1's mechanism reproduces: after the delete of a non-holder's dashboard row (and of a report with no row at all) tier 2 registered the last-registered holder's body in the bare slot, registry.getItem flipped to it and registry.listItems listed it twice; protocol reads did not move. Fix: readHealBaseline returns a settled miss (no service read) for an isPackageScopedType type outside PACKAGE_SLOTTED_STORE_TYPES when the registry holds the name for 2+ packages, so the bare slot stays empty (ADR-0150 D3, epic ruling 6818436831 'Nothing picks a holder and no baseline is registered'). One-holder names unchanged. Hunk is only readHealBaseline (+18 lines); disjoint from #33851, which landed and was merged in.",
"tests": "Heal harness packages/objectql/src/protocol-registry-heal-packageless-refusal.test.ts new top-level describe: dashboard+report x both orders (bare slot empty, registry lists each holder once, holder reads own, bare 409 naming both, no heal line) + CONTROL one holder (baseline still registered): 12/12 at 929fc53e43. Ablation (fix committed first, ablation-replace anchor 1->0, metadata-protocol rebuilt, ablation-dist-preflight exit 0 marker in dist/index.js+index.cjs): 4 failed | 8 passed (12), each at the bare-slot assertion ('expected shipped:com.acme.beta to be undefined' / alpha); restore blob 5b888bd3 == HEAD, git diff HEAD empty, rebuilt, preflight --absent exit 0, 12/12. Suites at 9c4f75f36e under lock: metadata-protocol typecheck 0 + test 341 files/22894 tests pass; objectql typecheck 0 + test 596/13177 pass; rest 412 files pass; runtime 605 files pass. At 929fc53e43 after merging #33851: heal file 12/12, mp heal + revert-commit pins 48/48, mp+oq typecheck 0.",
"gates": "dispatch-gates --commands --repo objectstack-ai/objectstack at 929fc53e43: 67 derived; 65 run unlocked exit 0 each (PR-body gates read the PR body via GITHUB_EVENT_PATH); check:type-check-debt under lock exit 0; check:dual-build-cjs-loads NOT MEASURED (needs full-repo dist), left to CI; --ran: 67 derived, 66 run, 0 not measured, 1 unrun. Body gates check-changeset-no-major / check-adr-0087-registration / check-closing-keyword-parity / check-partof-closing-keyword: exit 0. eslint --no-inline-config on the 2 touched files: exit 0. PR check-runs: in_progress at report time (not awaited). mergeable_state at open: blocked (draft, checks pending), not dirty.",
"declaration_self_check": "PASS: Clause-②: no and Metadata-protocol: none copied from the claim and confirmed by measurement (no door's accepted or served answer moves; only the registry's internal bare slot); no served->refused change, so no '!', no BREAKING banner, no ADR-0087 marker, no dogfood battery owed. dispatch-gates --tier: no path-derived mandate, 117 changed lines. Precedents #33646 (yes (narrowing), '!') and #33769 (yes (widening), new exports) do not apply.",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"line_budget": "117 changed lines (+117/-0): source +18, test +91, changeset +8; no skills/** touched",
"files_changed": [
".changeset/33832-heal-no-picked-holder.md",
"packages/metadata-protocol/src/protocol-registry-hydration.ts",
"packages/objectql/src/protocol-registry-heal-packageless-refusal.test.ts"
],
"deviations": [
"Route: the order's two arms were 'does not reproduce => regrade' and 'reproduces => fix'; measurement split them (symptom unreachable, mechanism reproduces on a real boot), and the fix arm was taken for the mechanism. If the area reads it as the regrade arm instead, regrade to p3 and keep or drop the PR.",
"Repo-wide pnpm lint not run locally (CI-owned per os-dev.md); eslint on the touched files only.",
"Full package suites read at 9c4f75f36e; after the second merge of main only the heal pins and typechecks were re-run at 929fc53e43 (cost rule); CI Test Core runs the rest."
],
"mcp_calls": "0",
"api_writes": "2 — relay pr_create (objectstack-ai/objectstack#34092); post-stamped issue comment on #33832 (this report). Plus git push (not a REST write).",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted in PR Acceptance notes, not filed: a delete naming a package that stores no row of the name answers success: true and runs the heal (report rig); with this fix it registers nothing for a two-holder name",
"carrier: none · noted, not filed: protocol.getMetaItemLayered called directly with no package serves the last-registered holder's code layer for a two-holder dashboard/report (code=shipped:last), before and after the delete; the HTTP /layers door is pinned elsewhere to refuse 409, so this is a direct-call reading only, not a door reach"
]
}
bugSomething isn't workingdomain:serverDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 15, 2026
domain:server#5 · zhuangjianguo · session_01QsR2jUcj2x2Wr4UErwBi12
Claim: area S5 (lease E1, E1b), #33751 §2 area-lease mode, round 3 — measure reach first
Session:
session_01QsR2jUcj2x2Wr4UErwBi12Account:
zhuangjianguoBranch:
claude/area-E1b-33832Worktree:
objectstack-e1b-33832Domain:
domain:serverSeat:
domain:server#5File surface:
packages/metadata-protocol/src/protocol-registry-hydration.ts(heal tier-2 bare baseline read), the shared heal harness tests (packages/objectql/src/protocol-registry-heal-packageless-refusal.test.ts,packages/metadata-protocol/src/protocol.registry-heal-package-read.test.ts), one changeset; noprotocol.ts(stop on breach; explain in the report)Container & model:
M,mode:subagent,model: default judgment tier,effort: highClause-②: no
Metadata-protocol: none
Responsibility: objectstack platform code (metadata-protocol registry heal) | none | a deployment where two packages hold one dashboard/report name and a non-holder row of it is deleted (real-boot reach not yet measured)
Thread-read: none
Premise: inbox (measured only on a SchemaRegistry harness by the #32620 dev; the dev measures real-boot reach first; no reach ⇒ regrade p3 with a pin)
Serial constraints cleared: PR #33825 (#32620, same heal) MERGED. S5 #33851 (same file) waits for this card. S5 fold #33385, #32605, #33264 files disjoint.
protocol.ts(S4),protocol-save.ts,registry-question.ts,seed-loader.tsnot touched.objectstack-fleet commentedon Nov 15, 2026
domain:server#5 · zhuangjianguo · session_01QsR2jUcj2x2Wr4UErwBi12
os-dev-report
{ "issue": 33832, "status": "done", "branch": "claude/area-E1b-33832", "pr": "https://github.com/objectstack-ai/objectstack/pull/34092", "head": "929fc53e43", "session": "session_01QsR2jUcj2x2Wr4UErwBi12", "premise_still_valid": true, "summary": "H2 measured first on a real boot (artifact door + AppPlugin, 3 package bodies, both orders, both kernel shapes, 8 boots, at 45dee177): the card's no-composite shape never forms (every boot puts both holders in composite slots), so the card's symptom (a holder's read refused naming the other) is unreachable; but H1's mechanism reproduces: after the delete of a non-holder's dashboard row (and of a report with no row at all) tier 2 registered the last-registered holder's body in the bare slot, registry.getItem flipped to it and registry.listItems listed it twice; protocol reads did not move. Fix: readHealBaseline returns a settled miss (no service read) for an isPackageScopedType type outside PACKAGE_SLOTTED_STORE_TYPES when the registry holds the name for 2+ packages, so the bare slot stays empty (ADR-0150 D3, epic ruling 6818436831 'Nothing picks a holder and no baseline is registered'). One-holder names unchanged. Hunk is only readHealBaseline (+18 lines); disjoint from #33851, which landed and was merged in.", "tests": "Heal harness packages/objectql/src/protocol-registry-heal-packageless-refusal.test.ts new top-level describe: dashboard+report x both orders (bare slot empty, registry lists each holder once, holder reads own, bare 409 naming both, no heal line) + CONTROL one holder (baseline still registered): 12/12 at 929fc53e43. Ablation (fix committed first, ablation-replace anchor 1->0, metadata-protocol rebuilt, ablation-dist-preflight exit 0 marker in dist/index.js+index.cjs): 4 failed | 8 passed (12), each at the bare-slot assertion ('expected shipped:com.acme.beta to be undefined' / alpha); restore blob 5b888bd3 == HEAD, git diff HEAD empty, rebuilt, preflight --absent exit 0, 12/12. Suites at 9c4f75f36e under lock: metadata-protocol typecheck 0 + test 341 files/22894 tests pass; objectql typecheck 0 + test 596/13177 pass; rest 412 files pass; runtime 605 files pass. At 929fc53e43 after merging #33851: heal file 12/12, mp heal + revert-commit pins 48/48, mp+oq typecheck 0.", "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack at 929fc53e43: 67 derived; 65 run unlocked exit 0 each (PR-body gates read the PR body via GITHUB_EVENT_PATH); check:type-check-debt under lock exit 0; check:dual-build-cjs-loads NOT MEASURED (needs full-repo dist), left to CI; --ran: 67 derived, 66 run, 0 not measured, 1 unrun. Body gates check-changeset-no-major / check-adr-0087-registration / check-closing-keyword-parity / check-partof-closing-keyword: exit 0. eslint --no-inline-config on the 2 touched files: exit 0. PR check-runs: in_progress at report time (not awaited). mergeable_state at open: blocked (draft, checks pending), not dirty.", "declaration_self_check": "PASS: Clause-②: no and Metadata-protocol: none copied from the claim and confirmed by measurement (no door's accepted or served answer moves; only the registry's internal bare slot); no served->refused change, so no '!', no BREAKING banner, no ADR-0087 marker, no dogfood battery owed. dispatch-gates --tier: no path-derived mandate, 117 changed lines. Precedents #33646 (yes (narrowing), '!') and #33769 (yes (widening), new exports) do not apply.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "line_budget": "117 changed lines (+117/-0): source +18, test +91, changeset +8; no skills/** touched", "files_changed": [ ".changeset/33832-heal-no-picked-holder.md", "packages/metadata-protocol/src/protocol-registry-hydration.ts", "packages/objectql/src/protocol-registry-heal-packageless-refusal.test.ts" ], "deviations": [ "Route: the order's two arms were 'does not reproduce => regrade' and 'reproduces => fix'; measurement split them (symptom unreachable, mechanism reproduces on a real boot), and the fix arm was taken for the mechanism. If the area reads it as the regrade arm instead, regrade to p3 and keep or drop the PR.", "Repo-wide pnpm lint not run locally (CI-owned per os-dev.md); eslint on the touched files only.", "Full package suites read at 9c4f75f36e; after the second merge of main only the heal pins and typechecks were re-run at 929fc53e43 (cost rule); CI Test Core runs the rest." ], "mcp_calls": "0", "api_writes": "2 — relay pr_create (objectstack-ai/objectstack#34092); post-stamped issue comment on #33832 (this report). Plus git push (not a REST write).", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted in PR Acceptance notes, not filed: a delete naming a package that stores no row of the name answers success: true and runs the heal (report rig); with this fix it registers nothing for a two-holder name", "carrier: none · noted, not filed: protocol.getMetaItemLayered called directly with no package serves the last-registered holder's code layer for a two-holder dashboard/report (code=shipped:last), before and after the delete; the HTTP /layers door is pinned elsewhere to refuse 409, so this is a direct-call reading only, not a door reach" ] }fix(metadata-protocol): the delete heal never registers a picked hold…