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
A pure, repeatable planner ranks items by picks and explains every item it could not place.
Nothing changes on the floor until a planner approves, and one approved plan rules each site.
Read-only MCP and A2A doors exist for plans and slot maps, but ship switched off.
Fund travel-distance slot ranking, and switch the operator workbench on so the console and ops agent can use it.
Owns the forward-slotting decision the rest of the fleet leaves implicit: today fast movers can sit in far slots while slow movers hold the best ones. It computes a reviewable SlotPlan proposal per site and demand window from event-fed local copies (demand, product facts, slot facts, pack levels), a planner either accepts or rejects it…
The fleet leaves forward slotting implicit, so fast movers can sit in far slots while slow movers hold the best ones.
Slots rank by location code, not walking distance, and plans are only as good as their event-fed copies.
Ranks items by picks, respects hazmat and temperature, and limits needless churn.
Plans stay drafts until a planner approves or rejects; one approved plan per site.
Plans case picking only where demand arrives in whole cases.
Shows how many approved moves have actually happened on the floor.
Operators see the current slot map and each item's pick velocity.
Tracks plans proposed, approved and rejected, and how long approval takes.
OTel OTLP/gRPC traces+metrics (30 s push) -> collector (fleet standard); Prometheus scrape at GET /metrics on cmd/api only (Go + process collectors; mcp, projector and reports expose none)…
Ranked against all 45 briefed repositories (dot = one repository, highest on the left).
Every REST, MCP and A2A endpoint is unauthenticated by decision (fleet-wide revert), including the plan approve/reject POSTs…
MCP and A2A stay read-only, and the build fails if a write tool ever appears.
Plans are only as good as the event-fed local copies: an empty or stale copy yields an empty or partial plan (mitigated by explicit…
Plans list unplaced items with explicit reasons instead of guessing.
Slot ranking is the lexical order of location codes — placements can be far from travel-optimal until facility-layout publishes…
Ranking sits behind a port, so a travel-distance policy can drop in once geometry exists.
Demand timing is proxied: due_at is the only date SiteSkuDemandChanged carries (promise cutoff, not pick time)…
Next step: verify ADR 0001's site and demand assumptions against live data.
Slotting turns pick history into a reviewable plan, so the best slots go to the items that move most
| Style | Hexagonal / Ports & Adapters (DDD bounded context, 'wms' event subdomain tier — fifth wms context; strategic classification: Supporting subdomain)… |
| Layout | cmd/{api,mcp,a2a,slotting-projector,slotting-reports}; internal/domain/{slotplan,planning,packlevel}; internal/application/{usecases,ports,repository,outbox}… |
| Storage | Postgres OLTP (3 golang-migrate migrations: slotting_schema, slot_plan_move_executions… |
| Testing | table-driven unit tests with -race and a 90% coverage gate on domain+application+analytics; godog BDD (10 feature files); testcontainers Postgres+Kafka integration (make integration)… |
| REST | 11 operations over 10 paths: api :8080 — POST/GET /slot-plans, GET /slot-plans/{planId}, POST /slot-plans/{planId}/approvals… |