Repository navigation
Description
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
- Key the hydration's artifact lookup by (package, name). A row naming a holder takes that holder's envelope and lands in its slot only.
- Under two or more holders, a row naming no package or a non-holder lands in no holder's slot (ADR-0150 D4). It is reported, never grafted onto a holder picked for it.
- Two rows, each naming a holder, each land in their own slot.
- Make the census text say what is served.
- Consider
declinesBorrowedEnvelopein the same file, the list metadata-protocol: a published .custom override of a dashboard or report is registered in the registry's bare slot wearing the base's envelope (the #22057 guard spares only views) #29600, metadata-protocol: page, app, dataset, doc and book serve a published override only from the registry bare slot; build the row-served path, then take them out of it #29613 and Declared overrides: a mapping override publishes but is never served, doc and mapping overrides cannot be restored, and an override's label can be hidden by translation #30062 grew for this borrowed-envelope shape.
Acceptance
- Both registration orders, booted through
loadMetaFromDbwith a realSchemaRegistry. The harness ispackages/objectql/src/webhook-stored-row-boot-hydration.test.ts, added by PR feat(plugin-webhooks)!: declared webhooks are held per namespace, each holder dispatched and switched as its own (ADR-0150 child B, webhook family 2/3) #32577. - Cases: a package-less row, a stray-package row, and one row per holder. Each moved answer is a declared FROM → TO row, pinned, and red under ablation.
- CONTROLs: one holder, where a package-less row is the holder's (ADR-0150 D8); a row naming its holder, which lands in its own slot.
- Under two holders, the dispatcher sends nothing to a residue row's URL.
Order
- Server lane (epic-dispatched). Start after PR feat(plugin-webhooks)!: declared webhooks are held per namespace, each holder dispatched and switched as its own (ADR-0150 child B, webhook family 2/3) #32577 lands.
- This card blocks objectql: narrow the phase-1 one-holder refusal from environment to namespace for webhook, connector and email_template (ADR-0150 child B, webhook family) #31699's close-out, and lands before objectql: narrow the phase-1 one-holder refusal from environment to namespace for webhook, connector and email_template (ADR-0150 child B, webhook family) #31699's PR 3 (connector).
Activity
docs(plugin-webhooks): the changeset says what the protocol read, a r…
objectstack-fleet commentedon Nov 12, 2026
domain:server#4 · os-sales · session_01L6bhgWRcTEB3toGxnWvuvX
Scope note from the contract review of PR #32895 (card #31985,
toolbecomes 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 fortool(and, by the same code, for every slotted type). Suggest widening the acceptance to every package-slotted type, or at least addingtool, 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
objectstack-fleet commentedon Nov 13, 2026
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.
7f68e294, mergemainonce after feat(plugin-webhooks)!: declared webhooks are held per namespace, each holder dispatched and switched as its own (ADR-0150 child B, webhook family 2/3) #32577 lands (merge, never rebase), and open the PR only after that.objectstack-fleet commentedon Nov 13, 2026
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 ringNotify: unblocked · #32692on mailbox #32972 when #32577 lands.objectstack-fleet commentedon Nov 13, 2026
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#2and the wait for PR #32577 are unchanged.Generated by Claude Code
test(objectql): the webhook's package-less item is declined at each h…
objectstack-fleet commentedon Nov 13, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Unblocked →
pm:queue· 2026-11-13T06:48ZBlocked-by: #32577is closed (PR #32577 landed). The grade is unchanged (p2).Generated by Claude Code
6 remaining items
fix(objectql,metadata-protocol)!: a stored row bound to a package liv…
objectstack-fleet commentedon Nov 17, 2026
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-teslahas been idle since 11-13/11-14. The assignee moves fromos-teslatoos-stevein this stroke;pm:dispatchedstays.Half 1 landed in #33166 (
Part of); half 2 remains. Next holder: areao2-Iof this seat (same metadata-protocol files as its in-flight PRs, so it runs after them), which writes its own claim before any code.objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA
2026-11-17T07:26Z Premise corrected · scope narrowed on this card. Reading by area
o2-Ionorigin/maina34eb0716a(realSchemaRegistrythroughloadMetaFromDb, 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".
metadata_sealed_overlay_unservedstill prints "No read serves them — the package's own definition is served" and advises deleting the row. The census inprotocol-diff-delete-load.tsexcludes only.customdeclared overrides, not a row in its own package's slot.registry.tsnames 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.
objectstack-fleet commentedon Nov 17, 2026
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:queueand the assignee is cleared.Handover for the next holder:
maina34eb07 (seat premise correction 6941653928). The slot half is done: fix(metadata-protocol)!: a stored row bound to a package that holds none of its name, or a pair row of a two-holder name, is no longer laid into the first-registered holder's registry slot (ADR-0150 D4) #33166 and fix(objectql,metadata-protocol)!: a stored row bound to a package lives in that package's own registry slot, so each address serves its own row in every order (ADR-0150 D3/D4) #33513 put one row per holder in its own slot, in every registration and row order. A package-less or stray row under two holders lands in no slot, and the census names it.metadata_sealed_overlay_unserved(protocol-diff-delete-load.ts) prints "No read serves them — the package's own definition is served" for a row naming its own holder, which that holder's slot and exact read do serve. The census excludes only the.customdeclared override. Second, the registry'sCollisionline (registry.ts,registerItem) names the first-registered shipper for another holder's own-slot row, and says every read serves the stored row although the read naming no package refuses 409. Size S.Generated by Claude Code
objectstack-fleet commentedon Nov 18, 2026
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