Skip to main content

Architecture decision records

The decisions of last-mile-delivery, 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.

ADRTitleStatus
0001Last-Mile Delivery is a bounded context of the retail networkAccepted (bootstrap)
0002the DeliveryWave, Route, DeliveryServicePartner and PackageAttemptHistory aggregates, their invariants and the assumptions the model left openAccepted (2026-10-23)
0003consumed contracts, local read models and relationshipsAccepted (2026-10-23)
0004CloudEvents envelope and type catalogueAccepted (2026-10-23)
0005runtime, outbox, HTTP and readinessAccepted (2026-10-23)
0006a read-only MCP serverAccepted (2026-10-24)
0007a console web remoteAccepted (2026-10-24)
0008the fleet observability standard (logs, metrics, traces)Accepted (2026-10-26)
0009A2A inbound adapter (a read-only agent)Accepted (2026-10-29)
0010Adopt the fleet REST API guidelineAccepted (2026-11-01)
0011wave stop-cost declaration (cents, planner-declared, per-stop; F7 provider B)Accepted (2026-11-05)
0012analytics read side (projector, reports, separate analytical database; roadmap F9)Accepted (2026-11-09)
0013the day-of stop ETA window (StopEtaWindowAssigned at StartRoute, E3 KPI read side; roadmap E3 provider)Accepted (2026-11-11)
0014delivery-point profile (outcome detail, DeliveryPointProfile, DeliveryPointFlagged; roadmap C5)Accepted (2026-11-11)
0015carrier-area exclusion (delivery mode on the area read model, CARRIER_HANDOFF areas never induct; roadmap C4)Accepted (2026-11-13)
0016wave stop-emission declaration (gCo2e, planner-declared, per-stop; roadmap C9 provider)Accepted (2026-11-14)
0017return-pickup inductions (Induction.Kind, the COLLECTED outcome, PackagePickupOut; roadmap C8-LM, activation-gated)Accepted (2026-11-14)
0018the delivery-point flag names every package of a failed visit (refines ADR 0014)Accepted (2026-11-18)
0019idempotency replay classes (every problem type is FINAL, OUTCOME or RETRYABLE; a retryable refusal is not stored; supersedes the "4xx is stored" line of ADR 0010)Accepted (2026-11-20)