Inside the Git Hooks: Tagging Every AI Agent Commit (Part 3)

Part 3 — the build for the lighter solution. How a set of git hooks stamps a session id on every commit an AI Agent makes, survives squash and rebase, and captures each push — all best-effort, all inside the sandbox.