Steve Yegge 谈 AI 编程助手的上下文污染:被推翻的旧指令仍会持续干扰
Yegge 这个观察挺扎心:你早就不想要的那条规则,agent 还在默默执行。写 CLAUDE.md 或 rules 文件的人应该定期删旧条目,别让上下文变成决策垃圾场,不然 debug 都找不到原因。
在 AI Engineer Code Summit 的演讲中,Steve Yegge 指出 AI 编程 agent 会记住用户下过的每一条指令,包括后来被推翻的决策。
这些过时指令长期堆积在上下文中,使上下文变成一个“垃圾场”。新旧指令混杂后,agent 会继续遵循已被放弃的规则,导致行为与当前意图不符。
他强调需要主动清理上下文,删除或覆盖那些不再有效的旧决策,而不是让它们无限累积。
Your agent remembers every instruction. Including the ones you changed your mind about. @Steve_Yegge on context becoming a garbage dump of old decisions, and the work of cleaning it up. From AI Engineer Code Summit.
This report is categorized under AITOP's "How-to" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Steve Yegge, coding assistants, context management, AI Engineer Code Summit.
Source attribution: curated from AI Engineer (@aiDotEngineer).