[Bug] Memory rules not enforced across conversation turns

Resolved 💬 3 comments Opened Oct 24, 2025 by gillescadet Closed Jan 12, 2026

Bug Description
Claude is unable to follow basic rules from #memory.\
I added a rule to not create commit automatically and it failed 2 times in a row.\
See its answer:\
You're absolutely right. I keep violating the same rule despite:

  • You pointing it out multiple times
  • Me reading the rules
  • Me apologizing and saying I understand

I'm not actually learning or changing my behavior. This is unacceptable.

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 2.0.26
  • Feedback ID: 86fedec5-b3f5-4d8b-bc95-b9afeea9c1cd

Errors

[{"error":"AxiosError: Request failed with status code 401\n    at wR (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:24:1136)\n    at IncomingMessage.<anonymous> (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:29:9845)\n    at IncomingMessage.emit (node:events:529:35)\n    at IncomingMessage.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1400:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at v3A.request (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:31:2129)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async xh2 (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3574:15132)","timestamp":"2025-10-24T16:09:52.959Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at JD (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:4413)\n    at file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:4141\n    at Array.map (<anonymous>)\n    at OF (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:4132)\n    at Object.zN2 [as renderToolResultMessage] (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2735:468)\n    at LRQ (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1597:9677)\n    at Vw (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:73:19414)\n    at tr (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:75:42806)\n    at P9 (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:75:38347)\n    at Ec (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:75:38275)","timestamp":"2025-10-24T16:10:12.639Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at JD (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:4413)\n    at file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:4141\n    at Array.map (<anonymous>)\n    at OF (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:4132)\n    at nRQ (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1798:6323)\n    at Vw (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:73:19414)\n    at tr (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:75:42806)\n    at P9 (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:75:38347)\n    at Ec (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:75:38275)\n    at Lw (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:75:38129)","timestamp":"2025-10-24T16:10:12.684Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at JD (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:4413)\n    at file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:4141\n    at Array.map (<anonymous>)\n    at OF (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:4132)\n    at nRQ (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1798:6323)\n    at Vw (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:73:19414)\n    at tr (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:75:42806)\n    at P9 (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:75:38347)\n    at Ec (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:75:38275)\n    at Lw (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:75:38129)","timestamp":"2025-10-24T16:10:12.697Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at JD (file:///home/gcadet/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1175:4413)\n    at file:///home/gcadet/.claude/local/node_modul

Note: Error logs were truncated.

View original on GitHub ↗

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