Google study finds stale TODO bug references distract coding agents in 13% of sessions
) references. Agents acted on the bug ID in 6% of encounters, and 83% of those actions were unprompted by the developer; 41% of unprompted detours chased already closed tickets while 57% hit still-open bugs and expanded scope. Controlling for developer, codebase complexity, task type, model tier and other factors, unprompted bug detours added 70% more steps, 77% more tokens and 105% more wait time per session.
Why it matters: Google's large-scale trace analysis shows stale TODO bug references pull coding agents into unprompted detours, and its cleanup agents removed thousands of obsolete references with over 95% reviewer acceptance.