[Bug] CLI freezes during execution with stale status message

Resolved 💬 3 comments Opened Jan 9, 2026 by rodrigomq Closed Jan 13, 2026

Bug Description
After putting a plan into action, and running it for a while, it froze on the message "Baked for 20m 38s".

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.2
  • Feedback ID: 6d858292-5ef7-49d8-b694-de2e8c04349d

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/rodrigo/.local/share/claude/versions/2.1.2 (expected in multi-process scenarios)\n    at HQR (/$bunfs/root/claude:2960:2165)\n    at MKA (/$bunfs/root/claude:2960:1276)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-09T17:54:10.694Z"},{"error":"Error: Failed to create shell snapshot: Command failed: /bin/zsh -c -l SNAPSHOT_FILE=/Users/rodrigo/.claude/shell-snapshots/snapshot-zsh-1767981251668-gchjhd.sh\n      source \"/Users/rodrigo/.zshrc\" < /dev/null\n\n      # First, create/clear the snapshot file\n      echo \"# Snapshot file\" >| \"$SNAPSHOT_FILE\"\n\n      # When this file is sourced, we first unalias to avoid conflicts\n      # This is necessary because aliases get \"frozen\" inside function definitions at definition time,\n      # which can cause unexpected behavior when functions use commands that conflict with aliases\n      echo \"# Unset all aliases to avoid conflicts with functions\" >> \"$SNAPSHOT_FILE\"\n      echo \"unalias -a 2>/dev/null || true\" >> \"$SNAPSHOT_FILE\"\n\n      \n      echo \"# Functions\" >> \"$SNAPSHOT_FILE\"\n\n      # Force autoload all functions first\n      typeset -f > /dev/null 2>&1\n\n      # Now get user function names - filter system ones and write directly to file\n      typeset +f | grep -vE '^(_|__)' | while read func; do\n        typeset -f \"$func\" >> \"$SNAPSHOT_FILE\"\n      done\n    \n      echo \"# Shell Options\" >> \"$SNAPSHOT_FILE\"\n      setopt | sed 's/^/setopt /' | head -n 1000 >> \"$SNAPSHOT_FILE\"\n    \n      echo \"# Aliases\" >> \"$SNAPSHOT_FILE\"\n      # Filter out winpty aliases on Windows to avoid \"stdin is not a tty\" errors\n      # Git Bash automatically creates aliases like \"alias node='winpty node.exe'\" for\n      # programs that need Win32 Console in mintty, but winpty fails when there's no TTY\n      if [[ \"$OSTYPE\" == \"msys\" ]] || [[ \"$OSTYPE\" == \"cygwin\" ]]; then\n        alias | grep -v \"='winpty \" | sed 's/^alias //g' | sed 's/^/alias -- /' | head -n 1000 >> \"$SNAPSHOT_FILE\"\n      else\n        alias | sed 's/^alias //g' | sed 's/^/alias -- /' | head -n 1000 >> \"$SNAPSHOT_FILE\"\n      fi\n  \n\n      \n      # Check for rg availability\n      echo \"# Check for rg availability\" >> \"$SNAPSHOT_FILE\"\n      echo \"if ! command -v rg >/dev/null 2>&1; then\" >> \"$SNAPSHOT_FILE\"\n      echo '  alias rg='\"'/Users/rodrigo/.local/share/claude/versions/2.1.2 --ripgrep'\" >> \"$SNAPSHOT_FILE\"\n      echo \"fi\" >> \"$SNAPSHOT_FILE\"\n  \n\n      # Add PATH to the file\n      echo \"export PATH='/Users/rodrigo/.local/bin:/Users/rodrigo/.antigravity/antigravity/bin:/Users/rodrigo/.pyenv/shims:/Users/rodrigo/.pyenv/bin:/Users/rodrigo/.nvm/versions/node/v22.17.1/bin:/Users/rodrigo/Library/Application Support/Code/User/globalStorage/github.copilot-chat/debugCommand:/Users/rodrigo/Library/Application Support/Code/User/globalStorage/github.copilot-chat/copilotCli:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/pmk/env/global/bin:/Library/Apple/usr/bin:/Users/rodrigo/Library/Application Support/Code/User/globalStorage/github.copilot-chat/debugCommand:/Users/rodrigo/Library/Application Support/Code/User/globalStorage/github.copilot-chat/copilotCli:/Users/rodrigo/.local/bin:/Users/rodrigo/.antigravity/antigravity/bin:/Users/rodrigo/.pyenv/bin:/Users/rodrigo/.nvm/versions/node/v22.17.1/bin:/Users/rodrigo/.sonar-scanner/bin:/Users/rodrigo/go/bin:/Users/rodrigo/.vscode/extensions/ms-python.debugpy-2025.18.0-darwin-arm64/bundled/scripts/noConfigScripts:/Users/rodrigo/.sonar-scanner/bin:/Users/rodrigo/go/bin'\" >> \"$SNAPSHOT_FILE\"\n  \n\n      # Exit silently on success, only report errors\n      if [ ! -f \"$SNAPSHOT_FILE\" ]; then\n        echo \"Error: Snapshot file was not created at $SNAPSHOT_FILE\" >&2\n        exit 1\n      fi\n    \n    at <anonymous> (/$bunfs/roo

Note: Error logs were truncated.

View original on GitHub ↗

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