Architecture decision records
Short records of decisions that shaped the service: the context, the decision and the consequences. Add one when a choice would surprise the next developer. Copy the ADR template, number it, and merge it in the same PR as the change.
| # | Decision | Status |
|---|---|---|
| 0001 | Providers sit behind ports owned by the Application layer | Accepted |
| 0002 | Save documents before calling AvaTax, and never guess tax | Accepted |
| 0003 | Publish events through a transactional outbox | Accepted |
| 0004 | The first lock of the day fixes the rate for a pair | Accepted |
| 0005 | One image, Api and Worker roles | Accepted |
| 0006 | Three-layer documentation, enforced in the build | Accepted |
| 0007 | RabbitMQ stays; decide MassTransit's future by Q4 2026 | Accepted |
| 0008 | Park messages that can't be handled yet and redeliver them from Postgres | Accepted |
| 0009 | Every request, message and job runs as an explicit caller; no caller means no access | Accepted |