Skip to content

metadata-protocol: a name held only by stored rows of two enabled packages answers the bare read by save order while /layers refuses 409 (ADR-0150 D3) #32607

Closed
1 of 1 issue completed

Description

@objectstack-fleet

triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

Triage edited only the Blocked-by: line (lifted); the rest is the filer's text, unchanged.

domain:server#3 · os-bill · session_01Utp6CaAUev5V62cLHhQwBi

Filing category: ① product defect with a named location (out-of-scope finding of #32354's step 0, measured on claude/project-thread-phk4r9 @ 6655b742; note /mnt/project-files/server-seat3-p2/card-32354/step0.md). #32354 covers the case where one holder is disabled; this card is the same order guess with no disabled package.
Part of #31527 (ADR-0150) · Refs #32354

维护者速读

  • 改什么:两个启用包各存了一行同名项、没有包在代码里自带它时,不带包名的读取要像 /layers 一样答 409 并点名两个包,而不是按保存顺序给第一行。
  • 为什么:现在同一个名字,裸读答"先保存的那一行",/layers 却答 409;答案靠保存顺序猜,违反专题红线"歧义要报告、不许猜"。
  • 风险:第一方 0 处;裸读 200 → 409(收窄,需声明并钉住)。
  • 先看:packagelessAddress 的候选 → packagelessContentPackage(无代码持有者时为 undefined)→ findServedOverlayRow 取第一行。
  • 验证:E、F 都启用,各存一行 d1,两种保存顺序下裸读都应 409 点名 E、F。
  • 需要你做的:无,归专题席派发。

What happens

packagelessAddress candidates are both row bindings; with no package shipping the name, packagelessContentPackage answers undefined, and findServedOverlayRow takes the first row by save order. packagelessLayeredReadRefusal counts both bindings and answers 409. So the bare read and /layers disagree, and the bare read is a guess by order.

Do

The bare read of a name with two or more served row holders and no shipper answers the same 409 RESOURCE_CONFLICT with details.candidates naming each served holder that /layers gives. Pin both save orders, both transports; CONTROL: one row holder answers unchanged. FROM → TO: bare read 200 (first-saved row) → 409 naming both (narrowing, Clause-② yes).

Reuse #32354's row-aware served-holder judgment (it lands the served set over registry holders ∪ stored-row bindings).
Was blocked by #32354; its row-aware served-holder judgment landed in PR #33130 (02f55c5d22). The serial predecessor on protocol-exact-qualifier.ts, #32561, landed in PR #33148 (89d7bef033). The block was lifted by triage on 2026-11-13: #32354 stays open only for its list-door cases, which this bare-read card does not use.
Reader who acts: the server seat the epic seat routes it to. Epic red-line read before landing.
Grade: p2 (first-party reach 0).

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#7 · os-sales · session_01L6bhgVSjQBHNkZd6Eqx2XX

    Parked · #32607 · 2026-11-12T13:32Z — on the maintainer's release-line ruling 6824949405 on #31527 (Sales tapped 「三招都用(推荐)」 on the epic seat's card 「专题怎么提速?」, 2026-11-12T13:28:14Z): every p2 card of epic #31527 without an open PR, and every nested follow-up card, waits until the release ships.

    • State: pm:dispatched → pm:on-hold in this stroke; assignee os-sales released. Nothing is deleted.
      Resume-from: claude/project-thread-j3i5j5@f073c310e871c609db786890d22b1e0497f1d420

    Restart-when: the release that carries the epic #31527 release line is published (ruling 6824949405 on #31527)

  2. added
    pm:on-hold
    and removed
    pm:dispatched
    on Nov 12, 2026
  3. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#7 · os-sales · session_01L6bhgVSjQBHNkZd6Eqx2XX

    Un-parked · #32607 · 2026-11-12T13:38Z — the park above is withdrawn. The maintainer (Sales) corrected the release-line ruling 6824949405 in the os-sales project, verbatim: 「我也不着急发版,你已经开发完的分支,还是继续推进到合并」 (2026-11-12T13:30:34Z). A card whose work is developed and pushed continues to merge. pm:on-hold → pm:dispatched, assignee os-sales restored, in this stroke; the takeover claim stands. Still waits on PR #32497.

  4. added
    pm:dispatched
    and removed
    pm:on-hold
    on Nov 12, 2026
  5. added a commit that references this issue on Nov 12, 2026
  6. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#7 · os-sales · session_01L6bhgVSjQBHNkZd6Eqx2XX

    Claim amendment · 2026-11-12T21:45Z — file surface of claim 6819852006 widened by one file: packages/runtime/src/domains/meta.ts (the runtime HttpDispatcher's disabled-package owner step reads the bare read first; after this card it threw the bare read's refusal, so a package-less /layers on that transport stopped answering the write-door refusal). The change has the same shape as A1 in rest-server.ts and keeps Q1 = A of ruling 6820653691 (/layers does not move) on both transports. It is not a new ruling. The runtime pin gains one assertion; the changeset gains a @objectstack/runtime patch line. Card thread session session_01L6bhgXHAj3cLym2821B9wf, branch claude/project-thread-j3i5j5, commit d721d9a12. Nothing else changes.

  7. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#7 · os-sales · session_01L6bhgVSjQBHNkZd6Eqx2XX

    Release: #32607 · 2026-11-13T01:09Z — paused on the maintainer's token-economy order relayed by the epic seat (Sales 2026-11-13T01:08Z: p1 first, p2 only what is required; this seat's #32354 and #32607 stop). Nothing is deleted; no PR is open.

  8. added
    pm:queue
    and removed
    pm:dispatched
    on Nov 13, 2026
  9. 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 · state → pm:blocked · 2026-11-13T08:30Z

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


    Generated by Claude Code

  10. added
    pm:blocked
    and removed
    pm:queue
    on Nov 13, 2026
  11. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: unblocked → pm:queue · 2026-11-13T22:08Z

  12. added
    pm:queue
    and removed
    pm:blocked
    on Nov 13, 2026
  13. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    ContributorAuthor

    epic:#31527#2 · os-elon-musk · session_016WV4czFhtRVZNBeHdQA6PW

    Claim: PM loop round 4 · p2 with a pushed branch, resumed on the maintainer's order 「31527 之前已经开发了分支的 p2,继续推进到合并」; unblocked by triage 6866148987 (no dependency on #32354's list-door remainder); serial predecessors on protocol-exact-qualifier.ts landed: #33130 (#32354) and #33148 (#32561) · 2026-11-13T22:10Z
    Session: session_016WV4czFhtRVZNBeHdQA6PW
    Account: os-elon-musk
    Branch: provisional — the card thread re-posts this claim with its own claude/project-thread-* branch, resuming from claude/project-thread-j3i5j5@d721d9a1250658d4c9b1bf26e0f5b648899a8d1f (Resume-from 6840760147)
    Worktree: objectstack-issue-32607
    Domain: domain:server
    Seat: epic:#31527#2
    File surface: as claim 6819852006 with amendments 6821134180 (packages/rest/src/rest-server.ts, one hunk) and 6836791341 (packages/runtime/src/domains/meta.ts): packages/metadata-protocol/src/** and tests, transport answer tests, the spec semantic entry if narrowed is declared, changesets. Stop on breach; explain in the report.
    Container & model: M, mode:thread, model: default (no path-derived mandate), effort: high
    Clause-②: yes (expected: bare read 200 first-saved row → 409 naming both, a narrowing; the thread declares each FROM → TO)
    Metadata-protocol: to be declared by the thread from the diff (a refusal of a read that served before is narrowed, per review#1's ruling on #33121)
    Responsibility: the bare read of a name held only by stored rows of two or more served packages and shipped by none answers 409 with details.candidates, as /layers does, reusing #32354's row-aware served-holder judgment (now on main via #33130)
    Thread-read: 6866138343
    Premise: re-measured by the card thread on the merged head before any edit; premise_still_valid: false is a valid result
    Serial constraints cleared: #33130 merged (02f55c5d22), #33148 merged (89d7bef033); no other open PR of this seat touches protocol-exact-qualifier.ts (#33149 touches protocol-registry-hydration.ts only).

  14. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 13, 2026
  15. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    ContributorAuthor

    epic:#31527#2 · os-elon-musk · session_016WV4czBmkW6UeWPazkWq7L

    Claim: PM loop round 4 · p2 with a pushed branch, resumed on the maintainer's order 「31527 之前已经开发了分支的 p2,继续推进到合并」; unblocked by triage 6866148987 (no dependency on #32354's list-door remainder); serial predecessors on protocol-exact-qualifier.ts landed: #33130 (#32354) and #33148 (#32561) · re-posted by the card thread at 2026-11-13T22:13Z
    Session: session_016WV4czBmkW6UeWPazkWq7L (card thread; seat session session_016WV4czFhtRVZNBeHdQA6PW)
    Account: os-elon-musk
    Branch: claude/project-thread-loearv (the thread's harness branch; it starts from claude/project-thread-j3i5j5@d721d9a1250658d4c9b1bf26e0f5b648899a8d1f (Resume-from 6840760147) and merges origin/main, never rebases; project-thread-j3i5j5 is left as pushed)
    Worktree: objectstack-issue-32607
    Domain: domain:server
    Seat: epic:#31527#2
    File surface: as claim 6819852006 with amendments 6821134180 (packages/rest/src/rest-server.ts, one hunk) and 6836791341 (packages/runtime/src/domains/meta.ts): packages/metadata-protocol/src/** and tests, transport answer tests, the spec semantic entry if narrowed is declared, changesets. Stop on breach; explain in the report.
    Container & model: M, mode:thread, model: default (no path-derived mandate), effort: high
    Clause-②: yes (expected: bare read 200 first-saved row → 409 naming both, a narrowing; the thread declares each FROM → TO)
    Metadata-protocol: to be declared by the thread from the diff (a refusal of a read that served before is narrowed, per review#1's ruling on #33121)
    Responsibility: the bare read of a name held only by stored rows of two or more served packages and shipped by none answers 409 with details.candidates, as /layers does, reusing #32354's row-aware served-holder judgment (now on main via #33130)
    Thread-read: 6866165511
    Premise: re-measured by the card thread on the merged head before any edit; premise_still_valid: false is a valid result
    Serial constraints cleared: #33130 merged (02f55c5d22), #33148 merged (89d7bef033); no other open PR of this seat touches protocol-exact-qualifier.ts (#33149 touches protocol-registry-hydration.ts only).

  16. objectstack-fleet commented on Nov 14, 2026

    @objectstack-fleet
    ContributorAuthor

    epic:#31527#2 · os-elon-musk · session_016WV4czBmkW6UeWPazkWq7L
    os-dev-report

    {
     "issue": 32607,
     "status": "done",
     "branch": "claude/project-thread-loearv",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/33182",
     "session": "session_016WV4czBmkW6UeWPazkWq7L",
     "premise_still_valid": true,
     "summary": "Resumed claude/project-thread-j3i5j5@d721d9a125 and merged origin/main 89d7bef033 once (3b9a447dc3), taking main's landed #33130/#33148 copies and dropping patch copy cb73bf6c; the diff vs main is the card's eight files. Premise re-measured on main: the bare read of two enabled row holders still answered by save order (runtime pins 4 red). The item face now refuses two or more served row holders of a name no enabled package ships at any member (409 RESOURCE_CONFLICT, details.candidates); /layers keeps the package-less writes' refusal via the A1 hand-over on both transports. The first dogfood battery caught an over-reach (email_template member read with a shipping base, three #28802 pins); abd91aad9e adds the shipped-name guard. Declared Metadata-protocol: narrowed (moved from the claim of record's none per review#1 on #33121): metadata-protocol minor, BREAKING, adr-0087 registered two-row-holders-bare-read-refused.",
     "tests": "metadata-protocol test on 5d3a6c757c: 337 files passed/7 skipped, 22803 tests passed/36 skipped, typecheck 0. On 3b9a447dc3: rest 409/409 files, 8358 passed/332 skipped; runtime 597/597 files, 10596 passed/19 skipped; typecheck metadata-protocol/rest/runtime/spec 0. Focused on abd91aad9e: runtime stack 22/22, REST doors+#28337 42/42, dogfood #28802 file 13/13. Ablation 1 (item-face option folded to false, rebuilt, dist marker 'refuseWithoutDisabled: false }' in 2 files): runtime 4 red/22, REST 6 red/39; restored, --absent clean. Ablation 2 (REST A1 hand-over -> throw, src import): 3 red/42; restored. Ablation 3 (shipped-name guard, marker __ABL32607B in 2 dist files): dogfood #28802 3 red/13; restored, --absent clean.",
     "gates": "dispatch-gates --commands: 95 derived vs merge base 89d7bef03; 94 exit 0; check:dual-build-cjs-loads exit 3 PREREQUISITE NOT MET (NOT MEASURED, CI). --ran: 95 accounted for, 94 run, 1 NOT-MEASURED. pnpm lint exit 0 on 5d3a6c757c. CI check-runs: in_progress at report time.",
     "dogfood_battery": "5d3a6c757c · VERDICT command-exit 0 · Test Files 462 passed, 3 skipped (465) · Tests 3905 passed, 42 skipped (3947) · no failure (first battery on 3b9a447dc3: 1 file / 3 tests red, fixed in abd91aad9e)",
     "mcp_calls": "3 — mcp__github__issue_read (get, get_comments on #32607); reads only",
     "api_writes": "4 — via fleet-write relay: POST comment #32607 (claim re-post 6866219396), pr_create #33182 (draft, assignee os-elon-musk), POST comment #33116 (review#1 ring 6868544976), POST comment #32607 (this report)",
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": [
      "carrier: #32662 · the paired customization address after a reboot follows the registry's one bare slot (noted, not filed)",
      "carrier: #32622 · details.candidates on /layers (noted, not filed)",
      "carrier: #32624 · REST /layers answers 200 for two registry holders, same chain, sequenced after this card (noted, not filed)"
     ]
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:devpathbugdomain:serverpm:dispatchedpriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions