[Bug] Auto-Compact loses context and repeats previous actions
Resolved 💬 3 comments Opened Dec 7, 2025 by PavanCodesNY Closed Dec 11, 2025
Bug Description
I was doing something and after the compaction it repeated the same thing it did, also, it didn't have enough context AT all and didn't understand anything properly
Environment Info
- Platform: darwin
- Terminal: cursor
- Version: 2.0.61
- Feedback ID: edb97b75-8fe7-4cf0-8bf3-d57e03524723
Errors
[{"error":"AxiosError: Request failed with status code 401\n at cS (file:///Users/pavankumar/.nvm/versions/node/v25.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:171:1137)\n at IncomingMessage.<anonymous> (file:///Users/pavankumar/.nvm/versions/node/v25.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:172:9852)\n at IncomingMessage.emit (node:events:520:35)\n at IncomingMessage.emit (node:domain:489:12)\n at endReadableNT (node:internal/streams/readable:1701:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:89:21)\n at wHA.request (file:///Users/pavankumar/.nvm/versions/node/v25.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:174:2130)\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n at async qS2 (file:///Users/pavankumar/.nvm/versions/node/v25.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2064:6679)","timestamp":"2025-12-07T22:46:36.714Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗