[Bug] Claude Code ignores claude.md context file before task execution

Resolved 💬 3 comments Opened Dec 26, 2025 by Shahabul87 Closed Dec 30, 2025

Bug Description
I have used and have been using claude code extensively and observe the following issue. Its most of the time do not followthe claude.md files so its good if it can read this type file i mean memory file before every task start. At that time i have seen it performed good. I am a PhD student and using it for diverge task. Another important performance degradation is context compacting. Its lost track completely sometimes and performance degraded. I have made some strick rule in claude.md file but it did not follow that and causes huge data loss in my database. Without my permission it has done it. It means system is dull not intelligent at all.

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 2.0.76
  • Feedback ID:

Errors

[{"error":"Error: Request was aborted.\n    at _0A._createMessage (file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:514:3157)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-12-26T03:07:38.088Z"},{"error":"AxiosError: Request failed with status code 401\n    at bx (file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:56:1137)\n    at IncomingMessage.<anonymous> (file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:57:9852)\n    at IncomingMessage.emit (node:events:531:35)\n    at IncomingMessage.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1698:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at fzA.request (file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:59:2130)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Z47 (file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3506:460)\n    at async Promise.all (index 0)\n    at async file:///Users/mdshahabulalam/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3492:7087","timestamp":"2025-12-26T23:36:42.404Z"}]

View original on GitHub ↗

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