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
Placement rules run at registration, so every stored slot is legal by construction.
15 published events and REST let other tiers use the map without depending on each other.
Layouts, floor plans and travel distances reach consoles, WES and agents over REST, MCP and A2A.
Give wes-work-planning event-driven travel input so it stops reading distance synchronously.
Owns the warehouse map as a standalone Generic Subdomain: whether a coded location exists, is active, and is legal for a given kind of storage unit. Placement legality (e.g. no ambient product in the frozen zone) is enforced once, at registration time, so every slot in the database is legal by construction…
It registers sites, zones, aisles and slots, checks placement rules once at registration, and publishes the map as events.
Decommissioning is one-way, maintenance status cannot be set, and travel across zones is only a straight-line estimate.
Registers sites, zones and aisles with temperature, hazmat and walk order.
Decides once, at registration, which storage types are legal where.
Serves nested layouts, zone grids and SVG floor plans ready for screens.
Builds a travel graph and shortest-path distances between slots.
Adds handling unit, GLN identity and yard spot kinds to slots.
Bootstraps a whole building in one call, reporting row by row.
OpenTelemetry all three signals (traces, metrics, logs) over OTLP/gRPC to a Collector, wired in all five binaries via telemetry.Setup; no /metrics endpoint (Collector owns Prometheus exposition)…
Ranked against all 45 briefed repositories (dot = one repository, highest on the left).
Leader capabilities are vendor-published; gaps reflect repo docs reviewed in November 2026.
Every REST, MCP and A2A endpoint is unauthenticated by decision (ADR-0015 reverted ADR-0014)…
No mitigation on the roadmap yet: this one needs an owner.
Hierarchical location code means re-organizing the building changes codes - accepted trade-off (re-slotting is rare…
Accepted trade-off: re-slotting is rare while reads run into millions a day.
Postgres and Kafka are the only runtime (ADR-0039): DATABASE_URL and KAFKA_BROKERS are mandatory, no in-memory mode…
/readyz checks both dependencies, so a broken deployment shows as not ready.
Cross-zone /distance is a straight-line estimate (estimated:true) unless both slots have position geometry…
Responses flag estimates, and position geometry on both slots gives a real route.
Facility layout is the warehouse map every tier builds on, and it only ever stores legal locations
| Style | Hexagonal / ports and adapters; dependency rule enforced as an executable arch-go test; DDD Open Host Service with Published Language; no inbound service dependencies… |
| Layout | cmd/{facility,facility-projector,facility-reports,mcp,a2a}; internal/{domain (site,zone,aisle,placement,slot,structure,travel,shared), application (ports,usecases)… |
| Storage | Postgres OLTP via pgxpool with golang-migrate (13 OLTP *.up.sql migrations + analytics set… |
| Testing | Unit tests with explicit failing-path coverage per invariant, 90% coverage gate on domain+application; godog BDD (21 *.feature), MCP eval and governance tests, arch-go fitness tests… |
| REST | 38 operations over 30 paths on :8080: /healthz, /readyz, /sites, /sites/{siteCode}, /sites/{siteCode}/role, /site-roles/transfer-defaults… |