Skip to main content

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.

ADRTitleStatus
0001Customer Payments is a bounded context of the storefront domainAccepted (bootstrap). Design source: warehouse-docs storefront/model/model.yaml, context customer-payments.
0002customer-payments assumptionsAccepted (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.
0003CloudEvents envelope and type catalogueAccepted (2026-10-25).
0004Adopt the fleet observability standard (logs, metrics, traces)Accepted (2026-10-26).
0005A2A inbound adapterAccepted (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.
0006Adopt the fleet REST API guidelineAccepted (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.
0007Agent authority levels and complete MCP surfaceAccepted (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.
0008Every problem type has a replay class; a retryable refusal is not storedAccepted (2026-11-19). Narrows the "a 4xx is stored" sentence of ADR 0006; the fleet decision is the owner's of 2026-11-18.