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 grades only from observed facts, so a node cannot talk its way into a better score.
Its 7-day grade flips fast-tier eligibility, a real lever on delivery speed.
Telemetry and gates are on the fleet standard, but alerts dead-end and thresholds can't be tuned.
Name an owner and consumer for threshold alerts, and validate the tier thresholds before they gate more fast tiers.
Node Performance measures every node in the retail network against what it declared and what was asked of it — acknowledgement latency, rejections, on-time handover against requiredShipBy, promise-kept rate and inventory feed freshness…
It listens to six producer contexts, keeps 7-day and 30-day scorecards per node, and its grades already gate the fast tiers.
Its threshold alerts reach no consumer, and the hard-coded 0.90 and 0.95 tier rules were never checked against real volume.
Takes in facts from six producers once each, so duplicates never skew a grade.
Keeps a 7-day and a 30-day scorecard per node, recomputed on a schedule.
Grades handover, rejections and promises kept; thin data stays provisional.
Shows how timely and accurate inbound receipts are, without grading on them.
Raises an alert when a node's metric drops below its threshold.
Turns fast tiers off below 0.90 on-time handover and back on at 0.95 on three days.
Fleet observability standard (ADR 0010): OpenTelemetry OTLP/gRPC export to the in-cluster Collector (Jaeger + Prometheus behind it), never blocking…
Ranked against all 45 briefed repositories (dot = one repository, highest on the left).
Every REST, MCP and A2A endpoint is unauthenticated by fleet decision; relies on the trusted network boundary
A decision, not a gap: relies on the trusted network boundary.
Wide consumed-contract fan-in: 15 event types from six producers; tolerant decoding mitigates producer drift but silently ignores…
Tolerant decoding absorbs drift, but unknown shapes are silently ignored.
Hard-coded grading and tier thresholds (constants in the domain) materially gate SAME_DAY/NEXT_DAY eligibility with no configuration…
Validate 0.90, 0.95 and the 50-observation floor against real volume first.
Single-process composition root runs six Kafka consumers, the recompute scheduler and the outbox relay together…
No mitigation on the roadmap yet: this one needs an owner.
Node Performance turns observed facts into A-D grades that decide who earns same-day and next-day delivery
| Style | Hexagonal / ports & adapters, DDD bounded context; layering enforced as an executable fitness test, not a convention |
| Layout | cmd/{api,mcp,a2a} as independent deployables (composition root with REST + 6 Kafka consumers + recompute scheduler + outbox relay in one process; read-only MCP server… |
| Storage | PostgreSQL only (pgxpool repositories, embedded golang-migrate migrations run at boot… |
| Testing | go test -race unit + handler suites; godog/Gherkin BDD (15 *.feature); testcontainers Postgres+Kafka integration… |
| REST | 2 operations over 2 paths on :8080: /scorecards/{nodeId}, /scorecards |