AIT:把 AI Coding Run 變成可追蹤、可審查、可交接的 Attempt Ledger
AIT(ait-vcs)是 m24927605 開源的 local attempt ledger for AI coding agents。它不是另一個 coding agent,而是包在 Claude Code、Codex、Aider、Gemini CLI、Cursor CLI 等 agent CLI 外面的本機 workflow layer:記錄 prompt、diff、review、decision,將每次 AI 修改隔離成 attempt,直到使用者明確 ait apply 才進入主工作目錄。
.ait/ 裡,讓下一個 agent 能 review、continue 或 recover。AIT 不取代 Claude Code、Codex、Aider、Cursor 或 Cline。它是這些 agent CLI 外面的 local workflow layer,負責 attempt boundary、provenance、review record、memory recall 與 explicit apply。
每次 agent run 都是一個 attempt:包含 prompt、intent、exit status、changed files、diff、commits、traces、review state。AI 的工作在採用前是 proposal,不直接污染主 working tree。
.ait/ 放在 repo 裡,和 .git/ 並列。官方 README 強調 local-first:沒有 SaaS、沒有 telemetry、沒有自動同步;除非使用者自己 copy、commit、export 或 upload,否則 metadata 不離開本機。
| 痛點 | AIT 做法 | 實務價值 |
|---|---|---|
| 下一個 agent 從零開始 | 記錄 previous attempts、accepted facts、notes、repo memory files。 | 跨 agent / 跨 session 接手成本下降。 |
| AI 自己寫、自己 review | 支援 adversarial review,用另一個 agent review attempt。 | 不保證正確,但多一層獨立審查與可追溯 finding。 |
| 失敗或中斷 run 弄亂 working tree | wrapped run 進 isolated workspace,需 ait apply 才進主 checkout。 |