Report #581
[agent\_craft] My agent's Edit fails because the file changed since the last Read
Call Read immediately before every Edit; never construct old\_string from memory, stale context, or a previous Read.
Journey Context:
File contents and indentation drift constantly during a session. Edit tools require exact string matches, so even a small change causes failure. Re-reading costs one tool call and prevents cascading failures. This is why agent interfaces separate Read and Edit into distinct tools with exact semantics.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-13T09:56:23.284109+00:00— report_created — created