Repository navigation
Description
repo:objectstack#1 · os-project-manager · session_01FEkQ5obaLbqgzRUR9xXfft
Ruled: 6917064203 · letter B · 2026-11-16T12:58Z
Filing gate: ② a decision only the maintainer can make. Card #34247's acceptance sentence and the accepted ADR-0150 D5 text answer one address differently; contract review FAIL 6916685896 on PR #34347 (finding M2) routes the choice to the maintainer. Reader who acts: area o1-D's fix round on PR #34347 (branch claude/area-E1b-34247), right after the ruling. Dedupe: is:issue "package" doc 404 409 holders → 86 hits, read the top 8 (#33210, #34144, #33955, #34247, #34059, #34262, #31527, #34040); none asks this; is:issue label:needs-user-decision qualifier → 0.
维护者速读
- 问题:文档请求写明「要 X 包的这一篇」,但 X 包没有这篇,别的包 Y 有。今天平台悄悄把 Y 的那篇给出去。要改成拒绝,但拒绝的样子有两种写法互相矛盾:卡 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 写「找不到(404)」,已接受的 ADR-0150 D5 写「拒绝并列出谁持有(409,带候选)」。
- A:回 404「找不到」。读者走到死胡同,不知道 Y 有这篇。
- B(推荐):回 409,列出持有者 Y。控制台文档页已经会把候选列成可点的列表;流程、动作等已按包寻址的类型对同样的请求本来就回这个 409。
- C:维持现状(给出 Y 的那篇)。不取:作者写错包名会静默拿到别人的内容,正是 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 要消灭的。
- 推荐 B:一条规则覆盖所有类型,拒绝带处方,与 ADR 原文一致;工作量在同一个 PR 内一轮修复。
Background
PR #34347 (cards #34247 and #34248) narrows GET /meta/doc/N?package=X: on main, when X ships no doc N and package Y does, the read answers 200 with Y's doc (the registry's prefer-local fallback, measured on the composed artifact rig by the #34040 dev). The same holds for every type the exact qualifier does not judge by package: doc, view, translation, field, seed, datasource, external_catalog, object_extension (the family PR #34241 enumerates). The PR answers 404 there, because the card's acceptance 1 says "answers 404".
Governing text
- ADR-0150 D5, metadata row: "
?package=Xkept as the exact qualifier: X's item with its bound overlay, or a refusal that names the holders, never X's closure; D2 ruling6724570466" (docs/adr/0150-behavioural-metadata-addressed-by-package-objects-keep-the-literal-prefix.md, D5 table). - ADR-0150 D5 amendment note (docs(adr): ADR-0150 records the
?callerPackage=caller arm (D5 door table, D3 caller note, ADR-0149 D2 cross-reference) #32362): a reader that is not installed "gets exactly what?package=IDanswers (409naming the holders, or the read's miss)". - Card 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 acceptance 1: "An exact
?package=Xread of a name X holds no item of answers 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 acceptance (closed): "X's doc or 404, never another holder's". That sentence predates the question of what X-holds-nothing-but-Y-does answers; it rules out 200, not 409.
Prior rulings read: exact qualifier, names the holders, package → 107 ADR hits, read ADR-0150 D2/D5 and the #32362 note; ADR-0150 D5; thread: none (0 rulings of 3 comments on #34247).
Protocol
Clause-②: yes (narrowing) under every option but C. A and B both narrow 200 to a refusal; they differ in which refusal. No spec schema changes under A or B: the 409 body is the existing RESOURCE_CONFLICT with details.candidates (packages/metadata/src/package-slotted-store.ts, reason not-held-by-qualifier).
Premises (re-check)
- Covered types already answer 409
not-held-by-qualifierfor this address shape: 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's own COVERED control;grep -rn "not-held-by-qualifier" packages --include=*.ts | grep -v test. - Console renders a 409 doc read as a candidate list:
ui/apps/console/src/pages/DocPage.tsxconflictCandidates(readsdetails.candidatesof a409 RESOURCE_CONFLICT). - A name no package and no environment row holds answers the read's own 404 under every option.
Options
| Option | What happens | What the customer sees | Work |
|---|---|---|---|
| A · 404 (card) | ?package=X, X holds nothing, Y holds N → 404 for the eight uncovered types; the covered types keep their 409 |
A Console doc link or an API/AI read that names the wrong package gets "not found", with no hint that Y has it | none beyond PR #34347's current round (+410/−43 at 989f4ad7) |
| B · 409 naming holders (ADR D5) | same address → 409 RESOURCE_CONFLICT, reason not-held-by-qualifier, candidates = the holders |
Console lists the holders, one click opens the right doc; an AI or script reads the candidates and retries with the right package | server lane · same PR · one more fix round swapping the answer on readMetaItem, /layers and the carry-forward, plus the changeset rows. No measured precedent for this exact swap; closest landed: #34147 (+771/−53), which introduced the ?package= holder refusal on the diff door |
| C · keep 200 | Y's doc is served under X's address | silently the wrong package's content | none; #34247 and the open half of #34040's acceptance stay unmet |
Business meaning, one line each:
- A: asking a librarian for "Smith's edition" of a book the library only has in Jones's edition, and being told "we don't have it".
- B: being told "not Smith's; Jones's edition is on shelf 4".
- C: being handed Jones's edition with Smith's label on it.
Four facets
- ① Long-term soundness: B keeps one answer for one address across every metadata type (covered types already answer 409), and it is the ADR's own sentence; A adds a per-type split (eight types 404, the rest 409) that a later card would have to unify. End state in two years: one exact-address rule for every metadata type, so a reader never has to know which types are package-scoped to interpret the answer. Reference read: the platform's own covered types (flow, action, page and the rest of ADR-0150 bucket 2), which already answer this way; I read no external platform for this.
- ② Business pull: today's first consumer is the Console doc page. ADR-0046 cross-references from app X's doc to another package's doc, and docs under multi-app packages, read with the app's address; with A they show "not found", with B they show the holder list (finding M2 on 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). - ③ Guarding against AI mistakes: an AI that names the wrong package gets, with B, a loud refusal that carries the fix (the candidates); with A, a 404 that reads like "this doc does not exist", which invites the AI to create a duplicate.
- ④ Startup-stage containment: B reuses the existing refusal vocabulary (
not-held-by-qualifier,RESOURCE_CONFLICT,details.candidates) and adds nothing to declare; A creates a second answer for the same address that has to be documented and kept apart.
Recommendation
B. Only looking at ①: B. Do ②③④ flip it: no. Confidence gap: I read no external platform's convention (some, such as Kubernetes namespaces, answer a plain not-found for an object in another namespace, which leans toward A). I also did not measure what the eight uncovered types' Studio editors do with a 409 (the doc page is the only reader I read); the decision thread may want that read before the ruling.
Not taken: A, because it leaves a dead end where the ADR promised a refusal with candidates and splits the types; C, because it is the defect the card exists to remove.
Analysis-tier: seat tier; the decision thread re-reads before taking it to the maintainer.
After the ruling
- A: 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 keeps its 404; the area records the ruling 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, the changeset cites it, review#2 deltas the rest of FAIL 6916685896, then L1 and landing. - B: the area's dev swaps the answer to 409
not-held-by-qualifiernaming the holders on the three reads, re-pins both registration orders, updates the changeset FROM→TO rows (200 → 409), then the same review path. Card 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's acceptance 1 is amended by a comment citing the ruling. - C: 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 drops the 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 half; 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 closes as ruled.
Related
Cards #34247, #34248, #34040 (closed); PRs #34347 (open, FAIL 6916685896), #34241 (merged), #34147 (merged); ADR-0150 D2/D5.
Activity
objectstack-fleet commentedon Nov 16, 2026
coordinator#1 · os-project-manager · session_01FEkQ5o4M8rhK9wvYDdmaYW
Ruling: letter B · maintainer 「B 拒绝并列出持有的包」 (the option he chose on the decision card) · recorded 2026-11-16T12:57Z
Recorded by the project's decision thread for this card. The maintainer's standing rule sends every decision through a dedicated thread that evaluates it and puts it to him there. He chose at 2026-11-16T12:56:27Z. Decision thread
cmsg_01TenzsRopZj4jMbvjX8uz1XDKjEBjzqSnPLtSgPb8FzwY, cardcmsg_01TenzsRopZj4jMbvjX8uz1X5LUMATfVvFzhnham3FbGyX, choice recordcmsg_01TenzsRopZj4jMbvjX8uz1XKYU3NR7NW94axcCf8ZSVfU.Thread-read: none (no comment on this card before this one). Body as filed. Labels
priority:p2,needs-user-decision,domain:server.The question he was asked
「裁定:点名要 X 包的文档,X 没有而别的包有,平台怎么答?」 A reader asks for "package X's copy" of a doc; X has none and another package has it. Today the platform silently serves the other package's copy. PR #34347 turns that into a refusal: does it say "no such doc", or "X has none, Y has it"? The same address moves for the other types of the family.
The three options on the card, as he read them:
The ruling
B. An exact
?package=Xread of a name X holds no item of, while another package holds it, answers409 RESOURCE_CONFLICT, reasonnot-held-by-qualifier, naming the package holders. Card #34247's acceptance 1 ("answers 404") is amended to this by this ruling. A name nothing holds still answers the read's own 404.The parameters below are the ones the analysis attached to B, under "裁后执行". The thread message that carried the card pointed at that file, and he chose B without amending any.
?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 already moves: another package holds the name. The environment's own entry still answers first and is served as the PR has it (ruling 6893582352). The ruling widens nothing beyond that cell./layers?package=X. The save's credential carry-forward is not a read answer; the area aligns it with the save door's existing refusal or keeps "carries none", and says which in the PR.RESOURCE_CONFLICT,not-held-by-qualifieranddetails.candidates. Clause-② staysno (narrowing); the changeset and FROM→TO rows read 200 → 409.⛔ Not taken: A (a dead end where the other 20-odd types name the holder, and "not found" reads as "free to create" to an author or an AI). C (the defect card #34247 exists to remove).
What the decision thread added to this card's analysis
Read on
origin/mainf84dc19, PR head 989f4ad and hotcrm 0f9710e. Nothing was run.doc,view,fieldandobject_extensionin bucket 1 ("Addressing: unchanged"); ruling 6893582352 says "?package=reads are unchanged" for a doc; andprotocol-exact-qualifier.ts's header says every type outside the covered set keeps the prefer-local read. So B extends D5's sentence to this family by this ruling. It is not a reading D5 already forced.MetadataProvider.tsxreadPackagedItem) andResourceEditPageare type-generic and already meet this 409 for covered types. Studio reads a/layers404 as "never saved". The other seven types' own editors were not read one by one.Full analysis:
/mnt/project-files/pm-orders/review/34398-decision-analysis.md(project files).Effort of the chosen letter
Server lane, the same PR (#34347, +410/−43 at 989f4ad), one more fix round. Closest landed precedent: PR #34147 (+771/−53, 20 files), which introduced the same refusal on the diff door. No like-for-like precedent for the swap itself.
Generated by Claude Code
fix(metadata-protocol)!: an exact read of a name the package holds no…
objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA
2026-11-17T07:19Z State after the ruling:
needs-user-decision→pm:dispatched. The ruling is on record (Ruled: 6917064203, letter B, 「B 拒绝并列出持有的包」), but the decision label was never taken off. Ruling B is carried by PR #34347 (card #34247, areao2-Iof repo:objectstack#2, in review). This card closes when that PR merges. Found by the ADR-0150 census of epic #31527.objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRPxhTmqbUbMrqygh4
Hand-off · 2026-11-17T12:39Z · repo:objectstack#2 → repo:objectstack#3 (maintainer order 2026-11-17 12:33–12:34Z)
?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).1572520e9f465c673a5d9567cdac1e27a91efcf7(final-head comment 6948195566).0bc781b5; seat Tier H record 6943346172. No review at the current head: reviews stopped by the maintainer order.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.?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 merges.?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 · #34398 · 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: 6948311163
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: 6948311163
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)objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzi6WQ71HhZSLSvHhdF
Closed as completed at 2026-11-17T13:08Z: ruling 6917064203 (letter B, a
409 RESOURCE_CONFLICTnaming the holders) is delivered by PR #34347, merged as 89d5a41. Per the hand-off 6948311163 this decision card closes by hand once that PR merges;pm:dispatched,lease:o3-Iand the assignee are cleared.