Architecture decision records
The decisions of linehaul-transportation, 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 | Linehaul Transportation is a bounded context of the retail network | Accepted (bootstrap) |
| 0002 | the Departure, LaneSchedule and Load aggregates, their invariants and the assumptions the model left open | Accepted (2026-10-23) |
| 0003 | consumed contracts, local read models and relationships | Accepted (2026-10-23) |
| 0004 | CloudEvents envelope and type catalogue | Accepted (2026-10-23) |
| 0005 | the outbox relay, its attempt cap and the CloudEvents encoder | Accepted (2026-10-23) |
| 0006 | the HTTP adapter, Idempotency-Key, problem types and readiness | Accepted (2026-10-23) |
| 0007 | the Kafka consumers, the inbox and the dead letters | Accepted (2026-10-23) |
| 0008 | a read-only MCP server | Accepted (2026-10-24) |
| 0009 | the console remote (linehaul_mfe) — a read-only screen over the existing REST | Accepted (2026-10-24) |
| 0010 | the fleet observability standard: trace-correlated logs, OTLP metrics and traces, the linehaul.loads.dispatched counter | Accepted (2026-10-26) |
| 0011 | the A2A inbound adapter: a read-only Agent2Agent agent over the departure reads | Accepted (2026-10-30) |
| 0012 | adopt the fleet REST API guideline: noun routes, global Idempotency-Key with 409 reuse, keyset paging | Accepted (2026-11-01) |
| 0014 | a follower lock books nothing: one merged package books one package | Accepted (2026-11-10) |
| 0015 | every problem type has a replay class; a retryable refusal is not stored under its Idempotency-Key | Accepted (2026-11-20) |