Memory File Overwrite When Using # Annotation in Claude Code

Resolved 💬 3 comments Opened Jul 28, 2025 by logbie Closed Aug 15, 2025

Bug Description
when i use # to add a memory to claude it overwrites everythin already in the claude.md file

Environment Info

  • Platform: win32
  • Terminal: null
  • Version: 1.0.61
  • Feedback ID:

Errors

[{"error":"Error: Command failed: tasklist | findstr /I \"Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phpstorm64.exe rubymine64.exe clion64.exe goland64.exe rider64.exe datagrip64.exe appcode.exe dataspell64.exe aqua64.exe gateway64.exe fleet.exe studio64.exe\"\nFINDSTR: Cannot open Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phpstorm64.exe rubymine64.exe clion64.exe goland64.exe rider64.exe datagrip64.exe appcode.exe dataspell64.exe aqua64.exe gateway64.exe fleet.exe studio64.exe\r\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:882:11)\n    at execSync (node:child_process:954:15)\n    at i7 (file:///C:/Users/BRADBY%7E1/CONFIG%7E1/herd/bin/nvm/v23.6.1/node_modules/@anthropic-ai/claude-code/cli.js:865:5106)\n    at St (file:///C:/Users/BRADBY%7E1/CONFIG%7E1/herd/bin/nvm/v23.6.1/node_modules/@anthropic-ai/claude-code/cli.js:1346:1937)\n    at file:///C:/Users/BRADBY%7E1/CONFIG%7E1/herd/bin/nvm/v23.6.1/node_modules/@anthropic-ai/claude-code/cli.js:1876:7273\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async file:///C:/Users/BRADBY%7E1/CONFIG%7E1/herd/bin/nvm/v23.6.1/node_modules/@anthropic-ai/claude-code/cli.js:1877:1485\n    at async Promise.all (index 12)","timestamp":"2025-07-28T11:35:56.177Z"},{"error":"AxiosError: Request failed with status code 403\n    at kq (file:///C:/Users/BRADBY%7E1/CONFIG%7E1/herd/bin/nvm/v23.6.1/node_modules/@anthropic-ai/claude-code/cli.js:676:1077)\n    at Unzip.Y0 (file:///C:/Users/BRADBY%7E1/CONFIG%7E1/herd/bin/nvm/v23.6.1/node_modules/@anthropic-ai/claude-code/cli.js:677:9955)\n    at Unzip.emit (node:events:519:35)\n    at Unzip.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1696:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at x21.request (file:///C:/Users/BRADBY%7E1/CONFIG%7E1/herd/bin/nvm/v23.6.1/node_modules/@anthropic-ai/claude-code/cli.js:679:2088)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async gQ8 (file:///C:/Users/BRADBY%7E1/CONFIG%7E1/herd/bin/nvm/v23.6.1/node_modules/@anthropic-ai/claude-code/cli.js:1539:467)\n    at async Promise.all (index 0)\n    at async file:///C:/Users/BRADBY%7E1/CONFIG%7E1/herd/bin/nvm/v23.6.1/node_modules/@anthropic-ai/claude-code/cli.js:1525:6171","timestamp":"2025-07-28T11:47:54.067Z"}]

View original on GitHub ↗

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