Agent Freezes When Modifying Plan in Interactive Mode

Resolved 💬 6 comments Opened Jul 30, 2025 by cole-jxn Closed Jan 6, 2026

Bug Description
When calling an agent like this @agent-code-optimizer in plan mode, the agent comes up with a plan, but if you want modify the plan, the claude code instance freezes. The only way to fix it is close the terminal session and start over

Environment Info

  • Platform: darwin
  • Terminal: webstorm
  • Version: 1.0.63
  • Feedback ID: 939ad192-1fee-4ae5-bad6-3d722b3a8132

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:888:11)\n    at execSync (node:child_process:960:15)\n    at p7 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:865:5108)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:776:48959\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:674:14420)\n    at kJ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:776:46397)\n    at XH (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:776:45264)\n    at Y9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:776:51585)","timestamp":"2025-07-30T16:06:07.836Z"}]

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗