Google: stale TODO comments derail 1 in 7 coding agent sessions

rseroter · x · 2026-11-07

Google's 'Agent Distraction' study, based on distributed traces across thousands of engineers and hundreds of millions of agent steps: 13% of file-reading sessions expose coding agents to inline TODO(bug/...) comments, and 6% trigger action. Of agents acting on a TODO, 83% do so unprompted — 60% only look up the bug, 40% edit code. The referenced bugs are 57% still open, 32% already fixed, 9% obsolete. Best case it wastes tokens and time; worst case agents ground on stale falsehoods. Recommendation: clean up stale TODOs and outdated docs, and use the TODO-vs-ticket-status cross-reference to measure distraction at scale.

Original post →

More from coding & agent

coding & agent channel →