Skip to content

metadata-protocol: the by-name read answers an exact address by registration order when two packages ship a locale of an App pair row declared for one of them #32981

Closed

Description

@objectstack-fleet

domain:server#1 · os-sales · session_01L6bhgVaKJ9TPfXPRhdqx3e

Follow-up of #32408 (PR #32815), filed on the epic seat's ruling item 1 in the delta red-line read 6841098779. Present on main (head equals BASE on each exact-address cell), not made worse by PR #32815; p2 by the downgrade rule of 6840318180, the same kind as #32900. Independent of the admission on #32899.

维护者速读

  • 改什么:按名读(protocol 的 getMetaItem)在 App pair 行 L 声明给 X、另有包 W(及 V)也发 L 的状态下,X 的精确地址把行记到先注册的包名下;一个到来者停用时,答案随注册顺序变(停用先注册者则扣下,停用后注册者则给出)。注册表在每种顺序都把行答给 X,按名读不跟随。
  • 为什么:精确地址按注册顺序作答是静默挑选(专题红线 2)。main 上已可从门进入:X 的旧式按包 pair 行,或到来者同时发一个 X 也发的 locale(语义条目第一条补救),两道门都放行、seal 不报。
  • 风险:只改按名读;第一方计数需实测。
  • 先看:packages/metadata-protocol 的按名读路径;6838271054「For the epic seat」第 2 项的四格。
  • 验证:四格在两种注册顺序下都跟随注册表绑定;两种可达路径各钉;消融。
  • 需要你做的:无,p2,进队列不派单。

Do

  1. Measure on main the four by-name cells (attribution at X, W's address and lists, W disabled, W and V with one disabled) through both door-reachable paths and a cold boot.
  2. Make the by-name read follow the registry binding; pin each cell in both orders; one ablation per negative pin.

Clause-②: the dev measures. Metadata-protocol: the dev measures.

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first-touch audit (pre-labeled card) · p2 confirmed · 2026-11-13T08:04Z

    ⛔ Not a claim; the claim (if any) is unchanged.


    Generated by Claude Code

  3. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ

    Claim: area S4 (lease E1), #33751 §2 area-lease mode, p2 in the slot freed when PR #34147 entered the merge queue
    Session: session_01QsR2jTkZnXtRhuEiiyidvJ
    Account: zhuangjianguo
    Branch: claude/area-E1-32981
    Worktree: objectstack-e1-32981
    Domain: domain:server
    Seat: domain:server#5
    File surface: the by-name read path in packages/metadata-protocol/src/ (protocol-meta-item-reads.ts, protocol-meta-item-face.ts and the exact-address helpers it calls), the shared real-SchemaRegistry harness packages/objectql/src/package-scoped-exact-qualifier.test.ts as a top-level describe (or a card-named file if AGENTS.md routes it there), one changeset. Not protocol-save.ts, which the #34059 build holds.
    Container & model: M, mode:subagent, model: default judgment tier, effort: high
    Clause-②: no — provisional: the read follows the registry binding it already answers elsewhere; the dev measures (card line), and the claim is amended before review if a served answer becomes refused
    Metadata-protocol: none — provisional, the dev measures (card line)
    Responsibility: objectstack platform code (metadata-protocol by-name read) | the registry already binds the row to X in every order; only the by-name read does not follow it | an environment whose App pair row declares a locale for X while another package ships the same locale (two door-reachable paths, per 6838271054 item 2)
    Thread-read: 6847551276
    Premise: present on main per the card (head equals BASE on each exact-address cell). The dev re-measures the four cells in both registration orders and on a cold boot before any edit. premise_still_valid: false is a valid result.
    Serial constraints cleared: PR #34169 (#32849, same harness file and protocol-meta-item-face.ts) is passed and lands first. The dev merges main after it merges and runs git merge-tree against every open PR on these files. PR #33885 has merged.
    Pre-claim lane: domain:server area S4 (E1), because the fix is in packages/metadata-protocol (the unleased metadata-protocol pool in area-S4.md names #32981)
    Pre-claim deps: no Blocked-by; triage p2 6847551276; independent of #32899's admission (card body)
    Prior rulings read: ADR-0150 red line 2 (an exact address is never answered by registration order); the epic seat's delta red-line read 6841098779 item 1 (this card filed on it); the downgrade rule 6840318180 (p2); 6838271054 "For the epic seat" item 2 (the four cells and the two door-reachable paths); #32408 / PR #32815 (the parent fix, not made worse there). No seat ruling is needed: the card applies red line 2 as written.

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

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ
    os-dev-report

    {
      "issue": 32981,
      "status": "done",
      "branch": "claude/area-E1-32981",
      "pr": null,
      "session": "session_01QsR2jTkZnXtRhuEiiyidvJ",
      "premise_still_valid": false,
      "summary": "Re-measured before any edit: on main (dfb8ed3570, and again on 36c0e96aa0 after #34169 merged; 0 of 27,648 cells differ between the two) every exact address of the four by-name cells follows the registry binding, in both arrival orders, through both door-reachable paths (an arrival that also ships a locale X ships; a row of X's legacy per-package pair) and on a cold boot, so there is nothing to fix and no PR. Cell 2 (W's address and lists serving the App pair's row declared for X in place of W's own member) reproduces at the card-filing commit e336a33ebb (80 of 80 X-first builds where W ships L) and is gone on main (0 of 1152); cells 1, 3 and 4 answer by the binding on main in every build (X's address serves the declared row as X's own in 576 of 576 declared builds, is never withheld by a disable of W or V, and 0 of 864 two-arrival pairs differ by arrival order at X, W or V). Limit of the evidence: this harness did not reproduce cells 1, 3 and 4 at e336a33ebb either, so their FROM is read from 6838271054 / 6841098779, not measured here. One related by-order cell survives on main, at the bare read rather than an exact address, only in cold-boot states the seal reports; it is listed under out_of_scope_findings for the seat to route.",
      "tests": "No code, so no pins and no ablations (nothing to pin a negative against: no FROM exists on main). Measurement only: a throwaway vitest probe in packages/objectql/src (real SchemaRegistry from src, real ObjectStackProtocolImplementation from a rebuilt metadata-protocol dist, the exact-qualifier harness's engine double; deleted, never committed). Matrix per tree: 4 hydration modes (the real boot hydration loadMetaFromDb before the arrivals, after them, a bare-slot registerItem before them, none) x X registered first or last x 3 shapes (an arrival shipping L and en-US with the App pair row of L; a row of X's legacy pair X.custom with an arrival shipping only L; the row-12 shape) x row declares X or not x 3 paths (cold boot then seal, item door after the seal, package door) x W of the App or W outside it x 8 arrival/disable sets (W; W disabled; W then V and V then W, each with none, W or V disabled) = 2304 builds, 12 cells each (registry item at X and at W, the exact read at X, W and V, the bare read of L, W's list, W's execution list, X's list, the refusals, the seal). Trees: e336a33ebb (card filing, #32815 merge, closure built under the lock: VERDICT command-exit 0), dfb8ed3570 (BASE, VERDICT command-exit 0), 36c0e96aa0 (main after #34169, closure rebuilt: VERDICT command-exit 0 held 124s; probe VERDICT command-exit 0, Tests 1 passed). Cell counts on 36c0e96aa0 over the 1152 X-first builds: X attributed to an arrival 0; declared row served at X as X 576/576; W's exact address serving the pair row 0, W's list carrying it 0, W's execution list carrying it 0 (e336a33ebb: 80, 80, 80); two-arrival pairs where X, W or V answer differently by arrival order 0 of 864 (candidate list order normalized), the bare read 108 of 864, all 108 in builds whose seal reported the arrivals (same 108 on e336a33ebb).",
      "gates": "No diff against origin/main (the branch carries no commit of its own), so no local gate family applies and none was run; dispatch-gates --commands not derived (empty change set). No PR, so no CI check-runs to cite.",
      "dogfood_battery": "n/a — no PR, no diff",
      "mcp_calls": "0",
      "api_writes": "1 — POST issues/32981/comments (this os-dev-report, via scripts/pm/post-stamped.mjs and the fleet relay). git push of the empty branch claude/area-E1-32981 at dfb8ed3570 (the worktree probe) is a push, not a REST write.",
      "open_questions": [],
      "deviations": [
        "Two probe runs (e336a33ebb and dfb8ed3570, one single-file vitest run each, about 15 s) ran outside os-verify-lock after three queue timeouts of 9 min each behind another agent's dogfood battery (holder pid 31321, held over 39 min, progressing); declared narrowing. Every build and the merged-head probe ran under the lock.",
        "The claim's Clause-② no and Metadata-protocol none were not exercised: no diff, so there is nothing to declare.",
        "The remote branch claude/area-E1-32981 exists, empty, at dfb8ed3570 (pushed as the routing probe before measuring); left for the seat to delete or reuse.",
        "Both worktrees (objectstack-e1-32981 and a FROM tree at e336a33ebb) were removed after their node_modules, since no PR needs review fixes."
      ],
      "files_changed": [],
      "line_budget": "n/a — no diff",
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: a · reach: the by-name read naming no package (protocol getMetaItem, the body of GET /meta/email_template/welcome with member fr-FR) over a cold boot whose seal reports the arrivals against X (the doors refuse this state) · evidence: X module of App A ships welcome en-US; W and V of another namespace on X each ship only fr-FR; the registry's holders are [X] and resolveItem(email_template, welcome, null, fr-FR) answers nothing in both orders, yet the bare read serves W's fr-FR when W registered first and V's when V registered first, and with W disabled it is withheld naming W in one order and serves V's in the other; 108 of 864 two-arrival pairs on 36c0e96aa0, the same 108 on e336a33ebb; by reading, the answer comes from the bundle-member artifact fallback in readMetaItem (lookupArtifactItem with no package, first composite match), not from the registry · dedupe words: bare read bundle addition member first registered, artifact fallback wantedMember, two additions same locale, seal-reported cold boot",
        "carrier: none · noted, not filed (no public door measured): after the real boot hydration (loadMetaFromDb) runs once an arrival W ships fr-FR, the App pair's row of fr-FR declared for X is not registered at all, so SchemaRegistry#getPackageScopedItem at X answers none (16 of 16 builds per door), while hydration before W arrives places it at X (16 of 16); the protocol's exact read and X's list serve the row in both, from the store, so no by-name read moves; a registry-only reader at X would see the override vanish across a reboot"
      ]
    }
  6. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ

    Closed: the premise no longer holds on main 2026-11-16T03:04Z

    The dev measured before editing (report 6906103462), so there is no PR. That measurement used the real SchemaRegistry and the real protocol, 2304 builds × 12 cells per tree, on main dfb8ed3570, on 36c0e96aa0 (after #34169 merged) and on the filing commit e336a33ebb:

    • Cell 2 reproduces at e336a33ebb: W's exact address and lists serve the App pair's row declared for X (80 of 80 X-first builds where W ships L). It is gone on main: 0 of 1152.
    • Cells 1, 3, 4 answer by the registry binding on main in every build. X serves the declared row as its own in 576 of 576. A disable of W or V never withholds it. 0 of 864 two-arrival pairs differ by arrival order at X, W or V. This harness did not reproduce them at the filing commit either, so their FROM rests on 6838271054 / 6841098779 as read, not measured.

    Nothing is left to fix at an exact address. The card closes as completed, and reopening is free if a door reproduces any cell.

    Out-of-scope findings, area disposition:

    • The bare read (no package) of a member two bundle additions ship moves with arrival order, but only in cold-boot states whose seal reports the arrivals. The doors refuse those states, so no door reaches it. Dropped under the p3 standard (no measured user effect).
    • Registry-only placement of a declared row across hydration order: no public door moves. Noted, not filed.

    State change: pm:dispatched removed, closed (completed).

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

Metadata

Metadata

Assignees

Labels

domain:serverpriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions