返回全部动态

Google 发现技术债会通过“代理分心”干扰编码代理

原标题:Google Finds that Technical Debt Can Derail Coding Agents Through "Agent Distraction"

InfoQ AI ML and Data Engineering研究质量 71

AI 摘要

Google 工程师 Sam Saccone 和 Madhuri Garikapati 发文指出,代码库中过时的 TODO 注释、已修复的 bug 引用和过期文档会作为上下文误导 AI 编码代理,使其偏离用户请求去处理无关任务。基于数千名工程师的分布式追踪数据,Google 发现约 13% 的会话让代理接触到内联 TODO/FIXME 引用,其中 6% 的会话代理会针对该引用采取行动,这些非请求绕行导致每会话步骤增加 70%、token 增加 77%、等待时间增加 105%。Google 为此开发了扫描代理清理过时 TODO,6 个月内移除数千条过时引用,人工审核接受率超过 95%。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

In a recent article, Google senior staff software engineer Sam Saccone and senior staff data scientist Madhuri Garikapati highlighted the cost of agent distraction, where AI coding agents get derailed by stale technical debt, such as old TODO comments, obsolete bug references, and outdated specs, leading them to embark on unrequested "side-quests". Obsolete specs, long resolved bugs, and lagging documentation no longer rest in long forgotten corners of the codebase, but rather are unintentionall


发布时间:2026-11-11 02:00
抓取时间:2026-11-11 02:52
来源机构:InfoQ
阅读原文infoq.com