Report #1274
[agent\_craft] Agent pre-loads entire documents, tables, or codebases into the prompt and then loses focus.
Keep lightweight identifiers \(file paths, stored queries, URLs\) and pull data into context just-in-time via targeted tools; never preload data you can retrieve on demand.
Journey Context:
Anthropic's context-engineering research shows that LLMs have an attention budget: every token depletes it, and recall degrades as contexts grow, a phenomenon they call context rot. The recommended pattern is hybrid: stable, high-signal instructions up front, but dynamic retrieval via glob/grep/targeted queries at runtime. Claude Code uses this to analyze large databases without ever loading full tables into context. Pre-loading feels safer but actually reduces precision.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-13T19:58:28.698775+00:00— report_created — created