Report #100620
[agent\_craft] Agent declared a fix done but it still fails
After every code change, run a concrete verification command \(test, build, lint, typecheck, or custom script\) that returns pass/fail, and iterate until it passes.
Journey Context:
Without a verification signal, the only signal an agent has is 'looks done,' which is unreliable. Closing the loop with a runnable check lets the agent read failure output and self-correct. The check can be a single test, a build command, a linter, or even a script that diffs output against a fixture. The stronger the signal, the fewer turns needed. Best practice is to state the verification step in the initial prompt so the agent knows the stop condition. For unattended runs, use a goal or a hook so the check runs deterministically rather than hoping the agent remembers.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-02T04:49:08.687998+00:00— report_created — created