3 patterns
Kicking off a follow-up action inside the same step as the change it depends on is a reliability bug waiting to happen.
3 patterns
These aren't chapter titles — each one is an enforced rule your AI builds against. And the patterns don't just teach the shape: the working examples are real code that lands in your project.
Receiving webhooks safely, without duplicate processing or lost failures
Firing internal events reliably without losing them mid-transaction
Adding a second vendor integration without rewriting the first one
One hiccup and the follow-up work silently never happens.