Big Picture EventStorming
This page is a fleet-level Big Picture EventStorming in the notation of the ddd-crew EventStorming glossary and cheat sheet. It lays the order-to-ship timeline across all bounded contexts on one wall. It was reconstructed from the code-grounded artifacts each context publishes, not from a workshop. Each context's own design-level EventStorming page has the detail, and the pages are linked at the end.
Every orange sticky is a real domain event: it appears in a synced
apis/<context>/asyncapi.yaml or on that context's Domain Events page.
Every hotspot is a gap that is already documented somewhere, and the
hotspot table cites the source for each one.
Nothing on this page is a guess. outbound-shipping (released v0.1.0, registered in
warehouse-infra, not applied) is drawn in the timeline overview and in
Phase 4, from its synced
asyncapi.yaml. Four other recent contexts,
inbound-receiving (before the first stow), slotting-optimization
(beside the order-to-ship line), pick-face-replenishment (keeping the
forward faces stocked) and task-interleaving (hinting the next nearby task
at a station), have their own phase,
Phase 0b, drawn from
their synced asyncapi.yaml files.
Legend
| Sticky | Colour | Meaning here |
|---|---|---|
| Domain Event | orange #f6a04d | A fact a context publishes, named in the past tense, for example WorkReleased |
| Pivotal Event | orange, thick black border | A fact that hands the timeline from one phase to the next |
| Command | blue #4aa3df | A request to change state: a REST write, an MCP write tool or a network port call |
| Policy | lilac #c39bd3 | "Whenever X happens, do Y". These are reactions wired in code. |
| Read Model | green #7dcea0 | Data a person or policy reads to decide, often a local cache fed by events |
| External System | salmon #f1948a | Something outside the fleet's contexts: the retail network, an external scheduler |
| Actor | yellow #fff176 | A person or role who issues a command |
| Hotspot | red #e74c3c | A documented gap, numbered H1 and up and sourced in the table below |
How to read this page
- Time flows left to right. Each diagram is one phase of the timeline. The overview strings the pivotal events together.
- Swimlanes are bounded contexts. Each boxed lane holds the stickies owned by one context. An arrow that crosses lanes is an integration. It is a Kafka event, or a synchronous call where the label says so.
- Pivotal events have a thick border. They mark the hand-offs: receipt line received, slot plan approved, shift plan committed, demand accepted, work released, work completed, package manifested and shipment confirmed.
- Hotspots hang off the sticky they concern with a dotted line. Their number points to the source in the table.
- Analytics-only events, such as
OrderReceivedorTaskCreated, are still domain events. They are drawn where they belong in time, even though no sibling consumes them. The Domain Message Flows page states which topic carries each event and who consumes it. warehouse-ops-agenthas no lane. It publishes and consumes no events and issues no commands. It only queries the other contexts over MCP and REST.
Timeline overview
Solid arrows are the causal order of the happy path. Dotted arrows are
feedback and read-model feeds. PathCapacityChanged, CPTScheduleChanged
and published shortages are cached locally by order-management, and its
promise and order view read from those caches. TaskPerformanceRecorded
reaches the next staffing proposal. Product Classified feeds the local
classification copies that stow, order intake, release and package sealing
read (product-master ADR 0003). Receipt Line Received is the inbound
handover that inventory-storage books as Stock Received before the stow
(see Phase 0b, which
also draws slotting-optimization). The FE4 to NF3 arrow is dotted on
purpose. No event or call links a manifested package to the network order,
and an operator closes the loop by hand (hotspot H26). outbound-shipping
is the context that would close it: it plans a load from PackageManifested
(dotted, because the producer omits site_id today and a manifest without it
plans nothing, H45) and raises ShipmentConfirmed on the trailer's physical
departure, but it is registered in infra and not applied (H43), and
network-fulfillment has no handler for the event (H44).
Sources: event names from every apis/*/asyncapi.yaml. Causal order from
the per-context Domain Message Flow
pages, joined on Domain Message Flows.
Phase 0: the building, the catalogue and the standards
Reference data has to exist before the first order arrives. Facility structure, product master data, process paths and CPT schedules, labor standards and stock on the shelves are all set up in this phase.
Sources: facility-layout flows 1 and 3, process-path-management flows 1 to 3, labor-performance flow 2, inventory-storage flow 3, product-master domain message flow.
Phase 0b: inbound receiving and forward-pick slotting
Two wms contexts work beside the order-to-ship line. inbound-receiving
covers everything before the first stow: an ASN announces a delivery, a dock
appointment books a door, and a receipt counts the delivery line by line. Its
Receipt Line Received is the handover that inventory-storage books as
received stock. slotting-optimization decides which SKUs deserve a forward
pick slot from local copies of demand, product facts and slots, and a human
approves the plan. Every event below is a message in the context's synced
apis/<context>/asyncapi.yaml. Beyond the plan decision, the diagram follows
an approved plan to the floor: wes-work-planning plans one RELOCATE work
unit per move, fulfillment-execution runs the task, inventory-storage
moves the stock and raises Stock Relocated, and slotting-optimization
turns that into the plan's execution progress.
Dock Appointment Completed is raised by Close Receipt for a receipt opened
from an appointment. inventory-storage books only Good quantities from
Receipt Line Received and logs Damaged lines without booking them (its ADR
0037). Slot Plan Approved carries the full forward-slot map and the moves
(Assign, Relocate, Vacate); approving supersedes the site's previous
Approved plan, which raises no event of its own.
Sources: inbound-receiving domain message flow,
inbound-receiving EventStorming,
slotting-optimization domain message flow,
slotting-optimization EventStorming,
and the two contexts' apis/<context>/asyncapi.yaml.
Replenishment of the forward faces
pick-face-replenishment (the sixth wms context, built on develop, not
deployed) keeps the faces that slotting-optimization assigned stocked. A
planner declares a min/max policy per site and SKU. From local copies of bin
levels, the forward map and the layout, a detector raises a
Replenishment Requested when a face's projected level reaches its minimum,
choosing the fullest reserve bin. A planner can also sweep a site or ask for
a request by hand, and a request is cancelled by a planner, by a newer
approved slot plan that drops the assignment, or by removing the policy. It
is completed only by inventory-storage's Stock Relocated with reason
REPLENISHMENT. wes-work-planning turns each request into one REPLENISH
work unit (its ADR 0042, opt-in; REPLENISHMENT_MODE=kafka is set in the reference
deployment), so the loop is complete on develop (H40, resolved) and the
context runs in the reference cluster (H39, resolved). No request has been traced
through the whole loop on the cluster yet.
Sources: pick-face-replenishment domain message flow,
pick-face-replenishment EventStorming,
its apis/pick-face-replenishment/asyncapi.yaml and the fleet
context map (K39, K40 and K42 to K44, all live since the 2026-10-20/21 deploy).
Task interleaving at the station
task-interleaving (a wes context, deployed in the reference cluster since 2026-10-20/21) listens
to the task lifecycle of fulfillment-execution and the geometry of
facility-layout. Task Available and Task Claimed keep a copy of the
open-task pool (announced for RELOCATE and REPLENISH tasks only), and a
Task Completed moves the station to where the task ended. If the site has
declared an interleaving policy, a rule then ranks the open tasks by detour and
issues an Interleaving Hint Issued with up to five candidates. The hint is
Consumed when the station claims a candidate before it expires, Expired
otherwise, and is only advice: claimNext stays the one claim path. Thick
arrows are consumed by running instances in the reference cluster (H41 and
H42, resolved); the dashed arrow is the claim of a candidate, drawn as a
reading of Task Claimed.
Sources: task-interleaving domain message flow,
task-interleaving EventStorming,
its apis/task-interleaving/asyncapi.yaml and the fleet
context map (K41 and K45 to K47).
Phase 1: demand intake and allocation
Two entry points converge on OrderAllocated. A direct customer order
allocates and releases at once. A network purchase order is held until the
network confirms our acceptance.
The held order publishes OrderAllocated twice. The first one, at intake,
carries no released lines. The second one follows Release Held Order and
carries the released lines that wes-work-planning schedules.
Sources: network-fulfillment flows 1 and 2, network-fulfillment EventStorming, order-management flows 1 and 2, order-management EventStorming, inventory-storage flows 1 and 2.
Phase 2: staffing, capacity planning and release
Released lines become work units. Each shift's staffing and planned capacity set how much work the floor can absorb, and the release policy admits work continuously, without waves.
order-management is drawn as an external box here only to keep the
lane count readable. It is the Phase 1 lane. Usable Inventory Observed
is fed by Stock Reserved and Reservation Revoked from Phase 1.
Path Capacity Changed also reaches network-fulfillment's capability
offer.
Sources: workforce-management flows 1 and 2, workforce-management EventStorming, warehouse-planning flows 1 and 2, wes-work-planning scenarios 1 to 3, wes-work-planning EventStorming.
Phase 3: execution on the floor
Work Released becomes a task that a station pulls. Completing the task
closes the WIP loop and scores the associate. The last rebin arrival
creates the pack task, and SLAM ends in a manifested package.
Item Picked and Stock Picked are drawn unconnected on purpose. Item Picked
is never raised (H18). Stock Picked is raised by inventory-storage's confirm-pick
consumer on an order's last completed PICK (ADR 0035), but that consumer is off by
default, so the live flow does not yet trigger it.
Sources: fulfillment-execution scenarios 1 and 2, fulfillment-execution EventStorming, labor-performance flow 1, labor-performance EventStorming, inventory-storage EventStorming.
Phase 4: ship, close and the exception loop
A manifested package, or a missed CPT, re-promises the order line. The
network order is closed by an explicit shipment confirmation. Overdue
acknowledgements are reported and then refused. outbound-shipping, released
(v0.1.0), registered in infra and not applied, owns what is loaded on which trailer: it raises
ShipmentConfirmed only on the physical departure the yard reports, and flags
every package a departing trailer left behind as PackageMissedLoad.
network-fulfillment's two deadline passes run on their own tickers. Its
capability offer is computed from Phase 2's Path Capacity Changed, the
CPT schedule and usable stock, and in live mode each pass is fed to the
network as one inventory feed per site (H30, resolved).
Sources: outbound-shipping Domain Events and Async API, order-management flow 3, fulfillment-execution scenario 3, network-fulfillment flows 1, 3 and 4, network-fulfillment EventStorming.
Hotspots and their sources
Every hotspot comes from one of three places. It is either a hotspot already on a context's own EventStorming page, or a "wired but unused" edge on a context map, or an entry in the docs-agents' spec/code discrepancy log from the 2026-10-05 sync. That log is not published on this site, and the corroborating context page is linked instead.
| # | Context | Hotspot | Source |
|---|---|---|---|
| H1 | inventory-storage | The binary default LOCATION_LOOKUP_MODE=permissive enforces no placement rule | inventory-storage EventStorming H3. Discrepancy log. Decided 2026-10-06: kept (cold-cache safety; kafka injected in the cluster). |
| H2 | inventory-storage | A bin id is never validated against facility-layout's slot catalogue | inventory-storage EventStorming H1 |
| H3 | facility-layout | No use case decommissions a Site, Zone or Aisle, or sets UnderMaintenance | facility-layout EventStorming H1 |
| process-path-management | path-referenced-by-cpt-schedule (ADR 0026). | process-path-management ADR 0026 | |
| H5 | process-path-management | A CPT schedule's siteId is never validated (ADR 0010) | process-path-management EventStorming, Hotspots |
| network-fulfillment | NetworkOrderAcknowledged fires at SUBMITTED, before reconciliationNetworkOrderSubmitted now announces SUBMITTED; NetworkOrderAcknowledged (v2) fires only on settle (ADR 0016). | network-fulfillment EventStorming | |
| network-fulfillment | SUBMITTED to ACKNOWLEDGEDNetworkOrderAcknowledged v2 (ADR 0016). | network-fulfillment EventStorming | |
| H8 | network-fulfillment | A crash after raising the hold leaves a NEW order with no localOrderId | network-fulfillment EventStorming, sticky inventory |
| order-management | SweepOrphanedHolds (ADR 0024, on by default): an order-management hold nobody decided, or whose cancel was never confirmed, is cancelled and reported as OrphanedHoldCancelled. | order-management EventStorming H3 | |
| order-management | OrderLineReleased and OrderReleased are never raised | order-management EventStorming | |
| H11 | inventory-storage | No background sweeper. An unread, expired reservation keeps its stock until the next read. | inventory-storage EventStorming H5 Decided 2026-10-06: kept (lazy expiry, ADR 0003). |
| H12 | wes-work-planning | UsableInventoryObserved is projected but feeds no decision | wes-work-planning EventStorming, Hotspots. Discrepancy log. Decided 2026-10-06: kept read-only (ADR 0006). |
| wes-work-planning | ConfigurePool command (PUT /paths/{pathId}/pool) now does (ADR 0034). | wes-work-planning EventStorming | |
| H14 | wes-work-planning | PathPlanDriftDetected has no consumer | wes-work-planning EventStorming, Hotspots. wes-work-planning context map ("published but unconsumed"). |
| H15 | warehouse-planning | BottleneckDetected has no consumer | warehouse-planning EventStorming. order-management flow 4. |
| workforce-management | MeanActualSeconds, a duration, where a per-head rate is expected | workforce-management Ubiquitous Language | |
| H17 | fulfillment-execution | A claim does not require a station check-in | fulfillment-execution EventStorming |
| H18 | fulfillment-execution | ItemPicked is defined but never raised | fulfillment-execution EventStorming |
| inventory-storage | POST /reservations/{id}/pick-confirmationsTaskCompleted.order_ref (inventory-storage ADR 0035, fulfillment-execution ADR 0040), and since ADR 0036 per picked line. It is off by default in the binary and on (taskCompletedConsumerMode: kafka) in the reference deployment, where it also applies RELOCATE moves (K37). | inventory-storage EventStorming | |
| H20 | fulfillment-execution | Rebin events never leave the process | fulfillment-execution EventStorming |
| H21 | fulfillment-execution | The sort lane is decided, but no WCS acts on it | fulfillment-execution EventStorming |
| H22 | labor-performance | REBIN and other unknown task types are never scored | labor-performance EventStorming |
| fulfillment-execution | expire-leases or sweep-cpt-misses | fulfillment-execution EventStorming | |
| H24 | fulfillment-execution | TaskCPTMissed re-fires on every sweep pass | fulfillment-execution EventStorming |
| order-management | OrderRepromisedexception-management consumes it to auto-resolve TaskCPTMissed cases (context map K58, group exception-management-order-correlation), wired in warehouse-infra develop. | order-management EventStorming H5. order-management context map. Decided 2026-10-12: kept unconsumed (it carries no new cutoff instant; warehouse-planning ADR 0004, ecosystem gaps tracker E4). | |
| H26 | network-fulfillment | No persisted WorkUnitId-to-NetworkRef mapping, so shipment confirmation is an explicit call (ADR 0014). outbound-shipping's ShipmentConfirmed is meant to replace the call (its ADR 0004), but network-fulfillment has no consumer of it yet (H44) | network-fulfillment EventStorming, section 3 |
| network-fulfillment | confirm-before-acknowledge (ADR 0015). | network-fulfillment EventStorming | |
| H28 | network-fulfillment | AcknowledgementDeadlineAtRisk fires only after the deadline, while ADR 0001 says "approaching" | network-fulfillment EventStorming, sticky inventory |
| network-fulfillment | warehouse.network-fulfillment.events is wired but unused: no consumer in the fleetexception-management consumes AcknowledgementDeadlineAtRisk and OrphanedHoldCancelled (context map K57). The five NetworkOrder* types keep no consumer by decision (K19). | network-fulfillment context map | |
| network-fulfillment | SubmitAvailability is unused.SubmitInventoryFeed, which replaced SubmitAvailability; ADR 0027, network-fulfillment#123). | network-fulfillment EventStorming, section 4 | |
| workforce-management | INSTALLED_CAPACITY_MODE=permissive rejects every shift-plan commitINSTALLED_CAPACITY_MODE=http and the fulfillment-execution base URL by default (workforce-management#164); the binary default stays permissive for local runs. | workforce-management EventStorming. Ecosystem gaps tracker 10b. | |
| fulfillment-execution | apis/openapi.yaml expands CPT as "Committed Processing Time" | fulfillment-execution Ubiquitous Language | |
| H33 | product-master | A SKU classified moments before its first stow may reach a consumer's local copy late | product-master EventStorming (product-master ADR 0001, Consequences) |
| product-master | ProductDimensionsDeclared, ProductMeasured)slotting-optimization consumes both into its product copy (PRODUCT_MODE=kafka) and warehouse-infra develop deploys it (K25, H38) | product-master EventStorming (ADR 0002, "later phases"), slotting-optimization context map | |
| inbound-receiving | DockAppointmentBooked has no consumer: inbound-labor demand in warehouse-planning is planned, not built (K28)develop, deployed 2026-10-20/21. warehouse-planning ADR 0017 (warehouse-planning#79) consumes DockAppointmentBooked and DockAppointmentCancelled into a local read model and prices them with a declared labour standard. The source later moved to dock-scheduling (warehouse-planning ADR 0020) and the four dockappointment types were retired in inbound-receiving (ADR 0022, 2026-11-10). | inbound-receiving context map, row 4 | |
| slotting-optimization | SlotPlanApproved has no consumer: executing the moves as MOVE and REPLENISH work is planned, not built (K29)wes-work-planning ADR 0040 plans one work unit per move, fulfillment-execution ADR 0047 runs the task, inventory-storage ADR 0039 moves the stock and raises StockRelocated, which slotting-optimization records as the plan's execution progress (K29, K37, K38). | slotting-optimization context map, domain events | |
| slotting-optimization | warehouse-infra wiring, so its three local copies are not fed in the reference clusterdevelop. warehouse-infra#75 registers it (database, Kong route, ArgoCD application) and helm-values/slotting-optimization.yaml turns on EVENT_PUBLISHER=kafka and the four consumers (the three local copies and RELOCATION_MODE). It runs once warehouse-infra is applied, and the RELOCATE process path must be seeded first. | slotting-optimization Business Context, ecosystem gaps tracker 6 | |
| pick-face-replenishment | warehouse-infra develop has no database, Kong route, ArgoCD application, values file or dashboard for it.warehouse-infra#116 registered it and #121 added its MCP server, analytics and web remote; the ArgoCD application is Synced and Healthy with five pods, and its inputs K39, K40, K42 and K43 are consumed by a running instance. Still open: its cmd/api emits no metrics or traces. | pick-face-replenishment Business Context, Runbook (deployment status) | |
| pick-face-replenishment | ReplenishmentRequesteddevelop. wes-work-planning ADR 0042 plans one REPLENISH work unit per request (consumer internal/adapters/inbound/kafka/replenishment_consumer.go, opt-in REPLENISHMENT_MODE=kafka) and process-path-management ADR 0036 declares the REPLENISH path; fulfillment-execution ADR 0050 and inventory-storage ADR 0040 and 0041 were already built. K44 is live since the 2026-10-20/21 deploy (REPLENISHMENT_MODE=kafka is set and pick-face-replenishment runs, H39). | pick-face-replenishment context map, Async API | |
| task-interleaving | warehouse-infra develop has no database, Kong route, ArgoCD application, values file or dashboard for it.cmd/api emits no metrics or traces. | task-interleaving Business Context, Runbook (deployment status) | |
| task-interleaving | fulfillment-execution has no consumer of InterleavingHintIssued, no hint table and no claimNext tie-break (K47)develop, deployed 2026-10-20/21. fulfillment-execution ADR 0051 (fulfillment-execution#224) stores one active hint per station and uses it as a tie-break inside one claimNext priority band. | task-interleaving context map, Async API | |
| product-master | inventory-storage backfill and the legacy ProductClassified type (product-master ADR 0003 index: "importer removed at stage E (2026-10-17)"). | product-master EventStorming (ADR 0003, stage E) | |
| H43 | outbound-shipping | Released as v0.1.0 (2026-11-11), chart merged, registered and image-pinned in warehouse-infra develop (PR 205: terraform/apps.yaml entry, helm-values/outbound-shipping.yaml with one API replica, MCP off and no relay deployment, dashboards, alert rules, image 857edfd-arm64), applied to k3s on 2026-11-12: one api replica at 857edfd runs (read-only kubectl, 2026-11-13), so loads are planned and confirmed; seven edges are live (the five inbound feeds, the analytics fold, exception-management) and three are not (order-management's consumer dark, network-fulfillment's running image predates its consumer, yard-management's handler unbuilt) | outbound-shipping Async API, Context Map K67 to K75 |
| H44 | outbound-shipping | The two consumers its ADRs name for ShipmentConfirmed (network-fulfillment, ADR 0004) and for LoadingStarted, LoadClosed, LoadReopened (yard-management, ADR 0005) have no handler on their develop; the asyncapi marks the three yard-bound types pending | outbound-shipping Async API, Context Map K74 and K75 |
| H45 | fulfillment-execution | PackageManifested omits site_id today (no source in the order-work chain yet), and outbound-shipping ignores a manifest without it, so no load is planned from a manifest even when both ends run | outbound-shipping Business Context, outbound-shipping ADR 0003, Context Map K67 |
Other wired-but-unused edges are not drawn, because they sit outside
the order-to-ship timeline. They are warehouse-ops-agent's MCP clients
for process-path-management and order-management, warehouse-planning's
get_capacity_plan, get_storage_capacity and list_station_standards
tools, and workforce-management's REST client to labor-performance.
They are listed on the
warehouse-ops-agent,
warehouse-planning and
workforce-management context
maps.
Per-context EventStorming
Each context's design-level EventStorming has its aggregates, the full sticky inventory and the code evidence:
network-inventory-planning's inter-warehouse transfer flow is not one of the five
phases above, which follow a customer order from intake to shipment. It has its
own design-level board, linked in the last row: facts from facility-layout,
order-management and warehouse-planning feed a fail-closed snapshot, an operator
approval starts a saga that reserves stock in inventory-storage, and the floor facts
from fulfillment-execution carry it to the destination stow. Its hotspots are on
that page and in the Context Map (K30 to K36).