Architecture decision records
The decisions of returns-processing, in the order they were taken. The
ADR bodies are immutable; a changed decision gets a new ADR that supersedes
the old one. The Status column is copied from each ADR's own ## Status
section.
| ADR | Title | Status |
|---|---|---|
| 0001 | returns-processing as the owner of the reverse flow (RMA, return receipt, disposition) | Accepted (2026-10-20) |
| 0002 | the ReturnAuthorization, ReturnReceipt and Disposition aggregates, their invariants, and the DispositionPolicy as data | Accepted (2026-10-21) |
| 0003 | event-fed local copies and the consumed contracts | Accepted (2026-10-21) |
| 0004 | CloudEvents envelope and type catalogue | Accepted (2026-10-21) |
| 0005 | the transactional outbox and its relay — events leave through the outbox only | Accepted (2026-10-21) |
| 0006 | the console remote (returns_mfe) — a read-and-command screen over the existing REST | Accepted (2026-10-21) |
| 0007 | the analytics read side — own topic, own database, projector + reports | Accepted (2026-10-21) |
| 0008 | the A2A inbound adapter — a read-only Agent2Agent agent over the same read use cases | Accepted (2026-10-30) |
| 0009 | adopt the fleet REST API guideline — noun routes, idempotent POSTs with a 409 on key reuse, keyset paging | Accepted (2026-11-01); superseded in part by ADR 0011 |
| 0010 | agent authority levels and complete MCP surface — Agentic Standard v2 on the read-only MCP and A2A surfaces | Accepted (2026-11-02) |
| 0011 | adopt the fleet observability standard — OTLP traces and metrics, trace-correlated logs, one business counter | Accepted (2026-11-14) |
| 0012 | the network return-advices poller — the first vendor-connectivity seam, the advice view, receipts keyed by authorizationId, outcome submission | Accepted (2026-11-14) |
| 0013 | retry, under the same Idempotency-Key, the refusals the network releases (replay class RETRYABLE) — the outbound refusal table, bounded by a window | Accepted (2026-11-19) |