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
Editors draft and revise freely; only a published revision reaches the storefront.
Each publication carries a higher revision, so downstream never applies stale content.
Discontinued items retire their content automatically, keeping dead pages off the shelf.
Run a deliberate schema change now, and switch the MCP server on in a deployment so agents can read content.
Product Content enriches the network's catalogue item with everything a product page needs: descriptions, bullets, attributes, media and the category tree — the title stays the item master's, and media upload is out of scope (URLs to static assets only)…
It drafts, revises and publishes content per item with a rising revision, and publishes the category tree as one versioned whole.
One migration holds the whole schema, the full tree ships in a single message, and the MCP server is built but switched off.
Write descriptions, bullets, attributes and media links, then revise or discard.
Publish or retire per item; consumers only apply a newer revision.
Create, move and rename categories, then publish the whole tree at once.
Keeps its own copy of which items exist, fed by offer-availability.
When an item is discontinued, its content is retired automatically.
An outbox makes sure every published change reaches product-discovery.
Fleet observability standard (ADR 0005): OpenTelemetry OTLP/gRPC export to the in-cluster Collector, never blocking; JSON logs on stdout carrying trace_id/span_id and request_id
Ranked against all 45 briefed repositories (dot = one repository, highest on the left).
CategoryTreePublished carries the WHOLE tree in one Kafka message — tree growth inflates event size and consumer replacement cost
No mitigation on the roadmap yet: this one needs an owner.
The consumed contract is only two events from offer-availability: the local CatalogItemView is the sole item knowledge…
No mitigation on the roadmap yet: this one needs an owner.
Media is URL references to static assets only — broken-asset and link-rot risk sits outside the context's control
No mitigation on the roadmap yet: this one needs an owner.
Every REST, A2A and MCP endpoint is unauthenticated by decision (fleet-wide auth revert 2026-09-11, TestNoAuthMiddlewareReintroduced)
A decision, not a gap: fleet-wide.
Product Content turns a bare catalogue item into a full product page and tells search the moment it changes
| Style | Hexagonal / ports & adapters, DDD bounded context; layering enforced as an executable fitness test (arch-go), not a convention |
| Layout | cmd/{api,a2a,mcp} (api is the composition root with REST + outbox relay + offer-availability consumer + RetireOnDiscontinue policy in one process)… |
| Storage | PostgreSQL only (pgxpool, embedded golang-migrate at boot, outbox rows written in the same transaction as the aggregate… |
| Testing | go test -race unit suites; godog/Gherkin BDD (8 feature files) over the real HTTP API; testcontainers Postgres+Kafka integration… |
| REST | 12 operations over 10 paths on :8080: /product-contents, /product-contents/{catalogItemId}, /product-contents/{catalogItemId}/revisions… |