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
One calendar per site enforces no double-booking, opening hours and closures at every door.
Gate, ASN, layout and CPT facts drive check-ins and cancellations without a single sibling call.
Late ETAs and no-shows become published facts, so the yard can act without asking.
Switch on the built-but-disabled MCP, projector, reports, relay and no-show sweep in warehouse-infra.
Owns the door calendar of every site: every booked time window on every dock door, inbound and outbound, from booking through arrival to door release, enforcing no-double-booking, door opening hours and closures, ETA-driven risk and terminal no-shows…
It books, moves and cancels carrier windows per door, flags late ETAs, and folds yard and receiving facts into its calendar.
Only the API runs on the cluster: MCP, reports, projector, relay and no-show sweep are off, and OTel is not wired.
Sets opening hours, closures and slot size for every site's doors.
Books, reschedules and cancels carrier windows with no double-booking.
Flags appointments at risk from late ETAs; nothing reschedules on its own.
Registers, suspends and reinstates carriers by their SCAC code.
Shows free and busy windows per door over up to 14 days.
Checks in, releases doors and cancels bookings from yard and ASN facts.
Private Prometheus registry at GET /metrics on api (:8080), mcp (:8090) and reports (:8092): http_requests_total and duration histogram by chi route, ignored_facts_total by reason, implicit_arrivals_total…
Ranked against all 45 briefed repositories (dot = one repository, highest on the left).
Observability is half-wired: no OTel SDK (the chart renders OTEL_* into pods that nothing reads) and the dashboard's OTel-style…
A private Prometheus registry still exposes request, ignored-fact and arrival metrics.
All six alert rules read Kong and kube-state metrics — nothing fires on ignored facts, outbox backlog or consumer lag…
The ignored-facts counter turns silent skips into a signal; backlog is read from the outbox table.
REST and the L3 MCP write tools (book/reschedule/cancel appointment, carrier suspend) are unauthenticated BY DECISION (fleet-wide…
No mitigation on the roadmap yet: this one needs an owner.
Dock scheduling is the one door calendar per site, so no two trucks get booked into the same window
| Style | Hexagonal / Ports & Adapters; WMS-tier Supporting bounded context of the yard domain (the yard instance of warehouse-docs holds the single-source model)… |
| Layout | cmd/{api,mcp,projector,reports,relay,sweep} — six binaries in one image: api :8080 (REST, in-process outbox relay, Kafka consumers), mcp :8090, projector (sole analytics writer)… |
| Storage | Postgres OLTP (4 root migrations: dock_scheduling, idempotency_keys, carriers, door_gln) + separate analytical Postgres (1 migration: schedule… |
| Testing | table-driven -race unit tests with 90% coverage gate on domain+application (check-all); 12 godog BDD feature files; testcontainers Postgres+Kafka integration (-tags=integration)… |
| REST | 22 operations over 19 paths on :8080: /appointments (+/{appointmentId}, /{id}/eta-reports, /{id}/reschedules, /{id}/cancellations)… |