Skip to main content

Context Map

This is the fleet-wide ddd-crew Context Map of the twenty contexts documented on this site: nineteen domain bounded contexts plus warehouse-ops-agent, which is every backend service in the fleet. product-master, decided on 2026-10-06, and its four ProductClassified consumers are merged and run in the reference deployment (K20, deployed 2026-10-07). inbound-receiving and slotting-optimization, decided on 2026-10-08, are the fourth and fifth wms contexts, and both are built. inbound-receiving runs in the reference deployment: its local copies, the ReceiptLineReceived handover to inventory-storage and the agent's MCP client are live (K22 to K24, A13). slotting-optimization is registered in warehouse-infra develop (values file, Kong route, ArgoCD application), so its three local-copy edges are live (K25 to K27). Its slot-plan execution chain is built in the five contexts it touches (slotting-optimization, process-path-management, wes-work-planning, fulfillment-execution, inventory-storage) and wired in warehouse-infra, so it is live too: SlotPlanApproved to wes-work-planning (K29), the RELOCATE TaskCompleted from fulfillment-execution to inventory-storage (K37) and StockRelocated back to slotting-optimization (K38). Of the two edges that needed a consumer-side ADR first, K28 (inbound-receiving to warehouse-planning) was live: warehouse-planning ADR 0017 (merged 2026-10-20, deployed 2026-10-20/21) consumed the dock-appointment events until ADR 0020 (2026-11-05) moved its source to dock-scheduling (now wired-but-unused), and the same ADR adds K49, the observed-capacity feedback from fulfillment-execution.

pick-face-replenishment (wms, Supporting), decided and merged on 2026-10-17, is the sixth wms context and is documented on this site. Its service is built and, since 2026-10-20/21, deployed in the reference cluster (ArgoCD application pick-face-replenishment, with MCP, analytics and web remote; warehouse-infra#116 and #121). Its four inbound edges (K39 and K40, plus K42 and K43) are live, and so is its outbound edge K44 (ReplenishmentRequested into wes-work-planning): the whole replenishment chain is built, hop by hop. wes-work-planning ADR 0042 consumes the request and plans a REPLENISH work unit (REPLENISHMENT_MODE=kafka is set in warehouse-infra), process-path-management ADR 0036 declares the REPLENISH path (created by seed_catalogue.py, an operator step), fulfillment-execution ADR 0050 runs the task and inventory-storage ADR 0041 records the move. No replenishment request has been traced through all five hops on the cluster yet.

task-interleaving (wes, Supporting) merged its service on develop on 2026-10-17 (REST API, Postgres, outbox publisher, two consumers, hint-expiry worker), is documented on this site and, since 2026-10-20/21, deployed in the reference cluster (ArgoCD application task-interleaving, with MCP, analytics and web remote). Its three inbound edges (K41, K45 and K46) are live. Its one outbound edge K47 (InterleavingHintIssued into fulfillment-execution) is live too: fulfillment-execution ADR 0051 (fulfillment-execution#224) consumes the hint as a tie-break inside one claimNext priority band, and TASK_INTERLEAVING_MODE=kafka is set in warehouse-infra. network-inventory-planning (NIP) plans and orchestrates inter-warehouse transfers; its edges are K30 to K36 and A15 below.

returns-processing (wms, Supporting) and exception-management (wes, Supporting), decided 2026-10-20 and merged on develop 2026-10-20/21 (each with a service PR #2 and a packaging + read-only-MCP PR #3), are the newest contexts. Both are registered in warehouse-infra develop since 2026-10-22 (terraform/apps.yaml, their consumer groups pinned in their value files), and the code on both ends is built: their three and six inbound consumers, inventory-storage ADR 0044 (the ReturnLineStaged handover into the staged-receipt seam), and — promoted onto their producers' integration topics on 2026-10-21 — PackageDiverted and WeightDiscrepancyDetected (fulfillment-execution) and DiscrepancyDetected and ItemUnlocated (inventory-storage). Their edges are K50 to K59, all live, plus the two dashed planned edges K60 and K61. exception-management ships the full ddd-crew pack and returns-processing part of it (no context map page yet), so the source for the returns-processing rows is its ADR 0001's context map plus the code on develop.

outbound-shipping (wms, Supporting), decided 2026-11-05 and built on develop by 2026-11-09, is the newest context: trailer load planning, staging, loading, the bill of lading and the ship-confirm on the trailer's physical departure. It is released as v0.1.0 (2026-11-11), its Helm chart is merged, and it is registered and image-pinned in warehouse-infra develop (PR 205: a terraform/apps.yaml entry, helm-values/outbound-shipping.yaml, dashboards, alert rules and the 857edfd-arm64 pin), and it is applied to the k3s cluster (2026-11-12): one api replica runs at 857edfd-arm64, the Argo CD application is Synced/Healthy (read-only kubectl, re-read 2026-11-13). Its nine edges are K67 to K75. Seven are live (the five inbound feeds, its own analytics fold and exception-management's consumer); K72 is wired-but-unused and K75 absent-planned; K74 went live on 2026-11-14 (see its row); each row states the producer's code, the consumer's code and the infrastructure as separate facts, and the infrastructure fact is split in three: wired in infra (a consumer group is set), the other end running in the cluster, and both ends running.

K62 to K66 close a numbering gap: other pages cite K62 (the product-master pack-level edges) and K66 (the carton-discrepancy feed into exception-management), and until 2026-11-10 this table had no such rows. K62 and K66 are live, and K63 to K65 are the three yard-section edges into exception-management and inbound-receiving that were missing too: they were wired-but-unused until dock-scheduling and yard-management were applied to the cluster (2026-11-10, v0.1.2). They are live now: registered in warehouse-infra develop (#193) and applied, with both ends running (read-only kubectl, 2026-11-10). K76 (yard-management → inbound-receiving, VisitCheckedIn) was added the same day.

Each context's repository has its own context map, synced to this site and grounded in that repo's code. This page puts those maps together. Where two contexts' maps describe the same edge differently, this page checked the code and the reference deployment (warehouse-infra on develop) and records the difference under Where the per-context maps disagree.

Per-context maps (the source for every row below): order-management · inventory-storage · wes-work-planning · fulfillment-execution · workforce-management · facility-layout · process-path-management · labor-performance · warehouse-ops-agent · network-fulfillment · warehouse-planning · product-master · network-inventory-planning · inbound-receiving · slotting-optimization · pick-face-replenishment · task-interleaving · outbound-shipping

Pattern legend: U/D upstream/downstream · OHS Open Host Service · PL Published Language · CF Conformist · ACL Anti-Corruption Layer · C/S Customer/Supplier · SW Separate Ways. No Partnership and no Shared Kernel exist anywhere in the fleet. Every context is its own Go module, no context imports a sibling's types, and every per-context map says so.

Status legend:

  • live: real producer and real consumer (or a real client calling a real endpoint), switched on in the reference deployment.
  • wired-but-unused: the code exists on both sides, but nothing exercises it today. Either the client sits behind a flag the reference deployment leaves off, or it is a rollback path, or a publisher has no consumer, or a client is built but no use case calls it.
  • absent-planned: a relationship the domain needs or an ADR names, with no wire yet. One end may exist (K47: the publisher is built, but the consumer an ADR names is not), but a leg stays absent-planned while the code of either end is missing.
  • deliberately absent: no relationship, by decision (Separate Ways).
  • retired: the code for the edge was removed and the consumer rejects the old mode at boot; the row stays for traceability.

Many consumers ship with a permissive / file / log binary default and are switched on per deployment. When a per-context page calls an edge "opt-in", this page marks it live if the reference deployment switches it on (warehouse-infra terraform/locals.tf sync_edge_env, terraform/services.tf, helm-values/*.yaml) and wired-but-unused if it does not.

The whole map​

Arrows point from upstream to downstream, the direction the model flows. That is not always the direction of the network call. For example, order-management calls POST /reservations, but it is downstream of inventory-storage.

How to read it. Thick arrows are live Kafka edges (CloudEvents 1.0 structured mode on one shared broker). Thin solid arrows are live synchronous REST or MCP reads. Every REST and MCP surface in the fleet is unauthenticated. Dotted arrows are wired-but-unused or absent-planned, as the table states. The four thick product-master edges are K20; the migration-only legacy import K21 was removed at stage E and is no longer drawn. The thin product-master → warehouse-ops-agent edge is A12. The seven thick network-inventory-planning edges are K30 to K36; the thin one to the agent is A15. The three thick inbound-receiving edges are K22 to K24 and its thin one to the agent is A13. The three thick edges into slotting-optimization are K25 to K27 and its execution chain is the thick K29, K37 and K38 (the wes-work-planning → fulfillment-execution hop is K11). The thick edges K39 to K47 belong to pick-face-replenishment and task-interleaving (merged on develop 2026-10-17, deployed 2026-10-20/21; K44 is the replenishment chain, built end to end, K47 is fulfillment-execution's hint consumer). K49 is the thick edge into warehouse-planning from fulfillment-execution; K28 (inbound labour demand, source switched to dock-scheduling by warehouse-planning ADR 0020) is dashed. The dashed K48 is the opt-in WorkUnitCreated release confirmation into order-management (wired-but-unused). The twelve edges K50 to K61 belong to returns-processing and exception-management (merged on develop 2026-10-20/21, registered in warehouse-infra develop 2026-10-22): K50 to K59 are thick and live — the code on both ends is built, including inventory-storage ADR 0044 and the four 2026-10-21 producer promotions — and the dashed K60 and K61 (PathUnderstaffed, TransferStuckDetected) are absent-planned: their producers publish them on analytics topics only, so no consumer can exist yet. The seven thick pack-level edges from product-master are K62 (one row, seven consumers). K66 is the thick feed of CartonDiscrepancyRaised from inbound-receiving into exception-management; K63 to K65 and K76 start at yard-management or dock-scheduling and are thick (live) since both ends run on k3s: yard and dock feeds into exception-management (K63, K64), the appointment feed into inbound-receiving (K65) and the gate-arrival feed into inbound-receiving (K76). K28 (dock-scheduling → warehouse-planning) is thick for the same reason. outbound-shipping is applied to k3s (since 2026-11-12, running v0.1.0 at 857edfd), so its five inbound feeds K67 to K71 and the edge to exception-management (K73) are thick live edges, and its own analytics fold runs inside the service. The dotted K72 stays wired-but-unused (both ends run, but order-management's consumer is dark), K74 is live (the consumer runs since the v2.0.4 roll of 2026-11-14, network-fulfillment's develop on 2026-11-12, its PR 165, and the live ConfigMap carries its group, but the running image 49587d0-arm64 predates the merge), and K75 stays absent-planned (yard-management has no handler for the three types its ADR 0005 names). The crossed edge is deliberately absent. order-management is coloured with the Supporting contexts because it is classified Generic/Supporting (see Subdomain Classification). Separate Ways relationships are not drawn. They are listed in Separate Ways.

Omitted from the diagram:

  • each context's own analytics topic (warehouse.<ctx>.analytics) and projector, which are internal to that context;
  • the .dlq topics;
  • every context's own Module Federation remote in warehouse-console (see The console);
  • warehouse-ops-agent's two non-context upstreams: Prometheus/Loki (live) and the Anthropic Messages API, which is off by default (LLM_MODE=off).

Edge table​

Kafka (integration topics)​

#Upstream → DownstreamPattern (U / D)TechnologyStatusSource
K1order-management → wes-work-planningPL / CF per OM, ACL per WP; C/Swarehouse.order-management.events: OrderAllocated, OrderPartiallyAllocatedliveOM, WP
K2order-management → warehouse-planningOHS + PL / ACLsame topic and types, read into an expected-demand modellive. It is opt-in (DEMAND_CONSUMER_GROUP, WPL ADR 0004), and the reference deployment sets it (helm-values/warehouse-planning.yaml, demand.consumerGroup)WPL
K3inventory-storage → wes-work-planningOHS + PL / CF per INV, ACL per WPwarehouse.inventory.events: StockReserved, ReservationRevokedlive. Projected, but per WP the projection feeds no decision yetINV, WP
K4facility-layout → inventory-storageOHS + PL / CF (+ ACL per FL)warehouse.facility.events: ZoneRegistered, LocationSlotRegistered, LocationSlotDecommissionedlive with LOCATION_LOOKUP_MODE=kafka, which the reference deployment setsFL, INV
K5facility-layout → warehouse-planningOHS + PL / ACL (folded into a position and station tally)warehouse.facility.events: LocationSlotRegistered, LocationSlotDecommissionedliveFL, WPL
K6workforce-management → wes-work-planningC/S, PL / ACL (translated into LaborPlanObserved)warehouse.workforce.events: ShiftPlanCommittedliveWFM, WP
K7workforce-management → warehouse-planningC/S, PL / ACL (a LABOR capacity constraint, and the committed heads that LabourPlanDriftDetected compares with the labour plan)warehouse.workforce.events: ShiftPlanCommittedliveWFM, WPL
K8process-path-management → fulfillment-execution, wes-work-planning, workforce-managementOHS + PL / CFwarehouse.process-path-management.events: ProcessPathCreated, ProcessPathUpdated, ProcessPathDeactivatedlive. Each consumer's binary default is a YAML file (PATH_CATALOGUE_SOURCE=file), and the reference deployment injects PATH_CATALOGUE_SOURCE=kafka (deploy_process_path_kafka_source, default true)PPM, FE, WP, WFM
K9process-path-management → order-managementOHS + PL / ACL (local read model)same topic: the three processpath.* types plus CPTScheduleChangedlive with PATH_CATALOGUE_SOURCE=kafka (deploy_order_management_path_catalogue_kafka, default true)PPM, OM
K10process-path-management → network-fulfillmentOHS + PL / CFsame topic: processpath.* plus CPTScheduleChanged, read into the processpathcachelive. Started only when CAPABILITY_OFFER_ENABLED=true, which helm-values/network-fulfillment.yaml sets in warehouse-infra developPPM, NF
K11wes-work-planning → fulfillment-executionC/S; OHS + PL / ACLwarehouse.work-planning.events: WorkReleased, and for slot-plan moves (K29) the same type with the additive relocation object on the RELOCATE path (fulfillment-execution ADR 0047). fulfillment-execution also accepts the additive replenishment object on a REPLENISH path (its ADR 0050), and wes-work-planning now produces it for the work units it plans from K44 (its ADR 0042: WorkReleased stays v1, the object is present only on REPLENISH units)live (for RELOCATE and ordinary work). The REPLENISH variant is live since 2026-10-20/21: wes-work-planning runs K44's consumer (REPLENISHMENT_MODE=kafka); no REPLENISH unit has been traced through the chain yetWP, FE
K12wes-work-planning → order-managementC/S; OHS + PL / ACLwarehouse.work-planning.events: PathCapacityChangedliveWP, OM
K13wes-work-planning → network-fulfillmentOHS + PL / CFwarehouse.work-planning.events: PathCapacityChangedlive, behind the same CAPABILITY_OFFER_ENABLED gate as K10 (set in warehouse-infra develop)WP, NF
K14fulfillment-execution → wes-work-planningC/S feedback edge; OHS + PL / CF per FE, ACL per WPwarehouse.fulfillment.events: TaskCompletedlive. This edge closes the release/complete control loopFE, WP
K15fulfillment-execution → labor-performanceOHS + PL / CF (C/S with no influence)warehouse.fulfillment.events: TaskCompleted, same fan-out topic, own consumer groupliveFE, LP
K16fulfillment-execution → order-managementOHS + PL / CF per FE, ACL per OMwarehouse.fulfillment.events: TaskCPTMissed, PackageManifested (re-promise loop)liveFE, OM
K17labor-performance → workforce-managementOHS + PL / CF + ACLwarehouse.labor-performance.events: TaskPerformanceRecorded (measured rate and idle share)live with LABOR_PERFORMANCE_MODE=kafka-cache, which the reference deployment setsLP, WFM
K18warehouse-planning → order-managementOHS + PL / ACL (local read model)warehouse.warehouse-planning.events: CapacityPlanCreated, CapacityPlanPublished, CapacityShortageDetected, and CapacityPlanSuperseded (OM ADRs 0052 and 0053: a terminal SUPERSEDED status that never constrains; a plan is matched to the order's site by its site_id, else by location). BottleneckDetected is ignoredlive. It is opt-in (PLANNED_CAPACITY_CONSUMER_GROUP, OM ADR 0031), and the reference deployment sets it (helm-values/order-management.yaml, plannedCapacity.consumerGroup). The read model only annotates orders and serves GET /planned-capacity. No promise movesWPL, OM
K19network-fulfillment → any subscriberOHS + PL / —warehouse.network-fulfillment.events: networkorder.*wired-but-unused. Published with config.eventPublisher: kafka (helm-values/network-fulfillment.yaml; chart default log), and no consumer of the networkorder.* types exists in the fleet by decision (exception-management reads only the two alarm types on the same topic, K57)NF
K20product-master → inventory-storage, order-management, wes-work-planning, fulfillment-executionPL / local copy per consumer (one row per SKU, applied only when the event version is newer)warehouse.product-master.events: ProductClassifiedlive (deployed 2026-10-07). INV ADR 0034, consumer group PRODUCT_MASTER_CONSUMER_GROUP (helm-values/inventory-storage.yaml, productMasterConsumerGroup); OM ADR 0036, WP ADR 0035 and FE ADR 0039, PRODUCT_CLASSIFICATION_MODE=kafka with PRODUCT_CLASSIFICATION_CONSUMER_GROUP (OM: helm-values/order-management.yaml, productClassification; WP and FE: sync_edge_env). It replaced the classification lookups R2, R3 and R4 (product-master ADR 0003, stages C and D)PM, INV, OM, WP, FE
K21inventory-storage → product-masterCF, migration onlywarehouse.inventory.events: com.warehouse.wms.inventory-storage.product.ProductClassified, read by product-master's legacy importer (LEGACY_IMPORT_CONSUMER_GROUP)retired at stage E (2026-10-17, product-master ADR 0003): the legacy importer, the republish-product-classifications backfill and the legacy type are removed, and warehouse-infra develop sets no legacyImportConsumerGroupPM
K22product-master → inbound-receivingPL / local copy (one row per SKU: existence check for ASN lines)warehouse.product-master.events: ProductRegisteredlive. Consumer mode defaults to permissive; the reference deployment sets PRODUCT_MODE=kafka (group inbound-receiving-product, helm-values/inbound-receiving.yaml)inbound-receiving
K23facility-layout → inbound-receivingOHS + PL / ACL (local copy of dock doors)warehouse.facility.events: LocationSlotRegistered, LocationSlotDecommissionedlive. DOCK_DOOR_MODE=kafka (group inbound-receiving-dock-doors) in the reference deployment; only role=Dock slots with an inbound dockFlow are keptinbound-receiving
K24inbound-receiving → inventory-storagePL; the receiving handover. inventory-storage is the Conformist and runs its existing ReceiveStock use case for condition Goodwarehouse.inbound-receiving.events: receipt.ReceiptLineReceivedlive. inventory-storage ADR 0037; the reference deployment sets INBOUND_RECEIPT_CONSUMER_GROUP (inventory-storage-inbound-receipts, helm-values/inventory-storage.yaml). No synchronous call in either direction. Damaged units are not booked as stock in v1inbound-receiving, INV
K25product-master → slotting-optimizationPL / local copy (classification and effective physical profile per SKU)warehouse.product-master.events: ProductClassified, ProductDimensionsDeclared, ProductMeasuredlive. PRODUCT_MODE=kafka, group slotting-optimization-product (helm-values/slotting-optimization.yaml), applied only when version is newer. This also makes the physical-profile types consumed (hotspot H34)slotting-optimization
K26facility-layout → slotting-optimizationOHS + PL / ACL (local copy of zones and slots)warehouse.facility.events: ZoneRegistered, LocationSlotRegistered, LocationSlotDecommissionedlive. LAYOUT_MODE=kafka, group slotting-optimization-layout. slotting-optimization's own map names this edge Conformistslotting-optimization
K27order-management → slotting-optimizationPL / ACL (pick velocity from the demand feed)warehouse.order-management.events: siteskudemand.SiteSkuDemandChangedlive. DEMAND_MODE=kafka, group slotting-optimization-demand, last writer wins per order line. slotting-optimization's own map names this edge Conformistslotting-optimization
K28dock-scheduling → warehouse-planning (was inbound-receiving)PL, inbound-labor demandwarehouse.dock-scheduling.events: dockappointment.DockAppointmentBooked, DockAppointmentRescheduled, DockAppointmentCancelled, DockAppointmentNoShowlive (registered and applied). The source switched on 2026-11-05: warehouse-planning ADR 0020 supersedes the source of ADR 0017 (the DockAppointment aggregate moved to dock-scheduling, inbound-receiving ADR 0019), keeping the labour standard, window semantics and /inbound-demand. The consumer is built and configured (dockAppointments.consumerGroup in helm-values/warehouse-planning.yaml; the retired INBOUND_DEMAND_CONSUMER_GROUP is refused by the chart), and dock-scheduling is registered in warehouse-infra develop (terraform/apps.yaml, helm-values/dock-scheduling.yaml, #193, 2026-11-09) and applied (v0.1.2, 2026-11-10), and warehouse-planning runs at image ef8b946 with DOCK_APPOINTMENT_CONSUMER_GROUP warehouse-planning-dock-appointments on its deployment (read-only kubectl, 2026-11-10), so both ends run. Before ADR 0020 the edge was live from inbound-receiving (ADR 0017, deployed 2026-10-20/21). Messages flowing and consumer lag not verified. See the yard section context mapdock-scheduling, warehouse-planning
K29slotting-optimization → wes-work-planningPL / ACL (unexported structs in the consumer hold the foreign shape), RELOCATE work executionwarehouse.slotting-optimization.events: slotplan.SlotPlanApproved (carries the full forward-pick map and the moves, so a consumer needs no lookup)live. wes-work-planning ADR 0040: its inbound consumer reads the topic whenever KAFKA_BROKERS is set (kafka.enabled in helm-values/wes-work-planning.yaml), under its existing group, and plans one RELOCATE work unit per move (sequenced, superseded by a newer plan, CPT = approval time + RELOCATION_CPT_HORIZON, default 24 h). slotting-optimization publishes with EVENT_PUBLISHER=kafka. The RELOCATE process path (process-path-management ADR 0033, intake SLOT_RELOCATION, ADR 0034) must be seeded first (warehouse-infra post-deploy step 1), or the plan is retried and dead-lettered to warehouse.slotting-optimization.events.dlq. Slotting ADR 0010 decides it and supersedes ADR 0007slotting-optimization, WP
K30facility-layout → network-inventory-planningOHS + PL / ACL (a last-writer-wins site_capability row)warehouse.facility.events: SiteCapabilityChangedlive. Opt-in (SITE_CAPABILITY_CONSUMER_GROUP, NIP ADR 0002), and the reference deployment sets it (terraform/network-inventory-planning.tf). facility-layout's own code names no consumerNIP
K31order-management → network-inventory-planningOHS + PL / ACL (a site_sku_demand row per order line, REMOVED tombstones it)warehouse.order-management.events: SiteSkuDemandChangedlive. Opt-in (SITE_SKU_DEMAND_CONSUMER_GROUP), set in the reference deployment. order-management's own code names no consumerNIP
K32warehouse-planning → network-inventory-planningOHS + PL / ACL (a published_capacity_plan row per plan, legacy events without the additive site_id excluded)warehouse.warehouse-planning.events: CapacityPlanPublishedlive. Opt-in (CAPACITY_PLAN_CONSUMER_GROUP), set in the reference deploymentNIP, WPL
K33network-inventory-planning → inventory-storageC/S: the command carries exactly the five fields inventory-storage's consumer defineswarehouse.network-inventory-planning.events: TransferAllocationRequested, key transfer_line_idlive. Consumer opt-in (TRANSFER_ALLOCATION_CONSUMER_MODE=kafka, default off), set in helm-values/inventory-storage.yaml; INV ADR 0030NIP, INV
K34inventory-storage → network-inventory-planningOHS + PL / ACL (closed rejection vocabulary, hand-mirrored payloads)warehouse.inventory.events: TransferStockAllocated, TransferStockAllocationRejected, TransferReceiptStaged, TransferStockStowedlive. Opt-in (TRANSFER_REPLY_CONSUMER_GROUP), set in the reference deployment. Drives ALLOCATING to ALLOCATED or UNFULFILLABLE, then ARRIVED and RECEIVEDNIP, INV
K35network-inventory-planning → wes-work-planningC/S: the payload mirrors WES's consumed contractwarehouse.network-inventory-planning.events: WorkDemandReleased (pick and dispatch legs)live on the consumer side: the fifth topic of wes-work-planning's always-on consumer (K29 is the sixth), with a .dlq per topic (WP ADR 0033). The pick path is pick; the dispatch path transfer-dispatch is not seeded and must be created in process-path-management first (comment in terraform/network-inventory-planning.tf), so until then a dispatch demand is dead-letteredNIP, WP
K36fulfillment-execution → network-inventory-planningOHS + PL / ACL (hand-mirrored TransferFactData)warehouse.fulfillment.events: TransferPicked, TransferDispatched, TransferArrived (reserved, scan-driven receiving can bypass it)live. Opt-in (TRANSFER_FACT_CONSUMER_GROUP), set in the reference deploymentNIP, FE
K37fulfillment-execution → inventory-storageOHS + PL / CFwarehouse.fulfillment.events: TaskCompleted. A PICK completion confirms the picked line's reservation (INV ADR 0035 and 0036). A RELOCATE completion carries the additive sku, from_bin, to_bin, quantity and relocation_ref (<plan_id>:<move_seq>, FE ADR 0047) and runs RelocateStock, the same use case as POST /relocations (INV ADR 0039). A REPLENISH completion carries the same fields plus the additive request_ref (FE ADR 0050) and runs RelocateStock with reason REPLENISHMENT (INV ADR 0041, K43; apply_replenish_task.go on the same consumer); a REPLENISH task exists only when K44's work is planned and released (off in the reference deployment)live. Opt-in (TASK_COMPLETED_CONSUMER_MODE, default off), set to kafka in helm-values/inventory-storage.yaml (taskCompletedConsumerMode, group inventory-storage-confirm-pick). Poison messages go to warehouse.fulfillment.events.dlq. Without the mode, completed slot-plan moves never reach the stock ledgerFE, INV
K38inventory-storage → slotting-optimizationOHS + PL / CF (execution-progress read model)warehouse.inventory.events: stock.StockRelocated (raised by POST /relocations and by K37)live. RELOCATION_MODE=kafka, group slotting-optimization-relocation (helm-values/slotting-optimization.yaml). A relocation is matched to a plan's move by source_ref = <plan_id>:<move_seq> (else by site, SKU and bins on the current Approved plan) and recorded once per relocation_id; unmatched ones are counted, never dead-lettered. Shown as execution on GET /slot-plans/{planId} (slotting ADR 0010, INV ADR 0039)INV, slotting-optimization
K39slotting-optimization → pick-face-replenishmentPL / ACL (local copy of the site's forward-pick map); C/Swarehouse.slotting-optimization.events: slotplan.SlotPlanApproved. assignments is the full forward map, replaced wholesale per site. A newer plan that no longer assigns a SKU to its forward bin cancels the open request (ASSIGNMENT_CHANGED)live (deployed 2026-10-20/21; not traced end to end). Both ends run: slotting-optimization publishes SlotPlanApproved (K29, live) and pick-face-replenishment runs the forward_assignments consumer (SLOTTING_CONSUMER_GROUP=pick-face-replenishment-slotting is set on the pod)PFR
K40facility-layout → pick-face-replenishmentOHS + PL / ACL (local copy of zones and slots, to tell reserve bins from forward bins); C/Swarehouse.facility.events: ZoneRegistered, LocationSlotRegistered, LocationSlotDecommissionedlive (deployed 2026-10-20/21; not traced end to end). The layout consumer runs (LAYOUT_CONSUMER_GROUP=pick-face-replenishment-layout is set on the pod; reserve zones from RESERVE_ZONE_CODES, default RSV) and the three types are published by facility-layout (K4 and K26 read them)PFR
K41facility-layout → task-interleavingOHS + PL / ACL (local copy of location geometry, input of the rectilinear-v1 travel model); C/Swarehouse.facility.events: LocationSlotRegistered, LocationSlotDecommissioned, LocationGeometryUpdated, plus ZoneRegistered for the site of a locationlive (deployed 2026-10-20/21; not traced end to end). facility-layout publishes the four types and task-interleaving runs the layout consumer (internal/adapters/inbound/kafka/layout_consumer.go; LAYOUT_CONSUMER_GROUP=task-interleaving-layout is set on the pod)TI
K42inventory-storage → pick-face-replenishmentOHS + PL / ACL (per-bin level read model, highest version wins); C/Swarehouse.inventory.events: stock.BinStockLevelChanged, key <bin>:<sku>live (deployed 2026-10-20/21; not traced end to end). inventory-storage publishes BinStockLevelChanged (its ADR 0040: internal/adapters/outbound/kafka/publisher.go, payload site_code, bin, sku, on_hand, reserved, version, reason, key <bin>:<sku>) and the consumer is on (INVENTORY_CONSUMER_GROUP=pick-face-replenishment-inventory is set on the pod)PFR
K43inventory-storage → pick-face-replenishmentOHS + PL / ACL (closes the request); C/Swarehouse.inventory.events: stock.StockRelocated. Acted on only when reason == REPLENISHMENT and source_ref is the request id; every other reason is ignoredlive (deployed 2026-10-20/21; no REPLENISHMENT relocation traced yet). inventory-storage records a completed REPLENISH task as RelocateStock with reason REPLENISHMENT and source_ref = the task's request_ref (its ADR 0041: apply_replenish_task.go, wired in cmd/inventory/confirmpick.go on the TaskCompleted consumer that K37 enables), and StockRelocated carries REPLENISHMENT in its reason enum (apis/asyncapi.yaml). pick-face-replenishment acts only on that reason. The risk that slotting-optimization's K38 consumer would record a REPLENISHMENT move as a plan move's execution is resolved: since its PR #35 only reason SLOTTING executes a slot-plan move and every other reason (REPLENISHMENT, MANUAL, CONSOLIDATION) is unmatched (internal/application/usecases/record_relocation.go, internal/domain/slotplan/execution.go)PFR
K44pick-face-replenishment → wes-work-planningC/S; PL / ACL on the WP sidewarehouse.pick-face-replenishment.events: replenishment.ReplenishmentRequested and replenishment.ReplenishmentCancelled (ReplenishmentCompleted is ignored). wes-work-planning plans ONE REPLENISH work unit per request id (replenish-<request_id>, reference = request id), released on the REPLENISH process path; a cancel withdraws it only while it is still Pending. It then releases it to fulfillment-execution (WorkReleased with the additive replenishment object, FE ADR 0050), and inventory-storage applies the move as RelocateStock with reason REPLENISHMENT (K43), the same shape as K29, K11, K37 and K38live (deployed 2026-10-20/21; not traced end to end). Every hop of the chain is built, each with a file or ADR to cite: (1) pick-face-replenishment writes the request through its outbox relay (internal/adapters/outbound/events/encoder.go, topic warehouse.pick-face-replenishment.events); (2) wes-work-planning consumes it (ADR 0042: internal/adapters/inbound/kafka/replenishment_consumer.go, started from cmd/wes/replenishment.go, own group REPLENISHMENT_CONSUMER_GROUP and .dlq, apply_replenishment_requested.go, migration 0015); (3) process-path-management declares the path (ADR 0036: the REPLENISH entry in catalogue/paths.json, matchPrefix replenish, capability replenish, intake REPLENISHMENT, applied by scripts/seed_catalogue.py); (4) wes-work-planning releases it with the replenishment object on WorkReleased (ADR 0042 section 6, internal/domain/workunit/replenishment.go) and fulfillment-execution creates the REPLENISH task from it (ADR 0050: internal/adapters/inbound/kafka/consumer.go WorkReleasedReplenishment, ErrReplenishmentMoveMissing); (5) fulfillment-execution announces it on TaskAvailable and publishes TaskCompleted with request_ref, and inventory-storage applies that (K37, K43; INV ADR 0041). On the cluster wes-work-planning runs with REPLENISHMENT_MODE=kafka and group wes-work-planning-replenishment, and GET /process-paths on process-path-management lists REPLENISH (the infra README still lists five paths). The REPLENISH path reaches a cluster only when seed_catalogue.py runs from process-path-management's develop: without it requests are dead-lettered by the consumer (WP ADR 0042), so a rebuilt cluster needs the seed step again (gap 49 on the gaps tracker)PFR, WP
K45fulfillment-execution → task-interleavingOHS + PL / ACL (open-task pool and claim read model); C/Swarehouse.fulfillment.events: task.TaskAvailable, task.TaskClaimedlive (deployed 2026-10-20/21; not traced end to end). fulfillment-execution publishes both on the integration topic since its ADR 0049 (internal/adapters/outbound/kafka/task_pool_events.go; TaskClaimed for every task type, TaskAvailable only for tasks that carry bins, which are RELOCATE and, since ADR 0050, REPLENISH; a PICK, PACK, SLAM or REBIN task is not announced), and task-interleaving runs the consumer (fulfillment_consumer.go; FULFILLMENT_CONSUMER_GROUP=task-interleaving-fulfillment is set on the pod)TI
K46fulfillment-execution → task-interleavingOHS + PL / ACL (advances the station position)warehouse.fulfillment.events: task.TaskCompleted (K14, K15 and K37 already read it; only task_id and station_id are used, the end position comes from the local pool copy)live (deployed 2026-10-20/21; not traced end to end). The type is live for other consumers and task-interleaving runs the consumer (same group as K45). A completion of a task that was never announced (anything but RELOCATE or REPLENISH) is recorded and ignoredTI
K47task-interleaving → fulfillment-executionC/S, advisory; PL / ACL on the FE sidewarehouse.task-interleaving.events: stationtrip.InterleavingHintIssued. fulfillment-execution would store it locally and use it only as a tie-break inside one priority band, never across a CPT or priority boundary, fail-open when absent or expired. claimNext stays the only claim path and there is no assignlive (code merged 2026-10-18; deployed 2026-10-20/21). fulfillment-execution ADR 0051 (fulfillment-execution#224, cmd/execution/interleaving.go): a local one-active-hint-per-station table (migration 0021) and a tie-break inside one claimNext priority band, never across a CPT or priority boundary, fail-open when absent or expired; the consumer runs when TASK_INTERLEAVING_MODE=kafka (set on the pod, group fulfillment-execution-interleaving; the default permissive wires nothing). Whether the running consumer has processed a hint was not checkedTI
K48wes-work-planning → order-managementPL (optional additive reference and line_no) / ACL (the consumer reads only those two fields); C/Swarehouse.work-planning.events: workunit.WorkUnitCreated. OM matches the order line a released unit belongs to and marks it confirmed; a line never confirmed within RELEASE_CONFIRMATION_TIMEOUT raises the analytics-only OrderReleaseUnconfirmed, never a cancel or a retry (OM ADR 0043; WP ADR 0041 adds the two fields)wired-but-unused. Both ends are built on develop: wes-work-planning publishes reference and line_no, and the order-management consumer ships dark (RELEASE_CONFIRMATION_MODE=kafka with a database and EVENT_PUBLISHER=kafka; the chart default is empty). warehouse-infra develop does not set RELEASE_CONFIRMATION_MODE. Flip to live when it does. The chart warns against enabling it before the deployed wes-work-planning carries ADR 0041, or every event is ignored and every line is flaggedOM, WP
K49fulfillment-execution → warehouse-planningC/S; PL / ACL (task completions into a local read model, advisory)warehouse.fulfillment.events: task.TaskCompleted (attributed by task_type to the one configured DEMAND_SITE_ID)live (code merged 2026-10-20, warehouse-planning#79, ADR 0017; deployed 2026-10-20/21: group warehouse-planning-observed-capacity is running). GET /capacity-plans/{id}/variance returns planned versus observed tasks; it is advisory and never changes or republishes a planWPL
K50product-master → returns-processingOHS + PL / CF (version-guarded local copy of the classification)warehouse.product-master.events: ProductClassifiedlive. The consumer is built and always on (group returns-processing-product-classification, from the required PRODUCT_CLASSIFICATION_CONSUMER_GROUP; its integration test applies, dedupes and version-gates on real Kafka), the producer is live (K20), and returns-processing is registered in warehouse-infra develop since 2026-10-22 (terraform/apps.yaml, consumer groups pinned in helm-values/returns-processing.yaml)returns-processing
K51order-management → returns-processingOHS + PL / CF (local copy of the allocated lines; the lines carry no quantity)warehouse.order-management.events: OrderAllocated, OrderPartiallyAllocatedlive. Consumer built (group returns-processing-order-lines, ORDER_LINES_CONSUMER_GROUP, one claim per event covering every line), producer live (K1); returns-processing registered in warehouse-infra develop since 2026-10-22 (terraform/apps.yaml, consumer groups pinned in helm-values/returns-processing.yaml)returns-processing
K52fulfillment-execution → returns-processingOHS + PL / CF (local copy of the manifested work units)warehouse.fulfillment.events: PackageManifested (order_ref = the work unit id, reversed into the (order, line) key)live. Consumer built (group returns-processing-manifest, MANIFEST_CONSUMER_GROUP), producer live (K16); returns-processing registered in warehouse-infra develop since 2026-10-22 (terraform/apps.yaml, consumer groups pinned in helm-values/returns-processing.yaml)returns-processing
K53returns-processing → inventory-storagePL, the returns handover; inventory-storage is the Conformist and runs its existing staged-receipt use case (BookReturnLine in front of ReceiveStock)warehouse.returns-processing.events: disposition.ReturnLineStaged (raised once per RESTOCK disposition; condition is the constant Good)live. Producer returns-processing (service PR #2) registered in warehouse-infra develop since 2026-10-22 (terraform/apps.yaml, consumer groups pinned in helm-values/returns-processing.yaml); consumer inventory-storage ADR 0044 (return_line_consumer.go, claim name return-line-staged, group inventory-storage-return-lines from the required RETURN_LINE_CONSUMER_GROUP, helm-values/inventory-storage.yaml; every other type on the topic is ignored). No synchronous call in either direction and no acknowledgement eventINV, returns-processing
K54returns-processing → exception-managementPL / CF (frozen copy of the source payload on the case)warehouse.returns-processing.events: returnreceipt.UnexpectedReturnReceivedlive. The consumer (group exception-management-returns, RETURNS_EXCEPTIONS_CONSUMER_GROUP) opens one case per receipt line; both services are registered in warehouse-infra develop since 2026-10-22 (terraform/apps.yaml, consumer groups pinned in helm-values/exception-management.yaml)exception-management
K55fulfillment-execution → exception-managementOHS + PL / CF (frozen copies; repeats touch the open case)warehouse.fulfillment.events: TaskCPTMissed (re-fired every sweep tick by design), PackageDiverted, WeightDiscrepancyDetected (both promoted onto the integration topic 2026-10-21)live. Consumer built (group exception-management-fulfillment, FULFILLMENT_EXCEPTIONS_CONSUMER_GROUP); TaskCPTMissed is live on the topic (K16) and the two package types are published since their promotion; exception-management is registered in warehouse-infra develop since 2026-10-22 (terraform/apps.yaml, consumer groups pinned in helm-values/exception-management.yaml)exception-management
K56wes-work-planning → exception-managementOHS + PL / CF (one case per path while the alarm re-fires)warehouse.work-planning.events: BacklogThresholdBreachedlive. Consumer built (group exception-management-work-planning, WORK_PLANNING_EXCEPTIONS_CONSUMER_GROUP); the producer publishes the type on its live topic; exception-management is registered in warehouse-infra develop since 2026-10-22 (terraform/apps.yaml, consumer groups pinned in helm-values/exception-management.yaml)exception-management
K57network-fulfillment → exception-managementOHS + PL / CF (re-fires on every sweep pass touch the open case)warehouse.network-fulfillment.events: AcknowledgementDeadlineAtRisk, OrphanedHoldCancelledlive. Consumer built (group exception-management-network-fulfillment, NETWORK_FULFILLMENT_EXCEPTIONS_CONSUMER_GROUP); the producer publishes on warehouse.network-fulfillment.events with config.eventPublisher: kafka (helm-values/network-fulfillment.yaml); exception-management is registered in warehouse-infra develop since 2026-10-22 (terraform/apps.yaml, consumer groups pinned in helm-values/exception-management.yaml)exception-management
K58order-management → exception-managementPL, correlation only (never a case source); CF on the consumerwarehouse.order-management.events: OrderRepromisedlive. Consumer built (group exception-management-order-correlation, ORDER_CORRELATION_CONSUMER_GROUP): the auto-resolve rule matches the repromised order_id against the order behind a TaskCPTMissed case's frozen order_ref ({order_id}-line-{line_no}, order-level, inclusive window), rule_id = <sourceType>-><onType>; no match fails soft. The type previously had no consumer (see below)exception-management
K59inventory-storage → exception-managementOHS + PL / CF (frozen copies; a short count and unlocated stock each open or touch their own case)warehouse.inventory.events: bin.DiscrepancyDetected, stock.ItemUnlocated (both promoted onto the integration topic 2026-10-21, inventory-storage ADR 0043)live. Consumer built (group exception-management-inventory, INVENTORY_EXCEPTIONS_CONSUMER_GROUP); the producer publishes both types on its live topic since the promotion; exception-management is registered in warehouse-infra develop since 2026-10-22 (terraform/apps.yaml, consumer groups pinned in helm-values/exception-management.yaml)exception-management
K60workforce-management → exception-managementPL, planned; CF on the consumerwarehouse.workforce.analytics: shiftplan.PathUnderstaffed (analytics-only on the producer today)absent-planned. Named by exception-management's ADR 0001 and ADR 0003; the producer must promote the type onto its integration topic first (its own PR), and no consumer for it existsexception-management
K61network-inventory-planning → exception-managementPL, planned; CF on the consumerwarehouse.network-inventory-planning.analytics: saga.TransferStuckDetected (analytics-only on the producer today, its ADR 0007 health ticker)absent-planned. Named by exception-management's ADR 0001 and ADR 0003; the producer must promote the type onto its integration topic first (its own PR), and no consumer for it existsexception-management
K62product-master → inbound-receiving, inventory-storage, pick-face-replenishment, slotting-optimization, wes-work-planning, fulfillment-execution, network-inventory-planningPL / local pack view per consumer (the GS1 packaging hierarchy of product-master ADR 0011, applied only when the event version is newer)warehouse.product-master.events: product.ProductPackLevelDeclared and ProductPackLevelRetired (all seven consumers), ProductPackLevelMeasured (wes-work-planning and slotting-optimization only)live. Producer: product-master publishes all three types on its integration topic (internal/adapters/outbound/kafka/encoder.go, its ADR 0011). Consumers, each built on develop with its own group: inbound-receiving (packaging_consumer.go, ADR 0012, PACKAGING_CONSUMER_GROUP), inventory-storage (apply_pack_level.go, on the same consumer as K20), pick-face-replenishment (ADR 0009, PACK_LEVEL_CONSUMER_GROUP), slotting-optimization (ADR 0012, PACK_LEVEL_MODE=kafka), wes-work-planning (ADR 0045, PACK_VIEW_CONSUMER_GROUP), fulfillment-execution (ADR 0054, PACK_VIEW_CONSUMER_GROUP) and network-inventory-planning (ADR 0017, PACK_LEVEL_CONSUMER_GROUP). Infra: warehouse-infra develop sets inbound-receiving-packaging, inventory-storage-product-master (shared with K20), pick-face-replenishment-pack-levels, slotting-optimization-pack-level (helm-values/*.yaml), fulfillment-execution-pack-view (PACK_VIEW_CONSUMER_GROUP in its extraEnv) and network-inventory-planning-pack-level; wes-work-planning takes the chart default wes-work-planning-pack-view. Image tags and cluster state not checkedproduct-master, inbound-receiving, slotting-optimization
K63yard-management → exception-managementPL / CF (frozen copy of the source payload on the case); C/S per the yard packwarehouse.yard-management.events: yardvisit.VisitRejected, trailer.SealExceptionRaised, trailer.TrailerDwellExceeded, yardcheck.YardCheckClosed (one case per discrepancy; every other type on the topic is ignored)live (registered and applied). Producer: yard-management publishes all four on its integration topic (internal/adapters/outbound/kafka/encoder.go, its ADR 0010), and warehouse-infra develop registers it (terraform/apps.yaml, helm-values/yard-management.yaml, #193). Consumer: built in exception-management (ADR 0010, internal/adapters/inbound/kafka/yard_exceptions_consumer.go, group YARD_MANAGEMENT_EXCEPTIONS_CONSUMER_GROUP), pinned as exception-management-yard-management in helm-values/exception-management.yaml. Infra: both ends are wired and applied: yard-management runs at v0.1.2 (image da1e30e) and exception-management at 35bb7d9, whose ConfigMap carries YARD_MANAGEMENT_EXCEPTIONS_CONSUMER_GROUP (read-only kubectl, 2026-11-10). Messages flowing and consumer lag not verified. See the yard section context mapyard-management, exception-management
K64dock-scheduling → exception-managementPL / CF (frozen copy of the source payload on the case); C/S per the yard packwarehouse.dock-scheduling.events: dockappointment.DockAppointmentNoShow (one case per no-show; every other type on the topic is ignored)live (registered and applied). Producer: dock-scheduling publishes the type on its integration topic (internal/adapters/outbound/kafka/encoder.go), and warehouse-infra develop registers it (terraform/apps.yaml, helm-values/dock-scheduling.yaml, #193). Consumer: built in exception-management (ADR 0010, dock_scheduling_exceptions_consumer.go, group DOCK_SCHEDULING_EXCEPTIONS_CONSUMER_GROUP), pinned as exception-management-dock-scheduling. Infra: both ends are wired and applied: dock-scheduling runs at v0.1.2 (image d5db895) and exception-management at 35bb7d9, whose ConfigMap carries DOCK_SCHEDULING_EXCEPTIONS_CONSUMER_GROUP (read-only kubectl, 2026-11-10). Messages flowing and consumer lag not verified. See the yard section context mapdock-scheduling, exception-management
K65dock-scheduling → inbound-receivingPL / local copy (the appointments copy behind Receipt.Open(appointment_id)); C/S, inbound-receiving ADR 0019warehouse.dock-scheduling.events: dockappointment.DockAppointmentBooked, DockAppointmentRescheduled, DockAppointmentCancelled, DockAppointmentDoorReassignedlive (registered and applied). Producer: dock-scheduling publishes all four on its integration topic (internal/adapters/outbound/kafka/encoder.go), registered in warehouse-infra develop (#193). Consumer: built in inbound-receiving (ADR 0019, internal/adapters/inbound/kafka/dock_appointment_consumer.go, DOCK_APPOINTMENT_CONSUMER_GROUP is required and always on), set to inbound-receiving-dock-appointments in helm-values/inbound-receiving.yaml. Infra: both ends are wired and applied: dock-scheduling runs at v0.1.2 (image d5db895) and inbound-receiving at 484490f (v2.0.6), whose ConfigMap carries DOCK_APPOINTMENT_CONSUMER_GROUP (read-only kubectl, 2026-11-10). Messages flowing and consumer lag not verified. This replaced inbound-receiving's own appointment aggregate (K28 moved with it)dock-scheduling, inbound-receiving
K66inbound-receiving → exception-managementPL / CF (frozen copy of the source payload on the case)warehouse.inbound-receiving.events: receipt.CartonDiscrepancyRaised (one case per (receipt_id, sscc, kind); every other type on the topic is ignored)live. Producer: inbound-receiving publishes the type on its integration topic (internal/adapters/outbound/kafka/encoder.go, apis/asyncapi.yaml), registered and live (K24). Consumer: built in exception-management (ADR 0006, carton_discrepancy_consumer.go, group CARTON_DISCREPANCY_CONSUMER_GROUP, no default), pinned as exception-management-carton-discrepancy in helm-values/exception-management.yaml, which is registered in warehouse-infra develop (K54 to K59). Image tags and cluster state not checkedinbound-receiving, exception-management
K67fulfillment-execution → outbound-shippingOHS + PL / ACL (local copy of the manifested package); C/S per outbound-shipping ADR 0001warehouse.fulfillment.events: package.PackageManifested (package_id, order_ref, and the additive optional site_id, source_order_id, cpt, weight_g), package.PackageDiverted (package_id)live (both ends run). Producer: fulfillment-execution publishes both on its integration topic (internal/adapters/outbound/kafka/publisher.go; since its ADR 0061 PackageManifested carries source_order_id and cpt), registered in warehouse-infra develop; but its site_id is reserved with no source in the order-work chain yet, so it is omitted. Consumer: built in outbound-shipping (group from the mandatory FULFILLMENT_CONSUMER_GROUP; a manifest without site_id is ignored and plans no load, its ADR 0003), applied to k3s on 2026-11-12 and running v0.1.0 (one api replica at 857edfd, re-read 2026-11-13). Infra: wired on the consumer side (helm-values/outbound-shipping.yaml sets fulfillmentConsumerGroup outbound-shipping-fulfillment); both ends run on k3s (outbound-shipping at 857edfd since 2026-11-12, fulfillment-execution applied; read-only kubectl, 2026-11-13), so the edge is live. No load is planned from a manifest until the producer carries site_id (H45)outbound-shipping
K68process-path-management → outbound-shippingOHS + PL / CF (hand-mirrored payload, last writer wins per site)warehouse.process-path-management.events: cptschedule.CPTScheduleChanged (the site's cutoff schedule copy: cutoff id, local time, days of week, ship method)live (both ends run). Producer: process-path-management publishes the type (internal/adapters/outbound/kafka/publisher.go; K9 and K10 read it), registered and live. Consumer: built in outbound-shipping (group CPT_CONSUMER_GROUP), applied to k3s on 2026-11-12 and running v0.1.0. Infra: wired on the consumer side (cptConsumerGroup outbound-shipping-cpt in helm-values/outbound-shipping.yaml); both ends run on k3s (outbound-shipping at 857edfd since 2026-11-12, process-path-management applied; read-only kubectl, 2026-11-13), so the edge is liveoutbound-shipping
K69facility-layout → outbound-shippingOHS + PL / CF (hand-mirrored; zone to site, location role)warehouse.facility.events: zone.ZoneRegistered, locationslot.LocationSlotRegistered (the staging-location copy: a package stages only at a Staging location of its site)live (both ends run). Producer: facility-layout publishes both (internal/adapters/outbound/kafka/publisher.go; K4 and K26 read them), registered and live. Consumer: built in outbound-shipping (group LAYOUT_CONSUMER_GROUP), applied to k3s on 2026-11-12 and running v0.1.0. Infra: wired on the consumer side (layoutConsumerGroup outbound-shipping-layout in helm-values/outbound-shipping.yaml); both ends run on k3s (outbound-shipping at 857edfd since 2026-11-12, facility-layout applied; read-only kubectl, 2026-11-13), so the edge is liveoutbound-shipping
K70dock-scheduling → outbound-shippingPL / ACL (local copy of the appointment; carrier and SCAC kept for the bill of lading); C/Swarehouse.dock-scheduling.events: dockappointment.DockAppointmentBooked. Only OUTBOUND appointments naming a cpt_id assign the load's door; INBOUND ones are ignoredlive (both ends run). Producer: dock-scheduling publishes the type on its integration topic (internal/adapters/outbound/kafka/encoder.go; the payload has a nullable cpt_id), and warehouse-infra develop registers it (terraform/apps.yaml, helm-values/dock-scheduling.yaml, images pinned, #193 and #194, 2026-11-09) and applied on k3s at v0.1.2 (read-only, 2026-11-10). Consumer: built in outbound-shipping (group DOCK_CONSUMER_GROUP), applied to k3s on 2026-11-12 and running v0.1.0. The consumed contract is pinned and tested against the producer's merged AsyncAPI (contracts/dock-scheduling.asyncapi.yaml, TestDockAppointmentBookedMatchesTheProducersIntegrationContract, outbound-shipping ADR 0007, which completes ADR 0006). Infra: wired on the consumer side (dockConsumerGroup outbound-shipping-dock in helm-values/outbound-shipping.yaml); both ends run on k3s (outbound-shipping at 857edfd since 2026-11-12, dock-scheduling at v0.1.2; read-only kubectl, 2026-11-13), so the edge is live. See the yard section context mapdock-scheduling, outbound-shipping
K71yard-management → outbound-shippingPL / ACL (door-work and departure facts); C/S; the yard is the only recorder of physical facts (YD-0004)warehouse.yard-management.events: trailer.TrailerDocked (attaches the trailer, starts loading), trailer.DoorWorkCompleted, trailer.TrailerDeparted (confirms a CLOSED load with the seal; without a seal nothing is confirmed, and a departure while the load is LOADING flags the missed packages instead, outbound-shipping ADR 0002)live (both ends run). Producer: yard-management publishes all three on its integration topic (internal/adapters/outbound/kafka/encoder.go), and warehouse-infra develop registers it (terraform/apps.yaml, helm-values/yard-management.yaml, #193 and #194, 2026-11-09) and applied on k3s at v0.1.2 (read-only, 2026-11-10). Consumer: built in outbound-shipping (group YARD_CONSUMER_GROUP), applied to k3s on 2026-11-12 and running v0.1.0; the contract is pinned and tested (contracts/yard-management.asyncapi.yaml, CI job pinned-contracts, TestConsumedYardTypesMatchTheProducersIntegrationContract, its ADR 0006). Infra: wired on the consumer side (yardConsumerGroup outbound-shipping-yard in helm-values/outbound-shipping.yaml); both ends run on k3s (outbound-shipping at 857edfd since 2026-11-12, yard-management at v0.1.2; read-only kubectl, 2026-11-13), so the edge is live. See the yard section context mapyard-management, outbound-shipping
K72outbound-shipping → order-managementPL / ACL on the OM side; C/Swarehouse.outbound-shipping.events: outboundload.ShipmentConfirmed (carries the distinct orders; the named orders' Released lines become Shipped), shippingpackage.PackageMissedLoad (an order-wide re-promise)wired-but-unused (both ends run; the consumer end is off). Producer: built in outbound-shipping (outbox relay, both types on the integration topic), applied to k3s on 2026-11-12 and running v0.1.0 at 857edfd. Consumer: built in order-management (ADR 0051, internal/adapters/inbound/kafka/outbound_shipping_consumer.go, cmd/order/outbound_shipping.go) and dark: OUTBOUND_SHIPPING_CONSUMER_MODE defaults to off, and kafka mode needs a mandatory OUTBOUND_SHIPPING_CONSUMER_GROUP (no default), brokers and a database. Infra: not wired on the consumer side: warehouse-infra develop sets none of the OUTBOUND_SHIPPING_* variables for order-management and no ConfigMap in the cluster carries one (re-read 2026-11-13); the producer runs, so the edge is not live because its consumer end is offorder-management, outbound-shipping
K73outbound-shipping → exception-managementPL / CF (frozen copy of the source payload on the case); C/Swarehouse.outbound-shipping.events: shippingpackage.PackageMissedLoad (one case per missed package; every other type on the topic is ignored)live (both ends run). Producer: built in outbound-shipping, applied to k3s on 2026-11-12 and running v0.1.0 (one api replica at 857edfd). Consumer: built in exception-management (ADR 0011, internal/adapters/inbound/kafka/outbound_shipping_consumer.go, group OUTBOUND_SHIPPING_EXCEPTIONS_CONSUMER_GROUP, mandatory with the chart default exception-management-outbound-shipping in its charts/exception-management/values.yaml). Infra: exception-management is registered in warehouse-infra develop (K54 to K59) and pins the group exception-management-outbound-shipping (outboundShippingExceptionsConsumerGroup in helm-values/exception-management.yaml, a703971, 2026-11-09), so its consumer starts with a chart that carries ADR 0011 (whether the image pinned there does was not checked) and its running ConfigMap carries OUTBOUND_SHIPPING_EXCEPTIONS_CONSUMER_GROUP (re-read 2026-11-13), so it is wired on the consumer side and the producer now writes the topic: the edge is live (since 2026-11-12)exception-management, outbound-shipping
K74outbound-shipping → network-fulfillmentC/S per outbound-shipping ADR 0004; plannedwarehouse.outbound-shipping.events: outboundload.ShipmentConfirmed, meant to replace the manual POST /network-orders/{networkRef}/shipment-confirmation (joined on NetworkOrder.localOrderId)live. Producer: built in outbound-shipping, applied to k3s on 2026-11-12 and running v0.1.0 at 857edfd. Consumer: running since the v2.0.4 roll of 2026-11-14: internal/adapters/inbound/kafka/shipment_confirmed_consumer.go (merged 2026-11-12, its PR 165) consumes ShipmentConfirmed under OUTBOUND_SHIPPING_CONSUMER_GROUP and replaces the manual REST confirmation as the primary trigger; its own NetworkOrderShipmentConfirmed stays its outbound fact (H26). Infra: live since 2026-11-14 - network-fulfillment was released as v2.0.4 (its PR 171, image 0292f4a-arm64, infra pin PR 216) and its consumer group network-fulfillment-outbound-shipping holds all eight partitions of the topic (broker group listing, consumer id of the running pod, read 2026-11-14; log-end offset 0: no ShipmentConfirmed has flowed yet)outbound-shipping
K75outbound-shipping → yard-managementC/S per outbound-shipping ADR 0005; plannedwarehouse.outbound-shipping.events: outboundload.LoadingStarted, LoadClosed, LoadReopenedabsent-planned. Producer: built in outbound-shipping, applied to k3s on 2026-11-12 and running v0.1.0 at 857edfd. Consumer: absent. ADR 0005 names yard-management as the consumer, but yard-management declares no such consumer and has no handler for these types on develop; outbound-shipping's AsyncAPI marks the three pending. Infra: nothing is wired for this edge (yard-management runs but declares no such consumer)outbound-shipping
K76yard-management → inbound-receivingPL / local copy (the visit_arrivals copy behind the dock-to-stock KPI; the earliest arrived_at per appointment_id); C/S, the yard pack's readingwarehouse.yard-management.events: yardvisit.VisitCheckedIn (a visit without appointment_id is ignored; every other type on the topic is committed past; nothing is published back)live (registered and applied). Producer: yard-management publishes the type on its integration topic (internal/adapters/outbound/kafka/encoder.go, apis/asyncapi.yaml), registered in warehouse-infra develop (#193). Consumer: built in inbound-receiving (ADR 0021, internal/adapters/inbound/kafka/visit_arrival_consumer.go, VISIT_ARRIVAL_CONSUMER_GROUP is required and always on; declared in its apis/asyncapi.yaml since commit 484490f), set to inbound-receiving-visit-arrivals in helm-values/inbound-receiving.yaml. Infra: both ends are wired and applied: yard-management runs at v0.1.2 (image da1e30e) and inbound-receiving at 484490f (v2.0.6, pinned by warehouse-infra #202), whose ConfigMap carries VISIT_ARRIVAL_CONSUMER_GROUP (read-only kubectl, 2026-11-10). Messages flowing and consumer lag not verified. Added 2026-11-10: neither the yard pages nor this map listed the edge. See the yard section context mapyard-management, inbound-receiving
K77warehouse-planning → workforce-managementPL / local copy (the labour plan behind plan-proposals, workforce-management ADR 0043)warehouse.warehouse-planning.events: labourplan.LabourPlanCommittedbuilt on develop (waves 0 to 3 of the warehouse-planning reshape are merged on both ends); the deployment is not verified here. warehouse-planning owns the labour requirement, workforce-management the labour supplyWPL, WFM
K78labor-performance → warehouse-planningOHS + PL / ACL (a local standards copy that prices a plan's labour_requirement, warehouse-planning ADR 0022)warehouse.labor-performance.events: standard.LaborStandardDefined, standard.LaborStandardRevised (labor-performance ADR 0038; a standard gains an optional site scope)built on develop; the deployment is not verified hereLP, WPL
K79process-path-management → warehouse-planningOHS + PL / ACL (an event-fed process_flows copy; a flow wins over a local declaration, warehouse-planning ADR 0025 stage 1)warehouse.process-path-management.events: processflow.ProcessFlowDefined, ProcessFlowRevised, ProcessFlowRetired (each the FULL flow state with a version, applied only when greater; process-path-management ADR 0042)built on develop (process-path-management #272, warehouse-planning #156, merged 2026-11-20); stages 2-3 are built and deployed (v2.0.4: the 410 tombstone on POST /process-paths, migration 0019 dropping the local table); the tombstone route is removed in a later releaseyes (ADR 0025 complete)

outbound-shipping: built on develop 2026-11-05 to 2026-11-09 (REST API, read-only MCP server, outbox relay, six Kafka consumers), released as v0.1.0 on 2026-11-11 (tag 857edfd, Helm chart PR 17), checked against the sibling develop branches and warehouse-infra develop (db829ff) on 2026-11-11. It is registered and image-pinned there (PR 205) and applied to the k3s cluster since 2026-11-12 (one api replica running 857edfd; cluster re-read 2026-11-13), so the five inbound feeds K67 to K71, its own analytics fold and the edge to exception-management (K73) are live. K72 is not (both ends run, but order-management's consumer is off by default and no OUTBOUND_SHIPPING_* variable is set), K74's consumer landed on network-fulfillment's develop on 2026-11-12 (its PR 165, its group already in the live ConfigMap) but the running image 49587d0-arm64 predates the merge, and K75's handler is still not built in yard-management. A row is live only when outbound-shipping runs, the neighbour's end runs and the consumer is switched on.

pick-face-replenishment and task-interleaving: both merged on develop 2026-10-17 and registered in warehouse-infra (#116, #121); both run on the kind cluster since 2026-10-20/21 with their consumer groups set, so K39 to K47 are live wires. No flow through them has been traced end to end on the cluster. Both are Supporting and neither makes a synchronous call to a sibling. The ops agent has an MCP client for each (A16, A17), wired but with no use case behind it.

returns-processing and exception-management: both merged on develop 2026-10-20/21 and registered in warehouse-infra develop on 2026-10-22, so K50 to K59 are live and K60/K61 stay dashed planned. Both are Supporting and neither makes a synchronous call to a sibling. The ops agent has an MCP client for each (A18, A19), wired but with no use case behind it, and consults exception-management over A2A for an advisory read (A23).

Published types with no consumer, as stated by their owners:

  • eight of the eleven types on warehouse.work-planning.events (all except WorkReleased, PathCapacityChanged and WorkUnitCreated; the last is read by order-management only when RELEASE_CONFIRMATION_MODE=kafka, K48, wired-but-unused);
  • nine of the twelve types on warehouse.facility.events;
  • OrderRepromised on warehouse.order-management.events had no consumer until exception-management built its correlation consumer (K58, live: exception-management and order-management are both registered in warehouse-infra develop);
  • BottleneckDetected on warehouse.warehouse-planning.events;
  • TransferPlanApproved on warehouse.network-inventory-planning.events;
  • ProductRegistered, ProductDescriptionChanged, ProductDimensionsDeclared and ProductMeasured on warehouse.product-master.events have no live consumer except ProductRegistered (K22, live). The two physical-profile types are consumed by slotting-optimization (K25, live), and ProductDescriptionChanged has none;
  • every warehouse.inbound-receiving.events type except ReceiptLineReceived (K24, live) and CartonDiscrepancyRaised (K66, live) has no consumer among the contexts rows K1 to K76 draw. DockAppointmentBooked and DockAppointmentCancelled fed K28 under warehouse-planning ADR 0017; ADR 0020 moved that source to dock-scheduling, and the four dockappointment types are retired (stage E, inbound-receiving ADR 0022, on develop 2026-11-10), so the topic carries asn.* and receipt.* types only. The yard section reads some of the rest and has no K row for it: dock-scheduling reads ASNRegistered and ASNCancelled (asn_consumer.go; its legacy importer was removed by its ADR 0011), and yard-management reads ASNRegistered, ASNCancelled, ReceiptOpened and ReceiptClosed (inbound_receiving_consumer.go); see the yard section context map. ReceiptStowCompleted (ADR 0021) has no consumer either;
  • two of the three warehouse.slotting-optimization.events types: SlotPlanGenerated and SlotPlanRejected. SlotPlanApproved is consumed by wes-work-planning (K29, live).
  • ReplenishmentCompleted on warehouse.pick-face-replenishment.events (wes-work-planning reads the topic for K44 but deliberately ignores it, WP ADR 0042; pick-face-replenishment closes its request from K43 instead), plus the whole warehouse.pick-face-replenishment.analytics stream (read only by its own analytics projector). ReplenishmentRequested and ReplenishmentCancelled are consumed by wes-work-planning (K44, live);
  • the warehouse.task-interleaving.analytics stream (InterleavingHintIssued again, InterleavingHintConsumed, InterleavingHintExpired and InterleavingPolicyDeclared; read only by its own analytics projector). InterleavingHintIssued on warehouse.task-interleaving.events is consumed by fulfillment-execution (K47, live);
  • six of the seven types on warehouse.returns-processing.events: only ReturnLineStaged (inventory-storage ADR 0044, K53) and UnexpectedReturnReceived (exception-management, K54) have consumers, and both are live: returns-processing, inventory-storage and exception-management are all registered in warehouse-infra develop. The analytics mirror is planned, not built;
  • eight of the thirteen types on warehouse.outbound-shipping.events (LoadPlanned, LoadDoorAssigned, LoadCancelled, PackageStaged, PackageLoaded, PackageUnloaded, BillOfLadingIssued, BillOfLadingVoided) are analytics-only by design and read by its own projector from the analytics stream; ShipmentConfirmed and PackageMissedLoad have built consumers (K72, K73, wired-but-unused), and LoadingStarted, LoadClosed and LoadReopened have none (K75, absent-planned; ShipmentConfirmed has no network-fulfillment consumer either, K74);
  • all seven types on warehouse.exception-management.events plus the whole warehouse.exception-management.analytics stream: no consumer exists in any repository (labor-performance may read ExceptionResolved later, named by its ADR 0001, not built).

No other context consumes inbound-receiving events (not consumed yet), apart from K24, and none other consumes slotting-optimization events, apart from K29. K28 reads dock-scheduling now and is wired-but-unused. inbound-receiving's analytics stream (warehouse.inbound-receiving.analytics) is read only by its own projector.

product-master also serves REST, a read-only MCP server (its ADR 0005) and a master data quality report (its ADR 0006) as an Open Host Service for operators, warehouse-console (its own productmaster_mfe remote) and warehouse-ops-agent (A12). No sibling context reads it at request time.

REST (context to context)​

#Upstream → Downstream (caller)Pattern (U / D)TechnologyStatusSource
R1inventory-storage → order-managementOHS + PL / C/S + ACLPOST /reservations (with Idempotency-Key), DELETE /reservations/{id}live (INVENTORY_STORAGE_MODE=http)INV, OM
R2inventory-storage → order-managementOHS + PL / C/S + ACLGET /products/{sku}/classification (fail-open routing hint)retired by OM ADR 0036: the http mode is removed and rejected at boot, replaced by K20OM, INV
R3inventory-storage → wes-work-planningOHS / CFGET /products/{sku}/classification at releaseretired by WP ADR 0035: the http mode is removed and rejected at boot, replaced by K20INV, WP
R4inventory-storage → fulfillment-executionOHS / ACLGET /products/{sku}/classification at seal timeretired by FE ADR 0039: the http mode is removed and rejected at boot, replaced by K20INV, FE
R5inventory-storage → network-fulfillmentOHS / CFGET /inventory/{sku}/usablelive. The client is built only inside the CAPABILITY_OFFER_ENABLED wiring, which warehouse-infra develop enables (INVENTORY_STORAGE_URL in helm-values/network-fulfillment.yaml)NF, INV
R6facility-layout → inventory-storageOHS / ACLGET /locations/{locationCode}/classificationwired-but-unused. This is the rollback for K4 (LOCATION_LOOKUP_MODE=http)FL, INV
R7facility-layout → wes-work-planningOHS + PL / CFGET /distance?from=&to= at shift-plan commitlive (TRAVEL_DISTANCE_MODE=http in sync_edge_env)FL, WP
R8facility-layout → fulfillment-executionOHS / ACLGET /locations/{locationCode} (station role check)live in warehouse-infra develop (LOCATION_ROLE_MODE=http and FACILITY_LAYOUT_BASE_URL in local.sync_edge_env since #92, with a terraform apply pending). RegisterStation rejects a supplied location whose known role is not WorkCenter; an unknown location passes (fail-open), and it runs at registration onlyFL, FE
R9fulfillment-execution → workforce-managementOHS / CFGET /capacity/{capability} (fail-loud ceiling on committed heads)live (INSTALLED_CAPACITY_MODE=http)FE, WFM
R10labor-performance → workforce-managementOHS / CF + ACLGET /task-types/{taskType}/performancewired-but-unused. LABOR_PERFORMANCE_MODE=http is the alternative to K17LP, WFM
R11order-management → network-fulfillmentOHS / C/S (NF is the Customer, and OM ADR 0020 changed the Supplier for it)POST /orders (held, requiredShipBy), POST /orders/{id}/releases, DELETE /orders/{id}liveOM, NF
R12retail-network → network-fulfillmentOHS / CF + ACLports.NetworkGateway: PollDemand, SubmitAcknowledgement, SubmissionStatus, SubmitShipmentConfirmation, RequestLabel, DeclareNodeProfile, SubmitInventoryFeed; ports.InboundGateway: PollInboundShipments, SubmitInboundReceipt (the retail network's Vendor API, served by vendor-connectivity)live. NETWORK_MODE=live is built (NF ADRs 0026 demand loop, 0027 supply loop, 0028 inbound loop) and warehouse-infra develop sets config.networkMode: live since 2026-10-25, calling the in-cluster vendor-connectivity Service as vendor V-WS; StubGateway stays the chart default and the test mode. See retail-networkNF

warehouse-ops-agent (MCP Customer and console BFF)​

warehouse-ops-agent is downstream of every edge in this table. It is the Customer and the Conformist, and every MCP and REST edge is a read. Its zero-write rule is enforced in CI and is narrowed on develop to exactly two human-confirmed act slices, both delegated over A2A (see the A2A table below the MCP table). It has no Kafka integration at all. The per-tool split between live and wired comes from the agent's own map and was re-checked against which client methods its use cases call on develop.

#UpstreamMCP tools: live (called by a use case)MCP tools: wired-but-unusedRESTStatus
A1inventory-storagecheck_availability, get_bin_occupancy—GET /reservations?demandRef=, flow-accuracy reportlive
A2wes-work-planningget_backlog_telemetry, get_rebalance_recommendation—GET /work-units?reference=, throughput reportlive
A3fulfillment-executionget_queue_status, diagnose_stuck_tasksfind_claimable_workGET /tasks?orderRef=, throughput reportlive
A4workforce-managementget_staffing_gappropose_path_headslabor reportlive
A5labor-performanceget_task_type_utilizationget_associate_scorecard, get_task_type_performance, get_labor_standardperformance reportlive
A6facility-layoutlist_sites, estimate_travel_distanceget_site_layout, get_zone_gridcatalog-growth reportlive
A7warehouse-planningget_process_path_capacityget_capacity_plan, get_storage_capacity, list_station_standards—live (WAREHOUSE_PLANNING_MCP_ENDPOINT, set in the reference deployment)
A8order-management—get_orderGET /orders/{id}, funnel reportREST live. MCP: the daily brief's promise health calls the client (GetPromiseHealth, promise_health.go:43; warehouse-ops-agent#151, #153) - live in code on develop, not in the running image (the agent on the cluster is local-75b7ee6, older than #151)
A9process-path-management—get_process_path, list_process_paths, get_cpt_schedule—wired-but-unused. The client was removed in warehouse-ops-agent#151 (ADR 0024) and re-added by ADR 0026 against the context's current three-tool registry; it is nil when PROCESS_PATH_MANAGEMENT_MCP_ENDPOINT is unset, no use case calls it, and helm-values/warehouse-ops-agent.yaml sets upstreams.processPathManagement.endpoint
A10network-fulfillment———deliberately absent. NF serves read-only MCP tools, but the agent has no client for them
A11warehouse-ops-agent → warehouse-consoleC/S: the agent is the BFF Supplier—/console/orders/{id}/lifecycle, /console/reports/wms, /console/reports/wes, /daily-brieflive
A12product-masterlist_products (the find_master_data_gaps tool and GET /master-data-gaps, OA ADR 0020)get_product, get_product_classification, get_physical_profile—live (PRODUCT_MASTER_MCP_ENDPOINT, set in the reference deployment by terraform/ops-agent.tf)
A13inbound-receivinglist_asns, list_appointments, list_receipts (the inbound-outlook use case, OA ADR 0021)get_asn, get_appointment, get_receipt, list_docks—live (INBOUND_RECEIVING_MCP_ENDPOINT, set in the reference deployment by terraform/ops-agent.tf when MCP servers are deployed; the context's cmd/mcp, its ADR 0005)
A14slotting-optimization———live in code, not in the running image. The agent has the client and a slot-plan watch in the daily brief (cmd/agent/main.go:193, ops-agent ADR 0024, warehouse-ops-agent#151). The server is on in kind (mcp.enabled: true and the Kong route in helm-values/slotting-optimization.yaml) and SLOTTING_OPTIMIZATION_MCP_ENDPOINT is set on the agent pod, but the running image predates #151
A15network-inventory-planningget_transfer, find_stuck_transfers, simulate_transfer_options (the transfer-watch use case, OA ADR 0019; the client port also exposes list_transfers)——live (NETWORK_INVENTORY_PLANNING_MCP_ENDPOINT, set in the reference deployment by terraform/ops-agent.tf when MCP servers are deployed)
A16pick-face-replenishment—get_policy, list_policies, get_replenishment, list_replenishments, list_pick_faces—wired-but-unused. The client is built against the context's published registry (mcpclient/pick_face_replenishment.go, ADR 0025) and no use case calls it. helm-values/warehouse-ops-agent.yaml sets upstreams.pickFaceReplenishment.endpoint
A17task-interleaving—get_hint, get_site_policy, get_station, list_hints—wired-but-unused. Built (mcpclient/task_interleaving.go, ADR 0025), no use case calls it, upstreams.taskInterleaving.endpoint is set in helm-values/warehouse-ops-agent.yaml
A18returns-processing—get_return, list_returns_by_order, get_disposition_policy—wired-but-unused. Built (mcpclient/returns_processing.go), no use case calls it, upstreams.returnsProcessing.endpoint is set in helm-values/warehouse-ops-agent.yaml
A19exception-management—list_open_exceptions, get_exception, get_exception_policies, get_sla_report—MCP wired-but-unused: built (mcpclient/exception_management.go), no use case calls it, upstreams.exceptionManagement.endpoint is set in helm-values/warehouse-ops-agent.yaml. The advisory read over A2A is separate (A23, the A2A table below)
A20dock-scheduling———absent-planned. The yard pack plans the agent as a client, and the service ships its own MCP server (cmd/mcp: 5 L1 read tools and 4 L3 write tools). On warehouse-ops-agent develop there is no client (no mcpclient file, no DOCK_SCHEDULING_MCP_ENDPOINT, no mention in internal or cmd), and helm-values/warehouse-ops-agent.yaml in warehouse-infra develop has no upstreams entry for it. Checked 2026-11-10
A21yard-management———absent-planned, same facts as A20 (the service ships 8 L1 read tools and 6 L3 write tools in its own cmd/mcp; the agent has no client and no infra upstream). Checked 2026-11-10

The Order Lifecycle screen fans out to four contexts' OLTP APIs: OM, INV, WP and FE. The /console/reports/* endpoints read seven contexts' *-reports binaries.

A2A (the agent as caller). The agent also holds three A2A clients on develop (internal/adapters/outbound/a2a/), each switched on by an environment variable that helm-values/warehouse-ops-agent.yaml sets in warehouse-infra develop. Whether the running agent image carries them was not checked.

#PeerSkill and purposeWrite?Status
A22wes-work-planningrelease_next_work: the act slice of ADR 0027, a human-confirmed propose then approve flow over REST (never MCP, never reachable by the LLM) that delegates one release (WES_WORK_PLANNING_A2A_URL)yes, human-gatedlive in code, opt-in
A23exception-managementfind_exceptions, sla_status: an advisory, read-only exceptionContext on release proposals (ADR 0028, EXCEPTION_MANAGEMENT_A2A_URL); it never gates a proposalnolive in code, opt-in
A24workforce-managementassign_labor: act slice #2 of ADR 0029, one human-approved move (a2aEndpoint, rendered as WORKFORCE_MANAGEMENT_A2A_URL)yes, human-gatedlive in code, opt-in

Deliberately absent edges with a named seam​

#EdgeWhySource
X1fulfillment-execution → WCS / equipmentports.EquipmentCommandPort declares no methods and has no adapter (FE ADR-0015)FE
X2fulfillment-execution → network-fulfillment (PackageManifested)No persisted WorkUnitId -> NetworkRef mapping exists, so shipment confirmation is an explicit REST call to NF instead (NF ADR 0014)NF
X3order-management → wes-work-planning synchronous POST /paths/{pathId}/work-unitsReplaced by K1 choreography (OM ADR 0005, WP ADR-0031). No reply event exists; since OM ADR 0043 the opt-in K48 consumer reads wes-work-planning's existing WorkUnitCreated to confirm a release insteadOM, WP
X4fulfillment-execution, wes-work-planning, network-fulfillment → warehouse-planning (network demand part)Network demand from wes-work-planning and network-fulfillment is still absent-planned: no consumer. The observed-capacity part from fulfillment-execution is built as K49 (warehouse-planning ADR 0017, which reads only task completions)WPL

Separate Ways​

The context maps declare these pairs as having no relationship, by decision:

  • inventory-storage ↔ workforce-management. Worker identity must never leak into the stock system of record. inventory-storage also has no relationship with process-path-management, labor-performance or warehouse-planning. It consumes warehouse.fulfillment.events for TaskCompleted only (K37, where an inventory-storage consumer confirms picks and applies RELOCATE moves), and still has no other edge to fulfillment-execution. Its POST /reservations/{id}/pick-confirmations keeps no sibling caller: confirmation arrives on K37 instead.

  • workforce-management ↔ fulfillment-execution at the task level (WFM ADR 0002, "stop at the path boundary"). The one live edge between them is R9, which carries capacity, not tasks. WFM also has no edge to facility-layout ("Conformist, unexercised").

  • facility-layout calls nobody and consumes nothing. It has no relationship with order-management, process-path-management, labor-performance or network-fulfillment. process-path-management keeps local copies of LocationRole and SiteId, kept in sync by convention.

  • process-path-management and labor-performance make no REST or MCP call to any sibling. PPM's build fails if an outbound adapter imports net/http (TestNoSiblingContextOutboundCalls). LP has no outbound client package (its ADR 0003). PPM consumes no sibling topic. LP's only input is K15.

  • wes-work-planning ↔ labor-performance and wes-work-planning ↔ warehouse-planning have no runtime relationship.

  • warehouse-planning ↔ process-path-management (WPL ADR 0001 Addendum): WPL declares its own ProcessPath and shares the path_id string only as a human cross-reference. warehouse-planning ↔ inventory-storage: "stock is not capacity".

  • fulfillment-execution does not consume the inventory, facility or order topics. Those facts reach it only through what wes-work-planning releases, plus R8; classifications reach it from product-master (K20).

  • network-fulfillment ↔ facility-layout, workforce-management, labor-performance, warehouse-planning, warehouse-ops-agent.

  • network-inventory-planning ↔ workforce-management, labor-performance, process-path-management, network-fulfillment, product-master. None of their internal, cmd or apis on develop names it, and it names none of them. The one indirect dependency is configuration: its pick and dispatch path_id values must exist in wes-work-planning's catalogue, which process-path-management feeds (see K35).

  • inbound-receiving and slotting-optimization ↔ every other context not named in K22 to K29, K37 and K38. Neither makes a synchronous call to any sibling (only warehouse-ops-agent reads inbound-receiving, over MCP, A13), and they have no relationship with each other: slotting does not read receipts, and receiving does not read slot plans. Their local copies are built only from the topics named above.

  • pick-face-replenishment and task-interleaving ↔ every context not named in K39 to K47. Neither makes a synchronous call to a sibling, in either direction (event-fed local copies only). They have no relationship with each other: replenishment does not read hints, and interleaving does not read replenishment requests, although a REPLENISH task reaches task-interleaving through K45 and K46 like any other task (FE ADR 0050). pick-face-replenishment never creates floor work (that is wes-work-planning and fulfillment-execution) and never writes the stock ledger (that is inventory-storage). task-interleaving never assigns work: claimNext stays the only claim path. warehouse-ops-agent has an MCP client for each (A16, A17) and no use case calls either.

  • returns-processing and exception-management ↔ every context not named in K50 to K61. Neither makes a synchronous call to a sibling, in either direction. They have no relationship with each other beyond K54: the returns context does not read cases, and the exceptions context consumes exactly one returns type (UnexpectedReturnReceived) and ignores the rest. returns-processing never writes the stock ledger (that is inventory-storage, K53) and exception-management never writes to any producer: a resolution is a fact other contexts may read. Both consume warehouse.fulfillment.events but disjoint type sets (K52 vs K55). warehouse-ops-agent has an MCP client for each (A18, A19) with no use case behind it, plus the advisory A2A read of exception-management (A23).

Where the per-context maps disagree​

The rows above follow the code and the reference deployment. These are the places where two synced pages describe the same edge differently.

Status disagreements, resolved against code:

EdgePage A saysPage B saysResolution
K10 process-path-management → network-fulfillmentPPM: LiveNF: Wired, opt-inNF is correct. network-fulfillment's cmd/netfulfil/main.go starts the cache only inside wireCapabilityOffer, which returns early unless CAPABILITY_OFFER_ENABLED=true (default false). The reference deployment does not set it
K13 wes-work-planning → network-fulfillmentWP: Live (behind NF's CAPABILITY_OFFER_ENABLED)NF: Wired, opt-inSame gate as K10, so wired-but-unused
R5 inventory-storage → network-fulfillmentINV: Live, "no mode switch"NF: Wired, opt-inNF is correct. wireInventoryClient() is called only from wireCapabilityOffer
R2, R3, R4 product-classification lookupsolder synced INV, WP and FE pages: live or opt-in over RESTproduct-master, OM, WP, FE ADRs: replaced by a Kafka local copyThe consumers' develop code wins: each rejects PRODUCT_CLASSIFICATION_MODE=http at boot, so all three are retired and K20 carries the classification; the reference deployment runs every consumer in kafka mode. The reservation calls (R1) are live
A12 product-master → warehouse-ops-agentPM: "named by ADR 0001, not built"OA: a product-master MCP client (OA ADR 0020)OA is correct. product-master ships cmd/mcp (its ADR 0005), the agent's MasterDataGaps use case calls list_products, and terraform/ops-agent.tf sets the endpoint. PM's synced page predates both
K74 outbound-shipping → network-fulfillmentoutbound-shipping ADR 0001 and ADR 0004: network-fulfillment consumes ShipmentConfirmed and replaces the manual confirmationNF: no such consumer; shipment confirmation stays its REST call (H26)NF's code is correct: nothing on its develop reads the topic or the type. The edge is absent-planned
K75 outbound-shipping → yard-managementoutbound-shipping ADR 0005: yard-management consumes LoadingStarted, LoadClosed, LoadReopenedyard-management: declares no such consumer, no handlerThe yard's code is correct; outbound-shipping's own AsyncAPI marks the three pending. The edge is absent-planned
R7 (WP's distance lookup)WP: Wired, the default permissive never calls outFL: Livelive in the reference deployment (sync_edge_env["wes-work-planning"]). WP's page describes the binary default
K8 for FEFE: Opt-inPPM: livelive in the reference deployment. FE's page describes the binary default
R8 facility-layout → fulfillment-executionFE's and FL's synced pages: opt-in, LOCATION_ROLE_MODE off by defaultwarehouse-infra develop (#92): LOCATION_ROLE_MODE=http in sync_edge_envlive (apply pending). The synced pages describe the binary default
A3–A6 per-tool statusFE, WFM, FL, LP each list all their tools as consumed by the agentOA: some tools are wired onlyOA is correct. On develop, its use cases call only the tools listed as live in A1–A9
K2 order-management → warehouse-planningWPL: wired, opt-inOM's map does not list WPL as a consumer of its topicWPL's consumer exists and the reference deployment enables it, so live
K25 to K27, K38 and the deployment of slotting-optimizationslotting-optimization's synced runbook and EventStorming pages: edge route "planned, not wired", "no consumer, no Kong route, no chart"warehouse-infra develop: a local.services entry (Kong route, ArgoCD application, database), helm-values/slotting-optimization.yaml with DEMAND_MODE, PRODUCT_MODE, LAYOUT_MODE and RELOCATION_MODE all kafka, and terraform/mcp.tfwarehouse-infra is correct for edge status, so the rows are live. The repository's pages describe the service repo, not the cluster. One more gap: helm-values/slotting-optimization.yaml and the locals.tf comment say the MCP server stays off, while mcp.tf lists the context in mcp_services (mcp.enabled = var.deploy_mcp_servers); warehouse-ops-agent has the client and its daily brief calls it (the slot-plan watch, SlotPlanWatch), so A14 is live in code
K30 to K32 facility-layout, order-management, warehouse-planning → network-inventory-planningwarehouse-planning's own synced context map lists network-inventory-planning as "No relationship ... Absent"; the other two producers' maps do not mention itNIP's code and AsyncAPI consume all three topicsNIP is correct. network-inventory-planning reads CapacityPlanPublished and relies on warehouse-planning's additive site_id (which warehouse-planning publishes on develop). The producers are unaware of the consumer, which is normal for a Published Language edge; the upstream map rows are an upstream follow-up
K48 wes-work-planning → order-managementWP's synced domain-events page: WorkUnitCreated consumed by "—" (no consumer)OM: the release-confirmation consumer reads it (ADR 0043, opt-in)OM is correct about the code, and the consumer is off in the reference deployment, so wired-but-unused. WP's page predates the consumer; fix upstream in wes-work-planning
K45 fulfillment-execution → task-interleaving, TaskAvailableTI's pages before its PR #11: announced for "RELOCATE tasks only"FE develop: ADR 0050 announces REPLENISH tasks too (apis/asyncapi.yaml, "today only RELOCATE and REPLENISH tasks carry bins")FE is correct. Fixed at source by task-interleaving PR #11 (merged 2026-10-17); the re-synced copies here say RELOCATE and REPLENISH
K42, K43 inventory-storage → pick-face-replenishmentPFR's pages before its PR #9: inventory-storage does not publish BinStockLevelChanged (P1) and has no REPLENISHMENT reason (P4), fulfillment-execution has no REPLENISH task (P3)INV develop: ADR 0040 and ADR 0041; FE develop: ADR 0050INV and FE are correct. Fixed at source by pick-face-replenishment PR #9 (merged 2026-10-17); the re-synced copies here no longer say it
K44 pick-face-replenishment → wes-work-planningPFR's synced pages (as of its develop 63abb12): wes-work-planning has no consumer and emits no replenishment object, P3 and P3b open, "nobody consumes ReplenishmentRequested" (docs/docs/ddd/bounded-context-canvas.md, ddd/context-map.md, ddd/domain-message-flow.md, ddd/eventstorming.md; also ddd/subdomain-classification.md and ecosystem/integration.md, which are not synced here)WP develop: ADR 0042 and internal/adapters/inbound/kafka/replenishment_consumer.go; PPM develop: ADR 0036 and the REPLENISH entry in catalogue/paths.jsonWP and PPM are correct (both merged after PFR's last docs pass). Fix upstream in pick-face-replenishment: the synced copies on this site still carry the old statements and are not hand-edited

Pattern disagreements (judgement, not code). The two pages name a different pattern for the downstream side. The edge table shows both:

  • K1 OM → WP, K3 INV → WP, K14 FE → WP: the upstream page says Conformist. wes-work-planning says it has an ACL: unexported structs in its Kafka consumer hold the foreign shape and never leave the adapter.
  • K9 PPM → OM and K16 FE → OM: the upstream page says Conformist. order-management says ACL (a local read model).
  • K7 WFM → WPL: WFM says C/S + PL. WPL says ACL and states that it has no Conformist relationship with anyone.
  • A7 WPL → OA: WPL says "Customer with an ACL". OA says Conformist.

Corrections to this page's previous version:

  • K28 and K63 to K65 said wired-but-unused because the yard pages recorded dock-scheduling and yard-management as not applied. Both run on k3s at v0.1.2 since 2026-11-10 (read-only kubectl), next to warehouse-planning, exception-management and inbound-receiving, so the four rows are live. K70 and K71 stay not live: outbound-shipping is registered in warehouse-infra develop but not applied (no pod). K76 (yard-management → inbound-receiving, VisitCheckedIn, built since inbound-receiving commit 484490f) was missing and is added. The four inbound-receiving dockappointment types are retired (stage E, ADR 0022), so the page no longer lists them as published.

  • K67 to K75 and the outbound-shipping paragraphs said the context had no Helm chart, no terraform/apps.yaml entry and no values file, and K70 said its dock-scheduling contract was pinned by hand from a feature branch. On 2026-11-11 outbound-shipping is released as v0.1.0 (tag 857edfd), its chart is merged (PR 17), it is registered and image-pinned in warehouse-infra develop (PR 205) and its dock-scheduling contract is pinned and tested (its ADR 0007). It is still not applied: no pod runs (read-only kubectl), so K67 to K75 stay not live. Each row now says which infra wiring exists (the consumer groups of helm-values/outbound-shipping.yaml, and exception-management's group for K73) and which does not (none for order-management, K72).

  • K62 to K66 were cited by product-master, pick-face-replenishment and exception-management pages with no row here. Each cite was grounded on both repositories' develop and in warehouse-infra develop: K62 is the product-master pack-level feed to seven consumers, K66 the CartonDiscrepancyRaised feed into exception-management (ADR 0006), and K63 to K65 are three more yard-section feeds the map lacked (yard-management and dock-scheduling into exception-management, dock-scheduling into inbound-receiving). K28 no longer says dock-scheduling has no warehouse-infra registration: it has had one since #193 (2026-11-09).

  • The agent's section said every edge was a read, that the agent has no client for pick-face-replenishment, task-interleaving, returns-processing or exception-management, and that the process-path-management client was removed. On warehouse-ops-agent develop all four MCP clients exist (A16 to A19), the process-path-management client was re-added (A9), and three A2A clients exist (A22 to A24: two human-gated act slices and one advisory read). It still has no client for dock-scheduling or yard-management (A20, A21).

  • returns-processing and exception-management (decided 2026-10-20, merged 2026-10-20/21) are added with edges K50 to K61 and two nodes in the diagram. K50 to K59 were added as wired-but-unused, and became live when both services were registered in warehouse-infra develop on 2026-10-22: every consumer and both handovers are built (inventory-storage ADR 0044 for K53; the exception-management consumers for K54 to K59), and the four types that were analytics-only on 2026-10-20 — PackageDiverted and WeightDiscrepancyDetected (fulfillment-execution), DiscrepancyDetected and ItemUnlocated (inventory-storage, its ADR 0043) — were promoted onto their producers' integration topics on 2026-10-21. K60 and K61 (PathUnderstaffed, TransferStuckDetected) are absent-planned: both are analytics-topic-only on their producers today and stay dashed planned, never faked as live.

  • inbound-receiving and slotting-optimization (decided 2026-10-08) were added with edges K22 to K29 and A13 and A14, all absent-planned. Since then inbound-receiving is deployed and K22 to K24 and A13 are live; slotting-optimization is registered in warehouse-infra develop with all four consumers on, so K25 to K27 are live, and its execution chain (K29, plus the new K37 and K38) is built in every context it touches and live. K29 was absent-planned "MOVE and REPLENISH work"; the decision (slotting ADR 0010, which supersedes ADR 0007) chose RELOCATE work. Both now have synced per-context maps.

  • pick-face-replenishment and task-interleaving (scaffolded 2026-10-17) were added as planned contexts with edges K39 to K47. Since then both services merged on develop (not yet deployed at that point), and inventory-storage (ADR 0040, ADR 0041) and fulfillment-execution (ADR 0049, ADR 0050) shipped their ends. K39 to K43, K45 and K46 are now wired-but-unused (K41, K45 and K46 were absent-planned; K42 and K43 were absent-planned because the producer lacked the type and the reason); K47 stays absent-planned, because fulfillment-execution has no hint consumer. K44 was absent-planned at that point (wes-work-planning had no REPLENISH work unit or consumer and process-path-management no path); both merged later on 2026-10-17 (WP ADR 0042, PPM ADR 0036), so K44 was wired-but-unused until the 2026-10-20/21 deploy: pick-face-replenishment and the setting were then registered in warehouse-infra (#116, #121) and K39 to K47 became live. K47 was absent-planned until fulfillment-execution#224 (ADR 0051). K28 was absent-planned until warehouse-planning ADR 0017. K43's warning that slotting-optimization needed a reason filter is closed by its PR #35. K48 (WorkUnitCreated release confirmation, OM ADR 0043) was missing and is added as wired-but-unused. K29's "MOVE and REPLENISH work" history is unchanged: replenishment is now owned by pick-face-replenishment rather than by slotting-optimization.

  • K20 was marked live "in code" only, with the reference deployment behind. Since 2026-10-07 warehouse-infra deploys product-master and runs all four consumers in kafka mode, so K20 is live by the same rule as every other row. A12 (product-master → warehouse-ops-agent over MCP) was missing.

  • The product-master edges were "planned / in progress". All four ProductClassified consumers are merged (K20), the REST classification lookups R2, R3 and R4 are retired, and the legacy import (K21) is wired for the migration.

  • FE → WP was labelled Partnership. Both FE's and WP's maps call it Customer/Supplier with a feedback edge. FE's page explains why the WES tier is deliberately not a Partnership.

  • warehouse-planning → order-management was "planned, not live". The OM consumer exists (OM ADR 0031) and is enabled in the reference deployment (K18).

  • warehouse-ops-agent was said to have no warehouse-planning client. It has one (OA ADR 0013, A7).

  • network-fulfillment was said to publish no events. It ships an outbox publisher to warehouse.network-fulfillment.events behind EVENT_PUBLISHER=kafka (K19, set in warehouse-infra develop since #92), and nothing consumes it.

  • network-fulfillment was missing as a downstream of PPM, WP and INV (K10, K13, R5). Those edges exist, but none is enabled.

  • OM → WPL demand (K2) and LP → WFM REST (R10) were missing.

  • network-inventory-planning was missing altogether. Its seven Kafka edges (K30 to K36) and the agent's transfer-watch client (A15) are added. Their status follows the reference deployment's configuration on develop (terraform/network-inventory-planning.tf, helm-values/inventory-storage.yaml, terraform/ops-agent.tf); that configuration was read, not observed on a running cluster.

  • The retail-network ADR is network-fulfillment ADR 0009. It was renumbered from 0002, and 0002 is now a "Moved" stub.

Upstream: retail-network​

retail-network is not one of the fleet's bounded contexts. It plays the role of an external retail fulfillment network, and since 2026-10-24 it is built: the eleven contexts of the retail network section run in the same kind cluster, and their Vendor API is served by vendor-connectivity. network-fulfillment is Conformist to that API and acts as the fleet's Anti-Corruption Layer: the network's vocabulary stops at internal/adapters/outbound/network/, and the rest of the fleet sees only SKUs, quantities and a deadline. The relationship is decided in network-fulfillment ADR 0009 (Accepted). The live adapter is built in three loops: ADR 0026 (demand: poll purchase orders, acknowledge, label, confirm shipment), ADR 0027 (supply: node profile and inventory feed) and ADR 0028 (inbound: seller shipments and receipts). warehouse-infra develop runs it with config.networkMode: live as vendor V-WS against the in-cluster vendor-connectivity Service, not through Kong (helm-values/network-fulfillment.yaml, since 2026-10-25); StubGateway stays the chart default and the mode of tests. The network side of the seam is described in the network section's integration pages.

The console​

warehouse-console is a Module Federation shell, not a bounded context. Most contexts ship their own remote in their web/ directory: order-mgmt-mfe, inventory-mfe, facility-mfe, workforce_mfe, labor_mfe, process_path_mfe, capacity_mfe (warehouse-planning), productmaster_mfe (product-master, the Product Master tile), nip_mfe (network-inventory-planning, route /network-inventory/*), inbound_mfe (inbound-receiving, route /inbound-receiving/*, served at /mfes/inbound-receiving/), and the network-fulfillment, fulfillment-execution and wes-work-planning remotes. slotting-optimization plans its own remote and console tile, which are not built yet. Each remote calls only its own context's REST API. That is presentation composition, not a domain edge, so the diagram leaves it out. The one cross-context read path for the console is warehouse-ops-agent's BFF (A11).