WES — Work Planning & Release
The core bounded context of a Warehouse Execution System (WES). It releases work continuously in CPT priority order (waveless — no discrete wave batches; CPT is the Critical Pull Time, the last moment a parcel can be manifested and still make its truck) and performs flow balancing off live buffer telemetry using Drum-Buffer-Rope with CPT as the drum. It is the "conductor": downstream of WMS planning/inventory, upstream of WCS equipment control.
Aggregates owned by this service: WorkPool (the priority queue for one process path — release-fed pools enforce a hard WIP limit, flow-fed pools only alarm) and WorkUnit (a releasable unit of work with at-most-once assignment and no double-complete). The charge forecast and the shift plan moved to warehouse-planning (ADR-0049): their two POST routes answered 410 Gone for one release and were removed in stage E (a POST to either answers 404).
This service does not own equipment control (WCS), inventory reservation, or workforce scheduling — it only observes projections of those via Kafka integration events (LaborPlanObserved, UsableInventoryObserved), exposed read-only through this API. It also does not implement HATEOAS; this is a Richardson Maturity Level 2 API (resource nouns, correct verbs, correct status codes) without hypermedia controls.
Contact WES Work Planning & Release: