Unexpected Execution Halt: No Hook Commands Processed
Resolved 💬 7 comments Opened Jul 17, 2025 by sepsi77 Closed Jan 3, 2026
Bug Description
Claude Code just stops in the middle of what it was doing. I can see this in the debug logs.\
\
[DEBUG] Executing hooks for Stop
[DEBUG] Getting matching hook commands for Stop with query: undefined
[DEBUG] Found 0 hook matchers in settings
[DEBUG] No match query, returning all 0 hooks
[DEBUG] Found 0 hook commands to execute
[DEBUG] AutoUpdaterWrapper: Installation type: unknown, using native: false\
\
The end result is that CC stops in the middle of a task and doesn't execute anything.
Environment Info
- Platform: darwin
- Terminal: cursor
- Version: 1.0.54
- Feedback ID: e26cf92a-c36e-4008-80d9-43dcf1af3f33
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 DI (file:///Users/seppo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:730:2037)\n at file:///Users/seppo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:41635\n at Q (file:///Users/seppo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:542:14406)\n at PF (file:///Users/seppo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:39420)\n at $X (file:///Users/seppo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:38286)\n at MB (file:///Users/seppo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:44255)","timestamp":"2025-07-17T04:18:36.011Z"},{"error":"Error: Agent 1: Last message was not an assistant message\n at i5A (file:///Users/seppo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2341:1588)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///Users/seppo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2343:791)\n at async Y34 (file:///Users/seppo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2225:9788)\n at async XL1 (file:///Users/seppo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2225:6451)\n at async Xp (file:///Users/seppo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1623:1318)\n at async F34 (file:///Users/seppo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2225:5596)\n at async D34 (file:///Users/seppo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2225:5081)\n at async WH (file:///Users/seppo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2225:3533)\n at async PQ (file:///Users/seppo/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2639:2662)","timestamp":"2025-07-17T04:25:02.225Z"}]This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗