ADR 01 · Published memory design
Context pruning vs. full-context RAG
Context cost, retrieval relevance and response latency.
- Decision rationale
- Assemble a bounded context: procedural rules, account facts, relevant episodes and live session state. Retrieve what the current task needs rather than dumping every vector match into the prompt.
- Trade-off
- Pruning reduces token work but can omit useful context. Test recall and answer grounding before tightening the budget.