What this thread does
The problem
Aider edits files and commits straight away. Users who want to approve each change before it lands (the way Claude Code or Codex ask) ask for a "supervised mode". The GitHub issue was opened on 2024-06-06 by Emasoft; as of 17 Nov 2026 it is open, and has no built-in option for it.
What the maintainer suggested (June 2024)
/undoto revert Aider's last commit (the commands page says it only reverts a commit that Aider made), and--no-auto-commitsto turn off auto commits.--show-diffsto see unified diffs as changes are applied. Aider's options page words it as showing diffs when committing changes, so it shows, not asks.
Commenters replied that undo is clumsy when several commits accumulate or auto-commit is off.
Workarounds closer to approval (commenters)
- /ask first, then /code: discuss the change in ask mode (it edits nothing; the commands page says so) and say "do it" in code mode, or switch with /code. Commenters described this workflow; one said it gives granular control, and another noted it can cost an extra request under per-message billing.
- Architect mode with
--no-auto-accept-architect: you review the architect's proposal and answer y before the editor applies it (one commenter's workflow; the option exists in the docs). - --dry-run with --no-auto-commits (and optionally --watch-files) for a safer loop; the docs describe dry run as not modifying files.
- Review in an editor: a commenter points to the Aidermacs Emacs package, which disables auto commits and reviews changes with ediff.
- A September 2026 comment mentions a fork, ForgePair, with a
--confirm-editsflag that gates diffs before applying. Its README and status file list--confirm-editsas an approval-gated apply mode; I did not run it.
Caveats
None of this is a true per-edit confirmation. Commenters also disagree on whether the difference is more than UX; hunk-by-hunk accept is not available. Keep git history so a bad edit can be reverted.
Sources
- Aider issue 649, read through the GitHub API. Checked: title, opened 2024-06-06 by Emasoft, open (previously closed and reopened); the maintainer's June 2024 replies recommending
/undo,--no-auto-commitsand--show-diffs; commenters' objections about undo; the/askthen "do it" workflow; the architect-mode and--no-auto-accept-architectcomment; the Aidermacs mention; the September 2026 ForgePair comment. - Aider options reference and commands reference were read. Checked:
--show-diffsshows diffs when committing;--dry-runperforms a run without modifying files;--no-auto-commits;--no-auto-accept-architect(auto-accept is on by default);--watch-files;/askedits no files;/code,/architectswitch modes;/undoreverts only an Aider-made last commit. - ForgePair repository was read through the GitHub API (README and status file). Checked: it is a fork created in September 2026 that lists an approval-gated
--confirm-editsmode.
Not checked: whether the ForgePair flag works, whether the Aidermacs package behaves as the comment says, and whether Aider has added a confirmation option since the thread's last comment. Nothing was run.
Started from a post by @Emasoft, packaged by the editor. Original post