Labor Performance
Labor Performance owns engineered labor standards (LaborStandard —
"a PICK should take 45s") and actual-vs-standard performance scoring
(TaskPerformance — "this associate's last PICK took 52s, 87% of
standard"). Since ADR 0014, it also derives idle-gap / utilization
read models — the between-task waits TaskPerformance scoring alone
never measured — additively on the same event stream, and since ADR 0015 a
standard may carry an optional, caller-supplied travel-time component. Since
ADR 0038 a standard may also carry an optional site_code scope and its two
events are published on the integration topic, so warehouse-planning plans
labour with the same standards this context scores against. It is one of the
fleet's sixteen domain bounded contexts.
This context has exactly one input: it is a Kafka Customer of
fulfillment-execution's TaskCompleted event, on the same shared,
fan-out topic wes-work-planning also consumes from. Everything else
points the other way: it publishes TaskPerformanceRecorded,
LaborStandardDefined and LaborStandardRevised on
warehouse.labor-performance.events. workforce-management consumes the
first (ADR 0013) and warehouse-planning the other two (ADR 0038). It also
exposes its own OLTP REST, reports and MCP surfaces, read
by the console's labor_mfe remote and by warehouse-ops-agent. It makes
no outbound REST or MCP call to any sibling context. See
Bounded Context Canvas and
Context Map for the full picture.
This context's pages
- Business Context: why a standard frozen at completion time matters, what an engineered standard is, and why this context is a pure observer, never a decision-maker.
- Ubiquitous Language: Standard, Scorecard, Coaching Flag and every other term this context defines.
- Core Domain Chart (ddd-crew core-domain-charts): why this context is Supporting.
- Bounded Context Canvas (ddd-crew bounded-context-canvas): purpose, strategic classification, domain roles, inbound and outbound communication, business decisions and open questions.
- Context Map (ddd-crew context-mapping): every upstream and downstream relationship with its pattern, technology and status.
- Aggregate Design Canvas
(ddd-crew aggregate-design-canvas):
the
TaskPerformanceaggregate, with notes onLaborStandardandIdlePeriod. - Domain Events:
LaborStandardDefinedandLaborStandardRevised(analytics topic and, since ADR 0038, the integration topicwarehouse.labor-performance.events),TaskPerformanceRecorded(both topics), and the consumedfulfillment-executionTaskCompleted. - Domain Message Flow (ddd-crew domain-message-flow-modelling): key scenarios as commands, events and queries.
- EventStorming (ddd-crew eventstorming-glossary-cheat-sheet): process-level boards.
- Class Diagram: the domain model as it exists in the code.
- Entity Relationship: the persisted tables.
- Sequence Diagrams: the main runtime interactions.
- Async API: the Kafka integrations (one inbound, one outbound) in narrative form.
Every page above except the Business Context and the Async API narrative
is synced from the labor-performance repository.
Elsewhere
- Repository: github.com/IQVO/labor-performance
- ADR index: links to this context's own decision records.
- Generated references on this site: REST, Reports REST and AsyncAPI.