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 physical facts once, so other contexts copy rather than reinvent them.
It only publishes and serves, so it calls no sibling and depends on no one.
Its blind spots are an unmeasured outbox, stale event docs and no contract-test job.
Fund outbox metrics and alerts now, and add a contract-test job so event drift is caught before consumers feel it.
Supporting subdomain of the retail network (logistics tier) and the factual foundation every other network context reads. It registers network nodes (fulfilment centres, cross-docks, returns centres, sortation centres, delivery stations, air hubs), versioned operational profiles with inbound limits, directed ground/air lanes with declared costs and emissions, regions and postal service areas…
It registers six node types, versioned profiles, lanes, regions and service areas, publishes eleven event types and consumes none.
Nobody can see its outbox backlog, docs still say ten events, and no contract-test job checks what consumers rely on.
Registers six node types and moves them through active, suspended and retired.
Keeps every node profile revision, including what each node can physically take in.
Opens and closes ground and air lanes between active nodes, with declared costs.
Splits the network into named regions everyone reads the same way.
Binds postal prefixes to active delivery stations, so every address has a home.
Announces eleven kinds of change through an outbox, so no update is lost.
OpenTelemetry SDK -> OTLP/gRPC Collector (Jaeger traces, Prometheus metrics) via telemetry.Setup in all three binaries; JSON logs on stdout shipped by Alloy to Loki; SDK diagnostics routed through slog at DEBUG
Ranked against all 45 briefed repositories (dot = one repository, highest on the left).
Every REST, MCP and A2A endpoint is unauthenticated by fleet decision - safe only inside the trusted network boundary
A decision, not a gap: safe only inside the trusted network boundary.
Eight conformist consumers read the published language (docs/docs/ecosystem/integration.md:50-58)…
Drift shows up only through downstream conformance tests; no contract-test job exists.
Single PostgreSQL instance is both the aggregate store and the outbox; saturation couples write latency to event delivery…
Instrument outbox backlog and relay passes so saturation shows before delivery slows.
Mutation gate thresholds 95/95 sit below the 99/99 fleet standard even though the domain measured 100%
The domain measured 100%, so raising the thresholds should be a small step.
Node Topology is the network's map of record, so eight contexts plan from the same facts
| Style | Hexagonal / ports-and-adapters with DDD aggregates (Node, Lane, ServiceArea, Region); layering enforced by executable fitness tests |
| Layout | cmd/api (REST + outbox relay), cmd/mcp, cmd/a2a; internal/domain (shared, node, lane, servicearea, region), internal/application (ports, repository, views, usecases, outbox)… |
| Storage | PostgreSQL via pgx with embedded migrations (9 *.up.sql) and pgtx UnitOfWork; transactional outbox drained by capped relay (OUTBOX_MAX_ATTEMPTS… |
| Testing | Unit + integration against testcontainers Postgres/Kafka (pgtest, kafkatest), godog BDD over features/*.feature (15 files), architecture fitness tests, repocontract tests… |
| REST | 17 operations over 13 paths on :8080: /nodes, /nodes/{nodeId}, /nodes/{nodeId}/operational-profile, /nodes/{nodeId}/activations… |