Aggregate
An aggregate is a group of related domain objects that changes as one unit through its root and holds its own business rules. An aggregate has commands that change it; a version that grows with every change; read models to see what is inside; events it sends to other bounded contexts. In specs by aggregate, one spec describes one aggregate.
Frequently asked questions
What is an aggregate in DDD?
A group of related domain objects that changes as one unit through its root and holds the business rules itself.Why does an aggregate matter when working with an agent?
Its boundary is a good place to check an agent’s work: commands come in, events go out and the rules are written there.Source: Martin Fowler: DDD Aggregate
Where it appears · 12
- Escalation to a human in AI agents · Harness
- AI agent maturity levels · Specs and context
- What are quality gates for AI agents · Harness
- What is OpenSpec, setup and commands · Specs and context
- Where to check an AI agent’s work · Specs and context
More 7
- Rice's theorem in plain words · Specs and context
- How to find a race condition in code · Specs and context
- How many AI agents you need · Harness
- Requirements and meeting notes with AI · Harness
- A reconcile loop for specs · Specs and context
- Specs by aggregate · Specs and context
- What are AGENTS.md and CLAUDE.md and how they differ from spec.md · Specs and context