[Bug] LLM Tendency to Take Unwarranted Shortcuts in Problem-Solving
Bug Description
Claude Code seems to have a serial problem of optimizing for near term wins to the point where it needs to be specified in CLAUDE.md to not take shortcuts. It should not be required to encode any of the following in CLAUDE.md.
3 + ## ⚠️ CRITICAL: NO SHORTCUTS
4 +
5 + YOU MUST NOT take shortcuts when encountering problems.
6 +
7 + - DO NOT comment out failing tests - Fix the underlying issue
8 + - DO NOT skip debugging - Investigate root causes, don't work around them
9 + - DO NOT remove features - If something doesn't work, make it work
10 + - DO NOT silently reduce scope - Ask the user before cutting anything
11 + - DO NOT avoid difficult problems - Face them head-on
12 +
13 + When you encounter:
14 + - Failing tests → Debug and fix them
15 + - Crashes or errors → Investigate the root cause
16 + - Missing functionality → Implement it fully
17 + - Unexpected behavior → Understand why and correct it
18 +
19 + Before removing or deferring anything, you MUST:
20 + 1. Attempt to fix it yourself
21 + 2. Clearly explain the problem to the user
22 + 3. Get explicit approval to defer/remove
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.0.5
- Feedback ID: 399c5b72-ccb7-41b7-8281-49824cab3a55
Errors
[{"error":"bv1: Another process is currently installing an update\n at cY1 (file:///Users/anthonylaforge/.nvm/versions/node/v22.20.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2194:1794)\n at file:///Users/anthonylaforge/.nvm/versions/node/v22.20.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:3177:8700\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-10-13T14:38:48.173Z"},{"error":"bv1: Failed to install new version of claude: \n at cY1 (file:///Users/anthonylaforge/.nvm/versions/node/v22.20.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2204:388)\n at async Object.current (file:///Users/anthonylaforge/.nvm/versions/node/v22.20.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:3177:8694)","timestamp":"2025-10-13T22:16:35.280Z"},{"error":"Error: Request was aborted.\n at su._createMessage (file:///Users/anthonylaforge/.nvm/versions/node/v22.20.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:899:4711)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at runNextTicks (node:internal/process/task_queues:69:3)\n at process.processTimers (node:internal/timers:520:9)","timestamp":"2025-10-14T04:55:05.024Z"},{"error":"bv1: Failed to install new version of claude: \nadded 9 packages, and changed 3 packages in 17m\n\n11 packages are looking for funding\n run `npm fund` for details \n at cY1 (file:///Users/anthonylaforge/.nvm/versions/node/v22.20.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2204:388)\n at async Object.current (file:///Users/anthonylaforge/.nvm/versions/node/v22.20.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:3177:8694)","timestamp":"2025-10-14T08:54:34.193Z"},{"error":"bv1: Failed to install new version of claude: \n at cY1 (file:///Users/anthonylaforge/.nvm/versions/node/v22.20.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2204:388)\n at async Object.current (file:///Users/anthonylaforge/.nvm/versions/node/v22.20.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:3177:8694)","timestamp":"2025-10-14T10:55:11.889Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at QK (file:///Users/anthonylaforge/.nvm/versions/node/v22.20.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:1183)\n at file:///Users/anthonylaforge/.nvm/versions/node/v22.20.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:911\n at Array.map (<anonymous>)\n at xX (file:///Users/anthonylaforge/.nvm/versions/node/v22.20.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:902)\n at cJB (file:///Users/anthonylaforge/.nvm/versions/node/v22.20.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2847:9380)\n at CC (file:///Users/anthonylaforge/.nvm/versions/node/v22.20.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:19415)\n at Fp (file:///Users/anthonylaforge/.nvm/versions/node/v22.20.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:42814)\n at I9 (file:///Users/anthonylaforge/.nvm/versions/node/v22.20.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38355)\n at Ch (file:///Users/anthonylaforge/.nvm/versions/node/v22.20.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38283)\n at TC (file:///Users/anthonylaforge/.
Note: Error logs were truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗