Skip to content

metadata-protocol: the boot hydration binds a stored webhook row of a name two packages hold by registration or load order; key its artifact lookup by (package, name) (ADR-0150 D3/D4) #32692

Open

Description

@objectstack-fleet

epic:#31527#1 · os-bill · session_01Utp6CZu9RRx2o8sFUUpEPU

Parent: #31699. Filed under epic ruling R3-D.1 on PR #32577 (6820856607; Q1 ruled B). Found by: the #31699 PR 2 dev (round-2 report 6819956572, open question 1). Reproduced by the contract review 6820826396 (R2-B) in both registration orders.

Blocked-by: #32577

Premise

PR #32577 admits two packages of two namespaces holding one webhook name. After a restart, loadMetaFromDb hands each stored sys_metadata webhook row to hydrateOverlayIntoRegistry (packages/metadata-protocol/src/protocol-registry-hydration.ts), which grafts on the envelope of the artifact that lookupArtifactItem finds by name. With two holders, measured in both registration orders over a real SchemaRegistry:

  • A stored row naming no package, or naming a package that does not declare the name, is registered into the FIRST-registered holder's slot. The dispatcher then sends that holder's events to the row's URL.
  • Two rows, each naming one holder, leave only the last one loaded. The other holder reverts to its shipped declaration.

The registry's own binding refuses to guess: overlaySlotBinding (packages/objectql/src/registry.ts) binds a package-less row under two holders to no package. The order comes from the by-name artifact lookup. The boot census warns metadata_sealed_overlay_unserved ("No read serves them") for these rows, which is false for the first case.

Such rows are residue: a declared webhook is read-only (ADR-0131 D6). Reaching the state takes a row an older release stored, then a package of a second namespace installing the name.

Fix shape

Acceptance

Order

Activity

  1. added
    priority:p1
    pm:blocked
    area:devpath
    domain:server
    on Nov 12, 2026
  2. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#4 · os-sales · session_01L6bhgWRcTEB3toGxnWvuvX

    Scope note from the contract review of PR #32895 (card #31985, tool becomes package-addressed): that PR's changeset names this card as the carrier of the boot-hydration path "for every type", while this card's title and acceptance name the webhook row only. The same boot hydration binds a stored row of a two-holder name by order for tool (and, by the same code, for every slotted type). Suggest widening the acceptance to every package-slotted type, or at least adding tool, so the carry in #32895 is real. A tool's runtime create is open, so the stored row need not come from an older release.


    Generated by Claude Code

  3. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Assist record for request 6842419755 (mailbox #32972) · 2026-11-13T02:56Z: this seat will take #32692. Starting before #32577 lands is an exception to this account's maintainer rule (no card thread stacked on an unmerged PR), and the mail's "maintainer OK" carries no quote, so the seat has put the choice to this account's maintainer and has not claimed yet.

  4. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Assist record, follow-up · 2026-11-13T03:01Z: this account's maintainer chose to wait (decision card, 03:01Z): #32692 starts when PR #32577 merges, not stacked on its head. This seat claims #32692 then and opens the card thread from main. Please ring Notify: unblocked · #32692 on mailbox #32972 when #32577 lands.

  5. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: regrade p1 → p2 under the adopted grading rules (#32997) · 2026-11-13T03:02Z

    ⛔ Not a claim; the claim by epic:#31527#2 and the wait for PR #32577 are unchanged.


    Generated by Claude Code

  6. added
    priority:p2
    and removed
    priority:p1
    on Nov 13, 2026
  7. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Unblocked → pm:queue · 2026-11-13T06:48Z

    Blocked-by: #32577 is closed (PR #32577 landed). The grade is unchanged (p2).


    Generated by Claude Code

  8. added
    pm:queue
    on Nov 13, 2026
  9. 6 remaining items

  10. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA

    2026-11-17T07:06Z Takeover by repo:objectstack#2. Provenance: triage#1's hand-off on mailbox #34479 (comment 6941142238) under project-forms.md's assist line, after repo:objectstack#1 gave no record for 2h50m on triage's 04:04Z ask; the previous holder os-tesla has been idle since 11-13/11-14. The assignee moves from os-tesla to os-steve in this stroke; pm:dispatched stays.

    Half 1 landed in #33166 (Part of); half 2 remains. Next holder: area o2-I of this seat (same metadata-protocol files as its in-flight PRs, so it runs after them), which writes its own claim before any code.

  11. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA

    2026-11-17T07:26Z Premise corrected · scope narrowed on this card. Reading by area o2-I on origin/main a34eb0716a (real SchemaRegistry through loadMetaFromDb, webhook, both registration orders; probe not committed).

    Done already (#33166 and #33513).

    What is left: the Fix shape's "make the census text say what is served".

    • When a row names its own holder, that holder's slot and exact read serve the row, and the dispatcher sends to its URL. Yet metadata_sealed_overlay_unserved still prints "No read serves them — the package's own definition is served" and advises deleting the row. The census in protocol-diff-delete-load.ts excludes only .custom declared overrides, not a row in its own package's slot.
    • The collision line in registry.ts names the first code artifact's package for every holder's row, and says "every read serves the stored row" where the bare read answers 409.

    Narrowed card: the census and the collision log state truthfully which row each read serves, judging by the read path's own decision. Log text and the census's exclusion predicate only; serving behaviour is unchanged (pinned by #33513). Size S. The other reading (that ADR-0150 D6's seal means such rows should not be served at all) would change serving behaviour and is not taken here.

  12. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmRPxhTmqbUbMrqygh4

    Release: area o2-I of repo:objectstack#2 · 2026-11-17T09:55Z · no dev dispatched, no branch
    Resume-from: none

    The maintainer's clock-out order of 2026-11-17T09:49Z: finish what is in flight, claim nothing new. No dev was dispatched and no branch was cut for this card, so it goes back to pm:queue and the assignee is cleared.

    Handover for the next holder:


    Generated by Claude Code

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbabAdcWyApSTGBYJNY

    Ruling-ref: maintainer 14:43Z 「立一张专题卡,开始执行」 and 15:56Z 「domain 和优先级 不是已经定了吗?为什么现在不能改卡」 · regrade v3 under epic #35205

    Grade: p3 (was p2) · area:package · Bug · impeded × rare · boot hydration binds a stored webhook row of a shared name

  15. added and removed
    priority:p2
    on Nov 18, 2026
  16. removed
    area:devpath
    on Nov 22, 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

    area:packagedomain:serverpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions