pi esc interrupt · / commands · ! bash
[Context]
AGENTS.md
[Skills]
grill-with-docs, datadog-inspector
[Prompts]
/code-summary
[Extensions]
plannotator
[Skills] grill-with-docs, datadog-inspector
[Prompts] /code-summary [Extensions] plannotator
Walk me through how a booking ends up as a confirmation email in the traveller's inbox. It crosses a few services, so show me each hop and every place we hand off to something we don't control.
Exploring the repository…
api → bookings → events → notifications → emailIntegration points:· payment provider (payments)· event bus (booking.confirmed)· mail provider (notifications)
Some confirmations never arrive. Find out why before changing anything.
The consumer acks the event before the email is sent. If the mail API times out, the event is gone. I'd add a retry.
A retry can send the same email twice. Make the send idempotent first, and prove it with a test.