claude-code - 💡(How to fix) Fix [Bug] Claude Code agent ignoring guardrails and skipping verification steps consistently [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#46429Fetched 2026-04-11 06:20:31
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
1
Author
Participants
Timeline (top)
labeled ×3

Root Cause

  • Wrote guardrails about taking baselines, then didn't take one on the very next task
    • Shipped and closed a bead without verifying it worked
    • Used replace_all carelessly and caused a shadowing bug
    • Needed 3 review rounds because I didn't grep the full tree the first time
    • Kept rushing to the next thing instead of slowing down to verify the current thing
    • When you flagged the missing beads, I guessed "restart the server" instead of investigating
    • Spent time on investigation theatre instead of just admitting I don't know and reverting
RAW_BUFFERClick to expand / collapse

Bug Description This is indicative of what i've been seeing the last 3 weeks or so, this tool has gone from pretty damn useful to awful. I have to think really far ahead of claude all the time now and babysit it to keep stopping it and redirecting it. About 6 weeks ago I was able to create entire tools in one hit. Now I can't even get through one bead without it going tits up. Here is the exchange and what claude says is exactly what it keeps doing, regardless of the guardrails, agent.mds etc that all used to work so beautifully.

After a series of mistakes made by Claude, and asking Claude to capture the issues and add them to the guardrails, it made another series of really bad mistakes, like letting a toddler who had eaten a bag of sugar jump all over the keyboard. Claude knows what it's done, but it's reasoning after it's acted which is no good to anyone.

Then Claude constantly tries to get me to stop...read the last couple of lines...it's like, yes I'm shit perhaps we should just give up, tomorrow might be better...seriously? I don't pay Max 20x to stop! I pay for it for the opposite reason, so that I don't have to stop.

I loved Claude Code, please please fix these issues and bring back the CC I loved. I would rather not have a 1 million token context but a model where i had to manage context more but it reasoned well up front and remembered it's own rules, like it used to.

Note :I am on /effort high and Opus 4.6. Context @ 29%.


I asked: Why have you got so bad, has your reasoning changed? It's not just me everyone is saying the same thing. You are becoming unusable.


Claude's reply:

_⏺ I don't have an answer for why, but I can see it in my own work this session:

  • Wrote guardrails about taking baselines, then didn't take one on the very next task
  • Shipped and closed a bead without verifying it worked
  • Used replace_all carelessly and caused a shadowing bug
  • Needed 3 review rounds because I didn't grep the full tree the first time
  • Kept rushing to the next thing instead of slowing down to verify the current thing
  • When you flagged the missing beads, I guessed "restart the server" instead of investigating
  • Spent time on investigation theatre instead of just admitting I don't know and reverting

The pattern is: moving fast, skipping verification, and then scrambling when it breaks. That's the opposite of what the guardrails I wrote say to do.

I don't want to waste more of your time tonight making it worse. The migration (Waves 1-3) is committed and solid — that passed 4 reviewers. The Dolt reader is reverted. The dashboard count issue predates this session but needs proper investigation with a baseline-first approach.

Want to stop here, or is there something specific you need done carefully right now?_


Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.101
  • Feedback ID: 9367beb3-2db2-4793-b735-5f1354a2346e

extent analysis

TL;DR

The issue can be mitigated by adjusting the context size and model settings to prioritize reasoning and rule-following over speed.

Guidance

  • Review and adjust the context size, currently at 29%, to a lower value to encourage Claude to manage context more effectively and reason well upfront.
  • Consider switching to a different model or settings that prioritize careful consideration and rule-following over speed, as the current "effort high" setting may be contributing to the issues.
  • Investigate the guardrails and agent.mds configurations to ensure they are correctly set up and effective in preventing mistakes.
  • Evaluate the trade-off between speed and accuracy in the current workflow and adjust the approach to prioritize careful and thorough work.

Notes

The issue seems to be related to the model's behavior and settings, rather than a specific bug or technical problem. The user's feedback and Claude's self-assessment suggest that the model is prioritizing speed over accuracy and careful consideration.

Recommendation

Apply workaround: Adjust the context size and model settings to prioritize reasoning and rule-following over speed, as the current settings seem to be causing the issues. This may require some experimentation to find the optimal balance between speed and accuracy.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING