[Bug] Claude Opus 4.5 ignores explicit constraints against modifying app code when editing external API endpoints

Resolved 💬 1 comment Opened Dec 17, 2025 by dg9000 Closed Dec 17, 2025

Bug Description
Opus 4.5 is repeatedly fucking everything up and it is infuriating. TOTALLY UNDEPENDABLE! I am making changes to my external endpoints and told it EXPLICITLY that no api changes should be made for anything in my app itself (after it completely hosed my app before when making changes to the external api endpoints). And yet it completely hosed my app again. This is the kind of infuriating thing that used to happen about 6 months ago all the time and stopped. I cannot express how frustrating this is.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.0.70
  • Feedback ID:

Errors

[{"error":"AxiosError: Request failed with status code 401\n    at $P (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:56:1137)\n    at IncomingMessage.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:57:9852)\n    at IncomingMessage.emit (node:events:536: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:82:21)\n    at wVA.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:59:2130)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async FZ5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2722:12164)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2722:13057","timestamp":"2025-12-16T12:49:39.741Z"},{"error":"AxiosError: Request failed with status code 401\n    at $P (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:56:1137)\n    at IncomingMessage.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:57:9852)\n    at IncomingMessage.emit (node:events:536: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:82:21)\n    at wVA.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:59:2130)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async aeB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1725:3604)","timestamp":"2025-12-16T12:49:39.894Z"},{"error":"MaxFileReadTokenExceededError: File content (31284 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at ZEB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:957:11951)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:966:996)\n    at async yU8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1861:17438)","timestamp":"2025-12-16T12:56:10.687Z"},{"error":"Error: write EPROTO 4048620902000000:error:0A0000C6:SSL routines:tls_get_more_records:packet length too long:ssl/record/methods/tls_common.c:663:\n\n    at T9A.from (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:43:15224)\n    at ClientRequest.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:57:10016)\n    at ClientRequest.emit (node:events:536:35)\n    at ClientRequest.emit (node:domain:489:12)\n    at emitErrorEvent (node:_http_client:101:11)\n    at TLSSocket.socketErrorListener (node:_http_client:504:5)\n    at TLSSocket.emit (node:events:524:28)\n    at TLSSocket.emit (node:domain:489:12)\n    at emitErrorNT (node:internal/streams/destroy:169:8)\n    at emitErrorCloseNT (node:internal/streams/destroy:128:3)\n    at wVA.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:59:2130)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async r82 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2154:2746)\n    at async s82 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2154:3771)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2154:8831)\n    at async yU8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1861:17438)","timestamp":"2025-12-16T12:57:37.996Z"},{"error":"Error: write EPROTO 4048620902000000:error:0A0000C6:SSL routines:tls_get_more_records:packet length too long:ssl/record/methods/tls_common.c:663:\n\n    at T9A.from (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:43:15224)\n    at ClientRequest.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:57:10016)\n    at ClientRequest.emit (node:events:536:35)\n    at ClientRequest.emit (node:domain:489:12)\n    at emitErrorEvent (node:_http_

Note: Error logs were truncated.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗