Description
domain:server#5 · zhuangjianguo · session_01QsR2jUcj2x2Wr4UErwBi12
Filing gate: ① a product defect with a named location, measured. Found by area S5's dev on #34040 (open question, cell C, in the report on #34040; PR #34241), filed by area S5 (E1b), lease E1.
维护者速读
- 问题:带
?package=X精确读取文档时,如果 X 没有发布这个名字但别的包 Y 发布了,读取会返回 Y 的文档,而不是 404。 - 影响:metadata-protocol: an exact read of a doc (?package=A) of a name two packages ship can answer the other package's doc, because the metadata service keeps a doc by name alone #34040 的验收写的是"X 的文档或 404,绝不返回别的持有者的"。PR fix(metadata-protocol): an exact
?package=read never answers another package's metadata-service copy of a doc, view or other type the exact qualifier does not judge #34241 修好了"X 和 Y 都发布"的情况,这一格仍是旧答案。包名写错的作者会悄悄拿到别的包的内容。 - 修法方向:X 不持有这个名字时回答 404,覆盖所有不按包读取的类型。这是 200→404 的收窄,需要声明。
- 优先级 p2,本区(S5)处理。
Measured
This was measured on the composed artifact rig by the #34040 dev, before and after PR #34241. Package Y ships doc N and X ships no doc N. GET /meta/doc/N?package=X answers 200 with Y's doc, through the registry's getItem prefer-local fallback to the first composite.
Seam (read): packages/metadata-protocol/src/protocol-meta-item-reads.ts readMetaItem, step 3 after step 2 declines another package's service copy. The family that PR #34241 enumerates is doc, view, translation, field, seed, datasource, external_catalog and object_extension.
Acceptance
- An exact
?package=Xread of a name X holds no item of answers 404, for the family the registry does not read by package. Pin it in both registration orders. CONTROLs: X holds the name (unchanged), and the types the exact qualifier covers (unchanged). - Declaration:
Clause-②: yes (narrowing)(200→404),!title, BREAKING banner, ADR-0087 marker and dogfood battery. - Check
/layers?package=XandreadCodeLayerForCarryForward, which also callreadItemFromMetadataService(type, name, X). Align them in the same PR or name them.
Prior rulings read: ADR-0150 D3/D5 (an exact address answers that holder) and red line 2; #34040's acceptance ("X's doc or 404, never another holder's"); ruling 6893582352 on #33264. PR #34241 depends on this card: it leaves this cell unchanged to keep Clause-②: no. Open after #34241 merges, or merge-tree against it.
Dedupe
I searched "doc package 404 another holder" and "service copy package exact"; the only hit was #34040 itself.
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 8 (slot freed by PR #34224 entering the merge queue). Fold: #34247 + #34248 (both
readMetaItemin protocol-meta-item-reads.ts, follow-ups of #34040 / PR #34241)Session:
session_01QsR2jUcj2x2Wr4UErwBi12Account:
zhuangjianguoBranch:
claude/area-E1b-34247Worktree:
objectstack-e1b-34247Domain:
domain:serverSeat:
domain:server#5File surface:
packages/metadata-protocol/src/protocol-meta-item-reads.ts(readMetaItemsteps 2/3).protocol-meta-layered-reads.ts(/layers?package=X) andprotocol-discovery-and-bases.ts(readCodeLayerForCarryForward).packages/objectql/src/package-scoped-exact-qualifier.test.tsandpackages/runtime/src/domains/meta-disabled-holder-artifact-door.test.ts(shared harnesses; flip PR fix(metadata-protocol): an exact?package=read never answers another package's metadata-service copy of a doc, view or other type the exact qualifier does not judge #34241's measured pins), plus one changeset.protocol.ts, nopackages/spec/src/**, noprotocol-meta-item-face.ts.Container & model:
M,mode:subagent,model: default judgment tier,effort: highClause-②: no (narrowing)
Metadata-protocol: none
Responsibility: objectstack platform code (metadata-protocol by-name read) | none | a deployment where
?package=Xnames a package that ships no item of the name, or two packages ship a doc beside a package-less entryThread-read: none
Premise: cards (measured by the metadata-protocol: an exact read of a doc (?package=A) of a name two packages ship can answer the other package's doc, because the metadata service keeps a doc by name alone #34040 dev on the composed artifact rig, report 6905395939); the dev re-measures on origin/main (PR fix(metadata-protocol): an exact
?package=read never answers another package's metadata-service copy of a doc, view or other type the exact qualifier does not judge #34241 merged)Pre-claim lane: domain:server because the seam is packages/metadata-protocol/src/protocol-meta-item-reads.ts
Pre-claim deps: no open PR touches the surface files (census of 70 open PRs at claim time). Fold PR 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 touches the item face and shared harnesses, so merge-tree against its head before every push. No Blocked-by.Prior rulings read:
?package=read never answers another package's metadata-service copy of a doc, view or other type the exact qualifier does not judge #34241's step-2 decline.objectstack-fleet commentedon Nov 16, 2026
domain:server#5 · zhuangjianguo · session_01QsR2jUcj2x2Wr4UErwBi12
os-dev-report
{ "issue": 34247, "folded": [34248], "status": "rework", "branch": "claude/area-E1b-34247", "pr": "https://github.com/objectstack-ai/objectstack/pull/34347", "head": "72dc8ca25e", "summary": "Handed off on the maintainer's 09:01Z order with the dogfood battery unfinished. #34247: an exact ?package=X read of the eight types the exact qualifier does not judge now answers X's own item or 404, on the plain read, /layers and the datasource credential carry-forward. #34248: a bare doc read beside two enabled holders and a package-less entry serves the environment's entry (ruling 6893582352), on the plain read, /layers and both /published doors, never the holder registered last. With no such entry the 409 from #34036 stays. The first #34248 commit refused with 409; that was corrected, and the evidence is the ruling CONTROL in package-scoped-e8-readers.test.ts.", "tests": "At 72dc8ca25e, under the lock, exit codes captured before any pipe. install 0; build 0; typecheck metadata-protocol, objectql, runtime and rest each 0. Tests: metadata-protocol 22956 passed / 45 skipped; objectql 13443 passed; rest 8552 passed / 350 skipped; runtime 11166 passed / 21 skipped. Rig: 29 passed / 2 skipped. Ablations A, B1, B2, C1, C2 and E1-E5 each turn their pin red; each restore proved (blob = HEAD, marker absent from dist). The first E4/E5 pass is void (it ran on a dist the E3 leg left mutated) and was rerun.", "gates": "dispatch-gates --ran: 74 derived, 72 run with exit 0, 2 NOT-MEASURED (check:dual-build-cjs-loads and check:type-check-debt exited 3 on unmet prerequisites). check:dts-closure first exited 1 because it raced the battery's rebuild; the rerun exited 0. PR-body gates each 0. eslint on the changed files 0, a narrowing of pnpm lint. platform-checklist OK. CI not awaited.", "dogfood_battery": "NOT MEASURED: stopped unfinished at the hand-off order; still owed at 72dc8ca25e (title carries !)", "declaration": "title with !; Clause-②: no (narrowing); Metadata-protocol: none; Skills-docs: none; ADR-0087 not-required (no-migration-prescription); changeset patch for metadata-protocol, runtime and rest", "security_findings": "none", "out_of_scope_findings": [] }objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#1 · os-project-manager · session_01FEkQ5obaLbqgzRUR9xXfft
Release: session
session_01QsR2jUcj2x2Wr4UErwBi12(claim 6907180748, 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 6912074085 on PR #34347 (branchclaude/area-E1b-34247, last pushed sha72dc8ca25eb6ea8252c5f8fa50735882b9a7542a; code complete, dogfood battery and a real-hydration measurement owed, L2 and L1 owed)Claim: repo:objectstack#1 area o1-D (lease o1-D), takeover of domain:server#5's in-flight PR #34347 on the maintainer's order above. Fold: #34247 (chain head) + #34248, one PR
Session:
session_01FEkQ5obaLbqgzRUR9xXfftAccount:
os-project-managerBranch:
claude/area-E1b-34247Worktree:
objectstack-e1b-34247Domain:
domain:serverSeat:
repo:objectstack#1File surface: unchanged from claim 6907180748 and its amendments; the PR's committed tree at
72dc8ca25eis the surfaceContainer & model:
M,mode:subagent,model: default judgment tier,effort: highClause-②: no (narrowing)
Metadata-protocol: none
Responsibility: objectstack platform code (metadata-protocol by-name read) | none | a deployment where
?package=Xnames a package that ships no item of the name, or two packages ship a doc beside a package-less entryThread-read: 6912042365
Premise: holds (carried from claim 6907180748; PR #34241 merged)
Serial constraints cleared: PR #34354 (same area) touches the
/publisheddoor twins; merge-tree before landingPre-claim lane: repo:objectstack#1 area o1-D;
packages/metadata-protocol/src/protocol-meta-item-reads.tsplus the doc-only/publishedguards in rest and runtime (domain:server file ownership); listed under o1-D in seat post #34366's lease table.Pre-claim deps: no
Blocked-by:; PR #33995 mergedPrior rulings read: ruling 6893582352 on #33264 (a disabled holder: no refusal; the environment's entry is served), ADR-0150 D3; re-read at takeover, no newer ruling on the card.
Resume-from:
claude/area-E1b-34247@72dc8ca25eb6ea8252c5f8fa50735882b9a7542a4 remaining items
objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRPxhTmqbUbMrqygh4
Release: claim 6913106182 (the takeover claim of seat
repo:objectstack#1, sessionsession_01FEkQ5obaLbqgzRUR9xXfft, area o1-D, accountos-project-manager) and its acceptance amendment 6921079049 · 2026-11-17T02:51ZProvenance: whose order — seat
repo:objectstack#1(os-project-manager) is out of tokens and stops, by the maintainer's word of 2026-11-17T02:41Z 「1号座位 pm leehom 没有token了,你看看他还有哪些 issue 和 pr 你全部接手」; words — "o2-I 改作「席 1 遗留 · 服务端」区 … 每张卡由 o2-I 写一笔接管" (seatrepo:objectstack#2's order of 2026-11-17T02:45Z); where — this account's Claude Code project channel (the maintainer's words, relayed by the coordinator to the seat), and the seat's takeover order to area o2-I. Seat 1's own L1 and L2 review seats (same account) stopped with it, so every delta from here goes to L1-c and this account's L2 review seat.Claim: takeover · #34247 · area o2-I (seat 1 legacy · server) · 2026-11-17T02:51Z
Session:
session_01ADHkmRPxhTmqbUbMrqygh4(area o2-I holds the claim); the code is finished by a card thread of this seat that reports to area o2-IAccount:
os-steveBranch:
claude/area-E1b-34247(PR #34347, fold with #34248), continued as it is, no new PRWorktree: the card thread's own
Domain:
domain:serverSeat:
repo:objectstack#2File surface: unchanged from 6913106182 / 6921079049 and PR #34347 as it stands
Clause-②: no (narrowing)
Metadata-protocol: none
Pre-claim lane:
domain:server; the seatrepo:objectstack#2is a full-repo seat.Pre-claim deps: no open
Blocked-by:; PR #34238 (#34059) also touchesmetadata-protocol, so amerge-treeis run at claim and before each push.Prior rulings read:
check-prior-rulings.mjs --card 34247→ card thread 0 rulings of 7 comments; ADR-0146 D11 by term hit; ruling 6917064203 (#34398) per the hand-over.Lease:
lease:o2-I(replaceslease:o1-D).Hand-over record:
claude/area-E1b-34247@0ba6987aec1cd73f9a97fa417355a7930302ceae(PR #34347, draft; hand-over state 6933548101 and its update 6933791590 list everything owed). The branch tip matches the PR head at this reading.objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRPxhTmqbUbMrqygh4
Hand-off · 2026-11-17T12:38Z · repo:objectstack#2 → repo:objectstack#3 (maintainer order 2026-11-17 12:33–12:34Z)
PR: fix(metadata-protocol)!: an exact
?package=read answers its own package's item or a 409 naming the holders, and a bare doc read beside two holders serves the environment's own entry #34347 (cards metadata-protocol: an exact ?package=X read of a doc (and the other types the registry does not read by package) that X does not ship answers another package's item instead of 404 #34247, metadata-protocol: a bare doc read of a name two packages ship, beside a package-less registry entry or hydrated row, serves the holder registered last #34248), draft, not a governed surface, Clause-②: no (narrowing).Current head:
1572520e9f465c673a5d9567cdac1e27a91efcf7(final-head comment 6948195566).Reviews on record: L1-c2 ACCEPT 6943247306 and L2 PASS 6943305789, both at the earlier head
0bc781b5; seat Tier H record 6943346172. No review at the current head: reviews stopped by the maintainer order.Open: the delta since
0bc781b5is a merge ofmainplus a one-line root fix inpackages/metadata-protocol/src/protocol-meta-layered-reads.tsfor the merge-queue ejections (root cause on Queue-flake anchor: src/domains/meta-disabled-holder-artifact-door.test.ts #34772, 6946857767). At this head suites, typecheck, 79/79 derived gates and the dogfood battery are green; CI was still running at hand-off. The contract-review request 6948206624 in mailbox pm:mailbox — review#1 · os-lizheng #34832 is being withdrawn by the seat.Next: seat 3 decides whether the delta needs review, then Tier H approval (narrowing) by os-zhuang and landing. On merge: close metadata-protocol: a bare doc read of a name two packages ship, beside a package-less registry entry or hydrated row, serves the holder registered last #34248 and decision: an exact
?package=Xread of a doc X does not hold, while another package does: 404 (card #34247) or the 409 refusal naming the holders (ADR-0150 D5)? #34398 if still open, clearpm:dispatchedand the assignee on metadata-protocol: an exact ?package=X read of a doc (and the other types the registry does not read by package) that X does not ship answers another package's item instead of 404 #34247, metadata-protocol: a bare doc read of a name two packages ship, beside a package-less registry entry or hydrated row, serves the holder registered last #34248, decision: an exact?package=Xread of a doc X does not hold, while another package does: 404 (card #34247) or the 409 refusal naming the holders (ADR-0150 D5)? #34398.objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzi6WQ71HhZSLSvHhdF
Claim: takeover · #34247 · area o3-I (seat-2 hand-off: approvals and close-out) · 2026-11-17T12:55Z
Provenance: whose order — seat
repo:objectstack#2handed its in-flight PRs to seatrepo:objectstack#3(mailbox PR #34585 comment 6948334887, 2026-11-17T12:41Z) on its maintainer's word of 2026-11-17T12:33–12:34Z 「L1 L2 不继续审核了,让 3号席位跟进」; this seat's maintainer ruled at 2026-11-17T12:44Z that seat 3 takes every non-security handed PR, p2 included (「也由我接」); where — this account's Claude Code project, seat 3's order to area o3-I.Session:
session_01WGufzi6WQ71HhZSLSvHhdF(area o3-I)Account:
os-support-aiBranch:
claude/area-E1b-34247(PR #34347, cards #34247 and #34248, ruling 6917064203 on #34398), continued as it is, no new PRWorktree: none yet (nothing to push)
Domain:
domain:serverSeat:
repo:objectstack#3File surface: unchanged; PR #34347's committed tree at
1572520e9f465c673a5d9567cdac1e27a91efcf7is the surfaceClause-②: no (narrowing)
Metadata-protocol: none
Responsibility: carried from claim 6936542711
Thread-read: 6948279596
Premise: holds (carried; L1 ACCEPT 6943247306 and L2 PASS 6943305789 at
0bc781b5)Serial constraints cleared:
overlap-check.mjs --branch=origin/claude/area-E1b-34247at origin/main dfbc316 merges cleanly into main but conflicts with PR #34784 inpackages/metadata-protocol/src/protocol-discovery-and-bases.ts; whichever lands second merges main first (seat informed)Prior rulings read: 6917064203 (letter B), 6893582352; thread: 6948279596
Next: L1 delta review of
0bc781b5..1572520e(merge of main + one-line root fix inprotocol-meta-layered-reads.ts), the seat's L2 delta and a new seat record, then os-zhuang's approval, then landing. On merge: close #34248 and #34398 if still open, clearpm:dispatchedand the assignee on #34247, #34248, #34398.Lease:
lease:o3-I(replaceslease:o2-I, already dropped by the hand-off write)