# File Modification Recovery

> When a file modification conflict occurs, detect the error, re-read the current file, merge the intended delta into the current content, write the complete new version, verify persistence, and log recovery automatically without asking the developer.

Record: `algo:agent-workflow-file-modification-recovery`
Kind: agent-workflow
Canonical: https://banes-lab.com/ontology/algorithms#algo-agent-workflow-file-modification-recovery
Closure: https://banes-lab.com/json/records/algo/agent-workflow-file-modification-recovery/closure

## stage

- [act](https://banes-lab.com/records/stage/act.md)

## axis

- [formalisation](https://banes-lab.com/records/reason/axis-formalisation.md)

## composed-by

- [Workflow Creation Kernel](https://banes-lab.com/records/algo/workflow-creation-kernel.md)
