Aider¶
讓 Aider 跑在 ait 管理的隔離 Git worktree 內,
每個 session 都記成可審核的 attempt。
為什麼用 ait 包 Aider¶
- Aider commits 進隔離 worktree — 在 promote 之前主分支保持乾淨。
- 每次 session 變成一筆 attempt,含 prompt、變更檔案、Aider 產生的 commits。
- Repo-local memory 把過去 Aider session 留下可查。
設定¶
ait init 在 aider 於 $PATH 上時自動裝 repo-local 的 aider
wrapper。Aider 沒有外部 hook 要 merge——它的 chat history 是 attempt
worktree 跑完後從 .aider.chat.history.md 讀回來。
在 ait 下跑 Aider¶
或設定完後直接在 repo 內呼叫 aider。