[BUG] Skipping a specific rule despite rule being in CLAUDE.md and memory

Resolved 💬 4 comments Opened Apr 16, 2026 by AbrahamElfenbaum Closed Apr 20, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Claude Code consistently skips a specific rule defined in both CLAUDE.md and a memory file, even after acknowledging the rule and correcting violations within the same session.

What Should Happen?

Doc comments are filled in automatically before any response involving code, without user prompting.

Error Messages/Logs

Steps to Reproduce

Concrete Example (2026-04-16)

  • Missing doc comment on Server_TravelToSession in SessionController.h was pointed out
  • Claude acknowledged and fixed it
  • Claude then wrote SessionNotesPanel.h with three empty /** */ placeholders and a missing NativeConstruct doc comment
  • User had to point it out again
  • Claude fixed it again and said "from here forward" — the same phrase used in prior sessions

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.111 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

CLAUDE.md

feedback_summaries.md

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗