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
Every release to a node becomes a purchase order with a deadline to accept or reject.
Every write answers at once with a transaction id that vendors poll to reconcile.
Agents can already read orders, shipments and scorecards through nine read-only MCP tools.
Guard the simulation knobs so test settings never reach production vendors, then build the return-advice seam.
Supporting subdomain in the partner tier. It publishes the Vendor API and its Published Language: vendors register nodes, declare operational profiles, send inventory feeds, poll purchase orders, acknowledge them in full inside the acknowledgement window, request labels and confirm shipment, and report what their dock received against seller inbound shipments…
Vendors run fulfillment nodes and must take purchase orders, acknowledge them in time, ship, and report what arrived.
Writes make four synchronous calls to sibling contexts, and test-only failure knobs could hurt real vendors if misapplied.
Sets each vendor's acknowledgement window and blocks writes while suspended.
Turns each release to a node into an order the vendor must fully accept or reject.
Expires unanswered orders and cancels ones whose release was withdrawn.
Every write returns a transaction id the vendor polls for success or failure.
Vendors request shipping labels and confirm the shipment went out.
Vendors see inbound shipment trees and report what their dock received.
OpenTelemetry OTLP/gRPC to in-cluster Collector -> Jaeger (traces) + Prometheus (metrics); JSON slog logs on stdout collected by Alloy into Loki (fleet standard, ADR 0008)
Ranked against all 45 briefed repositories (dot = one repository, highest on the left).
Write path makes four synchronous in-org calls (node-topology, offer-availability, shipping-and-tracking…
No mitigation on the roadmap yet: this one needs an owner.
Hostile-network simulation knobs (TX_PROCESSING_DELAY, TX_FAILURE_RATE, PO_REDELIVERY_RATE, RATE_LIMIT_RPS) are runtime settings…
The knobs are empty by default in the chart; a production guard is the next step.
Purchase-order expiry and cancellation race against order-sourcing release withdrawal; reconciliation depends on event ordering
No mitigation on the roadmap yet: this one needs an owner.
Every REST, MCP and A2A endpoint is unauthenticated by decision (fleet-wide auth revert; CLAUDE.md:23,44)…
No mitigation on the roadmap yet: this one needs an owner.
Vendor connectivity gives vendors one published API, so the fleet reaches the retail network through one seam
| Style | Hexagonal (ports & adapters), Open Host Service with Published Language, event-driven DDD, transactional outbox |
| Layout | cmd/{api,mcp,a2a} composition roots; internal/domain {purchaseorder, vendor, submission, inbound, network, shared}… |
| Storage | PostgreSQL (pgx v5): vendor accounts, purchase orders, submissions, inbound shipments/receipts, inbox, transactional outbox, global idempotency keys… |
| Testing | Unit + 90% coverage gate; integration on real PostgreSQL and Kafka via testcontainers; godog BDD (20 .feature files incl… |
| REST | 19 operations over 18 paths on :8080: /vendor/purchase-orders, /vendor/purchase-orders/{poNumber}, /vendor/acknowledgements, /vendor/inventory… |