Version History
Every edit is auto-committed to git. Preview any past version, or permanently revert when you need to.
Automatic git commits
Each time the AI makes a successful edit, Layrr creates a git commit with a [layrr] prefix and a descriptive message. The History panel in the toolbar shows every edit with its timestamp.
Non-destructive preview
Click any past edit in the History panel to jump to that point in time. The dev server reloads and shows you exactly how the app looked at that commit. This uses git's detached HEAD, so no branches are moved and no work is lost.
Click "latest" to return to the current state.
Permanent revert
When you find the version you want to keep, the revert button opens a confirmation dialog. Confirming does a hard reset to that commit, discarding everything that came after. This is the only destructive action, and it requires explicit confirmation.
Selective git staging
Layrr snapshots your git state before the AI runs. After the edit, it diffs the working tree and only stages files that were actually changed by the AI. Your uncommitted work, staged or unstaged, is never touched.
This means you can use Layrr on a dirty working tree without worrying about your in-progress changes getting swept up in an auto-commit.