Google measured that stale TODO(bug/...) comments in code lead agents to unprompted detours in 6% of sessions where they see them, costing more steps, tokens and wait time.
Who it is for
Teams running coding agents on large codebases that need to judge whether stale TODO comments are slowing agent work.
Key points
Across Google's traces, 13% of file-reading sessions exposed agents to TODO or FIXME bug references.
In 6% of encounters the agent acted on the bug ID; 83% of those actions were unprompted.
Google reports unprompted detours add 70% more steps, 77% more tokens and 105% more wait time per session.
Google's cleanup agent removed thousands of obsolete TODOs over six months with over 95% reviewer acceptance.
AI:Foundry's Ignite 2026 roundup: Insights and multi-turn evaluation are GA; human annotation, rubric evaluators, Agent Optimizer links and Programmed Training are in preview; voice agents and external-agent registration are GA.
AI:Foundry adds Fleet, Cost, Insights, Agent Optimizer and cost controls so teams can track token spend per agent and model, find causes of cost changes, and cap budgets.
AI:Model router in Foundry now routes each request to a model, with Auto (no deployment, set model to "auto"), a larger pool of 45 models, per-request steering, and cost and quality evaluation and monitoring tools.