DDD artifacts (ddd-crew)
The artifact pack follows the ddd-crew tools.
Each page is checked against the code on this branch; every Mermaid diagram
carries a Source: line naming the code files it was derived from. The design
model lives in warehouse-docs
(Customer Payments context pages);
where the built service differs from the model, the pages here follow the code.
| Page | What it holds | ddd-crew tool |
|---|---|---|
| Core domain chart | Why the context is Generic: differentiation against complexity | Core Domain Charts |
| Bounded context canvas | Purpose, roles, every inbound and outbound message, decisions, metrics, open questions | Bounded Context Canvas v5 |
| Context map | Every neighbour, direction and pattern, including the provider ACL | Context Mapping |
| Aggregate design canvas | PaymentAuthorization and Refund: states, invariants, commands, events | Aggregate Design Canvas v1.1 |
| Domain message flow | Authorize, capture, parked facts, release, refund, re-authorize | Domain Message Flow Modelling |
| EventStorming | Process boards and hotspots | EventStorming cheat sheet |
| Ubiquitous language | Terms and code identifiers | Bounded Context Canvas (language section) |
| Class diagram | Domain model, ports and adapters as built | UML |
| Entity relationship | The Postgres schema of the single migration | ER |
| Sequence diagrams | Adapter to Postgres, Kafka and provider for each flow | UML |
| Domain events | Published and consumed events, pointers to the catalogue | Message catalogue |
Also in this section: Use cases (one section per command, query, consumer and policy) and Subdomain classification.