Intent-Code Divergence
Medium
- Confidence
- 94% confidence
- Finding
- The rollback procedure is internally inconsistent: the documented restore flow renames the original directory to `~/.openclaw-pre-restore-<timestamp>`, but the rollback later attempts to restore from `~/.openclaw-old`, which was never created. In practice, this can cause recovery failure during an incident, leaving users without an easy path back to the pre-restore state and increasing the chance of manual mistakes or data loss.
