Skip to main content

WCS implementation handoff

This page hands the strategic design to the implementation phase. The tactical design of each context (Aggregate Design Canvas, Bounded Context Canvas, EventStorming board) is produced in each repository, as every fleet context does, and synced here from the repositories (all three exist; see the build order).

Build order​

StepWhatWhy this order
1equipment-emulator and the MQTT brokerNothing else can be tested without robots and an AS/RS to talk to.
2asrs-controlDONE - built by plan WCS-02, merged to develop 2026-11-20 (IQVO/asrs-control PR #2); it proves the subsystem-controller interface.
3amr-fleet-controlDONE - built by plan WCS-03, merged to develop 2026-11-22 (IQVO/amr-fleet-control PR #2); plan WCS-06 extended its example floor map with the pick-face, forward and clarification handoff points PK1/FWD1/CLR1 (map 2026-11-22.1, released v0.1.1, legs verified live 2026-11-23).
4material-flow-controlDONE - built by plan WCS-04, merged to develop 2026-11-22 (IQVO/material-flow-control PR #2, released v0.1.0); its legs to the PK1/FWD1/CLR1 handoff points were proven end to end by plan WCS-06 (PR #12, live 2026-11-23).
5Changes to existing contextsinventory-storage, then facility-layout, fulfillment-execution, wes-work-planning, exception-management (see ecosystem impact).
6Flows end to endGoods-to-person, then putaway, replenishment and outbound.

Emulator scope​

The emulator stands in for levels 1 and 0. It is test infrastructure, not a bounded context, and it holds no business rule.

  • Robots. Implements the robot side of VDA 5050 v3: subscribes to order and instantActions, publishes state, connection and factsheet, moves along the released base at a configured speed, and reports battery.
  • AS/RS. Implements the PLC side of the fleet telegram protocol: shuttles per level, lifts per aisle, move durations, and a handshake on every telegram.
  • A simulation clock that can run faster than real time, so that end-to-end tests of a full shift finish in minutes.
  • Fault injection: a blocked robot, a low battery, a lost connection, a shuttle fault, a no-read at a port. Every row of the failure path must be reproducible.
  • Seeded from the fleet: the robot map from facility-layout's travel graph and the AS/RS layout from configuration.
  • An MCP listener for agents (the emulator's ADR 0007, with ADR 0008; both accepted 2026-12-02; built on develop 0313271). The MCP server is a second listener of the emulator process on MCP_ADDR (binary default :8090; an empty value disables it), not a cmd/mcp, because all state lives in that process's memory. Twelve tools: eight L1 reads (list_robots, get_robot, get_asrs, list_faults, get_clock, list_scenarios, get_scenario_result, explain_robot) and four L3 tools that change the simulated world on human approval (inject_fault, clear_fault, reset_world, run_scenario; every write takes dry_run, and reset_world also needs confirm=true). An agent never orders a robot, submits a PLC job or drives the clock: those stay on MQTT. There is no A2A agent. The chart's mcp.enabled defaults to false and has no route family (no HTTPRoute, no Agent Router parentRefs), and warehouse-infra helm-values/equipment-emulator.yaml has no mcp block, so the listener is off on the cluster and reachable only inside it once switched on; the release the cluster runs, v0.1.0 (b58201e), predates the adapter.

Acceptance criteria per flow​

FlowGivenWhenThen
Goods-to-personContainer C in the AS/RS, a free station Sfulfillment-execution requests C to S with PICKContainerArrivedAtStation for S; the task becomes claimable; after TaskCompleted and a RETURN, ContainerStored follows and no stock transaction is written for the return.
PutawayContainer C filled at a decant stationA PUTAWAY request to the AS/RSContainerStored, then TransportCompleted; after TaskCompleted, inventory-storage shows C's contents in the AS/RS location.
ReplenishmentA replenishment request for a forward pick faceA REPLENISH request for the source containerTransportCompleted at the forward handoff; after TaskCompleted the stock moves by the existing RELOCATE fields; a RETURN brings C back.
OutboundOrder tote O complete at a stationAn OUTBOUND request to a pack stationTransportCompleted; the pack task becomes claimable.
RejectionContainer C already has an active transportA second request for C422 with CONTAINER_BUSY; no second transport order.
IdempotencyAn accepted requestThe same transportRequestId is retriedThe original outcome is returned; one transport order exists.
ClarificationA no-read is injected at a portAny request through that portContainerSentToClarification, a case in exception-management, TransportFailed with CLARIFICATION.
Capacity loopThe emulator drops half the robots offlineWithin one capacity intervalSubsystemCapacityChanged reflects it, and wes-work-planning releases less goods-to-person work.

Open questions​

QuestionWho decidesNotes
The AS/RS telegram protocolasrs-control ADR 0001No public standard was found; model it on SAP EWM's telegrams and handshake, and keep it small.
Container id format and who prints labelsinventory-storage ADRDecision 1 places ownership; the format is open.
Who configures station buffer limitsmaterial-flow-control ADR 0001Either its own configuration or a facility-layout station attribute.
How capacity is measuredmaterial-flow-control and wes-work-planning ADRsFor example robots available and retrievals per minute, and the publish interval.
VDA 5050 versionamr-fleet-control ADR 0001This design cites v3.0.0; supporting v2 robots as well is a scope choice.
Where container position is shown to peoplewarehouse-consoleA floor view is out of this design's scope.