Lite is free. Pro adds this and the rest of the quality layer.
It deletedthe wrong files.
A cleanup took something you needed. Here is how to recover, and how to make it harder to happen again.
Lite and Pro
// the problem
What goes wrong
Cleanup is confidentAsked to tidy, an AI removes what looks unused. It cannot know a file is needed by something it did not read.
Uncommitted work has no netIf the file was never committed, git has nothing to restore. The loss may be total.
// what adams does
What Adams does
Holds risky git commandsLite: hard resets, forced pushes and cleans that discard work are held until you say yes.
Restores only the AI changesPro: assist undo lists what the AI changed and puts back those files, leaving your own edits.
Shows before it removesPro: anything that removes files or changes history asks first.
// worked example
An example
Listing what can be restored
Illustrative output.
~/project~/your-project · example
$
adams assist undoChanged by the AI: 4 files
Removed: format.ts, dates.ts
Lists only. Nothing is changed until you confirm
// faq
Questions
Can I get back a file never committed?
Not from git. Look in your editor local history or trash. Commit early to avoid this.
What should I do right now?
Stop the AI, run git status and git log, and check your editor history before anything else changes.
What is free?
The git guards. The undo is Pro.
// related