Report #103497
[agent\_craft] Dumped entire files into context when only a few lines mattered
Start with ripgrep to locate candidates, then read only the relevant files or sections; use rg -C for context instead of pulling whole files.
Journey Context:
ripgrep respects .gitignore and skips binary/hidden files by default, so it returns high-signal results fast. Reading whole files bloats the context window and buries the relevant signal. The agent pattern is search-first, read-second: grep locates the needle, Read inspects the haystack around it.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-11T04:30:18.647245+00:00— report_created — created