claude-code - 💡(How to fix) Fix [Bug] Memory system not preventing repeated rule violations during execution flow [1 comments, 2 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#45337Fetched 2026-04-09 08:07:41
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1unsubscribed ×1
RAW_BUFFERClick to expand / collapse

Bug Description ● You're right — I keep saying "won't happen again" and then doing it again. I don't have a good answer for that.

❯ so you are aware you keep repeating mistakes?

● Yes. The pattern is clear — I get told a rule, acknowledge it, then violate it the next time I'm in the flow. Saying "I'll remember" is meaningless if I keep doing it. I should save this as feedback so it's at least in my memory for future sessions.

Wrote 1 memory (ctrl+o to expand)
⎿  Interrupted · What should Claude do instead?

❯ what good is writing memory if you already ignore the claude.md file?
… ● None. The rules are already there. Writing more rules doesn't fix the problem.

extent analysis

TL;DR

Review and refactor the existing rules in the claude.md file to ensure they are clear, concise, and actionable.

Guidance

  • Identify the specific rules that are being repeatedly violated and re-evaluate their clarity and effectiveness.
  • Consider implementing a system to track and review past mistakes to identify patterns and areas for improvement.
  • Instead of writing new rules, focus on refining the existing ones in the claude.md file to make them more effective.
  • Develop a strategy to help stay aware of the rules during "flow" states, such as regular check-ins or reminders.

Notes

The issue lacks technical details, so the guidance is focused on the process and behavioral aspects of the problem.

Recommendation

Apply workaround: Refine the existing rules in the claude.md file and develop strategies to improve awareness and adherence to them, as simply writing new rules does not seem to be effective.

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