+**Process detection is not always possible.** Agents may exit before the commit runs, or use process names that don't match (e.g. Electron-based desktop apps). When process scanning fails, aittributor falls back to agent session history, checking state files for recent activity in the same repo. This fallback only works for agents that write scannable state files (currently Claude, Codex, Copilot CLI, and Pi). Some agents like OpenCode store sessions in SQLite, which is not yet supported by the breadcrumb scanner. To reduce false positives, the breadcrumb scanner matches the session's git branch against the commit's branch when both are recorded; note that Codex captures the branch only at session start, so it can still misattribute if you remain in one Codex session across a branch switch. Even so, the fallback cannot fully distinguish between an agent that wrote the code being committed and one that was only used for research, so the result is a bias toward over-attribution. This is a deliberate tradeoff, as undercounting real AI usage is harder to correct after the fact than occasional overcounting.
0 commit comments