[Bug] Claude ignores memory file instructions and hallucinates code behavior

Resolved 💬 5 comments Opened Mar 19, 2026 by malvislight Closed May 2, 2026

Bug Description
Claude frequently hallucinates about how existing code works makes confident claims about class behavior without reading the source, then defends those false claims when questioned. Also ignores rules stored in memory files (MEMORY.md) that were explicitly set to prevent this exact behavior. The memory system works for recall but Claude doesnt actually follow the instructions written there
This is a regression from the last 2-3 days. Previously Claude was much better at reading code before making claims and following memory file instructions. Now it confidently hallucinates about code behavior without checking, and ignores rules in MEMORY.md that it used to follow

Environment Info

  • Platform: win32
  • Terminal: pycharm
  • Version: 2.1.79
  • Feedback ID: 2ce742cf-6263-4b67-ab53-fb323f79bf95

View original on GitHub ↗

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