claude-code - 💡(How to fix) Fix [Bug] Model instruction following degradation in Claude 4.6 & 4.7- ignores explicit code replacement directives [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#54881Fetched 2026-05-01 05:51:58
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Participants
Timeline (top)
labeled ×3renamed ×1

Error Message

[{"error":"AxiosError: timeout of 5000ms exceeded\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n at emit (node:events:92:22)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T00:08:42.266Z"},{"error":"Error: Tool SendMessage not found\n at m57 (/$bunfs/root/src/entrypoints/cli.js:3093:31285)\n at qJ (/$bunfs/root/src/entrypoints/cli.js:478:21013)\n at $A (/$bunfs/root/src/entrypoints/cli.js:478:39566)\n at Wd (/$bunfs/root/src/entrypoints/cli.js:478:50271)\n at WRH (/$bunfs/root/src/entrypoints/cli.js:478:86947)\n at nFH (/$bunfs/root/src/entrypoints/cli.js:478:85908)\n at lFH (/$bunfs/root/src/entrypoints/cli.js:478:85729)\n at Rp (/$bunfs/root/src/entrypoints/cli.js:478:82083)\n at tH (/$bunfs/root/src/entrypoints/cli.js:478:6491)\n at NH (/$bunfs/root/src/entrypoints/cli.js:478:4977)","timestamp":"2026-04-24T00:10:05.413Z"},{"error":"Error: Tool SendMessage not found\n at m57 (/$bunfs/root/src/entrypoints/cli.js:3093:31285)\n at qJ (/$bunfs/root/src/entrypoints/cli.js:478:21013)\n at $A (/$bunfs/root/src/entrypoints/cli.js:478:39566)\n at Wd (/$bunfs/root/src/entrypoints/cli.js:478:50271)\n at WRH (/$bunfs/root/src/entrypoints/cli.js:478:86947)\n at nFH (/$bunfs/root/src/entrypoints/cli.js:478:85908)\n at lFH (/$bunfs/root/src/entrypoints/cli.js:478:85729)\n at Rp (/$bunfs/root/src/entrypoints/cli.js:478:82083)\n at tH (/$bunfs/root/src/entrypoints/cli.js:478:6491)\n at NH (/$bunfs/root/src/entrypoints/cli.js:478:4977)","timestamp":"2026-04-24T00:10:17.673Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n at emit (node:events:92:22)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T00:15:02.485Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n at emit (node:events:92:22)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T00:15:23.203Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n at emit (node:events:92:22)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T00:17:59.646Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n at emit (node:events:92:22)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T00:19:26.764Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n at emit (node:events:92:22)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T00:20:36.648Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n at emit (node:events:92:22)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T00:32:56.123Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/zion/docker-dev.\n at call (/$bunfs/root/src/entrypoints/cli.js:4709:7645)\n …

Code Example

[{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T00:08:42.266Z"},{"error":"Error: Tool SendMessage not found\n    at m57 (/$bunfs/root/src/entrypoints/cli.js:3093:31285)\n    at qJ (/$bunfs/root/src/entrypoints/cli.js:478:21013)\n    at $A (/$bunfs/root/src/entrypoints/cli.js:478:39566)\n    at Wd (/$bunfs/root/src/entrypoints/cli.js:478:50271)\n    at WRH (/$bunfs/root/src/entrypoints/cli.js:478:86947)\n    at nFH (/$bunfs/root/src/entrypoints/cli.js:478:85908)\n    at lFH (/$bunfs/root/src/entrypoints/cli.js:478:85729)\n    at Rp (/$bunfs/root/src/entrypoints/cli.js:478:82083)\n    at tH (/$bunfs/root/src/entrypoints/cli.js:478:6491)\n    at NH (/$bunfs/root/src/entrypoints/cli.js:478:4977)","timestamp":"2026-04-24T00:10:05.413Z"},{"error":"Error: Tool SendMessage not found\n    at m57 (/$bunfs/root/src/entrypoints/cli.js:3093:31285)\n    at qJ (/$bunfs/root/src/entrypoints/cli.js:478:21013)\n    at $A (/$bunfs/root/src/entrypoints/cli.js:478:39566)\n    at Wd (/$bunfs/root/src/entrypoints/cli.js:478:50271)\n    at WRH (/$bunfs/root/src/entrypoints/cli.js:478:86947)\n    at nFH (/$bunfs/root/src/entrypoints/cli.js:478:85908)\n    at lFH (/$bunfs/root/src/entrypoints/cli.js:478:85729)\n    at Rp (/$bunfs/root/src/entrypoints/cli.js:478:82083)\n    at tH (/$bunfs/root/src/entrypoints/cli.js:478:6491)\n    at NH (/$bunfs/root/src/entrypoints/cli.js:478:4977)","timestamp":"2026-04-24T00:10:17.673Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T00:15:02.485Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T00:15:23.203Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T00:17:59.646Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T00:19:26.764Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T00:20:36.648Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T00:32:56.123Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/zion/docker-dev.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4709:7645)\n    …
RAW_BUFFERClick to expand / collapse

Bug Description INSTRUCTION FOLLOWING AND DEGREE OF INVESTIGATIVE RIGOR OF BOTH OPUS 4.6 and 4.7 are IN VERY BAD SHAPE. I would literally give it REFERENCE CODE, Fully realized...and asked it to integrate it into our local version to replace specific code files...it would instead go and rewrite everything from the ground up and break the functionality. 10 rounds of this...it is refusing to follow instructions.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.118
  • Feedback ID: 799d20f3-d752-4b45-a3bf-2766cb6b2fa8

Errors

[{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T00:08:42.266Z"},{"error":"Error: Tool SendMessage not found\n    at m57 (/$bunfs/root/src/entrypoints/cli.js:3093:31285)\n    at qJ (/$bunfs/root/src/entrypoints/cli.js:478:21013)\n    at $A (/$bunfs/root/src/entrypoints/cli.js:478:39566)\n    at Wd (/$bunfs/root/src/entrypoints/cli.js:478:50271)\n    at WRH (/$bunfs/root/src/entrypoints/cli.js:478:86947)\n    at nFH (/$bunfs/root/src/entrypoints/cli.js:478:85908)\n    at lFH (/$bunfs/root/src/entrypoints/cli.js:478:85729)\n    at Rp (/$bunfs/root/src/entrypoints/cli.js:478:82083)\n    at tH (/$bunfs/root/src/entrypoints/cli.js:478:6491)\n    at NH (/$bunfs/root/src/entrypoints/cli.js:478:4977)","timestamp":"2026-04-24T00:10:05.413Z"},{"error":"Error: Tool SendMessage not found\n    at m57 (/$bunfs/root/src/entrypoints/cli.js:3093:31285)\n    at qJ (/$bunfs/root/src/entrypoints/cli.js:478:21013)\n    at $A (/$bunfs/root/src/entrypoints/cli.js:478:39566)\n    at Wd (/$bunfs/root/src/entrypoints/cli.js:478:50271)\n    at WRH (/$bunfs/root/src/entrypoints/cli.js:478:86947)\n    at nFH (/$bunfs/root/src/entrypoints/cli.js:478:85908)\n    at lFH (/$bunfs/root/src/entrypoints/cli.js:478:85729)\n    at Rp (/$bunfs/root/src/entrypoints/cli.js:478:82083)\n    at tH (/$bunfs/root/src/entrypoints/cli.js:478:6491)\n    at NH (/$bunfs/root/src/entrypoints/cli.js:478:4977)","timestamp":"2026-04-24T00:10:17.673Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T00:15:02.485Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T00:15:23.203Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T00:17:59.646Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T00:19:26.764Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T00:20:36.648Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T00:32:56.123Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/zion/docker-dev.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4709:7645)\n    …

Note: Content was truncated.

extent analysis

TL;DR

Increase the timeout value for Axios requests to mitigate the "timeout of 5000ms exceeded" errors.

Guidance

  • Review the provided error logs, which indicate repeated timeouts and a "Tool SendMessage not found" error, suggesting potential issues with network requests or tool configuration.
  • Consider increasing the timeout value for Axios requests to allow more time for responses, potentially resolving the "timeout of 5000ms exceeded" errors.
  • Investigate the "Tool SendMessage not found" error, which may be related to a missing or misconfigured tool, and verify that all required tools are properly installed and configured.
  • Check the current working directory and file paths to ensure they are correct, as indicated by the "File does not exist" error.

Example

No specific code example can be provided without more context, but increasing the timeout value for Axios requests might look like:

const axios = require('axios');
axios.defaults.timeout = 10000; // Increase timeout to 10 seconds

However, this is speculative and may not directly apply to the issue at hand.

Notes

The provided error logs are truncated, which may limit the ability to fully diagnose the issue. Additionally, the root cause of the "Tool SendMessage not found" error is unclear without more information about the tool and its configuration.

Recommendation

Apply a workaround by increasing the timeout value for Axios requests, as this may mitigate the repeated timeout errors and allow for further investigation into the underlying issues.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING