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
Plans are checked against node limits and packaging rules before a carton ships.
Every carton carries a network-unique SSCC and GS1-128 label data.
Receipts close shipments as they are, with discrepancies and violations on record.
Decide the v1 fate of PlacementPlanSuggested, and make the order-sourcing consumer survive a late topic.
Seller Inbound is the front door through which a seller gets stock into the retail network: the seller is onboarded, plans an inbound shipment to a vendor node in eaches (loose or case-packed), packs it into cartons each identified by an SSCC and a printed label, and ships it…
Sellers plan shipments in eaches, pack cartons with SSCC labels and ship to a vendor node; the vendor's receipt closes the shipment.
One GS1 prefix guards the whole SSCC namespace, the capacity gate only records when volumes are undeclared, and the scorecard suspends nobody.
Onboard, suspend or reinstate sellers as explicit, safe human commands.
Plans in eaches are checked against the destination node's inbound limits.
Plan lines must fit the catalogue item's packaging hierarchy.
Every carton gets a valid, network-unique SSCC, issued by us if needed.
A frozen manifest produces GS1-128 label data and the cartons ship.
Vendor receipts close shipments, recording every discrepancy as found.
Fleet observability standard (ADR 0008): 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).
Consumed-contract drift: four producer topics feed four consumers; order-sourcing merged-release fields (members, assignmentId…
Decoding is tolerant, so merged-release fields are ignored rather than breaking.
The network-wide SSCC namespace depends on a single configured GS1 company prefix (SSCC_COMPANY_PREFIX, 6-11 digits)…
A wrong prefix collides network-wide, so check the configured value before each rollout.
The compliance scorecard is deliberately informational: suspension stays a human command…
The scorecard is informational on purpose; suspension stays a human command.
Every REST, MCP and A2A endpoint is unauthenticated by decision (fleet-wide auth revert…
A decision, not a gap: the in-cluster boundary is the access control.
Seller Inbound is one front door for seller stock, and it records every discrepancy instead of hiding it
| 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: REST + outbox relay + Kafka consumers + retention loop in one process) plus web/ Module Federation remote… |
| Storage | PostgreSQL only (pgxpool repositories, embedded golang-migrate at boot, global idempotency-key store, transactional outbox + inbox); Kafka… |
| Testing | make test unit suites (-race); godog/Gherkin BDD (13 feature files); testcontainers Postgres+Kafka integration; gremlins mutation (mutation-fast blocking, mutation-full exhaustive)… |
| REST | 19 operations over 17 paths on :8080: /sellers, /sellers/{sellerId}/suspensions, /sellers/{sellerId}/reinstatements, /sellers/{sellerId}/scorecard… |