The thing that made me comfortable letting an AI edit my code wasn’t a better model. It was knowing that every edit lands as a git commit I can read — and reverse. Here’s the exact routine I run with Aider, the open-source terminal pair programmer.
Before the session
Commit or stash my own work first. Aider's auto-commits are only cleanly separable from my changes if my tree starts clean.
One config change: dirty-commits: false in .aider.conf.yml , so Aider never commits my uncommitted files for me before it starts editing.
One branch per task , named for the task. AI commits on a task branch are cheap to squash, rebase, or abandon wholesale — and Aider never works directly on my deployment branch.
During the session: the review routine
Every AI change, no exceptions:
See the change, don't trust the summary. /diff shows what actually changed since the last message.
Read hunks, not vibes.…