File Modification Recovery
Kind: algorithm
Record: algorithms:file-modification-recovery
Canonical: Algorithms
Closure: Dependencies in load order
When a file mutation fails because state changed between read and edit, reread the current file, merge the intended delta into the current content, write the complete new version, and verify persistence.
Listed in Algorithm contracts, after Validation Gate and before Trust Anchor Declaration.