Report #9803
[agent\_craft] Agent re-reads entire large files after making small edits, wasting tokens and diluting focus on the actual changes
Use diff-based tool outputs. After an edit, return only the applied diff patch and a success message, rather than re-printing the entire file content into the context.
Journey Context:
Re-reading a 1000-line file after changing 1 line is a massive waste of context. If the agent already has the file in context, applying a diff conceptually updates its state without needing the full text again. If the agent needs to verify, it can read specific line ranges.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T09:10:33.126628+00:00— report_created — created