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
A pallet's day runs from a booked door to a trailer that really left, through events between small contexts.
Work is released without waves and pulled by stations, so the floor follows the truck cutoff, not a batch.
The gaps are plain: no equipment control, no lot or serial traceability, and two chains not yet proven on the cluster.
Pick the next bet: prove the open chains on the cluster first, then lot traceability, then the equipment edge.
This is the warehouse itself: everything that gets goods through the building. The WMS side books the door, tracks the trailer, receives and stows stock, keeps every bin true, refills pick faces, handles returns and loads the outbound trailer. The WES side releases allocated orders in cutoff order, lets stations pull tasks, scores labor and opens an owned case when something goes wrong.
Stock, dock and yard, order release and floor tasks each live in their own context, joined by events on one broker.
The fleet's 'wes' label is wider than the industry's WES. There is no WCS, no lot or serial traceability, and every endpoint is open.
Know which truck is due, where it sits in the yard and what was counted against the notice.
dock-scheduling, yard-management and inbound-receiving, used from warehouse-floor-client.
Get the next job they are certified for, scan to confirm it, and not walk back empty.
fulfillment-execution pull dispatch, task-interleaving hints and warehouse-floor-client.
See where a path is short of people, decide the move, and own the problems that open.
workforce-management, labor-performance and exception-management, read in warehouse-console.
Trust every bin count, approve slot plans, and keep forward pick faces stocked.
inventory-storage, slotting-optimization and pick-face-replenishment.
Promise orders the floor can ship, and move stock between sites only after approval.
order-management, warehouse-planning, network-fulfillment and network-inventory-planning.
A door window is booked once; the yard records the gate arrival and the docking.
Cartons are counted against the ASN; good units leave as ReceiptLineReceived.
Item and bin are scanned into a free bin; hazmat rules checked, StockReceived raised.
An order reserves its stock or fails closed; OrderAllocated announces the demand.
Work leaves the pool earliest cutoff first, within a WIP limit: WorkReleased.
A station pulls a task under lease; TaskCompleted also feeds labor scoring.
ShipmentConfirmed only after TrailerDeparted; the network is told by hand today.
Missed cutoffs, diversions and short counts open cases with an owner and an SLA.
A pallet's day · press → to walk the story step by step · each chip is the bounded context that owns the step
Work is released one unit at a time by cutoff and pulled by stations under a lease, so stalled jobs return to the pool.
Chaotic storage with scan-checked stow and revocable reservations means every item has one bin or is flagged lost.
The yard is the only recorder of physical facts, and ship-confirm waits for the trailer's departure, not a button press.
Anomaly facts from six producers open cases with triage, assignment and an SLA clock; the producer's own state is never touched.
Leader capabilities are public research and vendor-published material; gaps reflect repo docs reviewed in November 2026. Our judgement, not a certification.
One database per context, plus an analytical one; no shared tables, no sibling imports. Cross-context facts are events or calls.
Every Kafka message is a CloudEvent, committed with the change through a transactional outbox before the relay sends it.
Hexagonal ports and adapters, and an architecture fitness test fails the build if an adapter reaches into the domain.
MCP tools and A2A skills declare an authority level; the ops agent is read-only apart from two human-confirmed act slices.
Core effort goes to stock, release, dispatch and planning; configuration, layout and labor standards stay Generic or Supporting.
Orders, the retail network, capacity and inter-site planning decide what to promise.
Releases work, dispatches tasks to stations and advises the next nearby task.
Keeps the stock ledger, the map, the SKU master and the reverse flow true.
Dock calendar, yard, slotting, pick-face refills and the outbound load.
Labor plans and scores, plus owned cases for anything that goes wrong.
OrderAllocated feeds the release pool; work planning reads it through its own translation layer.
WorkReleased becomes tasks; TaskCompleted flows back and closes the release loop.
Zone and slot events become a local copy, so stow is validated without a live call.
ProductClassified is copied locally by each consumer, applied only when the version is newer.
ReceiptLineReceived makes inventory-storage run its existing receive use case for good units.
Arrival, docking and door release are recorded only by the yard; the calendar follows (YD-0004).
PackageManifested is copied locally and starts the load plan for the trailer.
The retail network's vocabulary stops here; the rest of the fleet never sees it.
network-fulfillment The only fleet service that talks to the retail network, through its Vendor API, as an anti-corruption layer.
fulfillment-execution Equipment control (WCS) is not built; fulfillment-execution reserves an anti-corruption seam that nothing implements.
Release one unit at a time by cutoff instead of batching waves; the model the industry's WES layer emerged to serve.
Stations ask for the best-fit task; an unconfirmed claim expires back to the pool, so work cannot be stranded.
No WCS is built; the seam is reserved so equipment can be added without touching dispatch rules.
Items go to any free legal bin, tracked to the bin; reservations can be revoked so held stock is never lost.
Only the yard records arrival, docking and departure; the calendar and ship-confirm follow, so shipped means shipped.
Network demand, its acknowledgement clock and its vocabulary stay in one anti-corruption layer, not inside order-management.
Kong routes every context's API; warehouse-console and warehouse-floor-client sit in front.
CloudEvents on Kafka with an outbox per context; consumers dedupe and ignore unknown types.
Domain contexts expose read-only MCP tools; warehouse-ops-agent turns them into a daily brief.
Argo CD deploys to k3s; fitness tests and BDD gate CI; Prometheus, Grafana and Loki watch.
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.
Static bearer keys were adopted, then removed fleet-wide by decision; every REST and MCP call is unauthenticated.
Reachable only inside the cluster today; bringing auth back needs a new owner decision and an ADR.
With no WCS, release reacts to backlog and capacity, not to equipment state, and no robot or conveyor can be driven.
An anti-corruption seam is reserved in fulfillment-execution (ADR 0015); no adapter is built.
Replenishment and interleaving are built hop by hop but not traced on the cluster; the REPLENISH path is an operator seed.
Tracked as open rows in the fleet gap tracker; the next step is one real request through every hop.
Yard MCP, reports and sweeps are switched off on the cluster; several newer contexts emit no metrics or traces.
The infra switches are already built; each context's docs name a metrics registry as the next step.
The WMS keeps stock and transactions true; the WES decides when and where work runs, one unit at a time.
| Context | Class | Out | In | ADRs | Doors |
|---|---|---|---|---|---|
| order-management | Generic/Supporting | 5 | 4 | 51 | MCP · A2A |
| network-fulfillment | Supporting | 6 | 2 | 34 | MCP · A2A |
| network-inventory-planning | Core | 2 | 4 | 23 | MCP · A2A |
| warehouse-planning | Core | 5 | 5 | 20 | MCP · A2A |
| wes-work-planning | Core | 7 | 5 | 48 | MCP · A2A |
| fulfillment-execution | Core | 4 | 1 | 64 | MCP · A2A |
| process-path-management | Generic | 5 | 1 | 41 | MCP · A2A |
| task-interleaving | Supporting | 4 | 7 | 12 | MCP · A2A |
| inventory-storage | Core | 3 | 1 | 52 | MCP · A2A |
| facility-layout | Generic | 12 | 1 | 45 | MCP · A2A |
| product-master | Supporting | 9 | 1 | 14 | MCP · A2A |
| Context | Class | Out | In | ADRs | Doors |
|---|---|---|---|---|---|
| inbound-receiving | Supporting | 12 | 3 | 23 | MCP · A2A |
| returns-processing | Supporting | 7 | 4 | 10 | MCP · A2A |
| dock-scheduling | Supporting | 14 | 10 | 12 | MCP |
| yard-management | Supporting | 23 | 13 | 12 | MCP |
| slotting-optimization | Supporting | 4 | 5 | 15 | MCP · A2A |
| pick-face-replenishment | Supporting | 4 | 8 | 12 | MCP · A2A |
| outbound-shipping | Supporting | 13 | 9 | 7 | MCP |
| workforce-management | Supporting | 2 | 2 | 42 | MCP · A2A |
| labor-performance | Supporting | 3 | 1 | 37 | MCP · A2A |
| exception-management | Supporting | 7 | 17 | 11 | 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.