Skip to main content

WES Work Planning & Release

Core Subdomain · WES tier · the conductor

wes-work-planning releases work continuously — waveless, one unit at a time, earliest-CPT-first — and performs flow balancing from live buffer telemetry so that every parcel makes its truck without the floor ever being starved or flooded. The shift's forecast and labour plan are decided in warehouse-planning, not here: the former POST /paths/{pathId}/charge and POST /paths/{pathId}/plan were removed (ADR-0049; 410 for one release, gone since 2026-11-21).

It sits downstream of seven upstream event suppliers (inventory-storage, workforce-management, order-management, network-inventory-planning's transfer work demand (ADR-0033), slotting-optimization's approved slot plans (ADR-0040: one RELOCATE work unit per move), pick-face-replenishment's replenishment requests (ADR-0042: one REPLENISH work unit per request, an opt-in consumer that is off in the reference deployment) and product-master, whose ProductClassified it keeps as a local copy for release-time hazmat and fragile hints), conforms to one Generic context (process-path-management's catalogue; the facility-layout travel-distance lookup went with the shift plan, ADR-0049), closes a control loop with fulfillment-execution (WorkReleased out, TaskCompleted back), and reports remaining path capacity (PathCapacityChanged) to order-management and network-fulfillment. Following the industry WMS/WES/WCS framing this platform adopts: WMS says what must happen, WCS says how equipment performs it, and this service — the WES tier's core — decides which activities happen when. That is what "conductor" means concretely, not a metaphor added for color.

What Core obliges here

Because this context is classified Core, the platform accepts real cost for it: a hand-written domain model with no ORM, invariants enforced in the aggregate with a failing-path test for each, a release policy as a first-class, replaceable domain-service object, executable architecture fitness tests, and mutation testing on the domain packages. See Bounded Context Canvas for the full justification.

This context's pages​

Every page above except the Business Context and the Async API narrative is synced from the wes-work-planning repository.

Elsewhere​