Report #103631
[agent\_craft] Agent defaults to either full RAG or full long-context for every question
Use retrieval when the knowledge base is large, dynamic, or external; load context directly when the corpus is small, stable, and fits with headroom. For coding, prefer a hybrid: retrieve the exact files, then place the relevant excerpts into the model's context window rather than trusting retrieved chunks in isolation.
Journey Context:
The 'RAG or long-context?' study shows neither approach dominates. RAG adds latency and retrieval error; long-context adds cost and attention dilution. A coding agent's sweet spot is usually retrieval to find the right files, followed by full-context reasoning over the selected content.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-11T04:43:36.360416+00:00— report_created — created