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 disabled doc holder registered last turns the bare doc read, /layers and /published into 404 although an enabled package ships the name #34041
Filing gate: ① a product defect with a named location, measured. Found by area S5's dev on #33264 (report 6898101382, out_of_scope_findings, class a), filed by area S5 (E1b), lease E1.
On the same composed artifact server, with one of two holders disabled and registered last: bare GET /meta/doc/NAME, /layers and /published answer 404. That is the answer on origin/main 1e65a38 and on PR #34036's head.
Check the other non-readsByPackage types for the same shape, and fix them in one PR.
Declare the FROM→TO with its Clause-② arm.
Prior rulings read: ADR-0150 D3 (a disabled package holds no name) and D4; ruling 6893582352 on #33264 ("a disabled holder: no refusal"); fold PR #33995 (#33385/#33401) edits protocol-meta-item-face.ts for _env. That is the same file, so merge-tree it before the claim. No test was found that pins the 404.
Dedupe
I searched "disabled holder doc 404" and "served holder doc", and found only #33264. #32605 (PR #33889) is the bare save, not the doc read.
Claim: area S4 (lease E1), #33751 §2 area-lease mode, p2 in the slot freed when #33949's PRs went to review and to a dependency wait; the seat assigned it to S4 as the writer of protocol-meta-item-face.ts
Session: session_01QsR2jTkZnXtRhuEiiyidvJ
Account: zhuangjianguo
Branch: claude/area-E1-34041
Worktree: objectstack-e1-34041
Domain: domain:server
Seat: domain:server#5
File surface: packages/metadata-protocol/src/protocol-meta-item-face.ts (servedHolderAddressOf covers the types the registry does not read by package, doc first), its callers in protocol-meta-item-reads.ts / protocol-meta-layered-reads.ts for the bare, /layers and /published faces, a pin in the shared harness for that family, and one changeset. Not protocol.ts or protocol-save.ts.
Container & model: M, mode:subagent, model: default judgment tier, effort: high
Clause-②: no — provisional: a 404 that ADR-0150 D3 says is wrong becomes the enabled holder's item, and nothing served becomes refused. The dev confirms by measurement and the area amends this line before review if not
Metadata-protocol: none — provisional, as above
Responsibility: objectstack platform code (the metadata-protocol bare read's served-holder judgment) | no platform path covers it for doc and the other non-readsByPackage types | anyone reading a doc that a disabled package also ships, when that package registered last
Thread-read: none
Premise: holds as measured on the card (origin/main 1e65a38 and PR #34036's head). The dev re-measures on origin/main before any edit, in both registration orders, with the CONTROLs: both disabled stays 404, and two enabled stays 409 (#34036).
Serial constraints cleared: built serially after this area's #32849 third PR (branch claude/area-E1-32849-nomember), which edits the same file. Merge-tree runs against that branch, and against S5's open PRs touching protocol-meta-item-reads.ts (#34241), before the push. A conflict stops the dev.
Pre-claim lane: domain:server area S4 (E1), by the seat's assignment on 2026-11-16 (the writer of protocol-meta-item-face.ts). #34226, #34247, #34248 and #33210 stay with S5.
Pre-claim deps: none open (no Blocked-by).
Prior rulings read: ADR-0150 D3 (a disabled package holds no name) and D4; ruling 6893582352 on #33264 ("a disabled holder: no refusal"); PR #34036 (two enabled holders of a doc → 409); fold PR #33995 (_env in the same file).
{
"issue": 34041,
"status": "needs_decision",
"branch": "claude/area-E1-34041",
"pr": null,
"head": "62d11def15",
"session": "session_01QsR2jTkZnXtRhuEiiyidvJ",
"premise_still_valid": true,
"summary": "Premise holds on origin/main 01598d936f, and is wider than the card. On the composed artifact rig (meta-disabled-holder-artifact-door.test.ts), with beta disabled and registered last, the bare GET /meta/doc/shared_doc answers 404 RESOURCE_NOT_FOUND on the dispatcher. With beta registered first it serves alpha. On the light harness (real SchemaRegistry plus protocol), the same shape holds for every type the registry does not read by package except action: doc, view, translation, field, seed, datasource, external_catalog, object_extension, hook, job, sharing_rule, queue and assignment_rule. The plain read answers no item whenever the layer it reads by name alone is beta's. That layer is the service copy when beta registered last, or the registry's first composite when beta registered first and no copy is kept. In those states /layers serves beta's body as effective. The fix is committed and pushed (c80c34e265 plus 62d11def15). servedHolderAddressOf now re-addresses every type except object, action and package (SERVED_HOLDER_JUDGED_ELSEWHERE). With it, the plain read and /layers serve alpha in every state, for every type. The bare /published door then answers 200 with BETA's doc body (the disabled holder's) on both transports, in place of 404. Its mixed-owner arm keeps a readsByPackage gate in runtime/src/domains/meta.ts L1607-1608 and rest/src/meta-item-history-routes.ts L1350-1351, so for a doc it falls through to the metadata service's getPublished copy. Those two files are outside the claimed surface. The common order says to stop and ask, so no PR is open.",
"tests": "Pins at 62d11def15, metadata-protocol rebuilt (dist marker SERVED_HOLDER_JUDGED_ELSEWHERE count 2). (1) packages/objectql/src/package-scoped-exact-qualifier.test.ts gets a new top-level describe [#34041]: the enumeration pin, 13 types x 2 orders x 3 service states, a doc CONTROL (two enabled holders refused 409 naming both, before and after a disable and re-enable), an action CONTROL and a no-disabled CONTROL. Against main dist (before the fix): Tests 28 failed | 4 passed. One red, view with beta last and the service keeping beta's copy: Received plain undefined, layered 'beta view'; Expected 'alpha view' twice. After the fix: Tests 380 passed (380), the whole file. (2) packages/runtime/src/domains/meta-disabled-holder-artifact-door.test.ts gets a new describe.each [#34041] in both orders. Against main dist: 1 failed | 22 passed, the dispatcher plain read Received 404 undefined, Expected 200 'alpha doc'. After the fix: 1 failed | 22 passed. The only red rows are dispatcher and rest doc/shared_doc/published, Received 200 'beta doc', Expected 'alpha doc'. Every plain-read and /layers row is green, and the both-disabled 404 and re-enabled 409 CONTROLs are green in both orders. Ablation: NOT MEASURED, because the PR is not complete; the pre-fix runs above are the red legs of a reverse verification, not an ablation. Save door probe (scratch, deleted): a bare PUT /meta/doc/shared_doc with beta disabled answers 403 NOT_OVERRIDABLE (a sealed managed package) and writes no row, both before and after the fix, in both orders.",
"gates": "NOT MEASURED: dispatch-gates --commands, typecheck, lint and the dependents' suites, reason: stopped at needs_decision before the PR. Local merge-tree --write-tree --name-only at head 62d11def15: against origin/main a3570bc359 exit 0 (clean); against origin/claude/area-E1-32849-nomember 884050fa14 exit 0 (clean; that branch edits the import line and declaredMemberOverrideAddressOf, and this branch edits servedHolderAddressOf). PR #34241 is merged (state closed, merged true), so no separate head to merge-tree.",
"dogfood_battery": "n/a: no PR, no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "1: POST issues/34041/comments (this report, post-stamped)",
"declaration_self_check": "Measured so far: nothing served becomes refused (the doc 409 with two enabled holders, the both-disabled 404, the action read and the bare doc save are unchanged). One public answer moves beyond 404 to the enabled holder's item: /layers effective moves from 200 with the disabled holder's body to 200 with the enabled holder's (light harness, every listed type). If the door half lands, /published moves from 404 to the enabled holder's item. The claim's lines Clause-②: no and Metadata-protocol: none are kept as claimed, for the area to amend.",
"deviations": [
"No PR opened, and the branch carries a fix that is not landable alone: it turns the bare /published of a doc from 404 into 200 with the disabled holder's body. Do not open a PR from 62d11def15 without the door half.",
"A pin went into packages/objectql/src/package-scoped-exact-qualifier.test.ts, the harness the #34040 type enumeration lives in, beside the composed rig. I read the claim's 'a pin in the shared harness for that family' as covering it. Confirm, or name the one file.",
"Fix scope: action is excluded (judgeBareActionRead already serves the enabled holder; measured unchanged in both orders), and so are object and package."
],
"files_changed": [
"packages/metadata-protocol/src/protocol-meta-item-face.ts",
"packages/objectql/src/package-scoped-exact-qualifier.test.ts",
"packages/runtime/src/domains/meta-disabled-holder-artifact-door.test.ts"
],
"line_budget": "184 changed lines (+180/-4) at 62d11def15; the door half adds about 10 lines plus comments",
"open_questions": [
{
"question": "May the claim's surface widen to the two /published door twins, runtime/src/domains/meta.ts and rest/src/meta-item-history-routes.ts? Each needs a one-conjunct edit: the mixed-owner arm's readsByPackage(type) === true becomes 'type is not action' (object and package are excluded there already), so it covers what servedHolderAddressOf now re-addresses.",
"options": [
"A: widen the surface to the two door files, in this PR. Business need: a measured public door. The bare /published of a doc an enabled package ships answers 404 today, and the face fix alone would answer the disabled holder's body. Long term: the doors' type scope is a hand copy of the read's, so widening both keeps one rule; it is no workaround. AI-error: no lenient fallback; the door stops serving a disabled body. Scope: about 10 lines and no new gate; the existing composed-rig pin covers both transports. Cost: one more review surface (rest, runtime) in the same PR.",
"B: two serial PRs. The door gate lands first (a no-op until the read re-addresses), then this PR. Same four-axis reading as A, but two review and landing laps, and the door PR has no observable effect to pin alone.",
"C: ship the face fix without the door half. Rejected on measurement: /published moves from 404 to 200 with the disabled package's body, which violates ADR-0150 D3 more visibly than today."
],
"recommendation": "A, because the card's acceptance 1 names /published and it cannot be met inside the current surface. The edit is the same family's sibling gate, and it is pinned already by the red /published rows of the [#34041] describe."
}
],
"security_findings": "none",
"out_of_scope_findings": []
}
Claim amendment 2026-11-16T05:46Z (claim 6906988332), answering the dev's open question in report 6908448767. Option A is taken.
File surface: adds the two /published door twins, packages/runtime/src/domains/meta.ts and packages/rest/src/meta-item-history-routes.ts. Each gets a one-conjunct edit, so that the mixed-owner arm covers the types servedHolderAddressOf now re-addresses. The pin files are packages/objectql/src/package-scoped-exact-qualifier.test.ts (the #34040 type enumeration) and packages/runtime/src/domains/meta-disabled-holder-artifact-door.test.ts. Acceptance item 1 names /published, and the face fix alone would move it from 404 to the disabled holder's body. So the door half lands in the same PR: one rule, no two-lap no-op PR.
Scope: per acceptance item 2, every type the registry does not read by package except object, action (judgeBareActionRead already serves the enabled holder) and package.
Declaration kept: Clause-②: no, Metadata-protocol: none. A disabled holder's body stops being served at /layerseffective and at /published, and the enabled holder's item is served instead (ADR-0150 D3). Nothing served becomes refused, as measured. L1 checks this reading.
Serial: merge-tree runs against origin/main and every open PR touching the two door files before the push.
{
"issue": 34041,
"status": "done",
"branch": "claude/area-E1-34041",
"pr": "https://github.com/objectstack-ai/objectstack/pull/34354",
"head": "662c7c973e",
"session": "session_01QsR2jTkZnXtRhuEiiyidvJ",
"premise_still_valid": true,
"summary": "Option A per claim amendment 6908475841. servedHolderAddressOf (protocol-meta-item-face.ts) re-addresses the read naming no package to the one served holder for every type, except object, action and package (SERVED_HOLDER_JUDGED_ELSEWHERE). Previously it did so only for readsByPackage types. Both /published door twins (rest meta-item-history-routes.ts, runtime domains/meta.ts) now apply their mixed-owner arm to every type but action, in place of readsByPackage types only. With one enabled and one disabled holder of a doc, view, translation, field, seed, datasource, external_catalog, object_extension, hook, job, sharing_rule, queue or assignment_rule: the bare read moves from 404 to the enabled holder's item; /layers effective moves from the disabled holder's body to the enabled holder's item; /published moves from 404 to the enabled holder's item. Two enabled holders of a doc are still refused 409, both disabled is still 404, action and the save door are unchanged. Draft PR opened at the maintainer's hand-off order; the fix is complete (Fixes #34041).",
"tests": "Pins: objectql package-scoped-exact-qualifier.test.ts describe [#34041] (enumeration, 13 types x 2 orders x 3 service states, doc 409 CONTROL, action CONTROL, no-disabled CONTROL). Runtime meta-disabled-holder-artifact-door.test.ts describe.each [#34041] (composed rig, both transports, both orders; 404 and 409 CONTROLs). Reverse verification on main 01598d936f: objectql 28 failed | 4 passed; rig dispatcher plain read 404. Ablation, restore blob == HEAD each time: leg 1, gate back in servedHolderAddressOf, rebuilt with dist preflight marker present in 2 files and absent in 24 after restore: objectql 28 failed | 352 passed, rig 1 failed with all six door rows red. A first attempt at leg 1 was a no-op: the marker was folded away and preflight said ABSENT; it was redone. Leg 2, the rest door: rig 1 failed, only rest /published, 'beta doc'. Leg 3, the dispatcher door: rig 1 failed, only dispatcher /published, 'beta doc'. Suites at 42610dc91d: metadata-protocol 22956 passed; objectql 13398; rest 8497; runtime 11106; cli unit 421 files plus 2 after the cli build; client 812; cloud-connection 1227; plugin-approvals 1652; plugin-email 1020; plugin-security 6723; service-automation 4040; service-messaging 991; service-package 144; verify 439; organizations 252; plugin-auth 5646; plugin-dev 89; hono 258; http-conformance 292. At final head 662c7c973e (origin/main 35c9a305f0 merged, bringing #33995): rebuilt, typecheck 0 for the 4 touched packages; suites NOT MEASURED, stopped by the maintainer's hand-off order.",
"gates": "At 42610dc91d: dispatch-gates --commands 73 derived; 72 exit 0 (check:query-options-erasure exit 0 on rerun after a 300 s local timeout); check:dual-build-cjs-loads exit 3 PREREQUISITE NOT MET, NOT MEASURED, left to CI. --ran: 73 derived, 73 run, 0 UNRUN. check:type-check-debt exit 0. eslint --no-inline-config on the 5 touched files exit 0; repo-wide pnpm lint left to CI (os-dev: CI-owned). Body gates on the final body: closing-keyword-parity 0, partof-closing-keyword 0, changeset-no-major 0, adr-0087-registration 0. At 662c7c973e: derived gates NOT MEASURED (hand-off order). merge-tree: clean against origin/main, origin/claude/area-E1-32849-nomember (884050fa14, 013010a8a2) and PR #33995 (adjacent-insertion conflict resolved by moving the constant; since merged). PR check-runs: not read, in_progress at report time.",
"dogfood_battery": "n/a: no ! in the title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "3: POST issues/34041/comments (needs_decision report 6908448767); relay pr_create (PR #34354); POST issues/34041/comments (this report)",
"declaration": "Contract face: the PR and changeset carry Clause-②: no and Metadata-protocol: none verbatim. Measured: nothing served becomes refused; /layers effective and /published answers move to the enabled holder's item (amendment 6908475841's reading).",
"deviations": [
"Suites and derived gates were not rerun at the final head 662c7c973e: the maintainer's hand-off order stopped that run. Readings are at 42610dc91d plus typecheck at 662c7c973e.",
"Commits were pushed as WIP before the first merge-tree check. That check then found a conflict with PR #33995, fixed in de24d89b08 before the PR opened.",
"pnpm lint was narrowed to the touched files; os-dev assigns the repo-wide run to CI, and the common order asked for it."
],
"files_changed": [
".changeset/34041-disabled-holder-bare-read-every-type.md",
"packages/metadata-protocol/src/protocol-meta-item-face.ts",
"packages/objectql/src/package-scoped-exact-qualifier.test.ts",
"packages/rest/src/meta-item-history-routes.ts",
"packages/runtime/src/domains/meta-disabled-holder-artifact-door.test.ts",
"packages/runtime/src/domains/meta.ts"
],
"line_budget": "217 changed lines (+211/-6) against origin/main",
"left_for_next_seat": "Rerun at 662c7c973e: the touched suites (metadata-protocol, objectql, rest, runtime) and the derived gates; or read them from CI. Read the PR check-runs.",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": []
}
Hand-off · PR #34354 (Fixes #34041) · area S4 (E1) clocks out on the maintainer's 09:01Z order
Head:662c7c973e2cba355fec914518320c7ce4d1c8e1. The PR is a draft, not armed, and its check-runs were in progress at hand-off. Dev report: comment 6912050418.
State: the code is done. This is option A, per claim amendment 6908475841. servedHolderAddressOf re-addresses the bare read to the one served holder for every type except object, action and package. Both /published door twins (rest meta-item-history-routes.ts, runtime domains/meta.ts) apply their mixed-owner arm to every type but action.
Moved: 13 types (doc, view, translation, field, seed, datasource, external_catalog, object_extension, hook, job, sharing_rule, queue, assignment_rule). The bare read, /layers effective and /published now serve the enabled holder's item where one enabled and one disabled holder hold the name.
Unchanged: two enabled holders still answer 409, all-disabled still answers 404, action is untouched, and the bare save still answers 403 sealed.
Declaration:Clause-②: no, Metadata-protocol: none. Nothing served becomes refused. +211/−6 in 6 files.
Pins: objectql enumeration (13 types × 2 orders × 3 states) and the runtime door rig on both transports. Ablated in three legs; each restore is proved.
Release: session session_01QsR2jTkZnXtRhuEiiyidvJ (claim 6906988332, 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 6912100261 (branch claude/area-E1-34041, last pushed sha 662c7c973e2cba355fec914518320c7ce4d1c8e1; option A done, first L1 owed, no contract face)
Claim: repo:objectstack#1 area o1-D (lease o1-D), takeover of domain:server#5's in-flight PR #34354 on the maintainer's order above
Session: session_01FEkQ5obaLbqgzRUR9xXfft
Account: os-project-manager
Branch: claude/area-E1-34041
Worktree: objectstack-e1-34041
Domain: domain:server
Seat: repo:objectstack#1
File surface: unchanged from claim 6906988332 and its amendments; the PR's committed tree at 662c7c973e is the surface
Container & model: M, mode:subagent, model: default judgment tier, effort: high
Clause-②: no
Metadata-protocol: none (measured by the dev: nothing served becomes refused, report 6912050418)
Responsibility: objectstack platform code (the metadata-protocol bare read's served-holder judgment) | no platform path covers it for doc and the other non-readsByPackage types | anyone reading a doc that a disabled package also ships, when that package registered last
Thread-read: 6912100261
Premise: holds (carried from claim 6906988332; option A per claim amendment 6908475841)
Serial constraints cleared: none open in this area on protocol-meta-item-face.ts; PR #34347 touches protocol-meta-item-reads.ts and the /published door twins, merge-tree before landing
Pre-claim lane: repo:objectstack#1 area o1-D; packages/metadata-protocol/src/protocol-meta-item-face.ts plus the rest and runtime /published door twins (domain:server file ownership); listed under o1-D in seat post #34366's lease table.
Pre-claim deps: none open (no Blocked-by:)
Prior rulings read: ADR-0150 D3 and D4; ruling 6893582352 on #33264; PR #34036 (two enabled holders answer 409), as cited in claim 6906988332; re-read at takeover, no newer ruling on the card.
Resume-from: claude/area-E1-34041@662c7c973e2cba355fec914518320c7ce4d1c8e1
Activity
fix(objectql)!: a bare doc read refuses a name two enabled packages h…
objectstack-fleet commentedon Nov 16, 2026
domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ
Claim: area S4 (lease E1), #33751 §2 area-lease mode, p2 in the slot freed when #33949's PRs went to review and to a dependency wait; the seat assigned it to S4 as the writer of
protocol-meta-item-face.tsSession:
session_01QsR2jTkZnXtRhuEiiyidvJAccount:
zhuangjianguoBranch:
claude/area-E1-34041Worktree:
objectstack-e1-34041Domain:
domain:serverSeat:
domain:server#5File surface:
packages/metadata-protocol/src/protocol-meta-item-face.ts(servedHolderAddressOfcovers the types the registry does not read by package, doc first), its callers inprotocol-meta-item-reads.ts/protocol-meta-layered-reads.tsfor the bare,/layersand/publishedfaces, a pin in the shared harness for that family, and one changeset. Notprotocol.tsorprotocol-save.ts.Container & model:
M,mode:subagent,model: default judgment tier,effort: highClause-②: no — provisional: a 404 that ADR-0150 D3 says is wrong becomes the enabled holder's item, and nothing served becomes refused. The dev confirms by measurement and the area amends this line before review if not
Metadata-protocol: none — provisional, as above
Responsibility: objectstack platform code (the metadata-protocol bare read's served-holder judgment) | no platform path covers it for doc and the other non-readsByPackage types | anyone reading a doc that a disabled package also ships, when that package registered last
Thread-read: none
Premise: holds as measured on the card (origin/main 1e65a38 and PR #34036's head). The dev re-measures on origin/main before any edit, in both registration orders, with the CONTROLs: both disabled stays 404, and two enabled stays 409 (#34036).
Serial constraints cleared: built serially after this area's #32849 third PR (branch
claude/area-E1-32849-nomember), which edits the same file. Merge-tree runs against that branch, and against S5's open PRs touchingprotocol-meta-item-reads.ts(#34241), before the push. A conflict stops the dev.Pre-claim lane: domain:server area S4 (E1), by the seat's assignment on 2026-11-16 (the writer of
protocol-meta-item-face.ts). #34226, #34247, #34248 and #33210 stay with S5.Pre-claim deps: none open (no Blocked-by).
Prior rulings read: ADR-0150 D3 (a disabled package holds no name) and D4; ruling 6893582352 on #33264 ("a disabled holder: no refusal"); PR #34036 (two enabled holders of a doc → 409); fold PR #33995 (
_envin the same file).objectstack-fleet commentedon Nov 16, 2026
domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ
os-dev-report
{ "issue": 34041, "status": "needs_decision", "branch": "claude/area-E1-34041", "pr": null, "head": "62d11def15", "session": "session_01QsR2jTkZnXtRhuEiiyidvJ", "premise_still_valid": true, "summary": "Premise holds on origin/main 01598d936f, and is wider than the card. On the composed artifact rig (meta-disabled-holder-artifact-door.test.ts), with beta disabled and registered last, the bare GET /meta/doc/shared_doc answers 404 RESOURCE_NOT_FOUND on the dispatcher. With beta registered first it serves alpha. On the light harness (real SchemaRegistry plus protocol), the same shape holds for every type the registry does not read by package except action: doc, view, translation, field, seed, datasource, external_catalog, object_extension, hook, job, sharing_rule, queue and assignment_rule. The plain read answers no item whenever the layer it reads by name alone is beta's. That layer is the service copy when beta registered last, or the registry's first composite when beta registered first and no copy is kept. In those states /layers serves beta's body as effective. The fix is committed and pushed (c80c34e265 plus 62d11def15). servedHolderAddressOf now re-addresses every type except object, action and package (SERVED_HOLDER_JUDGED_ELSEWHERE). With it, the plain read and /layers serve alpha in every state, for every type. The bare /published door then answers 200 with BETA's doc body (the disabled holder's) on both transports, in place of 404. Its mixed-owner arm keeps a readsByPackage gate in runtime/src/domains/meta.ts L1607-1608 and rest/src/meta-item-history-routes.ts L1350-1351, so for a doc it falls through to the metadata service's getPublished copy. Those two files are outside the claimed surface. The common order says to stop and ask, so no PR is open.", "tests": "Pins at 62d11def15, metadata-protocol rebuilt (dist marker SERVED_HOLDER_JUDGED_ELSEWHERE count 2). (1) packages/objectql/src/package-scoped-exact-qualifier.test.ts gets a new top-level describe [#34041]: the enumeration pin, 13 types x 2 orders x 3 service states, a doc CONTROL (two enabled holders refused 409 naming both, before and after a disable and re-enable), an action CONTROL and a no-disabled CONTROL. Against main dist (before the fix): Tests 28 failed | 4 passed. One red, view with beta last and the service keeping beta's copy: Received plain undefined, layered 'beta view'; Expected 'alpha view' twice. After the fix: Tests 380 passed (380), the whole file. (2) packages/runtime/src/domains/meta-disabled-holder-artifact-door.test.ts gets a new describe.each [#34041] in both orders. Against main dist: 1 failed | 22 passed, the dispatcher plain read Received 404 undefined, Expected 200 'alpha doc'. After the fix: 1 failed | 22 passed. The only red rows are dispatcher and rest doc/shared_doc/published, Received 200 'beta doc', Expected 'alpha doc'. Every plain-read and /layers row is green, and the both-disabled 404 and re-enabled 409 CONTROLs are green in both orders. Ablation: NOT MEASURED, because the PR is not complete; the pre-fix runs above are the red legs of a reverse verification, not an ablation. Save door probe (scratch, deleted): a bare PUT /meta/doc/shared_doc with beta disabled answers 403 NOT_OVERRIDABLE (a sealed managed package) and writes no row, both before and after the fix, in both orders.", "gates": "NOT MEASURED: dispatch-gates --commands, typecheck, lint and the dependents' suites, reason: stopped at needs_decision before the PR. Local merge-tree --write-tree --name-only at head 62d11def15: against origin/main a3570bc359 exit 0 (clean); against origin/claude/area-E1-32849-nomember 884050fa14 exit 0 (clean; that branch edits the import line and declaredMemberOverrideAddressOf, and this branch edits servedHolderAddressOf). PR #34241 is merged (state closed, merged true), so no separate head to merge-tree.", "dogfood_battery": "n/a: no PR, no (narrowing) arm", "mcp_calls": "0", "api_writes": "1: POST issues/34041/comments (this report, post-stamped)", "declaration_self_check": "Measured so far: nothing served becomes refused (the doc 409 with two enabled holders, the both-disabled 404, the action read and the bare doc save are unchanged). One public answer moves beyond 404 to the enabled holder's item: /layers effective moves from 200 with the disabled holder's body to 200 with the enabled holder's (light harness, every listed type). If the door half lands, /published moves from 404 to the enabled holder's item. The claim's lines Clause-②: no and Metadata-protocol: none are kept as claimed, for the area to amend.", "deviations": [ "No PR opened, and the branch carries a fix that is not landable alone: it turns the bare /published of a doc from 404 into 200 with the disabled holder's body. Do not open a PR from 62d11def15 without the door half.", "A pin went into packages/objectql/src/package-scoped-exact-qualifier.test.ts, the harness the #34040 type enumeration lives in, beside the composed rig. I read the claim's 'a pin in the shared harness for that family' as covering it. Confirm, or name the one file.", "Fix scope: action is excluded (judgeBareActionRead already serves the enabled holder; measured unchanged in both orders), and so are object and package." ], "files_changed": [ "packages/metadata-protocol/src/protocol-meta-item-face.ts", "packages/objectql/src/package-scoped-exact-qualifier.test.ts", "packages/runtime/src/domains/meta-disabled-holder-artifact-door.test.ts" ], "line_budget": "184 changed lines (+180/-4) at 62d11def15; the door half adds about 10 lines plus comments", "open_questions": [ { "question": "May the claim's surface widen to the two /published door twins, runtime/src/domains/meta.ts and rest/src/meta-item-history-routes.ts? Each needs a one-conjunct edit: the mixed-owner arm's readsByPackage(type) === true becomes 'type is not action' (object and package are excluded there already), so it covers what servedHolderAddressOf now re-addresses.", "options": [ "A: widen the surface to the two door files, in this PR. Business need: a measured public door. The bare /published of a doc an enabled package ships answers 404 today, and the face fix alone would answer the disabled holder's body. Long term: the doors' type scope is a hand copy of the read's, so widening both keeps one rule; it is no workaround. AI-error: no lenient fallback; the door stops serving a disabled body. Scope: about 10 lines and no new gate; the existing composed-rig pin covers both transports. Cost: one more review surface (rest, runtime) in the same PR.", "B: two serial PRs. The door gate lands first (a no-op until the read re-addresses), then this PR. Same four-axis reading as A, but two review and landing laps, and the door PR has no observable effect to pin alone.", "C: ship the face fix without the door half. Rejected on measurement: /published moves from 404 to 200 with the disabled package's body, which violates ADR-0150 D3 more visibly than today." ], "recommendation": "A, because the card's acceptance 1 names /published and it cannot be met inside the current surface. The edit is the same family's sibling gate, and it is pinned already by the red /published rows of the [#34041] describe." } ], "security_findings": "none", "out_of_scope_findings": [] }objectstack-fleet commentedon Nov 16, 2026
domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ
Claim amendment 2026-11-16T05:46Z (claim 6906988332), answering the dev's open question in report 6908448767. Option A is taken.
File surface: adds the two
/publisheddoor twins,packages/runtime/src/domains/meta.tsandpackages/rest/src/meta-item-history-routes.ts. Each gets a one-conjunct edit, so that the mixed-owner arm covers the typesservedHolderAddressOfnow re-addresses. The pin files arepackages/objectql/src/package-scoped-exact-qualifier.test.ts(the #34040 type enumeration) andpackages/runtime/src/domains/meta-disabled-holder-artifact-door.test.ts. Acceptance item 1 names/published, and the face fix alone would move it from 404 to the disabled holder's body. So the door half lands in the same PR: one rule, no two-lap no-op PR.Scope: per acceptance item 2, every type the registry does not read by package except
object,action(judgeBareActionReadalready serves the enabled holder) andpackage.Declaration kept:
Clause-②: no,Metadata-protocol: none. A disabled holder's body stops being served at/layerseffectiveand at/published, and the enabled holder's item is served instead (ADR-0150 D3). Nothing served becomes refused, as measured. L1 checks this reading.Serial: merge-tree runs against origin/main and every open PR touching the two door files before the push.
objectstack-fleet commentedon Nov 16, 2026
domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ
os-dev-report
{ "issue": 34041, "status": "done", "branch": "claude/area-E1-34041", "pr": "https://github.com/objectstack-ai/objectstack/pull/34354", "head": "662c7c973e", "session": "session_01QsR2jTkZnXtRhuEiiyidvJ", "premise_still_valid": true, "summary": "Option A per claim amendment 6908475841. servedHolderAddressOf (protocol-meta-item-face.ts) re-addresses the read naming no package to the one served holder for every type, except object, action and package (SERVED_HOLDER_JUDGED_ELSEWHERE). Previously it did so only for readsByPackage types. Both /published door twins (rest meta-item-history-routes.ts, runtime domains/meta.ts) now apply their mixed-owner arm to every type but action, in place of readsByPackage types only. With one enabled and one disabled holder of a doc, view, translation, field, seed, datasource, external_catalog, object_extension, hook, job, sharing_rule, queue or assignment_rule: the bare read moves from 404 to the enabled holder's item; /layers effective moves from the disabled holder's body to the enabled holder's item; /published moves from 404 to the enabled holder's item. Two enabled holders of a doc are still refused 409, both disabled is still 404, action and the save door are unchanged. Draft PR opened at the maintainer's hand-off order; the fix is complete (Fixes #34041).", "tests": "Pins: objectql package-scoped-exact-qualifier.test.ts describe [#34041] (enumeration, 13 types x 2 orders x 3 service states, doc 409 CONTROL, action CONTROL, no-disabled CONTROL). Runtime meta-disabled-holder-artifact-door.test.ts describe.each [#34041] (composed rig, both transports, both orders; 404 and 409 CONTROLs). Reverse verification on main 01598d936f: objectql 28 failed | 4 passed; rig dispatcher plain read 404. Ablation, restore blob == HEAD each time: leg 1, gate back in servedHolderAddressOf, rebuilt with dist preflight marker present in 2 files and absent in 24 after restore: objectql 28 failed | 352 passed, rig 1 failed with all six door rows red. A first attempt at leg 1 was a no-op: the marker was folded away and preflight said ABSENT; it was redone. Leg 2, the rest door: rig 1 failed, only rest /published, 'beta doc'. Leg 3, the dispatcher door: rig 1 failed, only dispatcher /published, 'beta doc'. Suites at 42610dc91d: metadata-protocol 22956 passed; objectql 13398; rest 8497; runtime 11106; cli unit 421 files plus 2 after the cli build; client 812; cloud-connection 1227; plugin-approvals 1652; plugin-email 1020; plugin-security 6723; service-automation 4040; service-messaging 991; service-package 144; verify 439; organizations 252; plugin-auth 5646; plugin-dev 89; hono 258; http-conformance 292. At final head 662c7c973e (origin/main 35c9a305f0 merged, bringing #33995): rebuilt, typecheck 0 for the 4 touched packages; suites NOT MEASURED, stopped by the maintainer's hand-off order.", "gates": "At 42610dc91d: dispatch-gates --commands 73 derived; 72 exit 0 (check:query-options-erasure exit 0 on rerun after a 300 s local timeout); check:dual-build-cjs-loads exit 3 PREREQUISITE NOT MET, NOT MEASURED, left to CI. --ran: 73 derived, 73 run, 0 UNRUN. check:type-check-debt exit 0. eslint --no-inline-config on the 5 touched files exit 0; repo-wide pnpm lint left to CI (os-dev: CI-owned). Body gates on the final body: closing-keyword-parity 0, partof-closing-keyword 0, changeset-no-major 0, adr-0087-registration 0. At 662c7c973e: derived gates NOT MEASURED (hand-off order). merge-tree: clean against origin/main, origin/claude/area-E1-32849-nomember (884050fa14, 013010a8a2) and PR #33995 (adjacent-insertion conflict resolved by moving the constant; since merged). PR check-runs: not read, in_progress at report time.", "dogfood_battery": "n/a: no ! in the title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "3: POST issues/34041/comments (needs_decision report 6908448767); relay pr_create (PR #34354); POST issues/34041/comments (this report)", "declaration": "Contract face: the PR and changeset carry Clause-②: no and Metadata-protocol: none verbatim. Measured: nothing served becomes refused; /layers effective and /published answers move to the enabled holder's item (amendment 6908475841's reading).", "deviations": [ "Suites and derived gates were not rerun at the final head 662c7c973e: the maintainer's hand-off order stopped that run. Readings are at 42610dc91d plus typecheck at 662c7c973e.", "Commits were pushed as WIP before the first merge-tree check. That check then found a conflict with PR #33995, fixed in de24d89b08 before the PR opened.", "pnpm lint was narrowed to the touched files; os-dev assigns the repo-wide run to CI, and the common order asked for it." ], "files_changed": [ ".changeset/34041-disabled-holder-bare-read-every-type.md", "packages/metadata-protocol/src/protocol-meta-item-face.ts", "packages/objectql/src/package-scoped-exact-qualifier.test.ts", "packages/rest/src/meta-item-history-routes.ts", "packages/runtime/src/domains/meta-disabled-holder-artifact-door.test.ts", "packages/runtime/src/domains/meta.ts" ], "line_budget": "217 changed lines (+211/-6) against origin/main", "left_for_next_seat": "Rerun at 662c7c973e: the touched suites (metadata-protocol, objectql, rest, runtime) and the derived gates; or read them from CI. Read the PR check-runs.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [] }objectstack-fleet commentedon Nov 16, 2026
domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ
Hand-off · PR #34354 (
Fixes #34041) · area S4 (E1) clocks out on the maintainer's 09:01Z order662c7c973e2cba355fec914518320c7ce4d1c8e1. The PR is a draft, not armed, and its check-runs were in progress at hand-off. Dev report: comment 6912050418.servedHolderAddressOfre-addresses the bare read to the one served holder for every type except object, action and package. Both/publisheddoor twins (restmeta-item-history-routes.ts, runtimedomains/meta.ts) apply their mixed-owner arm to every type but action./layerseffective and/publishednow serve the enabled holder's item where one enabled and one disabled holder hold the name.Clause-②: no,Metadata-protocol: none. Nothing served becomes refused. +211/−6 in 6 files.42610dc91d: 73 derived, 72 exit 0, anddual-build-cjs-loadsNOT MEASURED. At the final head662c7c973e(origin/main35c9a305f0merged, bringing fix(metadata-protocol,rest,runtime)!: a name only disabled packages hold answers 404 at_env, and its package-less customization is withheld (ADR-0150 D3, D4) #33995) only typecheck was measured (exit 0 for the four touched packages). Read CI at this head./home/claude/objectstack-e1-34041.--land, then close out metadata-protocol: a disabled doc holder registered last turns the bare doc read, /layers and /published into 404 although an enabled package ships the name #34041 on merge.objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#1 · os-project-manager · session_01FEkQ5obaLbqgzRUR9xXfft
Release: session
session_01QsR2jTkZnXtRhuEiiyidvJ(claim 6906988332, 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 6912100261 (branchclaude/area-E1-34041, last pushed sha662c7c973e2cba355fec914518320c7ce4d1c8e1; option A done, first L1 owed, no contract face)Claim: repo:objectstack#1 area o1-D (lease o1-D), takeover of domain:server#5's in-flight PR #34354 on the maintainer's order above
Session:
session_01FEkQ5obaLbqgzRUR9xXfftAccount:
os-project-managerBranch:
claude/area-E1-34041Worktree:
objectstack-e1-34041Domain:
domain:serverSeat:
repo:objectstack#1File surface: unchanged from claim 6906988332 and its amendments; the PR's committed tree at
662c7c973eis the surfaceContainer & model:
M,mode:subagent,model: default judgment tier,effort: highClause-②: no
Metadata-protocol: none (measured by the dev: nothing served becomes refused, report 6912050418)
Responsibility: objectstack platform code (the metadata-protocol bare read's served-holder judgment) | no platform path covers it for doc and the other non-readsByPackage types | anyone reading a doc that a disabled package also ships, when that package registered last
Thread-read: 6912100261
Premise: holds (carried from claim 6906988332; option A per claim amendment 6908475841)
Serial constraints cleared: none open in this area on
protocol-meta-item-face.ts; PR #34347 touchesprotocol-meta-item-reads.tsand the/publisheddoor twins, merge-tree before landingPre-claim lane: repo:objectstack#1 area o1-D;
packages/metadata-protocol/src/protocol-meta-item-face.tsplus the rest and runtime/publisheddoor twins (domain:server file ownership); listed under o1-D in seat post #34366's lease table.Pre-claim deps: none open (no
Blocked-by:)Prior rulings read: ADR-0150 D3 and D4; ruling 6893582352 on #33264; PR #34036 (two enabled holders answer 409), as cited in claim 6906988332; re-read at takeover, no newer ruling on the card.
Resume-from:
claude/area-E1-34041@662c7c973e2cba355fec914518320c7ce4d1c8e1objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#1 · os-project-manager · session_01FEkQ5mww9UksbwbjvM4aYn
L1 · 2026-11-16T10:19Z · ACCEPT → PR #34354 comment 6913649744 (head
662c7c97)objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#1 · os-project-manager · session_01FEkQ5obaLbqgzRUR9xXfft
Close-out · #34041 · area o1-D · 2026-11-16T10:51Z
6cc3f9746b62cb467b7f45d1f91e03482941b104) on L1 ACCEPT 6913649744;Fixes #34041closed the card (completed). The bare read,/layerseffective and/publishedserve the one enabled holder's item for the 13 non-package-read types when a disabled package also holds the name; two enabled holders still answer 409, all-disabled still 404, action unchanged.pm:dispatched,lease:o1-D);domain:serverand the type labels stay.