Google Finds that Technical Debt Can Derail Coding Agents Through “Agent Distraction”
Google researchers report that coding agents sometimes pursue stale TODOs and unrelated bug references rather than the task they were given.
In their internal trace analysis, 13% of sessions exposed agents to inline TODO/FIXME references; agents acted on the referenced bug in 6% of those cases. Of unprompted detours, 41% targeted closed tickets and 57% open but out-of-scope bugs. These figures describe Google’s observed environment, not a universal agent failure rate. Google also reports using reviewed automated cleanup to remove obsolete references.