The Curse of Unbounded Contexts: Using Domains as LLM Consumers
summary
LLMs often drift because a single chat mixes multiple semantic domains; applying DDD yields concrete fixes: start with a terminology block that defines words, use a conversation charter to declare scope and register (explore, brainstorm, decide, implement), and reanchor every 15–20 messages to refresh constraints. Practical rules include carrying only conclusions into a new conversation, an anti‑corruption layer for incompatible vocabularies, and the third-time rule (if a correction fails three times, restart). Example: a visualization built to resolve a “conservative strategy” mismatch succeeds where simple corrections did not.
AI-written summary · about
chapters (20)
- 0:00Introduction and speaker intro
- 1:11LLM consumer problems overview
- 3:42Bounded contexts in DDD
- 8:07Unbounded LLM conversation risks
- 10:43Four failure modes with LLMs
- 13:17Terminology block solution
- 14:54Context signal degradation
- 16:26Prompt and verification cycle
- 19:26Multiple domains in one context
- 21:04Four conversation registers
- 23:15Register mixing consequences
- 26:48Four pragmatic solutions
- 27:10Conversation charter
- 28:38One conversation one domain
- 30:06Carry-on conclusions handoff
- 31:37Anti-corruption layer moment
- 34:23Where LLMs shine best
- 36:15Success and domain clarity matrix
- 37:44Blinking cursor as context trap
- 38:53Summary and key takeaways
