git blame tells you WHO. aig why tells you WHY.
Trace any line back to the intent that created it, the semantic changes around it, and the conversation that shaped it.
Ever run git blame and found a useless commit message from 6 months ago? aig captures the intent, reasoning, and AI conversation behind every change — so you always know why code exists.
47 commits. Half of them say "wip". aig groups them into intents — the actual units of work.
e4b21a7 Add mutex 9c0f3d2 wip 7a1bc85 fix test f82ca91 Add google oauth 3d6e0f4 rotate tokens a90c1b3 fix lint c44df87 WIP oauth 1e8b6a0 refactor auth middleware bb712f5 Add postgres migration 6d0ea93 fix connection pool f1c4e72 Update user model 8823a1d remove sqlite refs 02efc9a fix tests d4917cb cleanup ... 47 commits. Which ones matter?
[a1f8c932] Fix payment race condition (active) 3 checkpoint(s) (e4b21a7) Add mutex lock on charge_customer (9c0f3d2) Add idempotency key to Stripe call (7a1bc85) Add regression test for double-charge [d47e0b15] Add OAuth2 login flow 5 checkpoint(s) (f82ca91) Add Google OAuth provider (3d6e0f4) Add session token rotation ... [8b3f21c7] Migrate user store to PostgreSQL 8 checkpoint(s) ... 3 intents. The story of what actually happened.
You don't need to know who wrote line 42. You need to know why it exists.
9c0f3d2 (Sarah Chen 2026-01-15) let key = IdempotencyKey::new(user_id, cart_id); Who wrote it and when. But why? The commit message says "wip".
Intent: [a1f8c932] Fix payment race condition Checkpoint: Add idempotency key to Stripe call Commit: 9c0f3d2 Semantic: + added IdempotencyKey::new (payment.rs) AI context: Claude suggested idempotency keys after analyzing the Stripe webhook logs showing duplicate charge events. The intent, the reasoning, the full story.
aig reads your code changes and describes them for you. Just type aig checkpoint.
$ aig checkpoint auto-message: added rate_limit middleware, modified api router, added RateLimiter semantic: + added rate_limit (middleware.rs) + added RateLimiter (middleware.rs) ~ modified api_router (main.rs) + added rate_limit_test (tests/api.rs) Checkpoint created intent: Add API rate limiting git commit: c83f1a09
Your git history stays untouched. Zero risk.
# Install aig $ curl -fsSL https://raw.githubusercontent.com/saschb2b/ai-git/main/scripts/install.sh | sh # Try it on your repo $ cd your-repo $ aig import $ aig log