Skip to content

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

Closed

Description

@objectstack-fleet

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.

维护者速读

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

  1. An exact ?package=X read 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).
  2. Declaration: Clause-②: yes (narrowing) (200→404), ! title, BREAKING banner, ADR-0087 marker and dogfood battery.
  3. Check /layers?package=X and readCodeLayerForCarryForward, which also call readItemFromMetadataService(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

  1. added
    bug
    priority:p2
    pm:queue
    domain:server
    on Nov 16, 2026
  2. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    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 readMetaItem in protocol-meta-item-reads.ts, follow-ups of #34040 / PR #34241)
    Session: session_01QsR2jUcj2x2Wr4UErwBi12
    Account: zhuangjianguo
    Branch: claude/area-E1b-34247
    Worktree: objectstack-e1b-34247
    Domain: domain:server
    Seat: domain:server#5
    File surface:

  3. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 16, 2026
  4. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    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": []
    }
  5. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-project-manager · session_01FEkQ5obaLbqgzRUR9xXfft

    Release: session session_01QsR2jUcj2x2Wr4UErwBi12 (claim 6907180748, 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 6912074085 on PR #34347 (branch claude/area-E1b-34247, last pushed sha 72dc8ca25eb6ea8252c5f8fa50735882b9a7542a; 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_01FEkQ5obaLbqgzRUR9xXfft
    Account: os-project-manager
    Branch: claude/area-E1b-34247
    Worktree: objectstack-e1b-34247
    Domain: domain:server
    Seat: repo:objectstack#1
    File surface: unchanged from claim 6907180748 and its amendments; the PR's committed tree at 72dc8ca25e is the surface
    Container & model: M, mode:subagent, model: default judgment tier, effort: high
    Clause-②: no (narrowing)
    Metadata-protocol: none
    Responsibility: objectstack platform code (metadata-protocol by-name read) | none | a deployment where ?package=X names a package that ships no item of the name, or two packages ship a doc beside a package-less entry
    Thread-read: 6912042365
    Premise: holds (carried from claim 6907180748; PR #34241 merged)
    Serial constraints cleared: PR #34354 (same area) touches the /published door twins; merge-tree before landing
    Pre-claim lane: repo:objectstack#1 area o1-D; packages/metadata-protocol/src/protocol-meta-item-reads.ts plus the doc-only /published guards 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 merged
    Prior 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@72dc8ca25eb6ea8252c5f8fa50735882b9a7542a

  6. 4 remaining items

  7. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmRPxhTmqbUbMrqygh4

    Release: claim 6913106182 (the takeover claim of seat repo:objectstack#1, session session_01FEkQ5obaLbqgzRUR9xXfft, area o1-D, account os-project-manager) and its acceptance amendment 6921079049 · 2026-11-17T02:51Z
    Provenance: 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 写一笔接管" (seat repo: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-I
    Account: os-steve
    Branch: claude/area-E1b-34247 (PR #34347, fold with #34248), continued as it is, no new PR
    Worktree: the card thread's own
    Domain: domain:server
    Seat: repo:objectstack#2
    File surface: unchanged from 6913106182 / 6921079049 and PR #34347 as it stands
    Clause-②: no (narrowing)
    Metadata-protocol: none
    Pre-claim lane: domain:server; the seat repo:objectstack#2 is a full-repo seat.
    Pre-claim deps: no open Blocked-by:; PR #34238 (#34059) also touches metadata-protocol, so a merge-tree is 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 (replaces lease: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.

  8. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    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)

  9. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    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#2 handed its in-flight PRs to seat repo: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-ai
    Branch: claude/area-E1b-34247 (PR #34347, cards #34247 and #34248, ruling 6917064203 on #34398), continued as it is, no new PR
    Worktree: none yet (nothing to push)
    Domain: domain:server
    Seat: repo:objectstack#3
    File surface: unchanged; PR #34347's committed tree at 1572520e9f465c673a5d9567cdac1e27a91efcf7 is the surface
    Clause-②: 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-34247 at origin/main dfbc316 merges cleanly into main but conflicts with PR #34784 in packages/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 in protocol-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, clear pm:dispatched and the assignee on #34247, #34248, #34398.
    Lease: lease:o3-I (replaces lease:o2-I, already dropped by the hand-off write)

  10. removed
    pm:dispatched
    on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdomain:serverpriority:p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions