Architecture Decision Records
Domain ADRs
All nine are Proposed (the status in each ADR body). All twelve context
repositories exist and are built on develop: 0001 to 0008 are realized by
the ten contexts other than seller-inbound and customer-returns, 0009 by seller-inbound and 0012 by
customer-returns; the ADR 0001 of each of those two takes this model
as its design source. Each repository carries its own ADR sequence on top of
these domain-level decisions (below). An ADR becomes Accepted when the user
accepts it.
| ADR | Decision | Status |
|---|
| 0001 | The retail network is its own domain of ten bounded contexts | Proposed |
| 0002 | Promise and order assignment are separate contexts | Proposed |
| 0003 | Capability is declared and measured | Proposed |
| 0004 | Parcel nodes are network-operated | Proposed |
| 0005 | The vendor node's acceptance is the path lock | Proposed |
| 0006 | PII is confined to customer-ordering and shipping-and-tracking | Proposed |
| 0007 | CloudEvents namespace com.retailnetwork, no shared topic | Proposed |
| 0008 | Fast tiers are never promised from nominal times, and capacity is held at promise time | Proposed |
| 0009 | Seller inbound and case-packed shipments: SSCC cartons, owner-segregated stock, eaches as the ledger unit | Proposed |
| 0010 | Carrier handoff delivery for low-density service areas (amends 0004) | Accepted |
| 0011 | Pickup points and lockers (extends 0004) | Accepted |
| 0012 | Customer returns is a bounded context | Accepted (2026-11-14) |
Service ADRs (one sequence per context repository)
Each of the twelve context repositories records its own decisions on top of
the domain-level ones above: 218 ADRs on develop as of 2026-12-02. They are
linked, never copied; the Status column is the word from each ADR's own
status line. Since the fleet observability standard (accepted 2026-10-26),
every repository added an A2A inbound adapter and adopted the fleet REST API
guideline, and seven (node-topology, offer-availability, delivery-promise,
customer-ordering, vendor-connectivity, seller-inbound,
customer-returns) also record agent authority levels and the complete MCP
surface (2026-11-02). The
network evolution wave 0 (2026-11-08/09) added the owner-aware sourcing and
promise ADRs (gap G47), seller status and received stock as integration facts
(G48, G51), fulfillment centres receiving inbound (G64), batch delivery
estimates (G60) and the analytics read sides of four contexts. Wave 1
(2026-11-09) added the fast-tier eligibility decision of node-performance
and the four promise-quality ADRs of delivery-promise: calibrated quotes
with a confidence, a sweep that flags promises whose load is running late, a
fast-tier candidate filter on node eligibility, and a capacity band on offers. Wave 2 (2026-11-09/10) added the versioned
sourcing policy of order-sourcing (cross-region surcharge and a regional budget,
refining gap G26), cross-order consolidation (a consolidation key in
customer-ordering, carrier and follower merge at release in order-sourcing, the
purchase-order cancel of vendor-connectivity, the follower lock of
linehaul-transportation, and one tracking number shared by several assignments or
groups in delivery-promise and customer-ordering) and the opt-in CONSOLIDATED
tier with a customer-chosen delivery day (delivery-promise, customer-ordering,
order-sourcing). Wave 3 (2026-11-11/12) added the day-of stop ETA window of
last-mile-delivery and its relay onto the journey (shipping-and-tracking)
and the tracking view (customer-ordering), and the delivery-point profile
with its flag, relay and shopper advisory across the same three contexts.
linehaul-transportation ADR 0013 (a direct-lane advisory) is
Proposed on a feature branch only and not on develop, so the sequence there
jumps from 0012 to 0014. customer-returns ADR 0007 is not on develop either,
so the sequence there jumps from 0006 to 0008.
node-topology
| ADR | Decision | Status |
|---|
| 0001 | Node Topology is a bounded context of the retail network | Accepted |
| 0002 | The Node, Lane, ServiceArea and Region aggregates, their invariants and the assumptions the model left open | Accepted |
| 0003 | No consumed contracts, Open Host Service reads, outbox publishing and versioned profile revisions | Accepted |
| 0004 | CloudEvents envelope and type catalogue | Accepted |
| 0005 | The outbox relay, its attempt cap and the CloudEvents encoders | Accepted |
| 0006 | The HTTP adapter, Idempotency-Key, problem types and readiness | Accepted |
| 0007 | Inbound limits on the operational profile | Accepted |
| 0008 | A read-only MCP server | Accepted |
| 0009 | A web console remote | Accepted |
| 0010 | Adopt the fleet observability standard (logs, metrics, traces) | Accepted |
| 0011 | An A2A inbound adapter | Accepted |
| 0012 | Adopt the fleet REST API guideline | Accepted |
| 0013 | Agent authority levels and the complete MCP surface | Accepted |
| 0014 | Lane cost declaration (cents, planner-declared) | Accepted |
| 0015 | Fulfillment centres receive inbound | Accepted |
| 0016 | Service-area delivery mode and declared carrier options | Accepted |
| 0017 | Pickup points and their serving delivery station | Accepted |
| 0018 | Lane emission declaration (gCo2e, planner-declared) | Accepted |
| 0019 | Inbound monthly volume limit (dm3, node-declared) | Accepted |
| 0020 | Every problem type has a replay class; a retryable refusal is not stored under its Idempotency-Key | Accepted |
offer-availability
| ADR | Decision | Status |
|---|
| 0001 | Offer & Availability is a bounded context of the retail network | Accepted |
| 0002 | The CatalogItem, Listing and InventoryFeed aggregates, the NodeStatusView, their invariants and the assumptions the model left open | Accepted |
| 0003 | Consumed contracts, the local node status read model and the relationships of offer-availability | Accepted |
| 0004 | CloudEvents envelope and type catalogue | Accepted |
| 0005 | Runtime: outbox relay cap, consumer dead letters, retention janitor and the FAILED feed | Accepted |
| 0006 | Catalogue GTIN and packaging hierarchy, and the optional owner of a listing | Accepted |
| 0007 | A read-only MCP server | Accepted |
| 0008 | The console remote (offer_availability_mfe) — read-only screens over the existing REST | Accepted |
| 0009 | Adopt the fleet observability standard (logs, metrics, traces) | Accepted |
| 0010 | An A2A inbound adapter | Accepted |
| 0011 | Adopt the fleet REST API guideline | Accepted |
| 0012 | Agent authority levels and the complete MCP surface | Accepted |
| 0013 | Seller status and received stock drive owner listings | Accepted |
| 0014 | Received stock creates owner listings | Accepted |
| 0015 | Return completions restock owner listings | Accepted |
| 0016 | Every problem type has an idempotency replay class | Accepted |
delivery-promise
| ADR | Decision | Status |
|---|
| 0001 | Delivery Promise is a bounded context of the retail network | Accepted |
| 0002 | Aggregates, invariants and the assumptions the model left open | Accepted |
| 0003 | Consumed contracts, local read models and relationships | Accepted |
| 0004 | CloudEvents envelope and type catalogue | Accepted |
| 0005 | The outbox relay, its attempt cap and the CloudEvents encoder | Accepted |
| 0006 | The HTTP adapter, the consumer, the sweeper and readiness | Accepted |
| 0007 | A read-only MCP server | Accepted |
| 0008 | A warehouse-console web remote | Accepted |
| 0009 | Adopt the fleet observability standard (logs, metrics, traces) | Accepted |
| 0010 | An A2A inbound adapter | Accepted |
| 0011 | The delivery window names its local time zone | Accepted |
| 0012 | Adopt the fleet REST API guideline | Accepted |
| 0013 | Agent authority levels and the complete MCP surface | Accepted |
| 0014 | Measured-transit promising (basis MEASURED) | Accepted |
| 0015 | Confirmed units stay decremented until the feed that accounts for them lands | Accepted |
| 0016 | The PromiseBook charge follows the node order-sourcing locks | Accepted |
| 0017 | Owner-aware availability and promise netting | Accepted |
| 0018 | Analytics read side | Accepted |
| 0019 | Batch delivery estimates for listing pages | Accepted |
| 0020 | Promise calibration from the service's own judgement | Accepted |
| 0021 | A sweep flags promises whose locked path is running late | Accepted |
| 0022 | Fast-tier candidates are filtered on node eligibility | Accepted |
| 0023 | Offers carry a capacity band | Accepted |
| 0024 | An opt-in CONSOLIDATED tier with a customer-chosen delivery day | Accepted |
| 0025 | A tracking number may belong to several assignments | Accepted |
| 0026 | A carrier-handoff service area is promised without a delivery wave | Accepted |
| 0027 | A pickup point as the quoted destination | Accepted |
| 0028 | Out-of-order capacity and scorecard facts never overwrite a newer one | Accepted |
| 0029 | Node status and listing suppression follow "newer time wins", and a retired node is terminal | Accepted |
| 0030 | Promise coverage per region in the quote-conversion report | Accepted |
| 0031 | Every problem type has a replay class; a retryable refusal is not stored under its Idempotency-Key | Accepted |
| 0032 | Request-level promise coverage from a best-effort fact | Accepted |
customer-ordering
| ADR | Decision | Status |
|---|
| 0001 | Customer Ordering is a bounded context of the retail network | Accepted |
| 0002 | The CustomerOrder and Shopper aggregates, their invariants and the assumptions the model left open | Accepted |
| 0003 | Consumed contracts, local read models and relationships | Accepted |
| 0004 | CloudEvents envelope and type catalogue | Accepted |
| 0005 | A read-only MCP server | Accepted |
| 0006 | The console remote (customer_ordering_mfe) — a read-only screen over the existing REST | Accepted |
| 0007 | Adopt the fleet observability standard (logs, metrics, traces) | Accepted |
| 0008 | An A2A inbound adapter | Accepted |
| 0009 | The delivery window carries its local time zone | Accepted |
| 0010 | Adopt the fleet REST API guideline | Accepted |
| 0011 | Agent authority levels and the complete MCP surface | Accepted |
| 0012 | The consolidation key and shared tracking numbers | Accepted |
| 0013 | The CONSOLIDATED tier and the stored chosen delivery day | Accepted |
| 0014 | The day-of ETA window on the tracking view | Accepted |
| 0015 | The delivery-point advisory on the tracking view | Accepted |
| 0016 | Checkout to a pickup point | Accepted |
| 0017 | The notification policy and ShopperNoticeDecided | Accepted |
| 0018 | Analytics read side | Accepted |
| 0019 | Every problem type has a replay class; a retryable refusal is not stored | Accepted |
order-sourcing
| ADR | Decision | Status |
|---|
| 0001 | Order Sourcing is a bounded context of the retail network | Accepted |
| 0002 | The FulfillmentAssignment aggregate, its invariants and the assumptions the model left open | Accepted |
| 0003 | Consumed contracts, local read models and relationships | Accepted |
| 0004 | CloudEvents envelope and type catalogue | Accepted |
| 0005 | Outbox relay, attempt cap, queue sweep and shutdown order | Accepted |
| 0006 | A read-only MCP server | Accepted |
| 0007 | A web console remote | Accepted |
| 0008 | Adopt the fleet observability standard (logs, metrics, traces) | Accepted |
| 0009 | An A2A inbound adapter (read-only) | Accepted |
| 0010 | Adopt the fleet REST API guideline | Accepted |
| 0011 | The money-denominated AssignmentCost | Accepted |
| 0012 | Owner-aware availability and sourcing | Accepted |
| 0013 | Analytics read side and the sourcing-decision fact | Accepted |
| 0014 | A versioned sourcing policy | Accepted |
| 0015 | Carrier and follower consolidation at release | Accepted |
| 0016 | The CONSOLIDATED delivery day, search window and latest-pickup hold | Accepted |
| 0017 | The carbon estimate of a released path (planner-declared gCO2e, ranking unchanged) | Accepted |
| 0018 | The split-shipment rate on the sourcing-mix report | Accepted |
| 0019 | Every problem type has a replay class; a retryable refusal is not stored under its Idempotency-Key | Accepted |
vendor-connectivity
| ADR | Decision | Status |
|---|
| 0001 | Vendor Connectivity is a bounded context of the retail network | Accepted |
| 0002 | The VendorAccount, PurchaseOrder and Submission aggregates, their invariants and the assumptions the model left open | Accepted |
| 0003 | Consumed contracts, local read models, synchronous calls and relationships | Accepted |
| 0004 | CloudEvents envelope and type catalogue | Accepted |
| 0005 | Inbound shipments, inbound receipts and catalogue packaging | Accepted |
| 0006 | A read-only MCP server | Accepted |
| 0007 | A warehouse-console remote (web MFE) | Accepted |
| 0008 | Adopt the fleet observability standard (logs, metrics, traces) | Accepted |
| 0009 | An A2A inbound adapter (a read-only third driving adapter) | Accepted |
| 0010 | Adopt the fleet REST API guideline | Accepted |
| 0011 | Agent authority levels and the complete MCP surface | Accepted |
| 0012 | Purchase-order lines name the stock owner | Accepted |
| 0013 | Cancel the purchase order when a release is withdrawn | Accepted |
| 0014 | Return advices and return outcomes | Accepted |
| 0015 | Every problem type has a replay class; a retryable refusal is not stored under the Idempotency-Key | Accepted |
| 0016 | Retry the refusals a callee releases under its Idempotency-Key (the consumer half of the replay-class rule) | Accepted |
linehaul-transportation
| ADR | Decision | Status |
|---|
| 0001 | Linehaul Transportation is a bounded context of the retail network | Accepted |
| 0002 | The Departure, LaneSchedule and Load aggregates, their invariants and the assumptions the model left open | Accepted |
| 0003 | Consumed contracts, local read models and relationships | Accepted |
| 0004 | CloudEvents envelope and type catalogue | Accepted |
| 0005 | The outbox relay, its attempt cap and the CloudEvents encoder | Accepted |
| 0006 | The HTTP adapter, Idempotency-Key, problem types and readiness | Accepted |
| 0007 | The Kafka consumers, the inbox and the dead letters | Accepted |
| 0008 | A read-only MCP server | Accepted |
| 0009 | The console remote (linehaul_mfe) — a read-only screen over the existing REST | Accepted |
| 0010 | Adopt the fleet observability standard (logs, metrics, traces) | Accepted |
| 0011 | An A2A inbound adapter | Accepted |
| 0012 | Adopt the fleet REST API guideline | Accepted |
| 0014 | A follower lock books nothing | Accepted |
| 0015 | Every problem type has a replay class; a retryable refusal is not stored under its Idempotency-Key | Accepted |
last-mile-delivery
| ADR | Decision | Status |
|---|
| 0001 | Last-Mile Delivery is a bounded context of the retail network | Accepted |
| 0002 | The DeliveryWave, Route, DeliveryServicePartner and PackageAttemptHistory aggregates, their invariants and the assumptions the model left open | Accepted |
| 0003 | Consumed contracts, local read models and relationships | Accepted |
| 0004 | CloudEvents envelope and type catalogue | Accepted |
| 0005 | Runtime, outbox, HTTP and readiness | Accepted |
| 0006 | A read-only MCP server | Accepted |
| 0007 | A console web remote | Accepted |
| 0008 | Adopt the fleet observability standard (logs, metrics, traces) | Accepted |
| 0009 | An A2A inbound adapter (a read-only agent) | Accepted |
| 0010 | Adopt the fleet REST API guideline | Accepted |
| 0011 | Wave stop-cost declaration (cents, planner-declared) | Accepted |
| 0012 | Analytics read side | Accepted |
| 0013 | The day-of stop ETA window (StopEtaWindowAssigned at StartRoute) | Accepted |
| 0014 | The delivery-point profile (outcome detail, DeliveryPointFlagged) | Accepted |
| 0015 | Carrier-area exclusion (the last mile refuses CARRIER_HANDOFF areas) | Accepted |
| 0016 | Wave stop-emission declaration (gCo2e, planner-declared) | Accepted |
| 0017 | Return-pickup inductions (Induction.Kind, COLLECTED, PackagePickupOut) | Accepted |
| 0018 | The delivery-point flag names every package of a failed visit (refines ADR 0014) | Accepted |
| 0019 | Idempotency replay classes — a retryable refusal is not stored | Accepted |
shipping-and-tracking
| ADR | Decision | Status |
|---|
| 0001 | Shipping & Tracking is a bounded context of the retail network | Accepted |
| 0002 | The ShippingLabel and PackageJourney aggregates, their invariants and the assumptions the model left open | Accepted |
| 0003 | Consumed contracts, local read models, relationships and the one synchronous call | Accepted |
| 0004 | CloudEvents envelope and type catalogue | Accepted |
| 0005 | Runtime: configuration, periodic jobs, retention of the technical tables | Accepted |
| 0006 | A read-only MCP server | Accepted |
| 0007 | The console remote (shipping_mfe) — a read-only screen over the existing REST | Accepted |
| 0008 | Adopt the fleet observability standard (logs, metrics, traces) | Accepted |
| 0009 | An A2A inbound adapter | Accepted |
| 0010 | Adopt the fleet REST API guideline | Accepted |
| 0011 | Label-time address deliverability check | Accepted |
| 0012 | Analytics read side | Accepted |
| 0013 | The day-of ETA window on the journey | Accepted |
| 0014 | Relay the delivery-point flag by orderId | Accepted |
| 0015 | Carrier handoff and the external carrier webhook (C4) | Accepted |
| 0016 | Pickup collection - deposit, collect and the uncollected hold | Accepted |
| 0017 | Reverse labels for customer returns (C8) | Accepted |
| 0018 | The label owner derives the return destination prefix from the destination node | Accepted |
| 0019 | The delivery station of an area is kept and published as the destination station of LabelIssued | Accepted |
| 0020 | Every problem type has a replay class; the not-stored list becomes the class | Accepted |
| ADR | Decision | Status |
|---|
| 0001 | Node Performance is a bounded context of the retail network | Accepted |
| 0002 | The NodeScorecard aggregate, its invariants and the assumptions the model left open | Accepted |
| 0003 | Consumed contracts, local facts, relationships and recompute | Accepted |
| 0004 | CloudEvents envelope and type catalogue | Accepted |
| 0005 | The outbox relay, its attempt cap and the CloudEvents encoder | Accepted |
| 0006 | The HTTP adapter, the consumers' failure policy, readiness and shutdown | Accepted |
| 0007 | A read-only MCP server | Accepted |
| 0008 | A web console remote | Accepted |
| 0009 | Inbound timeliness and accuracy, two informational scorecard metrics | Accepted |
| 0010 | Adopt the fleet observability standard (logs, metrics, traces) | Accepted |
| 0011 | An A2A inbound adapter | Accepted |
| 0012 | Adopt the fleet REST API guideline | Accepted |
| 0013 | Fast-tier eligibility from the 7-day window | Accepted |
seller-inbound
| ADR | Decision | Status |
|---|
| 0001 | Seller Inbound is a bounded context of the retail network | Accepted |
| 0002 | SellerAccount, InboundPlan and InboundShipment: aggregates, invariants and the assumptions the model left open | Accepted |
| 0003 | Consumed contracts and local read models | Accepted |
| 0004 | CloudEvents envelope and type catalogue | Accepted |
| 0005 | Seller compliance scorecard (informational) | Accepted |
| 0006 | A read-only MCP server | Accepted |
| 0007 | A web console remote | Accepted |
| 0008 | Adopt the fleet observability standard (logs, metrics, traces) | Accepted |
| 0009 | An A2A inbound adapter | Accepted |
| 0010 | Adopt the fleet REST API guideline | Accepted |
| 0011 | Agent authority levels and the complete MCP surface | Accepted |
| 0012 | The placement advisory (PlacementPlan) | Accepted |
| 0013 | Seller status is an integration fact | Accepted |
| 0014 | Received stock is published per item | Accepted |
| 0015 | Inbound capacity allocation and placement options | Accepted |
| 0016 | Start the order-sourcing consumer | Accepted |
| 0017 | Analytics read side | Accepted |
| 0018 | Every problem type has a replay class; a retryable refusal is not stored | Accepted |
customer-returns
| ADR | Decision | Status |
|---|
| 0001 | Customer Returns is a bounded context of the retail network | Accepted |
| 0002 | ReturnAuthorization: aggregate, invariants and the assumptions the model left open | Accepted |
| 0003 | Consumed contracts and local read models | Accepted |
| 0004 | CloudEvents envelope and type catalogue | Accepted |
| 0005 | The reverse-label route: the one in-org call | Accepted |
| 0006 | A read-only MCP server | Accepted |
| 0008 | Adopt the fleet observability standard (logs, metrics, traces) | Accepted |
| 0009 | A2A inbound adapter | Accepted |
| 0010 | Adopt the fleet REST API guideline | Accepted |
| 0011 | Agent authority levels and complete MCP surface | Accepted |
| 0012 | Analytics read side and return-rate facts | Accepted |
| 0013 | Every problem type has a replay class; a retryable refusal is not stored | Accepted |