Architecture decision records
The decisions of customer-payments, 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 line.
| ADR | Title | Status |
|---|---|---|
| 0001 | Customer Payments is a bounded context of the storefront domain | Accepted (bootstrap). Design source: warehouse-docs storefront/model/model.yaml, context customer-payments. |
| 0002 | customer-payments assumptions | Accepted (2026-10-25). Where the frozen model and model-gap-decisions.md (H1-H12, S4) differ, the decisions win; everything else the model leaves open is recorded in the ADR. |
| 0003 | CloudEvents envelope and type catalogue | Accepted (2026-10-25). |
| 0004 | Adopt the fleet observability standard (logs, metrics, traces) | Accepted (2026-10-26). |
| 0005 | A2A inbound adapter | Accepted (2026-10-30). Follows ADR 0003 (CloudEvents on every Kafka message) and ADR 0004 (the shared telemetry contract); modelled on the read-only MCP adapter of this context. |
| 0006 | Adopt the fleet REST API guideline | Accepted (2026-11-01). Replaces the per-route Idempotency-Key store, the 422 answer for key reuse, the :void route and the bare list bodies of ADR 0002's contract. |
| 0007 | Agent authority levels and complete MCP surface | Accepted (2026-11-02). Every MCP tool and A2A skill declares one authority level (all L1: the surface is read-only); the MCP handler is stateless (2026-07-28 server/discover answered, legacy initialize unaffected); the MCP server gains one scoped resource and one operator SOP prompt. |
| 0008 | Every problem type has a replay class; a retryable refusal is not stored | Accepted (2026-11-19). Narrows the "a 4xx is stored" sentence of ADR 0006; the fleet decision is the owner's of 2026-11-18. |