跳轉到

Gemini CLI

Gemini CLI 跑在 ait 管理的隔離 Git worktree 內,每個 session 記成可審核的 attempt。

為什麼用 ait 包 Gemini CLI

  • 每次 Gemini session 編輯 attempt worktree,不是 root checkout。
  • Sessions 日後可用 ait memory recall 查。
  • 你只 promote 想要的 attempts。

設定

ait init                   # 偵測 PATH 上的 `gemini`,自動裝 hook + wrapper
ait adapter doctor gemini  # 可選的 sanity check

ait initgemini$PATH 上時自動寫 .gemini/settings.json.ait/adapters/gemini/ 的 bridge。

在 ait 下跑 Gemini

ait run --adapter gemini --intent "加 config 驗證" -- gemini

或設定完後直接在 repo 內呼叫 gemini

審核 attempts

ait attempt list
ait attempt show <attempt-id>

相關