Skip to main content

DDD Artifacts (ddd-crew)

The strategic and tactical design of order-management, drawn as Mermaid diagrams from the code on develop.

ArtifactFollowsPage
Core Domain Chartddd-crew Core Domain ChartsCore Domain Chart
Bounded Context Canvasddd-crew Bounded Context Canvas v5Bounded Context Canvas
Context Mapddd-crew Context MappingContext Map (kept under Ecosystem)
Aggregate Design Canvasddd-crew Aggregate Design Canvas v1.1Aggregate Design Canvas
Domain Message Flowddd-crew Domain Message Flow ModellingDomain Message Flow
EventStormingddd-crew EventStorming glossary and cheat sheetEventStorming
Ubiquitous Languageddd-crew canvas glossary sectionUbiquitous Language (kept under Business Context)
UML class diagramsUMLClass Diagrams
ER diagramCrow's foot ERER Diagram
UML sequence diagramsUMLSequence Diagrams
Domain eventsEvent catalogueDomain Events

Related pages: Subdomain Classification, Use Cases.

Sources of truth​

  • Code wins. Every diagram has a Source: line naming the files it was drawn from and an Omits: note. When a page disagrees with internal/**, cmd/** or migrations/**, the code is right and the page is stale.
  • Contracts: apis/openapi.yaml (REST) and apis/asyncapi.yaml (Kafka, CloudEvents 1.0).
  • Decisions: the ADRs. An ADR body records the decision at the time; later ADRs that supersede or extend it are noted in its Status line.
  • Estimates are labelled. Throughput, size and chart coordinates are judgement, not measurement.