This project is a domain-driven design study. It is not associated with, endorsed by or affiliated with any company, and it uses no company's code, data, logos or trademarks. All names, figures and examples are illustrative or synthetic. · November 2026
Every quoted date rests on a feasible path with capacity held: a node cutoff, a departure, a delivery wave.
Which node fulfils an order is decided late, and the vendor's acceptance locks the path.
Measured node grades feed the next promise, so the network learns from what actually happened.
Agree to measure before adding features: extend analytics read sides to the seven contexts that have none.
The retail network is the part of a retail business between a shopper's click and their doorstep. It tells the shopper an arrival date, takes the order, picks which fulfilment node ships it, moves the parcel through sortation, linehaul and last mile, tracks it, and measures every node against what it declared. The warehouse fleet is one vendor of this network, not part of it.
Every context is built as a service on develop and wired into the reference cluster definition; the warehouse fleet plugs in as one vendor.
Only four contexts have an analytics read side, there are no report screens yet, and every REST and MCP endpoint is unauthenticated.
See a delivery date before buying and have it kept
delivery-promise quotes it; customer-ordering and shipping-and-tracking show status
Receive purchase orders, accept or refuse them, and ship with a label
vendor-connectivity, the Vendor API; the warehouse fleet is one such vendor
Get stock into the network in labelled cartons and see what was received
seller-inbound plans, labels and closes each inbound shipment
Declare nodes, lanes and cutoffs, and see how every node performs
node-topology, linehaul-transportation and node-performance
Know wave capacity, get routes for partners and record each attempt
last-mile-delivery waves, routes and delivery attempts
Offer quoted only from a feasible witness path: DeliveryOfferQuoted
Promise confirmed per group, then CustomerOrderPlaced
Queued group re-optimised, then FulfillmentReleasedToNode
Release becomes a purchase order the vendor must answer in full
Fleet WMS accepts; PurchaseOrderAccepted locks the path
Pickup at the node cutoff: LoadDeparted, then LoadArrived
Package inducted into a wave; route planned, attempts recorded
One timeline ends delivered, returned or lost: PackageDelivered
A shopper's order, promise to doorstep · press → to walk the story step by step · each chip is the bounded context that owns the step
A quote exists only if a real route does: a node cutoff, departures with room, a wave with stops left. Fast tiers never use guessed times.
Sourcing keeps each group queued and may pick a different node than the promise, if the date still holds. The vendor's acceptance locks it.
Nodes declare hours and cutoffs; node-performance grades them on facts, and the grade delays them or keeps them out of the fastest tiers.
Ship-to addresses stay in customer-ordering and shipping-and-tracking. Events carry only a postal prefix; vendors get a label, never an address.
Leader capabilities are public research and vendor-published material; gaps reflect repo docs reviewed in November 2026. Our judgement, not a certification.
Contexts keep local copies of sibling facts fed by events; the promise makes no synchronous call.
Topology owns nodes, linehaul owns departures, last mile owns waves; consumers conform and never write back.
Each context publishes REST plus CloudEvents on its own topics; no shared database between contexts.
Every event leaves through a transactional outbox, and every consumer dedupes on the CloudEvents id.
No network context reads a warehouse topic; the only door is the Vendor API, and identifiers are mapped, never parsed.
Quote, hold, place and source: the two Core contexts and their direct inputs
Where vendors and sellers reach the network and its purchase orders
Middle mile, last mile, labels and the package timeline
The registry of nodes and lanes, and the measured grades on every node
Node, lane and service-area events fill the promise's local views
Synchronous quote and confirm at checkout; promise facts return as events
A placed order queues each shipment group for sourcing
Releasing a group to a node becomes a purchase order for the vendor
The fleet side is Conformist behind an ACL; no Kafka topic is shared
Scorecards and tier eligibility feed the handicap and fast-tier filter
Departures and capacity changes feed the witness paths
At label time, a restricted call fetches the ship-to address
vendor-connectivitynetwork-fulfillment The fleet is one vendor: only network-fulfillment calls the Vendor API; no topic is shared and no address crosses.
customer-orderingdelivery-promisestorefront-bff The storefront consumes retailnetwork.* topics and calls the network's Open Host Service routes; PII stays here.
last-mile-deliveryshipping-and-tracking Carriers serve low-density areas through a handoff node; their tracking comes back inbound to the timeline.
Promising needs a fast local answer; assignment gains from waiting, so each gets its own model and owner.
Nodes declare a profile, node-performance grades them from facts, and the promise applies the grade.
The network cannot see a vendor's floor, so a fill-or-kill acceptance is the moment the node stops changing.
Only customer-ordering and shipping-and-tracking hold an address; the Vendor API returns a label and nothing else.
A separate com.retailnetwork namespace stops a fleet consumer from subscribing to a network topic.
Fast tiers need a scheduled path; capacity is held per node cutoff and provisional holds expire with checkout.
Each context ships REST, a read-only MCP server and a console remote behind the gateway.
Outbox out, idempotent in, on retailnetwork.* topics with no shared topic to the fleet.
Every context adopted it, plus an A2A inbound adapter and the REST API guideline.
model.yaml is the source; docs pages are generated and the build fails when they disagree.
Counted from the repositories (develop). REST and MCP endpoints are unauthenticated fleet-wide by decision: a known risk, not a capability.
Counted, not typed: contexts and decisions from the registry on develop, events and feature files from each context's verified profile. Highlighted = this ecosystem.
Every REST and MCP endpoint is unauthenticated; vendor ownership checks are consistency checks, not security.
No mitigation on the roadmap yet: this one needs an owner.
Core contexts read dozens of sibling event types; a payload change can silently stale a read model and misquote dates.
Model-checked docs in CI, and a proposed fleet-level game day for exhausted capacity books.
customer-ordering calls delivery-promise synchronously; an outage there stops order placement end to end.
Proposed: timeout budgets and a circuit breaker so checkout degrades predictably.
Only four contexts project analytics; seven have none, no report screens exist, and some analytics streams have no consumer.
The evolution research ranks the analytics read side first; no delivery date is set.
The network promises from a real path, assigns the node as late as it can, and grades every node on what happened.
| Context | Class | Out | In | ADRs | Doors |
|---|---|---|---|---|---|
| delivery-promise | Core | 12 | 43 | 25 | MCP · A2A |
| customer-ordering | Generic | 2 | 19 | 13 | MCP · A2A |
| order-sourcing | Core | 15 | 37 | 16 | MCP · A2A |
| offer-availability | Supporting | 9 | 7 | 14 | MCP · A2A |
| vendor-connectivity | Supporting | 11 | 14 | 13 | MCP · A2A |
| seller-inbound | Supporting | 10 | 11 | 14 | MCP · A2A |
| linehaul-transportation | Supporting | 10 | 13 | 13 | MCP · A2A |
| last-mile-delivery | Supporting | 11 | 13 | 12 | MCP · A2A |
| shipping-and-tracking | Generic | 9 | 14 | 12 | MCP · A2A |
| node-topology | Supporting | 10 | 0 | 15 | MCP · A2A |
| node-performance | Supporting | 3 | 15 | 13 | MCP · A2A |
Out / In = event types published / consumed (from each context's profile). Doors = MCP server and A2A agent. Links open the per-context executive briefing.