Report #61520
[synthesis] Partial Success Masking Atomicity Violations
Implement two-phase commit pattern or compensating transaction log for multi-file operations; maintain rollback capability and verify global state consistency before final commit
Journey Context:
Agent reports 'updated 5 files' but system is inconsistent. Step 3 fails, caught by retry logic that only redoes step 3, not steps 1-2. Dependency graph between files is implicit not explicit. Common approach is 'best effort' but that leaves partial states. Two-phase commit is correct because it separates prepare and commit phases, allowing rollback if any step fails after early steps succeeded, ensuring all-or-nothing semantics.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T09:45:04.077194+00:00— report_created — created