Stale TODOs send coding agents on side quests
Google measured what old bug references in code cost its agents: 70% more steps when they bite.
Across hundreds of millions of agent steps, 13% of sessions read a TODO(bug/...) or FIXME, and in 6% of those the agent acted on it, 83% of the time unprompted. Of those detours, 41% chased bugs already closed and 57% expanded scope into open bugs nobody asked about; each added 70% more steps, 77% more tokens and 105% more wait time.
Google's fix was an agent that checks bug status and file history and only proposes deleting a TODO once it confirms it is obsolete. Reviewers accepted over 95% of those changes.
