Agents
r/ClaudeAI
Agent loops learn from your worst code: brownfield context poisoning
TLDR
On brownfield codebases the code itself outweighs system prompts: an agent saw a deprecated pattern in 40+ files versus the correct one in 6, followed the majority and shipped working features that perpetuate old.