Report #87924
[synthesis] Agent reports task complete after partial file modifications, leaving codebase in inconsistent topological state
Implement atomic batch operations with rollback capability; validate dependency graph integrity before declaring success; treat any partial failure in a topological group as total failure
Journey Context:
When agents perform cross-file refactorings \(e.g., renaming a function used in 5 files\), they often process files sequentially. If 4 succeed but 1 fails \(locked file, syntax error\), the agent sees '80% success' and moves on. However, this leaves the codebase in a broken topological state where some call sites use the old name and some the new. Unlike simple file operations, cross-file changes have dependency constraints that require atomicity. The agent's metric of 'files processed' masks the semantic failure of broken references.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T06:10:00.875422+00:00— report_created — created