~/writing
Saga Pattern
3 posts tagged saga-pattern. clear filter
October 2026
- 13Sagas for agent runs
How to treat a multi-step coding agent run as a distributed transaction: pair each tool with a compensation, log every intent before the call runs, hold irreversible calls in an outbox until the run succeeds, and send corrections to the people who saw a change that got reverted.
- 5The Saga Patternday 21 · One Concept a Day — The AI-Era Engineer's Glossary
You'll learn how to spot when a saga across services is actually hiding a bad bounded-context split, and how to test whether a given saga is justified or just compensating for a broken service boundary.
September 2026
- 17How a reasoning agent breaks saga idempotency and refunds twiceday 13 · Distributed Systems in 30 Days
The bug wasn't a hallucination and it wasn't sloppy prompting — it was a structural gap between what the agent believed about the saga's state and what was actually true, and no amount of better prompting closes that gap.