Recovery & Maintenance
revert
RestoreCLAUDE.md from the most recent learner backup. Use this if the learner produced a bad directive or if you accidentally modified the managed section.
Options
Examples
How Revert Works
The learner creates a backup ofCLAUDE.md before every write. revert restores the most recent backup, effectively undoing the last learner run.
Revert only affects the managed section of
CLAUDE.md. Any content you’ve written outside the managed section (above or below the markers) is preserved.repair
Fix managed-section drift deadlock and clean stale state. Use this whenstatus or doctor reports a hash mismatch or deadlock condition.
Options
Example
When to Use Repair
doctorreports “managed section hash mismatch”- The learner refuses to write due to drift detection
- You manually edited content inside the managed section markers
- After resolving a git merge conflict in
CLAUDE.md

