This project is a domain-driven design study. It is not associated with, endorsed by or affiliated with any company, and it uses no company's code, data, logos or trademarks. All names, figures and examples are illustrative or synthetic. · November 2026
Standards are versioned, so each task is judged by the rule in force when it finished.
Scorecards, task-type views and idle analysis turn raw task data into coaching signals.
It only surfaces signals; pay, gamification and automated coaching stay out of scope.
Accept ADR 0035 on handling-unit standards, or reconcile the record, since the feature already ships.
Measures warehouse labor productivity by defining engineered time standards per task type (e.g. a PICK should take 45s) and scoring every completed task against the standard that was in force when it finished. It is a pure Kafka consumer of fulfillment-execution's TaskCompleted events and turns them into per-associate scorecards, fleet-wide task-type performance views…
Fulfillment execution reports each finished task; this context scores it against the time standard in force when it finished.
Efficiency goes blank when no standard is set, handling-unit scoring waits on upstream data, and five deployables are a lot to run.
Set how long each task type should take, travel time included, and keep every revision.
Optional standards per each, case or pallet; the most specific one wins.
Each finished task is scored against the standard active when it was done.
Each associate gets trends and a coaching flag, never an automated decision.
See how each task type performs, including measured average time without standards.
Idle gaps between tasks roll up into utilization per person and per task type.
OpenTelemetry traces and metrics pushed over OTLP/gRPC (30s export) by telemetry.Setup in every binary incl. cmd/a2a; no Prometheus /metrics endpoint, the warehouse-infra Collector derives Prometheus series…
Ranked against all 45 briefed repositories (dot = one repository, highest on the left).
Owns engineered standards and actual-vs-standard scoring.
Leader capabilities are vendor-published; gaps reflect repo docs reviewed in November 2026.
Every REST, MCP and A2A endpoint is unauthenticated by decision (ADR 0012 removed ADR 0011's bearer layer)…
No mitigation on the roadmap yet: this one needs an owner.
Efficiency is null when no standard is active; downstream consumers must handle null rather than assume a number
Consumers must handle null, and measured average time still works without a standard.
Five deployables (labor, labor-projector, labor-reports, mcp, a2a) plus the web remote and two databases raise operational surface for…
No mitigation on the roadmap yet: this one needs an owner.
No Prometheus /metrics endpoint and only four custom OTel instruments (standards.defined, mcp invocations/denials, outbox lag)…
Outbox lag is instrumented; consumer lag is not yet.
Labor performance scores every finished task against a fair standard, surfacing signals without deciding pay
| Style | Hexagonal (ports & adapters) with strict inward-only dependency rule; five deployables (OLTP, analytics projector, reports reader, MCP, A2A) with one writer per database… |
| Layout | cmd/{labor,labor-projector,labor-reports,mcp,a2a}; internal/{domain/{standard,performance,idleness,shared}, application/{ports,usecases}, analytics/report… |
| Storage | Postgres 16 OLTP (:5435; 7 *.up.sql migrations incl. outbox, idempotency_keys, one-open-standard… |
| Testing | go test -race with 90% coverage gate on domain+application+analytics; godog BDD (20 *.feature); testcontainers Postgres+Kafka integration; MCP evals and governance golden… |
| REST | 8 operations over 8 paths on :8080: /healthz, /readyz, /standards, /standards/{taskType}, /associates/{associateId}/scorecard… |