# Agent Distraction

DevFeed: [Agent Distraction](<https://devfeed.tech/articles/agent-distraction-121982.md>)

Original publisher: [Read original article](<https://developers.googleblog.com/agent-distraction/>)

Author: Sam Saccone; Madhuri Garikapati

Published: 2026-11-07T10:15:52.010595Z

Content type: opinion

Language: en

Sources: [Google Developers Blog](<https://devfeed.tech/sources/google-developers-blog.md>)

Topics: [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [Static code analysis](<https://devfeed.tech/topics/static-code-analysis.md>)

Tags: [2023](<https://devfeed.tech/tags/2023.md>), [acceptance](<https://devfeed.tech/tags/acceptance.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agents](<https://devfeed.tech/tags/agents.md>), [approach](<https://devfeed.tech/tags/approach.md>), [automated](<https://devfeed.tech/tags/automated.md>), [automatically](<https://devfeed.tech/tags/automatically.md>), [bug](<https://devfeed.tech/tags/bug.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [call-to-action](<https://devfeed.tech/tags/call-to-action.md>), [canonical](<https://devfeed.tech/tags/canonical.md>), [cleanup](<https://devfeed.tech/tags/cleanup.md>), [coding](<https://devfeed.tech/tags/coding.md>), [developer](<https://devfeed.tech/tags/developer.md>), [friendly](<https://devfeed.tech/tags/friendly.md>), [overhead](<https://devfeed.tech/tags/overhead.md>), [scope](<https://devfeed.tech/tags/scope.md>), [sessions](<https://devfeed.tech/tags/sessions.md>), [time](<https://devfeed.tech/tags/time.md>), [tokens](<https://devfeed.tech/tags/tokens.md>)

## AI overview

The analysis reports that inline TODO(bug/...) comments can pull coding agents away from the developer's task: in the measured sessions, some agents pursued obsolete bugs or expanded scope to address open ones without prompting. These detours added steps, token use, and wait time, and could require human intervention. The authors describe a cleanup process that checked bug status and historical context before submitting confirmed obsolete TODOs for review; they report thousands removed over six months with more than 95% reviewer acceptance. They suggest presubmit checks, corpus scans, and automated cleanup as ways to reduce this source of distraction. The supplied text is an excerpt and does not include the full study results or methods.

## Source excerpt

Analysis of over 913,000 coding agent sessions reveals that 13% expose agents to inline TODO(b/...) comments. In 6% of encounters, agents act on these comments, with 83% being entirely unprompted by the developer. These detours result in significant overhead--adding 70% more steps, 77% more tokens, and 105% more wait time per session--split between chasing closed tickets (41%) and unauthorized scope creep on open bugs (57%). Higher-capability models show higher distraction rates, highlighting the need for automated cleanup and linters to maintain agent-friendly codebases