WMS and WES · executive briefings · counted 29 Nov 2026

WMS and WES executive briefings

The warehouse, from dock door to dispatch.

Eighteen bounded contexts run the building: master data, receiving, storage and slotting, order waves, execution, labour and the exception desk. Each one owns its language, its data and its events — nothing calls a sibling, everything integrates through Kafka.

bounded contexts
21
briefing decks
19
event routes drawn
68+18 crossing
commits
5,438
median eng. score
92

Ecosystem briefing · business + architecture

The WMS keeps stock and transactions true; the WES decides when and where work runs, one unit at a time.

The askPick the next bet: prove the open chains on the cluster first, then lot traceability, then the equipment edge.

  1. A pallet's day runs from a booked door to a trailer that really left, through events between small contexts.
  2. Work is released without waves and pulled by stations, so the floor follows the truck cutoff, not a batch.
  3. The gaps are plain: no equipment control, no lot or serial traceability, and two chains not yet proven on the cluster.

Open the WMS and WES deck ↗

part 1 business, 9 slides · part 2 architecture, 16 slides · reveal.js, press → to walk the story

How the pieces talk

Every arrow is a real event route.

Counted from the context registry, not drawn by hand: solid arrows are Kafka routes inside the program; ▲ is the routes a context consumes and ▼ the routes it publishes. 18 more routes cross the program boundary.

Master dataReceiveStoreFulfilWork the floorShip & exceptionsfacility-layout → inbound-receivingfacility-layout → outbound-shippingfacility-layout → inventory-storagefacility-layout → pick-face-replenishmentfacility-layout → slotting-optimizationfacility-layout → task-interleavingfacility-layout → warehouse-planninginbound-receiving → inventory-storageoutbound-shipping → order-managementinventory-storage → inbound-receivinginventory-storage → pick-face-replenishmentinventory-storage → slotting-optimizationinventory-storage → wes-work-planningpick-face-replenishment → wes-work-planningreturns-processing → inventory-storageproduct-master → inbound-receivingproduct-master → inventory-storageproduct-master → pick-face-replenishmentproduct-master → returns-processingproduct-master → slotting-optimizationproduct-master → fulfillment-executionproduct-master → order-managementproduct-master → wes-work-planningslotting-optimization → inventory-storageslotting-optimization → pick-face-replenishmentslotting-optimization → wes-work-planningfulfillment-execution → outbound-shippingfulfillment-execution → inventory-storagefulfillment-execution → returns-processingfulfillment-execution → labor-performancefulfillment-execution → order-managementfulfillment-execution → task-interleavingfulfillment-execution → warehouse-planningfulfillment-execution → wes-work-planninglabor-performance → warehouse-planninglabor-performance → workforce-managementorder-management → pick-face-replenishmentorder-management → returns-processingorder-management → slotting-optimizationorder-management → warehouse-planningorder-management → wes-work-planningprocess-path-management → outbound-shippingprocess-path-management → fulfillment-executionprocess-path-management → order-managementprocess-path-management → warehouse-planningprocess-path-management → wes-work-planningprocess-path-management → workforce-managementtask-interleaving → fulfillment-executionwarehouse-planning → order-managementwarehouse-planning → workforce-managementwes-work-planning → fulfillment-executionwes-work-planning → order-managementworkforce-management → warehouse-planningworkforce-management → wes-work-planningproduct-master▲0 ▼9product-master: consumes 0 route(s), publishes to 9facility-layout▲0 ▼10facility-layout: consumes 0 route(s), publishes to 10inbound-receiving▲5 ▼5inbound-receiving: consumes 5 route(s), publishes to 5inventory-storage▲7 ▼6inventory-storage: consumes 7 route(s), publishes to 6slotting-optimization▲4 ▼3slotting-optimization: consumes 4 route(s), publishes to 3pick-face-replenishment▲5 ▼1pick-face-replenishment: consumes 5 route(s), publishes to 1order-management▲6 ▼7order-management: consumes 6 route(s), publishes to 7fulfillment-execution▲4 ▼10fulfillment-execution: consumes 4 route(s), publishes to 10task-interleaving▲2 ▼1task-interleaving: consumes 2 route(s), publishes to 1warehouse-planning▲7 ▼3warehouse-planning: consumes 7 route(s), publishes to 3wes-work-planning▲9 ▼4wes-work-planning: consumes 9 route(s), publishes to 4process-path-management▲0 ▼8process-path-management: consumes 0 route(s), publishes to 8labor-performance▲1 ▼2labor-performance: consumes 1 route(s), publishes to 2workforce-management▲3 ▼2workforce-management: consumes 3 route(s), publishes to 2outbound-shipping▲5 ▼3outbound-shipping: consumes 5 route(s), publishes to 3returns-processing▲3 ▼2returns-processing: consumes 3 route(s), publishes to 2

The briefings

19 projects, briefed like a business.

Mission, capabilities, events, risks and next steps — quoted from each repository's committed executive deck; every number beside them is counted from git and the GitHub API.

facility-layout · generic

Facility layout is the warehouse map every tier builds on, and it only ever stores legal locations

Owns the warehouse map as a standalone Generic Subdomain: whether a coded location exists, is active, and is legal for a given kind of storage unit. Placement legality (e.g. no ambient product in the frozen zone) is enforced once, at registration time, so every slot in the database is legal by construction. As an Open Host Service with a…

  • Structural hierarchy management: Site, Zone, Aisle registration with temperature class, hazmat flag and walk-order sequence hints; explicit site role and transfer capability (heartbeat re-pu…
  • Placement-rule legality: Deny/Allow rules keyed by zone predicate decide which LocationTypes are legal where, at registration time
  • Warehouse visualization: pre-ordered nested layout, 2D zone grid and server-side SVG floor plan for direct UI rendering

publishes

  • 15 types on warehouse.facility.events: SiteRegistered, SiteCapabilityChanged, SiteRoleChanged, ZoneRegistered, AisleRegistered, LocationTypeRegistered, PlacementRuleDefined, LocationSlotRegistered, LocationSlotDecommissioned, FacilityLayoutImported, LocationSlotHandlingUnitDeclared, LocationGeometryUpdated, AisleGeometryUpdated, FixedStructureRegistered, CrossAisleRegistered
  • The same 15 types on warehouse.facility.analytics for the Layout Catalog Growth data product

consumes

  • None from other services (zero inbound dependencies); facility-projector consumes the service's own warehouse.facility.analytics topic

Named risks. Every REST, MCP and A2A endpoint is unauthenticated by decision (ADR-0015 reverted ADR-0014); relies on being reachable only inside the cluster

Next: Event-driven travel input for wes-work-planning is open: it still reads distance synchronously (TRAVEL_DISTANCE_MODE=http) and consumes none of the Aisle/CrossAisle geome…

inbound-receiving · supporting

Inbound receiving turns an announced truck into counted, checked stock without calling any other team live

Owns the inbound dock workflow up to, but not including, stock placement: the supplier's advance ship notice (ASN), a read-only copy of the carrier's booked dock door window (the DockAppointment moved to dock-scheduling, ADR 0019) and the counted physical receipt whose close raises coded discrepancies and a receiving advice. Fills the gap…

  • ASN registration and lifecycle: register/cancel supplier announcements with lines numbered 1..n (unique SKUs) and an SSCC carton tree (ADR 0012) or a flat S-O-I ASN received by content-GTIN…
  • Dock appointments as a read-only copy: dock-scheduling's inbound Booked/Cancelled/Rescheduled/DoorReassigned events keep a version-guarded local copy; POST /appointments, check-ins and cance…
  • Receiving and carton-aware scans: open a receipt (ASN snapshot copied in), receive lines, case-level scans that count cases via a local packaging view (pack level -> eaches factor, ADR 00…

publishes

  • com.warehouse.wms.inbound-receiving.asn.ASNRegistered
  • com.warehouse.wms.inbound-receiving.asn.ASNCancelled
  • com.warehouse.wms.inbound-receiving.asn.AsnLateForArrival
  • com.warehouse.wms.inbound-receiving.receipt.ReceiptOpened
  • com.warehouse.wms.inbound-receiving.receipt.ReceiptLineReceived
  • com.warehouse.wms.inbound-receiving.receipt.ReceiptCartonReceived

consumes

  • com.warehouse.wms.product-master.product.ProductRegistered
  • com.warehouse.wms.product-master.product.ProductPackLevelDeclared
  • com.warehouse.wms.product-master.product.ProductPackLevelRetired
  • com.warehouse.wms.facility-layout.locationslot.LocationSlotRegistered

Named risks. REST, MCP, A2A and the reports are unauthenticated BY DECISION (fleet-wide revert 2026-09-11, README disclaimer)

Next: Retire the frozen appointment surface once dock-scheduling reads suffice: GET /appointments and MCP get_appointment/list_appointments still read the local copy, and the a…

outbound-shipping · supporting

Outbound Shipping confirms a shipment only when the trailer leaves, so 'shipped' finally means shipped

outbound-shipping is the WMS-tier Supporting bounded context that gets every manifested package onto the right load before its cutoff, proves what left on which trailer, and tells the fleet an order actually shipped. It fills the gap between fulfillment-execution (which stops at PackageManifested) and yard-management (which owns the trail…

  • Plan a load automatically from the first manifested package per (site, cutoff, operating date, ship method) — one open load per key enforced by a partial unique index
  • Assign the door from dock-appointment facts and start loading when a trailer docks at the load's door
  • Stage and load packages with staging-location rules from facility-layout local copies (only Staging-role locations of the site)

publishes

  • com.warehouse.wms.outbound-shipping.outboundload.LoadPlanned
  • com.warehouse.wms.outbound-shipping.outboundload.LoadDoorAssigned
  • com.warehouse.wms.outbound-shipping.outboundload.LoadingStarted
  • com.warehouse.wms.outbound-shipping.outboundload.LoadClosed
  • com.warehouse.wms.outbound-shipping.outboundload.LoadReopened
  • com.warehouse.wms.outbound-shipping.outboundload.LoadCancelled

consumes

  • com.warehouse.wes.fulfillment-execution.package.PackageManifested
  • com.warehouse.wes.fulfillment-execution.package.PackageDiverted
  • com.warehouse.wes.process-path-management.cptschedule.CPTScheduleChanged
  • com.warehouse.wms.facility-layout.zone.ZoneRegistered

Named risks. Consumers (six groups) and the relay have no lag, depth or DLQ metric: operational truth is slog lines and SQL, and the deployed image emits no OTel at all, so the generated dashboard rows are empty t…

Next: Roll an image carrying the OpenTelemetry setup (ADR 0008) to the cluster — the running v0.1.0 pod (857edfd) predates it — and get warehouse-infra to load the outbound-shi…

inventory-storage · core

Inventory storage is the stock truth: every item has one known bin or is flagged lost, never in between

Owns the 'storing them under chaotic storage' clause of the platform vision and the stock truth everything downstream depends on. Under chaotic (random) stow there is no fixed product location, so the software must answer authoritatively where each SKU is (which bin, how many) and how much of it can actually be promised. The core operatio…

  • Chaotic-storage receiving and stow: stock receipts stage goods (also booked from inbound-receiving and returns-processing lines); StowStock requires both item-scan and location-scan (the ant…
  • Revocable reservations: ReserveStock draws a SKU's forward pick face from the approved slot plan first, then reserve bins (smaller usable first), with allocations naming the pick bin; Revoke…
  • Usable-inventory projection: on-hand minus active reservations minus unlocated/held, exposed per SKU for Work Planning and order contexts; BinStockLevelChanged publishes absolute per-bin lev…

publishes

  • warehouse.inventory.events (19 types): StockReserved, ReservationRevoked, TransferStockAllocated/AllocationRejected/AllocationReleased, TransferReceiptStaged, TransferStockStowed, StockRelocated, BinStockLevelChanged, DiscrepancyDetected, ItemUnlocated, ItemStowed, ContainerRegistered, ContainerStowed, CaseBroken, ContainerEmptied, StockHeld, StockReleased, StockDispositioned
  • warehouse.inventory.analytics (9 types, feeds the flow-and-accuracy data product): StockReceived, ItemStowed, ItemUnlocated, StockReserved, StockPicked, ReservationExpired, ReservationRevoked, CycleCountCompleted, DiscrepancyDetected

consumes

  • warehouse.facility.events (facility-layout): ZoneRegistered, LocationSlotRegistered, LocationSlotDecommissioned, LocationSlotHandlingUnitDeclared into a local facilitycache (LOCATION_LOOKUP_MODE=kafka or http, mandatory, no default)
  • warehouse.product-master.events: ProductClassified, PackLevelDeclared, PackLevelRetired
  • warehouse.fulfillment.events: TaskCompleted (confirms picks per order line; applies RELOCATE and REPLENISH tasks)
  • warehouse.inbound-receiving.events: ReceiptLineReceived, ReceiptCartonReceived; warehouse.returns-processing.events: ReturnLineStaged

Named risks. Every REST, MCP and A2A endpoint is unauthenticated by decision (ADR-0015, guarded by an arch-test), including the write paths POST /reservations, revoke_reservation and held-stock dispositions; relie…

Next: StowStock only checks that the bin exists in the local LocationRepo, not against facility-layout's slot catalogue; placement policy for Oversized/HighValue/Fragile remain…

pick-face-replenishment · supporting

Pick-Face Replenishment spots a pick face nearing empty and asks for a refill, so picking keeps moving

pick-face-replenishment is the WMS-tier Supporting bounded context that keeps forward pick faces from running dry. It holds an explicit min/max policy per site and SKU, watches each forward bin's stock level through event-fed local copies of neighbours, and when the projected level reaches the minimum raises a replenishment request: move…

  • Declare versioned MIN_MAX policies per (site, SKU) via PUT with If-Match optimistic concurrency, either DECLARED (hand-typed multiple) or PACK_DERIVED from product-master's active CASE level…
  • Show every pick face with its status (BELOW_MIN, OK, NO_SOURCE, NO_POLICY) from local copies
  • Raise replenishment requests three ways: automatically on bin-level or forward-map changes, via the site evaluation sweep, or manually

publishes

  • com.warehouse.wms.pick-face-replenishment.replenishment.ReplenishmentRequested
  • com.warehouse.wms.pick-face-replenishment.replenishment.ReplenishmentCompleted
  • com.warehouse.wms.pick-face-replenishment.replenishment.ReplenishmentCancelled
  • com.warehouse.wms.pick-face-replenishment.policy.ReplenishmentPolicyDeclared

consumes

  • com.warehouse.wms.product-master.product.ProductPackLevelDeclared
  • com.warehouse.wms.product-master.product.ProductPackLevelRetired
  • com.warehouse.wms.inventory-storage.stock.BinStockLevelChanged
  • com.warehouse.wms.inventory-storage.stock.StockRelocated

Named risks. The replenishment loop depends on siblings honouring the chain (StockRelocated with reason REPLENISHMENT and source_ref = request id); a producer change silently stops completions

Next: Verify the full execution chain end-to-end (wes-work-planning REPLENISH work, fulfillment-execution task, inventory-storage relocation) once siblings deploy; the REPLENIS…

returns-processing · supporting

Returns Processing grades every returned line and routes it by policy, so recovered value follows a rule

returns-processing is the WMS-tier Supporting bounded context for goods coming back. It authorizes a return against an order line that was both allocated and shipped, receives the arriving parcel, records one inspection grade per line, and decides the disposition — RESTOCK, REFURBISH, LIQUIDATE, DISPOSE or RTV — from a versioned Dispositi…

  • Authorize returns (POST /returns) against the manifested work-unit copy, inside the policy window and per-line caps, with explicit rejection codes
  • Receive parcels (including RMA-less parcels as explicitly UNEXPECTED lines that raise UnexpectedReturnReceived for exception-management)
  • Inspect each line exactly once (grade A/B/C/SCRAP with reason codes)

publishes

  • com.warehouse.wms.returns-processing.returnauthorization.ReturnAuthorized
  • com.warehouse.wms.returns-processing.returnauthorization.ReturnAuthorizationRejected
  • com.warehouse.wms.returns-processing.returnreceipt.ReturnReceiptOpened
  • com.warehouse.wms.returns-processing.returnreceipt.ReturnLineInspected
  • com.warehouse.wms.returns-processing.returnreceipt.UnexpectedReturnReceived
  • com.warehouse.wms.returns-processing.disposition.DispositionDecided

consumes

  • com.warehouse.wms.product-master.product.ProductClassified
  • com.warehouse.wes.order-management.order.OrderAllocated
  • com.warehouse.wes.order-management.order.OrderPartiallyAllocated
  • com.warehouse.wes.fulfillment-execution.package.PackageManifested

Named risks. Policy quality drives value recovery: a wrong grade/class rule silently routes stock to refurbish/liquidate/dispose; overrides exist but are after the fact

Next: Propagate W3C trace context through the outbox relay to join REST and consumer paths: the outbox has no headers column today (observability.md), so a migration is needed

product-master · supporting

Product Master owns every SKU's handling, size and packaging, and nine contexts keep copies from its events

Owns SKU-level product master data for the whole fleet: the handling classification (hazmat, fragile, temperature-sensitive, oversized, high value, DOT hazard class), the declared-versus-measured physical profile (unit dimensions and weight), and the packaging hierarchy (EACH -> INNER -> CASE -> PALLET with GS1 GTINs, eaches as t…

  • SKU registration and lifecycle: register a product by SKU (PUT, aggregate version guards writes with optimistic concurrency); attributes of an unknown SKU are a 404 - master data has an expl…
  • Handling classification: closed set of handling tags (Hazmat, Fragile, TemperatureSensitive, Oversized, HighValue), TemperatureClass required iff TemperatureSensitive, DOTHazardClass 1-9 onl…
  • Physical profile: declared vs measured unit dimensions/weight in integer mm and g; effective = measured else declared; latest measurement wins by measuredAt (409 stale-measurement); >10%…

publishes

  • com.warehouse.wms.product-master.product.ProductRegistered
  • com.warehouse.wms.product-master.product.ProductDescriptionChanged
  • com.warehouse.wms.product-master.product.ProductClassified
  • com.warehouse.wms.product-master.product.ProductDimensionsDeclared
  • com.warehouse.wms.product-master.product.ProductMeasured
  • com.warehouse.wms.product-master.product.ProductPackLevelDeclared

consumes

  • none cross-context - pure producer on the integration seam; fulfillment-execution, inbound-receiving, inventory-storage, network-inventory-planning, order-management, pick-face-replenishment, returns-processing, slotting-optimization and wes-work-planning declare product-master types in their own apis/asyncapi.yaml; ProductDescriptionChanged is declared by none

Named risks. REST, MCP (including the two L3 pack-level writes) and A2A are unauthenticated BY DECISION (fleet-wide revert 2026-09-11; the Agent Card declares no security schemes)

Next: Re-test the reports route through Kong on a running cluster: a 404 was recorded 2026-10-07, the route moved into this chart (8c22a05, 2026-10-13) but README still says it…

slotting-optimization · supporting

Slotting turns pick history into a reviewable plan, so the best slots go to the items that move most

Owns the forward-slotting decision the rest of the fleet leaves implicit: today fast movers can sit in far slots while slow movers hold the best ones. It computes a reviewable SlotPlan proposal per site and demand window from event-fed local copies (demand, product facts, slot facts, pack levels), a planner either accepts or rejects it, a…

  • Slot plan generation: pure Planner policy abc-velocity-v1 ranks SKUs by order-line picks (ABC classes at 80%/95% cumulative pick share), filters eligibility by hazmat, temperature and unit c…
  • Human approval workflow: Draft -> Approved/Rejected with immutable terminal states, at most one Approved plan per site (use-case layer plus partial unique index), and automatic supersessi…
  • Case-pick faces (ADR 0012): zones in CASE_PICK_ZONE_CODES become CASE faces with casesCapacity derived from case cube and weight; SKUs planned as pickUnit CASE only when a GCD-of-demand rule…

publishes

  • com.warehouse.wms.slotting-optimization.slotplan.SlotPlanGenerated
  • com.warehouse.wms.slotting-optimization.slotplan.SlotPlanApproved (full assignment map + moves + supersedes_plan_id)
  • com.warehouse.wms.slotting-optimization.slotplan.SlotPlanRejected
  • analytics twins of the same three on warehouse.slotting-optimization.analytics (same type and id, byte-identical payloads)

consumes

  • com.warehouse.wes.order-management.siteskudemand.SiteSkuDemandChanged (the velocity input, DEMAND_*)
  • com.warehouse.wms.product-master.product.ProductClassified / ProductDimensionsDeclared / ProductMeasured (eligibility, PRODUCT_*)
  • com.warehouse.wms.product-master.product.ProductPackLevelDeclared / ProductPackLevelMeasured / ProductPackLevelRetired (case faces, PACK_LEVEL_*, ADR 0012)
  • com.warehouse.wms.facility-layout.zone.ZoneRegistered + locationslot.LocationSlotRegistered / LocationSlotDecommissioned (the forward slots, LAYOUT_*)

Named risks. Every REST, MCP and A2A endpoint is unauthenticated by decision (fleet-wide revert), including the plan approve/reject POSTs; relies on cluster-internal reachability

Next: Travel-distance slot ranking behind the SlotRankingPolicy port — v1 ranks slots lexically because facility-layout events carry no geometry; it needs layout geometry event…

fulfillment-execution · core

Fulfillment execution turns released work into finished picks and packs, and no job can quietly vanish

Turns released work into completed physical operations and makes it impossible to lose a unit of work. Upstream wes-work-planning decides a unit of work should happen now (WorkReleased event); this service turns it into a Task, lets a station pull it via claimNext with capability matching and earliest-CPT selection, and closes the loop by…

  • Pull-based task dispatch: claimNext(stationId, capabilities) selects the earliest-CPT pending task the station is certified for - the system never names a station in advance
  • Leased, at-most-once claiming: a claim is time-boxed, renewable, and expiry returns the task to the pool (no stranded work)
  • Pick, pack, rebin and SLAM execution: pick scans, package seal, SLAM weigh-check applies a label within tolerance or diverts; consolidation and rebin arrivals; CPT-miss sweep

publishes

  • warehouse.fulfillment.events (13 types): TaskAvailable, TaskClaimed, TaskCompleted (closes the loop back to Work Planning), TaskCPTMissed, PackageManifested, PackageDiverted, WeightDiscrepancyDetected, TransferPicked, TransferDispatched, TransferArrived, WorkBatchFormed, WorkBatchCompleted, WorkBatchAbandoned
  • warehouse.fulfillment.analytics (13 Analytics* types: task created/claimed/completed, lease expired, item picked, package sealed/manifested/diverted, label applied, weight discrepancy, work batch formed/completed/abandoned) for the throughput data product

consumes

  • WorkReleased from warehouse.work-planning.events (mapped into CreateTask; deduped via processed_events; malformed events dead-lettered to warehouse.work-planning.events.dlq)
  • ProcessPathCreated, ProcessPathUpdated, ProcessPathDeactivated from warehouse.process-path-management.events (Kafka-sourced path catalogue)
  • ProductClassified, ProductPackLevelDeclared, ProductPackLevelRetired from warehouse.product-master.events (local copies; PRODUCT_CLASSIFICATION_MODE accepts only kafka)
  • InterleavingHintIssued from warehouse.task-interleaving.events (one active hint per station, tie-break only, ADR-0051)

Named risks. Every REST, MCP and A2A endpoint is unauthenticated by decision (fleet identity layer removed by ADR-0022), including the write path complete_task; relies on cluster-internal reachability

Next: Eight ADRs are still Proposed in docs/docs/adr/index.md: 0054-0056 (case and each pick scans, BREAK_CASE task, ship in own container) and 0061-0065 (PackageManifested shi…

labor-performance · supporting

Labor performance scores every finished task against a fair standard, surfacing signals without deciding pay

Measures warehouse labor productivity by defining engineered time standards per task type (e.g. a PICK should take 45s) and scoring every completed task against the standard that was in force when it finished. It is a pure Kafka consumer of fulfillment-execution's TaskCompleted events and turns them into per-associate scorecards, fleet-wi…

  • Define and revise append-only LaborStandards per TaskType with optional travel-time component
  • Optional per-handling-unit standards (EACH|CASE|PALLET) with a declared CASE team-lift weight and time; most specific standard wins (ADR 0035)
  • Score completed tasks (TaskPerformance) frozen against the standard active at completion time

publishes

  • com.warehouse.wes.labor-performance.standard.LaborStandardDefined
  • com.warehouse.wes.labor-performance.standard.LaborStandardRevised
  • com.warehouse.wes.labor-performance.performance.TaskPerformanceRecorded (integration topic + analytics-topic variant)

consumes

  • com.warehouse.wes.fulfillment-execution.task.TaskCompleted (warehouse.fulfillment.events, idempotent on CloudEvents id, DLQ for non-CloudEvents)

Named risks. Every REST, MCP and A2A endpoint is unauthenticated by decision (ADR 0012 removed ADR 0011's bearer layer); relies on cluster-internal reachability

Next: ADR 0035 (handling-unit standards, team lift) is still marked Proposed (2026-10-24) although REST handlingUnit and migration 0007 ship it: accept it or reconcile the reco…

network-fulfillment · supporting

Network fulfillment promises the network only what the floor can actually ship before the next cutoff

Sells the building's fulfillment capability to an external retail network honestly: it polls network demand, translates network product ids to SKUs, holds an order in order-management, and acknowledges or rejects within the network's 24-hour fill-or-kill SLA. Its one genuinely new domain concept is throughput-constrained advertised availa…

  • Inbound demand leg: poll the network gateway (stub by default, live Vendor-API adapter via NETWORK_MODE=live, ADR 0026), translate products, raise held orders in order-management with the fu…
  • 24-hour acknowledgement-deadline sweep that rejects overdue orders and cancels their held local orders, plus an orphaned-hold sweep (ADR 0024)
  • CapabilityOffer: throughput-constrained advertised availability fed by process-path cycle times (CycleTimeP95 eligibility), path capacity, and inventory reads, against the next feasible cuto…

publishes

  • NetworkOrderReceived
  • NetworkOrderSubmitted
  • NetworkOrderAcknowledged (v2, emitted when the order settles, ADR 0016)
  • NetworkOrderRejected
  • NetworkOrderShipmentConfirmed
  • AcknowledgementDeadlineAtRisk

consumes

  • process-path-management ProcessPathCreated/Updated/Deactivated and CPTScheduleChanged (capability caches, ADR 0001 §8)
  • work-planning PathCapacityChanged (path-capacity cache)
  • outbound-shipping ShipmentConfirmed (shipment confirmation, every mode)
  • inbound-receiving ReceiptCartonReceived, CartonDiscrepancyRaised, ReceiptClosed (inbound loop, live mode)

Named risks. Every REST, MCP and A2A endpoint is unauthenticated by decision (AGENTS.md hard rule 2: no ship-to PII reaches this context)

Next: Shipment confirmation gaps (README 'Not built yet'): no PackageManifested-driven trigger, no real package count (label requests one package), and a network FAILURE of a c…

network-inventory-planning · core

Network inventory planning recommends explainable transfers and runs them end to end only after approval

Recommends stock transfers between warehouse sites: it builds a coherent planning snapshot from Kafka-fed facts (site capability, site-SKU demand, capacity plans), scores transfer proposals deterministically with reproducible inputs and reason codes, and — only after operator approval — runs a saga that asks inventory-storage to reserve o…

  • Deterministic transfer-proposal generation from a coherent snapshot (safety stock, target stock, unit priority, lane costs), rounded to whole cases (ADR 0017)
  • Fail-closed planning: stale facts exclude their site (ADR 0018), disabled lanes or negative scores refuse rather than degrade
  • Operator approval of proposals into transfer plans (idempotent, RFC 9457 problems, validated against current read models)

publishes

  • TransferPlanApproved
  • TransferAllocationRequested (command to inventory-storage)

consumes

  • SiteCapabilityChanged (facility-layout)
  • SiteSkuDemandChanged (order-management)
  • CapacityPlanPublished (warehouse-planning)
  • TransferStockAllocated / TransferStockAllocationRejected replies (inventory-storage)

Named risks. Read models are eventually consistent; a stale fact excludes its site from the snapshot and approval is refused only when its origin or destination is excluded (ADR 0018) — stale facts fail closed rat…

Next: Cancellation from PICKED onwards is refused (stock in motion): a damage or short-pick exception flow is out of scope per ADR 0022 and the canvas open questions

order-management · generic/supporting

Order Management gives every order one validated owner, so stock, promises and release stay in step

Owns Order and OrderLine as first-class validated aggregates, closing the gap where 'an order' was an unowned unvalidated string threaded through three sibling services. It answers 'what did the customer ask for, and how far along is it' while every other service answers 'what is happening in the warehouse right now'. Allocation reserves…

  • Order intake via a single command POST /orders that folds allocation-then-release as an internal best-effort saga (ADR 0005); optional caller-assigned fulfillment site, promised against that…
  • Per-line stock allocation against inventory-storage reservations with fail-closed semantics: only a 409 is the business fact 'no usable stock' (BR2)
  • Ship-complete-by-default promising: backordered lines hold the whole order until RetryAllocation clears them (BR3), plus capability-derived CPT-window promises with lead-time fallback and re…

publishes

  • warehouse.order-management.events (4 types, outbox, keyed by OrderId): OrderAllocated, OrderPartiallyAllocated, OrderRepromised, SiteSkuDemandChanged (frozen payload fields)
  • warehouse.order-management.analytics (11 types): OrderReceived, OrderLineAllocated/Backordered/Released, OrderAllocated, OrderPartiallyAllocated, OrderAllocationPartiallyFailed, OrderReleased, OrderCancelled, OrderRepromised, OrderReleaseUnconfirmed

consumes

  • ProcessPathCreated/Updated/Deactivated + CPTScheduleChanged (process-path-management)
  • PathCapacityChanged and WorkUnitCreated (wes-work-planning; WorkUnitCreated drives release confirmation)
  • TaskCPTMissed, PackageManifested (fulfillment-execution, re-promise consumer)
  • ShipmentConfirmed, PackageMissedLoad (outbound-shipping)

Named risks. Every REST, MCP and A2A endpoint is unauthenticated by decision (ADR 0012 removed the bearer layer); relies on cluster-internal reachability

Next: Ratchet .gremlins.yaml efficacy from 97 toward the fleet's 99/99 standard (mutant-coverage is already 99); the order package has documented survivors in path_selection.go…

process-path-management · generic

Process paths are a live contract, so five consumers change with one event instead of a redeploy

Replaces a static YAML file boot-loaded by three services with a real bounded context: it defines, revises and deactivates process paths and per-site Critical Pull Time (CPT) schedules, and propagates every change as Kafka events so revisions never need a coordinated redeploy. As a Generic Subdomain it defines WHAT a path is and WHICH cap…

  • ProcessPath lifecycle management: define/revise/deactivate paths with permanent identity, validated matchPrefix, mandatory non-empty requiredCapabilities and positive cycleTimeP95
  • Path kinds beyond pick/pack: declared RELOCATE, DISPATCH and REPLENISH process paths carry slot-plan moves, transfer dispatch and pick-face top-ups as floor work (ADR 0033, 0035, 0036)
  • Path intake: each path declares which demand sources (e.g. CUSTOMER_ORDER, STOCK_TRANSFER, REPLENISHMENT) may route work onto it (ADR 0034)

publishes

  • warehouse.process-path-management.events (4 types): ProcessPathCreated, ProcessPathUpdated, ProcessPathDeactivated, CPTScheduleChanged
  • warehouse.process-path-management.analytics: the same 4 as *Analytics types, consumed only by its own pathmgmt-projector

consumes

  • none from other contexts (it never subscribes to a sibling topic); its only consumer is pathmgmt-projector on its own analytics topic (ProcessPath Created/Updated/Deactivated)

Named risks. Every REST route, MCP tool and A2A skill is unauthenticated by decision (ADR 0005); relies on cluster-internal reachability

Next: Decide whether destination_location_role (Drop|WorkCenter|Shipping, ADR 0009) should drive routing or stay declarative: bounded-context-canvas.md:245 lists it as an open…

task-interleaving · supporting

Task interleaving ranks nearby open work so operators chain tasks instead of walking back empty

task-interleaving is the WES-tier Supporting bounded context that cuts deadhead travel. When a station completes a task, it ranks the site's open tasks by how far each starts from where the operator now stands and issues an interleaving hint: a short, ranked, expiring list of candidates. The hint is strictly advisory — fulfillment-executi…

  • Declare the per-site InterleavingPolicy (MaxDetourM, MaxCandidates 1-5, hint TTL) as a versioned, immutable aggregate
  • Consume task facts (TaskAvailable/Claimed/Completed) and facility layout into local copies, never querying siblings
  • Recommend and issue ranked interleaving hints (GET /recommendations, station-driven) using the rectilinear travel model

publishes

  • com.warehouse.wes.task-interleaving.stationtrip.InterleavingHintIssued
  • com.warehouse.wes.task-interleaving.stationtrip.InterleavingHintConsumed
  • com.warehouse.wes.task-interleaving.stationtrip.InterleavingHintExpired
  • com.warehouse.wes.task-interleaving.policy.InterleavingPolicyDeclared

consumes

  • com.warehouse.wes.fulfillment-execution.task.TaskAvailable
  • com.warehouse.wes.fulfillment-execution.task.TaskClaimed
  • com.warehouse.wes.fulfillment-execution.task.TaskCompleted
  • com.warehouse.wms.facility-layout.zone.ZoneRegistered

Named risks. Value depends on adoption: hints are advisory tie-breaks only; fulfillment-execution can ignore them and deadhead travel stays

Next: Enable metrics.prometheus in warehouse-infra's helm-values/task-interleaving.yaml so /metrics gets scraped (chart value metrics.prometheus.enabled defaults false and the…

warehouse-planning · core

Planning turns people, stations and space into one capacity answer, so shortages surface early

Answers forward-looking warehouse capacity questions: given assigned demand and current labor, location, station and equipment constraints, can this warehouse process it? It computes normalized cross-process effective capacity, detects shortages and names bottlenecks, then publishes capacity plans the rest of the fleet (order-management,…

  • Effective process capacity: register constraints per (process, location, window) and compute normalized ORDER/hour capacity across units via WorkloadProfile
  • Process-path capacity: operator-declared ordered process steps (Pick->Rebin->Pack) with per-step capacity, binding-constraint identification and bottleneck detection
  • Capacity planning: create draft CapacityPlans against a planning window, detect shortages vs assigned demand, publish plans as CloudEvents

publishes

  • com.warehouse.wes.warehouse-planning.capacityplan.CapacityPlanCreated
  • com.warehouse.wes.warehouse-planning.capacityplan.CapacityPlanPublished
  • com.warehouse.wes.warehouse-planning.capacityplan.CapacityShortageDetected
  • com.warehouse.wes.warehouse-planning.capacityplan.BottleneckDetected
  • com.warehouse.wes.warehouse-planning.processcapacity.ProcessCapacityRegistered
  • com.warehouse.wes.warehouse-planning.processcapacity.ProcessCapacityChanged

consumes

  • com.warehouse.wes.workforce-management.shiftplan.ShiftPlanCommitted
  • com.warehouse.wms.facility-layout.locationslot.LocationSlotRegistered
  • com.warehouse.wms.facility-layout.locationslot.LocationSlotDecommissioned
  • com.warehouse.wes.order-management.order.OrderAllocated

Named risks. Site = building id = zone-id first segment is an undocumented-upstream convention; if facility-layout or workforce drift from that grammar, zone-to-site attribution silently stops contributing (ADR 00…

Next: order-management follow-up to consume CapacityPlanPublished / CapacityShortageDetected (explicitly out of scope in ADR 0001, separate repo/PR)

wes-work-planning · core

Work planning releases work by truck deadline, one unit at a time, so the floor never drowns in backlog

The core bounded context of a Warehouse Execution System. It turns a shift's charge (volume due by each CPT truck-departure deadline) into a plan (rate x heads per process path), releases work continuously in priority order instead of batching it into waves, and performs flow balancing off live backlog telemetry - Drum-Buffer-Rope with CP…

  • Charge forecasting: receive volume-due-by-CPT buckets per process path (ChargeForecast aggregate), plus network WorkDemandReleased demand
  • Shift planning: commit rate x heads per path with plannedHeads <= installedStations invariant, reconciled against workforce-management's committed shift plan (PathPlanDriftDetected)
  • Waveless work release: admit one unit at a time in earliest-CPT order on demand, bounded by a per-pool WIP limit as backpressure (ADR 0002, the defining decision)

publishes

  • warehouse.work-planning.events (11 types): ChargeForecastReceived, ShiftPlanCommitted, WorkUnitCreated, WorkReleased, WorkUnitCompleted, BacklogThresholdBreached, RateDeviationDetected, PathThrottled, LaborReassignmentFlagged, PathCapacityChanged, PathPlanDriftDetected
  • warehouse.wes.analytics: the same 11 as *Analytics types for the release-throughput and backlog-health reports

consumes

  • warehouse.workforce.events: WorkforceShiftPlanCommitted
  • warehouse.fulfillment.events: TaskCompleted
  • warehouse.order-management.events: OrderAllocated, OrderPartiallyAllocated
  • warehouse.process-path-management.events: ProcessPathCreated, ProcessPathUpdated, ProcessPathDeactivated (PATH_CATALOGUE_SOURCE=kafka replay; default file)

Named risks. Every REST, MCP and A2A endpoint is unauthenticated by decision (fleet-wide ADR 0016 removal), including the write tools release_next_work and get_rebalance_recommendation; relies on cluster-internal…

Next: PATH_CATALOGUE_SOURCE still defaults to file (configuration.md:71); flipping it to the kafka replay (ADR 0030) would remove the boot-time YAML dependency

workforce-management · supporting

Workforce management makes staffing gaps visible per path while keeping every move a human decision

A Supporting bounded context that owns shift-start planning (a human commits a split of headcount across process paths) and intra-shift assignment tracking as backlogs deviate. It makes the staffing gap legible but never decides: the move itself stays a human call, and PathUnderstaffed is a flag, not a decision. It deliberately stops at t…

  • Shift roster: start/end an associate's shift, manage certifications, track break state and logged hours against the shift cap (AssociateShift aggregate)
  • Headcount planning: ProposePathPlan computes heads = ceil(charge / resolvedRate) as a pure proposal (measured rate fed from labor-performance, idle-share trim as a staffing signal), then a h…
  • Certification-gated assignment: AssignLabor rejects uncertified, on-break, shift-ended and over-hours assignments; re-assigning ends the prior active assignment (raises LaborReassigned) so d…

publishes

  • ShiftPlanCommitted (integration topic warehouse.workforce.events, one per path line, plus an analytics variant)
  • ShiftPlanProposed, PathUnderstaffed, AssociateShiftStarted/Ended, AssociateCertified, AssociateBreakStarted/Ended, LaborAssigned, LaborReassigned (analytics topic warehouse.workforce.analytics; assignment events carry additive initiated_by, ADR 0041)

consumes

  • ProcessPathCreated/Updated/Deactivated (warehouse.process-path-management.events, catalogue replay before traffic, ADR 0030)
  • TaskPerformanceRecorded (warehouse.labor-performance.events) into measured-rate and idle-share caches (ADR-0019/0020)

Named risks. Staffing gap is eventually consistent — derived from assignments a human recorded, not physical presence; cannot answer 'what task is Alice doing' without joining fulfillment-execution

Next: Document or productize the path-to-certification naming convention (path 'pack' requires certification 'pack') if more paths with distinct certifications appear

asrs-control · generic

asrs-control gives the WCS tier a real AS/RS controller; next it needs a consumer, a release and telemetry

asrs-control is the AS/RS controller bounded context of the WCS tier (Generic, plan WCS-02). It owns where each container sits inside the AS/RS (rack positions per aisle), assigns storage positions by velocity zone with double-deep depth rules, schedules store and retrieve jobs one at a time per aisle unit, presents retrieved containers a…

  • Store and retrieve jobs over REST (POST /asrs/{asrsId}/storage-jobs): accepted at once with 202 or refused with 422 (storage-full, aisle-unavailable, container-busy and more); progress is re…
  • Storage position assignment: a position is reserved at acceptance, chosen by velocity zone (FAST or SLOW from the container's own retrieval history: 3 retrievals in 168 hours by default) und…
  • One job per aisle unit: asrs-control keeps the queue and sends the PLC an aisle's next job only after the previous JOB_DONE or JOB_FAILED; every write locks its aisle row (ADR 0002)

publishes

  • com.warehouse.wes.asrs-control.storagejob.ContainerStored
  • com.warehouse.wes.asrs-control.storagejob.ContainerPresentedAtPort
  • com.warehouse.wes.asrs-control.storagejob.StorageJobFailed
  • com.warehouse.wes.asrs-control.equipmentunit.EquipmentStateChanged
  • com.warehouse.wes.asrs-control.asrs.AsrsCapacityChanged

Named risks. Stuck jobs after lost telegrams (ADR 0002 known limits): a JOB_DONE lost while asrs-control was down longer than about 8 s, or a lost ACK of an accepted CANCEL, leaves a job waiting with its aisle bus…

Next: Replace the template leftovers: SPEC.md still describes warehouse-harness-template, the .claude/skills how-tos carry TEMPLATE NOTE headers, and the committed executive/in…

Not yet briefed

2 contexts, counted anyway.

No executive deck is committed for these yet — published as a gap, not papered over. Their numbers are the same counted set.

  • amr-fleet-control

    171 commits2 releasesarchitecture 100%engineering 92/1000 in / 1 out routes

    repo ↗
  • material-flow-control

    238 commits2 releasesarchitecture 100%engineering 93/1002 in / 0 out routes

    repo ↗

Registry note. Two bridge contexts sit in this program because the registry classifies them WES: network-fulfillment and network-inventory-planning connect the building to the retail network.