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
Rules block uncertified, on-break or over-hours assignments, so double-booking can't happen.
Headcount proposals use measured rates, but a human always commits the plan.
Agents can propose heads and assign labor over MCP and A2A, marked by authority level.
Approve exposing the staffing gap to fulfillment-execution's dispatch side as the sanctioned read seam.
A Supporting bounded context that owns shift-start planning (a human commits a split of headcount across process paths) and intra-shift assignment tracking as backlogs deviate. It makes the staffing gap legible but never decides: the move itself stays a human call, and PathUnderstaffed is a flag, not a decision. It deliberately stops at the path boundary — never linking an associate to a task…
Supervisors commit a headcount split across paths at shift start, then assign certified associates as backlogs shift.
The gap reflects what people recorded, not who is there, and a stale station count from callers can skew it.
Starts and ends shifts, tracks breaks, certifications and hours against the cap.
Proposes heads from measured rates; a supervisor commits under two capacity ceilings.
Rejects unsafe assignments and ends the old one on reassign, so no double-booking.
Compares planned heads with active assignments per path and flags understaffing.
Builds a labor utilization report from its own events, also open to AI tools.
MCP tools and A2A skills carry authority levels; agent assignments are stamped as such.
OTLP/gRPC push (30 s) to an OpenTelemetry Collector (no /metrics endpoint); traces with one server span per route pattern (bounded cardinality), otelpgx client spans and mcp.tool spans…
Ranked against all 45 briefed repositories (dot = one repository, highest on the left).
Owns certification-gated assignment and headcount planning.
Leader capabilities are vendor-published; gaps reflect repo docs reviewed in November 2026.
Staffing gap is eventually consistent — derived from assignments a human recorded, not physical presence…
The path-boundary doc names the sanctioned read seam with fulfillment-execution for task answers.
Two independent capacity ceilings (installedStations from caller, live installed capacity from fulfillment-execution) can drift if the…
The live capacity check fails loud, rather than guessing, when it cannot answer.
INSTALLED_CAPACITY_MODE defaults to permissive in the binary and fails every CommitShiftPlan…
Only the chart sets http mode; the binary's permissive default fails loud.
Every REST, MCP and A2A endpoint is unauthenticated by decision (ADR 0018 removed ADR 0017's identity layer)…
No mitigation on the roadmap yet: this one needs an owner.
Workforce management makes staffing gaps visible per path while keeping every move a human decision
| Style | Hexagonal / Ports & Adapters (domain depends on nothing, application on domain, adapters on application/domain); Supporting bounded context that stops at the path boundary (ADR 0002)… |
| Layout | cmd/workforce (OLTP), cmd/workforce-projector (analytics writer :8091 admin), cmd/workforce-reports (read-only :8092), cmd/mcp (Streamable HTTP :8090), cmd/a2a (:8093)… |
| Storage | Postgres 16 (pgxpool; golang-migrate at boot: 5 OLTP *.up.sql migrations — init, outbox, version, idempotency_keys, associate_shift.site_code… |
| Testing | godog/Gherkin BDD (22 *.feature) driving the real REST API over httptest with in-memory adapters; table-driven unit tests with -race and a 90% coverage gate… |
| REST | 13 operations over 13 paths on :8080: /healthz, /readyz, /associates/{id}/shift-starts, /associates/{id}/certifications… |