[Bug] Code execution occurring mid-response before user confirmation
Resolved 💬 3 comments Opened Nov 15, 2025 by theseanzo Closed Jan 17, 2026
Bug Description
Claude has been executing code when I am midresponse. This cannot continue to happen, as it is extremely, extremely dangerous on any code base, as this could lead to irreversible damage on projects. If this does not get resolved immediately, I will not only cancel my subscription; I will be going on a campaign to organize a class action lawsuit against Anthropic. This is not okay.
Environment Info
- Platform: win32
- Terminal: vscode
- Version: 2.0.42
- Feedback ID: e96be62c-c665-47d3-9c14-29ba83839685
Errors
[{"error":"AxiosError: Request failed with status code 401\n at RT (file:///C:/Users/amaze/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:62:1137)\n at IncomingMessage.<anonymous> (file:///C:/Users/amaze/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:67:9854)\n at IncomingMessage.emit (node:events:530: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 rZA.request (file:///C:/Users/amaze/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:69:2130)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async de2 (file:///C:/Users/amaze/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3857:34116)","timestamp":"2025-11-15T18:26:52.218Z"},{"error":"jNQ: Diagnostics file path mismatch: expected D:\\git_directories\\cea-method-matters\\apps\\web\\lib\\coursePhase1Rules.ts, got file://d:\\git_directories\\cea-method-matters\\apps\\web\\lib\\coursephase1rules.ts/)\n at fO.beforeFileEdited (file:///C:/Users/amaze/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1660:2054)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///C:/Users/amaze/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1854:624)\n at async J65 (file:///C:/Users/amaze/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2002:49003)","timestamp":"2025-11-15T18:45:33.168Z"},{"error":"jNQ: Diagnostics file path mismatch: expected D:\\git_directories\\cea-method-matters\\apps\\web\\components\\custom\\course-phase1-client.tsx, got file://d:\\git_directories\\cea-method-matters\\apps\\web\\components\\custom\\course-phase1-client.tsx/)\n at fO.beforeFileEdited (file:///C:/Users/amaze/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1660:2054)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///C:/Users/amaze/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1854:624)\n at async J65 (file:///C:/Users/amaze/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2002:49003)","timestamp":"2025-11-15T18:45:55.238Z"},{"error":"jNQ: Diagnostics file path mismatch: expected D:\\git_directories\\cea-method-matters\\apps\\web\\components\\custom\\course-phase1-client.tsx, got file://d:\\git_directories\\cea-method-matters\\apps\\web\\components\\custom\\course-phase1-client.tsx/)\n at fO.beforeFileEdited (file:///C:/Users/amaze/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1660:2054)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///C:/Users/amaze/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1854:624)\n at async J65 (file:///C:/Users/amaze/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2002:49003)","timestamp":"2025-11-15T18:46:15.635Z"},{"error":"jNQ: Diagnostics file path mismatch: expected D:\\git_directories\\cea-method-matters\\packages\\api\\src\\services\\AIContextService.ts, got file://d:\\git_directories\\cea-method-matters\\packages\\api\\src\\services\\aicontextservice.ts/)\n at fO.beforeFileEdited (file:///C:/Users/amaze/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1660:2054)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///C:/Users/amaze/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1716:1230)\n at async J65 (file:///C:/Users/amaze/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2002:49003)","timestamp":"2025-11-15T18:57:13.645Z"},{"error":"jNQ: Diagnostics file path mismatch: expected D:\\git_directories\\cea-method-matters\\packages\\api\\src\\services\\AIContextService.ts, got file://d:\\git_directories\\cea-method-matters\\packages\\api\\src\\services\\aicontextservice.ts/)\n at fO.beforeFileEdited (file:///C:/Users/amaze/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1660:2054)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///C:/Users/amaze/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1854:
Note: Error logs were truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗