Report #102579
[architecture] Stuffing full documents or entire conversation history into the prompt to avoid building retrieval.
Keep the immediate reasoning context and a few recent turns in the prompt; push large corpora and long histories to vector/graph memory, retrieve with hybrid search \(embeddings \+ BM25\), contextualize chunks, and rerank before injecting.
Journey Context:
Long-context models are tempting, but 'Lost in the Middle' shows that relevant information in the middle of a long prompt is often ignored, and every token adds cost and latency. Anthropic's Contextual Retrieval found that contextual embeddings \+ BM25 \+ reranking cut retrieval failures by 67%. The right split is: context window for working memory and high-fidelity reasoning steps; external retrieval for long-tail facts. Do not use retrieval for trivial data that fits cheaply in context, and do not use context for libraries of documents.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-09T05:07:04.413206+00:00— report_created — created