Treat every inbound webhook as hostile: verify, dedupe, ack fast, process async, re-read the truth
Guided views
Explore this system
Step through curated paths without changing the source diagram.
Beat
Next
ReadyChapter 01 / 01
Guided chapter
Diagram guideExplore this system
Inspecting compiled semantics
E ExportT ThemeS Style0 Reset+ Zoom in- Zoom outEsc Close
Find a node
⌕/
No matching nodes
Semantic passport
Verified source
Authored reach
Route probeChoose a start node
Pick two semantic nodes on the diagram
Choose the source, then the destination. Direction matters.
Semantic lensCompare system roles
Choose up to two semantic kinds. One reveals its real traffic; two compare only direct authored relationships.
Choose a kind to inspect its nodes and touching relationships.
Semantic radar
Building overview
Click nodeDrag to pan
Guard at the Edge
• Reject any event whose HMAC signature fails
• Check the dedupe store so replays are dropped once
• No business logic runs before both checks pass
Acknowledge, Then Work
• Return 200 fast so the rail stops retrying
• Hand the event to a durable queue, not the request thread
• The endpoint owns nothing slow
Trust the Source, Not the Payload
• The worker re-reads authoritative state from the rail API
• The webhook is only a hint that something changed
• Handlers apply idempotently so re-delivery is safe
Sequence diagram • Built with Archify • Create yours ↗ • Hover to trace • R route • Click to focus • +/− zoom • M radar • [/] views • P play story • T theme • E export