DDD artifacts (ddd-crew)
The full ddd-crew artifact pack for this
bounded context, plus UML class, ER and sequence diagrams. Every diagram is
Mermaid, derived from the code on develop, and carries a Source: line
naming the files it came from and what it leaves out.
| Artifact | ddd-crew tool / notation | Page |
|---|---|---|
| Core domain chart | Core Domain Charts | Core domain chart |
| Bounded context canvas | Bounded Context Canvas v5 | Bounded context canvas |
| Context map | Context Mapping | Context map (lives in Ecosystem) |
| Aggregate design canvas | Aggregate Design Canvas v1.1 | Aggregate design canvas |
| Domain message flow | Domain Message Flow Modelling | Domain message flow |
| EventStorming | EventStorming glossary and cheat sheet | EventStorming |
| Ubiquitous language | glossary | Ubiquitous language (lives in Business Context) |
| UML class diagrams | UML | Class diagrams |
| ER diagram | crow's foot ER | ER diagram |
| UML sequence diagrams | UML | Sequence diagrams |
| Domain events | event catalogue | Domain events |
Supporting pages in the same section: Subdomain classification, Read models, Context relationships.
Sources of truth
When a page and the code disagree, the code wins. The pages were written from:
- Domain:
internal/domain/**— aggregates, value objects, events, views. - Application:
internal/application/ports/*.goandinternal/application/usecases/*.go— commands, transactions, retries, idempotency. - Adapters and wiring:
internal/adapters/**,cmd/wes,cmd/mcp,cmd/wes-projector,cmd/wes-reports. - Contracts:
apis/openapi.yaml(REST) andapis/asyncapi.yaml(events); CloudEvents type constants ininternal/adapters/kafka/cloudevents/cloudevents.go. - Schema:
migrations/*.up.sqlandmigrations/analytics/*.up.sql. - Decisions: the ADRs.
- Siblings: each sibling repository's
origin/develop, for who really consumes what.
Estimates (throughput, aggregate size, chart positions) are labelled as estimates.