Unresponsive Agent Execution: Claude Stops Mid-Task Without Error Handling

Status Fixed / completed
Maintainer reply None cached
Activity 4 comments · opened Jul 17, 2025 · closed Jul 17, 2025

Bug Description
Jul 16, 2025. Something happened within the last 30 minutes. Claude will just stop without any response or going to the next action, even with an active todo list. I already submitted a bug but when it created the issue in GitHub it attached an error that indicated the keychain may be corrupted so I logged out and logged back in to check and to do this again to see what the error is because it's not shown in the CLI which would also be helpful.

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 1.0.53
  • Feedback ID: e49567e7-09f4-460f-b8a0-c47964f381c8

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:882:11)\n    at execSync (node:child_process:954:15)\n    at AI (file:///Users/merlin/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:728:6320)\n    at file:///Users/merlin/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:640:16554\n    at Q (file:///Users/merlin/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:542:14406)\n    at MF (file:///Users/merlin/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:640:14339)\n    at zX (file:///Users/merlin/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:640:13205)\n    at MB (file:///Users/merlin/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:640:19174)","timestamp":"2025-07-17T04:23:54.918Z"},{"error":"Error: Command failed: security delete-generic-password -a $USER -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:882:11)\n    at execSync (node:child_process:954:15)\n    at AI (file:///Users/merlin/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:728:6320)\n    at EF0 (file:///Users/merlin/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:640:17666)\n    at KF0 (file:///Users/merlin/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:640:17540)\n    at h8A (file:///Users/merlin/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:1763:2567)\n    at MB1.startOAuthFlow (file:///Users/merlin/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:1763:3733)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-17T04:24:03.028Z"},{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:882:11)\n    at execSync (node:child_process:954:15)\n    at AI (file:///Users/merlin/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:728:6320)\n    at file:///Users/merlin/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:640:16554\n    at Q (file:///Users/merlin/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:542:14406)\n    at MF (file:///Users/merlin/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:640:14339)\n    at zX (file:///Users/merlin/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:640:13205)\n    at MB (file:///Users/merlin/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:640:19174)","timestamp":"2025-07-17T04:24:03.128Z"}]

View original on GitHub ↗

4 Comments

mlwigdahl · 1 year ago

Same issue here, haven't been able to find a common thread with what it's trying to do that sets it off.

storybynumbers · 1 year ago

Experiencing the same here.

light-merlin-dark · 1 year ago

Got it. Thank you for confirming so quickly. I was starting to worry because I was creating a Swift CLI with built in key rotation to work with my iCloud keychain to manage my secrets across my stack and... well, I thought I broke something. I appreciate the added clarity here.

github-actions[bot] · 1 year ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.