Design for retries
Define ownership of data, version API contracts and record an idempotency key for operations that can arrive twice.
Who it fits
For products that need secure data flows and maintainable services.
Typical scope
Python and Node APIs, PostgreSQL, role permissions, queues and third party integration. List the source of truth for each field and agree how to recover after a partial failure.
Technologies and delivery
API contracts, PostgreSQL, Python or Node services, queues and external integrations. Provide example requests, error contracts and recovery steps for delayed or failed jobs.
Security considerations
Verify authorization at the record boundary and validate external data before storing it.
What happens when a provider sends the same update twice?
Assign a stable identity to the operation and test delivery twice. The second request should retrieve its receipt or safely reuse the first result.

