events: metadata in headers, not the body (ADR 0047) #1
Closed
jschoubben
wants to merge 0 commits from
events/adr-0047-alignment into main
pull from: events/adr-0047-alignment
merge into: :main
:main
:fix/47-G-reader-release-2
:pre/registry-milestone
:feat/take-in
:fix/1748-retake-and-resolver
:feat/l3a-waits
:feat/774-bus-want
:fix/check-every-failure
:feat/l5-l7
:feat/judge-once-deletion
:feat/judge-once-pkgs
:fix/checker-full-failure
:fix/1126-held-tools
:fix/1126-924-held-and-judged
:fix/1126-held-contributes
:fix/check-names-every-conflict
:fix/check-speed-s2
:fix/1126-seed-differs
:fix/1126-seed-held
:feat/774-vault-mints-l2
:feat/1126-placement-seat
:feat/774-vault-mints
:feat/774-checker-seat
:vaultseat-next
:delivered-next
:l2-next
:fix/1945-adopt-hashes
:fix/1945-bus-composer
:fix/1945-optional-buckets
:feat/try-speed
:fix/1921-every-failure
:feat/r4g-finish-1935
:fix/r4e-shelf
:feat/r4e-sdk
:fix/r4e-narrow
:feat/r4c5-sdk
:fix/1656-xterm-config
:fix/1439-replay
:fix/1304-no-vendored-dependencies
:feat/chain-on-the-bus
No Reviewers
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
agent-ace
agent-g14
agent-novox
agent-shanks
jschoubben
mesh-tools
miel.truyen
nox-agent
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: novox/mesh-sdk#1
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Aligns the sdk event surface to ADR 0047's wire shape.
emitstamps the ADR 0047 headers (x-event-id, x-source, x-node, x-time, content-type; optional x-causation-id / x-schema) and publishes the body as only the domain payload.onreconstructs theEventfrom those headers.Eventgainsid(the x-event-id a consumer dedups on) and optionalcausationId/schema.EventHeadersjoins the contracts spine.Supersedes the first cut that carried source/node/time in the body. Tests assert ids are present, unique, and that the body stays pure payload (sdk suite 7/7).
Part of the ADR-0047 alignment across mesh-sdk / mesh-tools / mesh-catalog.
https://claude.ai/code/session_01LrgweAeERJYBg88c5cKDzF
Pull request closed