Skip to main content

The WES tier — ten contexts, qualified

The ten contexts whose events carry the wes segment (com.warehouse.wes.<context>.…; warehouse-ops-agent publishes no events but is filed here). The industry tests on the industry reference split them into four groups, and this page follows that split. An eleventh wes context, task-interleaving (built and deployed in the reference cluster), is an advisory hint that none of the five tests calls a WES (it ranks the open tasks nearest to a station; fulfillment-execution decides what runs), so it has no group and no card here yet; see the qualification. A twelfth, exception-management (built on develop 2026-10-20/21 and wired in warehouse-infra develop since 2026-10-22 — the Problem Solve case lifecycle over the anomaly facts six producers publish), is likewise not yet qualified and has no card here yet:

GroupContexts
WES: execution and configurationwes-work-planning, fulfillment-execution, process-path-management
WMS extended: labor managementworkforce-management, labor-performance
Above the WMSwarehouse-planning, order-management, network-inventory-planning, network-fulfillment
Cross-tier decision supportwarehouse-ops-agent

Coverage of the WES functions​

The sources describe a WES by what it decides: "the timing and location of order processing"[5], "load balancing and automation-aware order release"[7], and, increasingly, "getting the right work to the right employees considering current and projected demand by process area".[8] This diagram maps those functions to the contexts that own them.

workforce-management is coloured as WMS extended: it records labor decisions, and wes-work-planning turns its labor plan into path capacity. Equipment-aware release, Interact Analysis's first criterion in its strict form[6], has no owner because there is no equipment layer.

WES: execution and configuration​

wes-work-planning​

Fleet tierwes (type segment work-planning)
Industry categoryWES: dynamic release and flow balancing
ISA-95 level3
Decision horizonminutes
DDD classCore
Interact Analysis criteria[6]1 partly, 2 yes, 3 through labor only (details)

Why WES. It is the conductor. Work enters a pool per process path from allocated orders (OrderAllocated), transfer demand (WorkDemandReleased) and approved slot plans (SlotPlanApproved), or directly (POST /paths/{pathId}/work-units). It is released continuously in priority order, earliest CPT first, with a WIP limit on release-fed pools (POST /paths/{pathId}/work-releases, PUT /paths/{pathId}/pool, WorkReleased). Flow balancing watches backlog and rates and recommends or throttles (GET /paths/{pathId}/telemetry, POST /paths/{pathId}/rebalance-decisions, BacklogThresholdBreached, RateDeviationDetected, PathThrottled, LaborReassignmentFlagged). That is the "smart order release … to create a level flow of work" the trade press describes as the reason WES exists.[8]

It no longer owns the requirement side of planning. The charge (workload) forecast, the shift plan and the drift moved to warehouse-planning (ADR 0049): both planning POSTs answer 410 and the three events are retired. It keeps a read-only view of workforce-management's plan (LaborPlanObserved, GET /paths/{pathId}/labor-plan-view) and PathCapacityChanged.

fulfillment-execution​

Fleet tierwes
Industry categoryWES: task dispatch; it also runs the WMS pick, pack and ship-verify transactions
ISA-95 level3
Decision horizonseconds to minutes
DDD classCore
Interact Analysis criteria[6]2 yes, 3 modelled; 1 belongs to wes-work-planning

Why WES. It decides where released work runs. Released work becomes a task (WorkReleased, POST /tasks), and a station pulls the best-fit pending task for its capability, earliest CPT first, under a lease (POST /stations/{stationId}/task-claims, POST /tasks/{id}/lease-renewals, POST /task-lease-expirations). It sweeps tasks that missed their cutoff (POST /cpt-miss-sweeps, TaskCPTMissed).

Why it also carries WMS core functions. Gartner's pick, pack and ship happen here as task types: PICK, REBIN consolidation (POST /rebin/arrivals), PACK (POST /tasks/{id}/package-seals with a segregation check), and SLAM, the scan, label, apply and manifest weigh-check (POST /packages/{id}/slam-runs, PackageManifested).[1] The transfer task kinds (TransferPicked, TransferDispatched, TransferArrived) and slot-plan RELOCATE tasks run the same way.

Why not WCS. internal/application/ports/equipment.go reserves an EquipmentCommandPort for a future WCS and declares no methods. Stations are occupied by "worker/robot", but nothing drives equipment.

process-path-management​

Fleet tierwes
Industry categoryWES configuration: process paths and shipping cutoffs
ISA-95 level3
Decision horizondays: configuration
DDD classGeneric

Why WES. A process path (match prefix, required station capabilities, p95 cycle time, eligibility, intake) and a site's CPT schedule are exactly the "process area" and cutoff vocabulary the WES decides with.[8] (POST /process-paths, PUT /process-paths/{pathId}, DELETE /process-paths/{pathId}, PUT /sites/{siteId}/cpt-schedule).

Why "configuration". It decides nothing about dispatch, routing or assignment. It is the catalogue the deciders read from their local copies. It makes no REST or MCP call to a sibling (fleet rule).

WMS extended: labor management​

Gartner counts "managing labor" as an extended WMS capability[1] and workforce/labor management as a specialist component that supplements a WMS.[2] Both contexts below fit that description. The trade press reports WES vendors moving into labor orchestration[8], which is why the fleet's wes label is understandable here, but neither context decides when or where work runs.

workforce-management​

Fleet tierwes
Industry categoryWMS extended: labor management
ISA-95 level3
Decision horizona shift
DDD classSupporting

Why WMS extended. It owns the associate (certifications, shifts, breaks: POST /associates/{id}/certifications, /start-shift, /break/start), the shift plan that splits headcount across process paths (POST /paths/{pathId}/plan-proposals, POST /shift-plans, ShiftPlanCommitted), the staffing gap per path (GET /sites/{siteCode}/shifts/{shiftId}/staffing-gap, PathUnderstaffed) and assignments (POST /associates/{id}/assignments, LaborAssigned). The plan is capped by installed station capacity read from fulfillment-execution. It also reads warehouse-planning's LabourPlanCommitted into a local copy and proposes heads from it (workforce-management ADR 0043); the labour supply stays here, the labour requirement is warehouse-planning's.

Why not WES. Rebalancing is a human decision it records, not one it makes. Its output, the committed plan, is an input to the WES and to the planner (wes-work-planning reads ShiftPlanCommitted into LaborPlanObserved, a read-only view, and warehouse-planning compares it with its own labour plan).

labor-performance​

Fleet tierwes
Industry categoryWMS extended: engineered labor standards and performance
ISA-95 level3
Decision horizonafter the fact: it measures finished work
DDD classSupporting

Why WMS extended. Engineered labor standards per task type (POST /standards), actual-against-standard scoring per associate and per task type (GET /associates/{associateId}/scorecard, GET /task-types/{taskType}/performance) and idle-gap utilization (GET /task-types/{taskType}/utilization). This is the "productivity tracking" that Frazelle's survey ranks among the top three WMS priorities.[12] It owns the labour standards and publishes them as LaborStandardDefined and LaborStandardRevised (ADR 0038), which warehouse-planning reads to price the labour a plan requires.

Why not WES. It is a pure downstream observer of TaskCompleted. It makes no REST or MCP call to a sibling (fleet rule).

Above the WMS​

These four contexts decide across a planning horizon, across sites or across sales channels. No single-building WMS or WES owns those decisions. In the supply-chain taxonomy the WMS is part of execution,[13] and APQC lists inventory deployment and warehouse transfers as processes of their own.[14]

warehouse-planning​

Fleet tierwes
Industry categoryAbove the WMS: warehouse capacity planning
ISA-95 level3 to 4
Decision horizondays to weeks
DDD classCore

Why above the WMS. It answers whether the warehouse can process the demand assigned to it, before the work exists. It composes capacity constraints and station standards (POST /process-capacities, PUT /station-standards/{location}/{process_type}), expected demand (GET /demand, from OrderAllocated), committed labor (ShiftPlanCommitted) and storage positions (GET /storage-capacity) into a capacity plan with shortage and bottleneck detection (POST /capacity-plans, POST /capacity-plans/{id}/publications, CapacityShortageDetected, BottleneckDetected, CapacityPlanPublished).

It also owns the requirement side of planning, which moved from wes-work-planning (its ADR 0049): the workload forecast (PUT /workload-forecasts/{site_id}/{path_id}, WorkloadForecastReceived), the labour plan (PUT /labour-plans/{site_id}/{shift_id}/{path_id}, LabourPlanCommitted) and its drift against workforce-management's committed heads (LabourPlanDriftDetected). A plan can take its demand from the forecast (demand_source: forecast), states the labour its demand requires from labor-performance's standards (labour_requirement), carries a scenario label (GET /capacity-plans/comparisons) and is superseded by a newer published plan of the same site, location, path and window (CapacityPlanSuperseded). The process-flow topology of a path is process-path-management's: built on develop (its ADR 0042, PR #272; warehouse-planning ADR 0025 stage 1, PR #156) — warehouse-planning resolves its ACTIVE process flow — the local declaration and its table are gone (ADR 0025 stages 2-3, v2.0.4).

order-management​

Fleet tierwes
Industry categoryAbove the WMS: order management. It also performs the WMS order-allocation step
ISA-95 level4 for intake and promise; 3 for allocation
Decision horizonseconds for intake, hours for the ship promise
DDD classGeneric/Supporting

Why above the WMS. It is the front door for customer demand: order intake (POST /orders), hold and release (POST /orders/{id}/releases), cancellation (DELETE /orders/{id}), a ship promise derived from the CPT schedule, path capacity and published capacity plans (GET /planned-capacity; a SUPERSEDED plan, announced by CapacityPlanSuperseded, never constrains), and re-promising when a task misses its cutoff (OrderRepromised). It also publishes the demand signal (SiteSkuDemandChanged) that slotting and network planning read.

The WMS part. Gartner lists order allocation as a WMS capability.[2] Here it is a reservation against inventory-storage's usable stock (POST /reservations), with backorder retry (POST /orders/{id}/allocation-retries).

Why not WES. It hands allocated orders to the WES (OrderAllocated) but does not decide when they are released.

network-inventory-planning​

Fleet tierwes
Industry categoryAbove the WMS: network inventory deployment and warehouse transfers
ISA-95 level4
Decision horizondays
DDD classCore

Why above the WMS. It decides whether stock should move between warehouses, which APQC files as "Manage and track inventory deployment" and "Manage warehouse transfers".[14] It proposes and simulates transfers (POST /v1/transfer-proposal-runs, GET /v1/transfer-simulations), runs scheduled rebalances under a policy and lane catalogue (PUT /v1/rebalance-policies, PUT /v1/transfer-lanes), and carries an approved transfer as a saga (POST /v1/transfer-approvals, TransferAllocationRequested, WorkDemandReleased, TransferStuckDetected) without ever moving stock itself: the WMS and WES contexts at each site do the physical work.

network-fulfillment​

Fleet tierwes
Industry categoryAbove the WMS: sales-channel integration, an anti-corruption layer to an external fulfillment network
ISA-95 level4
Decision horizonhours: the acknowledgement deadline
DDD classSupporting

Why above the WMS. It sells the building's capability through an external network and honours that network's obligations: it polls network demand (GET /inbound-status, NetworkOrderReceived), places it with order-management as a held order (NetworkOrderSubmitted), acknowledges or rejects within a deadline (NetworkOrderAcknowledged, AcknowledgementDeadlineAtRisk), advertises capability offers (GET /capability-offers) and confirms shipment (POST /network-orders/{networkRef}/shipment-confirmation). That is order and channel management: it sits in the order tier that hands work to the warehouse, and it never touches stock or floor work itself.

Cross-tier decision support​

warehouse-ops-agent​

Fleet tierwes (it publishes no events)
Industry categoryCross-tier decision support: a correlation layer over WMS and WES, read-only apart from two human-confirmed act slices
ISA-95 levelspans level 3
Decision horizonminutes to hours
DDD classSupporting

Why cross-tier. It owns no aggregate, no database and no Kafka. It correlates what the contexts expose through their MCP tools, REST and reports (one MCP client per context under internal/adapters/outbound/mcpclient/: seventeen of the nineteen other backend contexts on this site have one on develop, plus eleven retail-network contexts, and some are wired with no use case behind them) into a daily brief and exception lists (get_daily_brief, list_open_exceptions, get_flow_balance_exception, detect_stranded_reservation, find_master_data_gaps, get_inbound_outlook, explain_network_imbalance, triage_stuck_transfers). Its MCP surface has zero write tools: it recommends, people decide. Two human-confirmed act slices (ADR 0027, release_next_work, and ADR 0029, assign_labor) delegate one approved write each to the owning context over A2A, through a propose then approve flow.

Why neither WMS nor WES. It executes no transaction and decides no release on its own: an act slice only forwards a human-approved request to the owning context.

Sources​