2 Commits

Author SHA1 Message Date
Aaron Weiker b72c14f370 refocus on LLM mistakes, not textbook definitions
Based on actual review findings:
- Replay determinism: DateTime.utc_now() in apply, random in state
- Event design: OrderUpdated with changes map (CRUD-in-disguise)
- Projections as source of truth
- Suggesting event 'fixes' instead of compensating events
- Missing idempotency in handlers

Added Elixir/OTP specific patterns (handle_continue for replay,
Process dictionary for test isolation).

Anti-patterns table for quick flagging.
2026-05-11 00:29:58 -07:00
Aaron Weiker d68d1697aa Initial DDD and event sourcing review patterns
Covers:
- Aggregate design (boundaries, invariants, identity)
- Event sourcing (immutability, naming, content)
- Domain vs integration events
- Eventual consistency
- Projections and read models
- Snapshotting (when and how)
- Process managers / sagas
- Value objects
- Common anti-patterns

Focus on subtle mistakes models make, not textbook definitions.
2026-05-11 00:25:29 -07:00