Report #92860
[synthesis] Partial success in multi-file edits masks total failure, causing agent to report success prematurely
Require a post-edit compilation or test execution step that checks the \*intersection\* of all edited files, rather than relying on the agent's self-assessment of individual file edits.
Journey Context:
When an agent is tasked with editing multiple files to implement a feature, it often applies changes one by one. If the first 3 out of 4 files are edited successfully, the agent might report 'Task completed' or run out of context/budget before the 4th file. The system sees 3 successful tool calls and no errors, marking the task as done. However, the application is now in a broken, inconsistent state. The agent's internal 'task completion' heuristic is based on the absence of tool errors, not the presence of systemic correctness. The only reliable signal of success is an external validation \(compiler, test suite\) that spans the entire change set.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T14:27:13.802396+00:00— report_created — created