Skip to main content

Workforce Management

Supporting Subdomain

Workforce Management makes the labor picture of a shift legible and enforceable: it records who is on shift and what they are qualified for, lets a human commit a split of headcount across process paths, tracks where each person actually is as that split drifts, and surfaces the gap — without ever deciding what any individual person should do next.

It owns three things: who is on (AssociateShift), what the plan is (ShiftPlan), and where people actually are (LaborAssignment). It stops deliberately at the path boundary — it never links an associate to a specific task, by design (ADR-0002), leaving task dispatch entirely to fulfillment-execution. Since ADR 0020, it also folds labor-performance's observed idle share into GetStaffingGap (observedIdlePct) and into ProposePathPlan's headcount trim — a staffing signal, never a second source of truth about task dispatch. Since ADR 0043 it also keeps a local copy of warehouse-planning's published LabourPlanCommitted and proposes heads from it, so the requirement is read, never computed twice; this context keeps labour supply. Its one synchronous dependency is a fail-loud read of fulfillment-execution's installed station capacity on every CommitShiftPlan (ADR 0014) — a count, not tasks.

This context's pages​

Every page above except the Business Context and the Async API narrative is synced from the workforce-management repository.

Elsewhere​