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
It names the bottleneck step on each process path, not just a total capacity figure.
It plans from local copies of upstream facts, so it never waits on a live call.
Completed-task facts now feed back an advisory variance between plan and what happened.
Approve the order-management follow-up that acts on published plans, and re-check the dock-scheduling feed.
Answers forward-looking warehouse capacity questions: given assigned demand and current labor, location, station and equipment constraints, can this warehouse process it? It computes normalized cross-process effective capacity, detects shortages and names bottlenecks, then publishes capacity plans the rest of the fleet (order-management, ops console) can act on…
It reads shift plans, slots, orders and dock appointments from events, then computes orders-per-hour capacity per process and path.
Station and labour standards are typed in by hand, site naming is an unwritten rule, and no consumer acts on its plans yet.
Turns every constraint into one comparable orders-per-hour figure.
Finds which step, such as pick, rebin or pack, limits the whole path.
Drafts a plan for a window, spots shortages against demand, and publishes it.
Keeps local copies of staffing, slots, orders and appointments, with no live calls.
Operator-set labour standards turn dock appointments into plan demand.
Multiplies station count by a declared standard, even when declarations arrive late.
OTel OTLP/gRPC traces+metrics (30 s push, no /metrics endpoint) -> otel-collector -> Jaeger + Prometheus exporter (fleet standard, ADR 0011)…
Ranked against all 45 briefed repositories (dot = one repository, highest on the left).
Owns effective-capacity, bottleneck and shortage planning per warehouse.
Leader capabilities are vendor-published; gaps reflect repo docs reviewed in November 2026.
Site = building id = zone-id first segment is an undocumented-upstream convention…
The convention is written into a decision record; upstream naming drift still needs watching.
Every REST, MCP and A2A endpoint is unauthenticated by decision (fleet-wide revert 2026-09-11, TestNoAuthMiddlewareReintroduced)…
No mitigation on the roadmap yet: this one needs an owner.
Station standards and inbound labour standards are operator-declared because no upstream publishes them…
Missing data raises warnings instead of invented throughput.
Ten consumed event types across five topics make plan accuracy depend on upstream publishers…
The dock-scheduling feed was tested only against fixtures; re-checking it is on the roadmap.
Planning turns people, stations and space into one capacity answer, so shortages surface early
| Style | Hexagonal / Ports & Adapters (DDD Core bounded context, 'wes' event subdomain tier); strict dependency rule CI-enforced by arch-go fitness tests |
| Layout | cmd/{api,mcp,a2a,planning-projector,planning-reports} +… |
| Storage | Postgres OLTP (12 numbered golang-migrate migrations: process_capacity, kafka_read_models, capacity_plan+outbox, process_paths, station_standards… |
| Testing | table-driven unit tests with -race, 90% coverage gate on domain+application+analytics (Makefile:21-22), godog/Gherkin BDD (18 feature files)… |
| REST | 21 operations over 18 paths: api :8080 — /process-capacities, /process-paths, /process-paths/{id}/capacity, /capacity-plans, /capacity-plans/{id}… |