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
The product page shows a real delivery date and a charge per tier, so the total is never a surprise.
Payment is authorized at checkout and captured per shipment group, only when that group ships.
It is built on develop and registered in the infra app registry; no live traffic is claimed.
Pick the first real-world test: swap the payment simulator for a real provider adapter, and load-test checkout's in-doubt path.
The digital storefront is what a shopper sees and pays: search, a product page with a real delivery date priced per delivery tier, a cart, checkout and payment. It sits inside the retail-network organisation as its own domain. The network decides what can be promised and how it is fulfilled. The storefront never stores personal or card data, only a shopper id, an address id and payment tokens.
Six bounded contexts, a Go edge service and a React web app are built on develop. All nine are in the k3s reference cluster's app registry.
Payments run against a simulator, there is no authentication anywhere, and nothing has carried a real shopper yet.
Find an item, see when it arrives and what it costs, and pay with confidence.
product-discovery, pricing, shopping-cart and checkout, reached through storefront-web.
Write descriptions, attributes and media for items the network already knows.
product-content drafts, publishes and retires content and the category tree.
Set item prices, sale windows, delivery charges per tier and the tax table.
pricing publishes each change as an event and issues binding, expiring quotes.
See what was held, captured, released or refunded, and retry a failed refund.
customer-payments, with REST reads and a read-only MCP server.
Know the storefront only uses published routes and never reaches into network internals.
A hard boundary: only open-host routes and retailnetwork topics, enforced by tests.
Search reads ProductView projections folded from network, content and price events.
Product page joins the network's delivery date with the charge per tier from pricing.
Cart holds a delivery quote per shipment group, the tier choice and an estimate.
Checkout opens a session on a binding PriceQuote; confirming after expiry is refused.
A hold for the total is placed with the provider using a token, never a card number.
customer-ordering places the order: the one pivot step the saga cannot undo.
On decline or a late requote, the hold is voided and the shopper can try again.
FulfillmentShipped triggers PaymentCaptured for that shipment group only.
A shopper's visit · press → to walk the story step by step · each chip is the bounded context that owns the step
The product page shows the delivery date the network has a feasible path for, with each tier's charge beside it, never a vague 'N business days'.
Authorize at checkout, capture each shipment group only when it ships, release on cancel, refund if lost or returned, re-authorize before expiry.
Checkout runs a saga: authorize, place the order as the pivot, void if it fails. An unknown outcome is locked and settled by replay, not retried.
The storefront keeps only shopperId, shipToAddressId and payment tokens. The web page posts a scenario token, never a card number, under a strict CSP.
Leader capabilities are public research and vendor-published material; gaps reflect repo docs reviewed in November 2026. Our judgement, not a certification.
Each context has its own Postgres. Events leave through a transactional outbox and consumers dedupe on the CloudEvents id.
Data used in a decision is a local, event-fed copy. Synchronous calls exist only where a shopper's request needs an answer.
The browser reaches only storefront-bff, which has no database and no Kafka. The web app talks to nothing else.
Layering, no body logging, no card data and no call to restricted network routes are fitness tests that fail the build.
The payment provider sits behind a port, and checkout translates network terms. A swap changes one adapter, not the model.
Reads for browsing and search, fed by the network and by content authors
Turns an item into a priced line, a delivery quote and a tier choice
One transaction across price, payment and the network's order placement
Holds, captures, releases and refunds money behind a provider port
Catalogue and listing facts are taken as published; only catalogItemId joins them.
Content and category-tree events feed the search views, with REST for rebuilds.
Price, tax and delivery-charge events keep the cart's estimate current.
The cart asks the network for delivery quotes through an open quote route.
Checkout translates network order and requote terms into storefront terms.
Checkout calls authorize and void; payments owns the money rules.
Shipped, cancelled and unsourceable facts decide capture and release.
Provider vocabulary stays in one adapter; a real provider changes only its URL.
checkoutshopping-cartpricingproduct-discoverycustomer-payments Calls open-host routes of delivery-promise and customer-ordering; consumes network facts. The network never calls back.
customer-payments A payment provider, reached through an anti-corruption port. The simulator stands in with deterministic test tokens.
It may consume retailnetwork topics and open-host routes; the network never depends on it and no warehouse topic is touched.
Matches the estate rule; sign-in is a synthetic shopper lookup by e-mail, and identity is deferred.
Money follows shipment facts: release on cancel, refund on lost or returned packages.
Pricing and the binding quote live in the storefront, so the network's customer-ordering model is not changed.
The browser reaches one service under /api/storefront, which holds no domain model, database or Kafka.
Good enough for the study, and the port lets a dedicated engine replace it as the catalogue grows.
Structured CloudEvents 1.0, a transactional outbox and an inbox in each context.
Traces, metrics and logs over OTLP, adopted by all six contexts, the BFF and the simulator.
Coverage gate, mutation tests, architecture tests and API linting; web adds Lighthouse budgets.
A2A agents on the six contexts; read-only MCP servers on checkout and customer-payments.
Counted from the repositories (develop). REST and MCP endpoints are unauthenticated fleet-wide by decision: a known risk, not a capability.
Counted, not typed: contexts and decisions from the registry on develop, events and feature files from each context's verified profile. Highlighted = this ecosystem.
Every REST, MCP and A2A endpoint is open, and the cookie only holds state, not identity. Fine for a study, a gap beyond the cluster.
No mitigation on the roadmap yet: this one needs an owner.
Partial captures, provider timeouts and reconciliation against real statements are unexercised in customer-payments.
Add a real provider adapter behind the existing port, plus a provider-statement reconciliation report.
It consumes no events and reads siblings synchronously, so an outage stalls buying; an in-doubt placement keeps a hold.
Load-test the PLACING lock and the in-doubt resolver under broker and provider latency.
product-discovery is wholly event-fed; a lagging consumer or dropped event leaves old product views until a rebuild.
Run the default-off rebuild Job as a scheduled drill; it snapshots the network reads, then replays events.
The storefront shows only delivery dates the network can keep, and charges only for what has actually shipped.
| Context | Class | Out | In | ADRs | Doors |
|---|---|---|---|---|---|
| product-content | Generic | 3 | 2 | 7 | · A2A |
| product-discovery | Supporting | 0 | 11 | 8 | · A2A |
| pricing | Core | 5 | 2 | 8 | · A2A |
| shopping-cart | Supporting | 4 | 7 | 8 | · A2A |
| checkout | Supporting | 7 | 0 | 9 | MCP · A2A |
| customer-payments | Generic | 8 | 6 | 7 | MCP · A2A |
Out / In = event types published / consumed (from each context's profile). Doors = MCP server and A2A agent. Links open the per-context executive briefing.