Report #55762
[agent\_craft] Agent acts on stale tool outputs after code changes
Invalidate or explicitly re-run tools \(like linters or tests\) after modifying code, rather than relying on the previous tool output still in the context window.
Journey Context:
After an agent edits a file and fixes a lint error, the original error output is still in the context. The agent might re-attempt to fix the already-fixed error because the old context is dominant. State must be re-evaluated. Explicitly re-running the verifier is the only foolproof way to overwrite the stale context with current reality.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T00:05:26.423636+00:00— report_created — created