[BUG] Claude loses access to Bash() tool
Resolved 💬 1 comment Opened Jun 10, 2025 by andrewreece Closed Jun 17, 2025
Environment
- Platform (select one):
- [X] Other: Claude Code 1.0.17
- Operating System: macOS 15.4.1
- Terminal: iTerm2
Bug Description
Claude loses the ability to run Bash() tool. No obvious cause although it does seem to happen first thing in the morning when a CC instance is left open (but not actively executing commands) overnight. This has happened 2 or 3 times in the past month. The 'claude-shell-snapshot' directory is mentioned here, but the context seems different than this case. Although notably I'm also using zsh, which was noted in the comments as a possible influencing factor.
Bash(echo "Testing shell")
Error: zsh:source:1: no such file or directory:
/var/folders/sd/s2s25sbn0j51fb1bfqhp17540000gp/T/claude-shell-snapshot-9e0b
^^After it hits this once, every attempt to Bash() has the same issue.
Steps to Reproduce
Cannot reliably reproduce
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗