claude-code - 💡(How to fix) Fix [Bug] Claude stops mid-task without completing execution [1 comments, 2 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#52288Fetched 2026-04-24 06:11:07
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1cross-referenced ×1

Error Message

[{"error":"Error: Tool mcp__context7__resolve-library-id not found\n at MK7 (/$bunfs/root/src/entrypoints/cli.js:3092:31306)\n at UJ (/$bunfs/root/src/entrypoints/cli.js:477:21018)\n at xO (/$bunfs/root/src/entrypoints/cli.js:477:39570)\n at UX (/$bunfs/root/src/entrypoints/cli.js:477:50276)\n at XWH (/$bunfs/root/src/entrypoints/cli.js:477:86935)\n at bgH (/$bunfs/root/src/entrypoints/cli.js:477:85896)\n at Ir (/$bunfs/root/src/entrypoints/cli.js:477:85717)\n at MWH (/$bunfs/root/src/entrypoints/cli.js:477:82077)\n at T_ (/$bunfs/root/src/entrypoints/cli.js:477:6497)\n at hH (/$bunfs/root/src/entrypoints/cli.js:477:4980)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:17867:1417)","timestamp":"2026-04-23T00:44:40.548Z"},{"error":"Error: Tool mcp__context7__query-docs not found\n at MK7 (/$bunfs/root/src/entrypoints/cli.js:3092:31306)\n at UJ (/$bunfs/root/src/entrypoints/cli.js:477:21018)\n at xO (/$bunfs/root/src/entrypoints/cli.js:477:39570)\n at UX (/$bunfs/root/src/entrypoints/cli.js:477:50276)\n at XWH (/$bunfs/root/src/entrypoints/cli.js:477:86935)\n at bgH (/$bunfs/root/src/entrypoints/cli.js:477:85896)\n at Ir (/$bunfs/root/src/entrypoints/cli.js:477:85717)\n at MWH (/$bunfs/root/src/entrypoints/cli.js:477:82077)\n at T_ (/$bunfs/root/src/entrypoints/cli.js:477:6497)\n at hH (/$bunfs/root/src/entrypoints/cli.js:477:4980)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:17867:1417)","timestamp":"2026-04-23T00:44:40.549Z"},{"error":"Error: Tool mcp__context7__query-docs not found\n at MK7 (/$bunfs/root/src/entrypoints/cli.js:3092:31306)\n at UJ (/$bunfs/root/src/entrypoints/cli.js:477:21018)\n at xO (/$bunfs/root/src/entrypoints/cli.js:477:39570)\n at UX (/$bunfs/root/src/entrypoints/cli.js:477:50276)\n at XWH (/$bunfs/root/src/entrypoints/cli.js:477:86935)\n at bgH (/$bunfs/root/src/entrypoints/cli.js:477:85896)\n at Ir (/$bunfs/root/src/entrypoints/cli.js:477:85717)\n at MWH (/$bunfs/root/src/entrypoints/cli.js:477:82077)\n at T_ (/$bunfs/root/src/entrypoints/cli.js:477:6497)\n at hH (/$bunfs/root/src/entrypoints/cli.js:477:4980)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:17867:1417)","timestamp":"2026-04-23T00:44:40.549Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T00:44:50.512Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"This request would exceed your account's rate limit. Please try again later."},"request_id":"req_011CaKqwDEdjy7w5Aodfynp3"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:54524)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T01:35:32.758Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"This request would exceed your account's rate limit. Please try again later."},"request_id":"req_011CaKr6MoLGd9s3ikW5RQkT"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:54524)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T01:37:36.586Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n at LJq (/$bunfs/root/src/entrypoints/cli.js:253:283388)\n at async ydq (/$bunfs/root/src/entrypoints/cli.js:406:898)\n at async qu6 (/$bunfs/root/src/entrypoints/cli.js:406:796)\n at async i7_ (/$bunfs/root/src/entrypoints/cli.js:2730:2135)\n at async sJH (/$bunfs/root/src/entrypoints/cli.js:2755:5746)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2779:3409)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T01:38:05.779Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"This request would exceed your account's rate limit. Please try again later."},"request_id":"req_011CaKr9EqTgPJHKW5RzwpzM"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:54524)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T01:38:15.678Z"},{"error":"Er…

Code Example

[{"error":"Error: Tool mcp__context7__resolve-library-id not found\n    at MK7 (/$bunfs/root/src/entrypoints/cli.js:3092:31306)\n    at UJ (/$bunfs/root/src/entrypoints/cli.js:477:21018)\n    at xO (/$bunfs/root/src/entrypoints/cli.js:477:39570)\n    at UX (/$bunfs/root/src/entrypoints/cli.js:477:50276)\n    at XWH (/$bunfs/root/src/entrypoints/cli.js:477:86935)\n    at bgH (/$bunfs/root/src/entrypoints/cli.js:477:85896)\n    at Ir (/$bunfs/root/src/entrypoints/cli.js:477:85717)\n    at MWH (/$bunfs/root/src/entrypoints/cli.js:477:82077)\n    at T_ (/$bunfs/root/src/entrypoints/cli.js:477:6497)\n    at hH (/$bunfs/root/src/entrypoints/cli.js:477:4980)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:17867:1417)","timestamp":"2026-04-23T00:44:40.548Z"},{"error":"Error: Tool mcp__context7__query-docs not found\n    at MK7 (/$bunfs/root/src/entrypoints/cli.js:3092:31306)\n    at UJ (/$bunfs/root/src/entrypoints/cli.js:477:21018)\n    at xO (/$bunfs/root/src/entrypoints/cli.js:477:39570)\n    at UX (/$bunfs/root/src/entrypoints/cli.js:477:50276)\n    at XWH (/$bunfs/root/src/entrypoints/cli.js:477:86935)\n    at bgH (/$bunfs/root/src/entrypoints/cli.js:477:85896)\n    at Ir (/$bunfs/root/src/entrypoints/cli.js:477:85717)\n    at MWH (/$bunfs/root/src/entrypoints/cli.js:477:82077)\n    at T_ (/$bunfs/root/src/entrypoints/cli.js:477:6497)\n    at hH (/$bunfs/root/src/entrypoints/cli.js:477:4980)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:17867:1417)","timestamp":"2026-04-23T00:44:40.549Z"},{"error":"Error: Tool mcp__context7__query-docs not found\n    at MK7 (/$bunfs/root/src/entrypoints/cli.js:3092:31306)\n    at UJ (/$bunfs/root/src/entrypoints/cli.js:477:21018)\n    at xO (/$bunfs/root/src/entrypoints/cli.js:477:39570)\n    at UX (/$bunfs/root/src/entrypoints/cli.js:477:50276)\n    at XWH (/$bunfs/root/src/entrypoints/cli.js:477:86935)\n    at bgH (/$bunfs/root/src/entrypoints/cli.js:477:85896)\n    at Ir (/$bunfs/root/src/entrypoints/cli.js:477:85717)\n    at MWH (/$bunfs/root/src/entrypoints/cli.js:477:82077)\n    at T_ (/$bunfs/root/src/entrypoints/cli.js:477:6497)\n    at hH (/$bunfs/root/src/entrypoints/cli.js:477:4980)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:17867:1417)","timestamp":"2026-04-23T00:44:40.549Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T00:44:50.512Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CaKqwDEdjy7w5Aodfynp3\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54524)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T01:35:32.758Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CaKr6MoLGd9s3ikW5RQkT\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54524)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T01:37:36.586Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n    at LJq (/$bunfs/root/src/entrypoints/cli.js:253:283388)\n    at async ydq (/$bunfs/root/src/entrypoints/cli.js:406:898)\n    at async qu6 (/$bunfs/root/src/entrypoints/cli.js:406:796)\n    at async i7_ (/$bunfs/root/src/entrypoints/cli.js:2730:2135)\n    at async sJH (/$bunfs/root/src/entrypoints/cli.js:2755:5746)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2779:3409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T01:38:05.779Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CaKr9EqTgPJHKW5RzwpzM\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54524)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T01:38:15.678Z"},{"error":"Er…
RAW_BUFFERClick to expand / collapse

Bug Description Claude stops mid-tasks, unfinished

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.117
  • Feedback ID: fcdeab78-4bef-4f75-baec-9b1d8743e3c9

Errors

[{"error":"Error: Tool mcp__context7__resolve-library-id not found\n    at MK7 (/$bunfs/root/src/entrypoints/cli.js:3092:31306)\n    at UJ (/$bunfs/root/src/entrypoints/cli.js:477:21018)\n    at xO (/$bunfs/root/src/entrypoints/cli.js:477:39570)\n    at UX (/$bunfs/root/src/entrypoints/cli.js:477:50276)\n    at XWH (/$bunfs/root/src/entrypoints/cli.js:477:86935)\n    at bgH (/$bunfs/root/src/entrypoints/cli.js:477:85896)\n    at Ir (/$bunfs/root/src/entrypoints/cli.js:477:85717)\n    at MWH (/$bunfs/root/src/entrypoints/cli.js:477:82077)\n    at T_ (/$bunfs/root/src/entrypoints/cli.js:477:6497)\n    at hH (/$bunfs/root/src/entrypoints/cli.js:477:4980)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:17867:1417)","timestamp":"2026-04-23T00:44:40.548Z"},{"error":"Error: Tool mcp__context7__query-docs not found\n    at MK7 (/$bunfs/root/src/entrypoints/cli.js:3092:31306)\n    at UJ (/$bunfs/root/src/entrypoints/cli.js:477:21018)\n    at xO (/$bunfs/root/src/entrypoints/cli.js:477:39570)\n    at UX (/$bunfs/root/src/entrypoints/cli.js:477:50276)\n    at XWH (/$bunfs/root/src/entrypoints/cli.js:477:86935)\n    at bgH (/$bunfs/root/src/entrypoints/cli.js:477:85896)\n    at Ir (/$bunfs/root/src/entrypoints/cli.js:477:85717)\n    at MWH (/$bunfs/root/src/entrypoints/cli.js:477:82077)\n    at T_ (/$bunfs/root/src/entrypoints/cli.js:477:6497)\n    at hH (/$bunfs/root/src/entrypoints/cli.js:477:4980)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:17867:1417)","timestamp":"2026-04-23T00:44:40.549Z"},{"error":"Error: Tool mcp__context7__query-docs not found\n    at MK7 (/$bunfs/root/src/entrypoints/cli.js:3092:31306)\n    at UJ (/$bunfs/root/src/entrypoints/cli.js:477:21018)\n    at xO (/$bunfs/root/src/entrypoints/cli.js:477:39570)\n    at UX (/$bunfs/root/src/entrypoints/cli.js:477:50276)\n    at XWH (/$bunfs/root/src/entrypoints/cli.js:477:86935)\n    at bgH (/$bunfs/root/src/entrypoints/cli.js:477:85896)\n    at Ir (/$bunfs/root/src/entrypoints/cli.js:477:85717)\n    at MWH (/$bunfs/root/src/entrypoints/cli.js:477:82077)\n    at T_ (/$bunfs/root/src/entrypoints/cli.js:477:6497)\n    at hH (/$bunfs/root/src/entrypoints/cli.js:477:4980)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:17867:1417)","timestamp":"2026-04-23T00:44:40.549Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T00:44:50.512Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CaKqwDEdjy7w5Aodfynp3\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54524)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T01:35:32.758Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CaKr6MoLGd9s3ikW5RQkT\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54524)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T01:37:36.586Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n    at LJq (/$bunfs/root/src/entrypoints/cli.js:253:283388)\n    at async ydq (/$bunfs/root/src/entrypoints/cli.js:406:898)\n    at async qu6 (/$bunfs/root/src/entrypoints/cli.js:406:796)\n    at async i7_ (/$bunfs/root/src/entrypoints/cli.js:2730:2135)\n    at async sJH (/$bunfs/root/src/entrypoints/cli.js:2755:5746)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2779:3409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T01:38:05.779Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CaKr9EqTgPJHKW5RzwpzM\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54524)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T01:38:15.678Z"},{"error":"Er…

Note: Content was truncated.

extent analysis

TL;DR

The issue is likely due to rate limit errors and missing tools, so a workaround could be to implement rate limiting handling and verify the availability of required tools.

Guidance

  • Check the code for any missing tools or libraries, specifically mcp__context7__resolve-library-id and mcp__context7__query-docs, and ensure they are properly installed or imported.
  • Implement rate limiting handling to prevent exceeding the account's rate limit, such as adding a delay between requests or using a queue to manage concurrent requests.
  • Verify that the keychain entry deletion error is not causing the main issue, as it seems to be a separate problem.
  • Review the error logs to identify any patterns or correlations between the errors.

Example

No specific code example can be provided without more context, but a general approach to handling rate limits could involve using a library like async/await to pause execution between requests.

Notes

The provided error logs are truncated, which may limit the ability to identify the root cause. Additionally, the issue may be related to the specific version of the software or platform being used.

Recommendation

Apply a workaround to handle rate limiting and verify the availability of required tools, as the issue seems to be related to these factors.

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