DESIGN

The DESIGN phase translates refined stories into explicit, traceable architecture decisions.

What enters, what exits

   
Comes from DISCUSS — the INVEST story + its criteria
What enters Refined story to design
What exits ADR + component diagram + event model
Goes to DISTILL — which derives the executable scenarios
Responsible agent solution-architect
Associated reviewer solution-architect-reviewer

Why this phase exists

Without explicit architecture decisions, every developer invents their own structure. The solution-architect uses Event Modeling and DDD to model Bounded Contexts, Aggregates, and Domain Events. The reviewer verifies consistency and fitness of the chosen patterns.

« The model is the backbone of a language used by all team members to describe the system. » — Evans, E., Domain-Driven Design, 2003.

☕ Running example — Starbucks (illustrative)

The ordering story enters. DESIGN produces an ADR “delegate payment to an external provider via an anti-corruption layer (ACL)” and an event model PlaceOrderOrderPaidOrderReady. This model feeds DISTILL.

What the agent produces

Gates crossed here

This phase crosses gates G1–G15 (see the gates catalogue). Each gate is checked by the independent reviewer before moving on to DISTILL.