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 owns the dock story from ship notice to counted receipt, up to but not including stock placement.
Discrepancies surface when a receipt closes, so only good units ever become stock.
Events and local copies keep it decoupled, with no live calls in either direction.
Retire the frozen appointment surface now that dock-scheduling owns door bookings.
Owns the inbound dock workflow up to, but not including, stock placement: the supplier's advance ship notice (ASN), a read-only copy of the carrier's booked dock door window (the DockAppointment moved to dock-scheduling, ADR 0019) and the counted physical receipt whose close raises coded discrepancies and a receiving advice…
Suppliers send ship notices, dock teams count cartons, and good units hand over to storage by event.
Postgres and Kafka are hard requirements with no fallback, and the old appointment API is retired but still lingers read-only.
Suppliers announce what is coming, carton by carton, before the truck arrives.
Keeps a local copy of door bookings from dock-scheduling; booking moved away.
Teams scan whole cases and print carton labels instead of counting every unit.
Short, over and damaged goods surface, with coded findings, at scan and close.
Tells the supplier what arrived and flags advice that runs past its SLA.
Only good units become stock; damaged ones are recorded but never booked.
OpenTelemetry OTLP/gRPC traces + metrics from all four long-running binaries (api, mcp, reports, projector — projector without spans) to the Collector (periodic reader 30 s, lazy and non-blocking)…
Ranked against all 45 briefed repositories (dot = one repository, highest on the left).
REST, MCP, A2A and the reports are unauthenticated BY DECISION (fleet-wide revert 2026-09-11, README disclaimer)
No mitigation on the roadmap yet: this one needs an owner.
Hard runtime coupling by design (ADR 0011): Postgres and Kafka are the only runtime…
Readiness checks both, and the Helm chart refuses to render setups that would crash-loop.
Six event-fed local copies: a missed or late dock-scheduling, yard-management or inventory-storage event leaves the appointment copy…
No mitigation on the roadmap yet: this one needs an owner.
ADR 0017 was a breaking REST cutover with no legacy aliases, and ADR 0019 retired three POSTs with 410: any caller not yet migrated…
Floor client and e2e tests must move to the new routes; the in-repo web remote already has.
Inbound receiving turns an announced truck into counted, checked stock without calling any other team live
| Style | Hexagonal / Ports & Adapters (WMS-tier Supporting bounded context); strict inward dependency rule CI-enforced by arch-go fitness tests |
| Layout | cmd/{api,mcp,a2a,inbound-projector,inbound-reports} — 5 binaries in one image (api default entrypoint :8080 with the outbox relay and six Kafka consumers… |
| Storage | Postgres OLTP (9 golang-migrate migrations: inbound_receiving schema, housekeeping indexes, cartons_and_packaging, receipt_carton_discrepancies… |
| Testing | table-driven unit tests with -race; 90% coverage gate on domain+application; godog BDD (19 feature files); testcontainers Postgres+Kafka integration (mandatory, no env-based skips)… |
| REST | 23 operations over 20 paths on :8080: /asns (+/{asnNumber}, /{asnNumber}/cartons, /{asnNumber}/cancellations), /appointments (+/{appointmentId}… |