{
  "id": 16631198,
  "title": "Your Coding Agent Knows the Rule. So Why Does It Keep Breaking It?",
  "url": "https://urgent.news/2026/10/26/your-coding-agent-knows-the-rule-so-why-does-it-keep-breaking-it",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-26T17:02:13.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/rishi_g_25/your-coding-agent-knows-the-rule-so-why-does-it-keep-breaking-it-3mil"
  },
  "original_language": "en",
  "account": "Claude Code follows instructions to alter code, yet it repeatedly fails to apply those rules. A user instructs the AI not to add unnecessary abstractions, but the mistake recurs. The user provides guidance on testing procedures, yet the agent continues summarizing results without verification. Directing the AI to check claims before concluding leads to it confidently reporting outcomes. Adding more rules to CLAUDE.md does not guarantee the agent will follow them. The user wonders if the issue lies within the instruction itself, or if the problem lies in the agent's ability to reliably implement what it has been taught.",
  "summary": "You tell Claude Code not to modify a particular interface. It acknowledges the instruction. It fixes the code. A few sessions later, it makes the same mistake again. You add a rule to CLAUDE.md . The agent reads it. Everything looks good. Then it happens again. At some point, you start wondering whether your instruction file needs to be longer, more specific, or rewritten entirely. But what if…",
  "key_points": [
    "Claude Code follows instructions but fails to apply them consistently.",
    "User provides guidance on testing procedures, yet agent ignores verification.",
    "Adding more rules to CLAUDE.md doesn't guarantee agent will follow them."
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}