DDD artifacts (ddd-crew)
The strategic and tactical design of offer-availability, drawn with the ddd-crew tools plus UML
and ER diagrams. Every diagram is Mermaid, checked against the code on develop, and carries a Source: line naming the files it
came from.
| Artifact | ddd-crew tool / notation | What it shows |
|---|---|---|
| Core domain chart | Core Domain Charts | Where this context sits on business differentiation vs model complexity, and why it is Supporting. |
| Bounded context canvas | Bounded Context Canvas v5 | Purpose, classification, roles, every inbound and outbound message, business decisions. |
| Context map | Context Mapping | This context's slice of the network map: patterns per edge, with the built side of each. |
| Aggregate design canvas | Aggregate Design Canvas v1.1 | CatalogItem, Listing and InventoryFeed: states, invariants, commands, events, concurrency. |
| Domain message flow | Domain Message Flow Modelling | The key scenarios as numbered command / event / query flows across contexts. |
| EventStorming | EventStorming glossary and cheat sheet | Process-level boards with the sticky-note colours, plus hotspots and how the code settled them. |
| Ubiquitous language | Glossary | Every term with the code identifier that implements it. |
| Class diagrams | UML class diagram | Domain types, and the hexagonal ports with the adapters that exist. |
| Entity-relationship diagram | ER diagram | The Postgres schema created by the two migrations: nine tables, keys, and why there are no foreign keys. |
| Sequence diagrams | UML sequence diagram | Every write use case and the outbox relay, with error branches. |
| Domain events | Event catalogue | Every event published and consumed: full CloudEvents type, topic, key, payload, producer, consumers. |
Related pages outside the pack: Use cases, Subdomain classification, Integration and the event catalogue.
The code wins. Domain rules come from internal/domain/catalog, listing, feed and nodestatus, behaviour from
internal/application/usecases, the envelope from internal/adapters/kafka/cloudevents, the schema from
internal/adapters/outbound/postgres/migrations/, the REST contract from apis/openapi.yaml, the event contract from
apis/asyncapi.yaml, and decisions from the ADRs in docs/adr/. Where a page and the code disagree, the page is wrong.
:::info Not in this pack
The MCP server (ADR 0007), the A2A adapter
(ADR 0010) and the console remote in web/
(ADR 0008) are built, but they are read surfaces over the model and add no aggregate, entity
or event of their own, so the pack has no pages for them. Where an edge to another context is built on one side only, the page
says so.
:::