[Bug] Unexpected Working Directory Reset to /private

Resolved 💬 3 comments Opened Oct 3, 2025 by prfr Closed Oct 7, 2025

Bug Description
claude keeps reseting my directory to /private

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.0.5
  • Feedback ID: 33cbcdd3-b4ef-4e79-b955-2870444ba1b2

Errors

[{"error":"Error: Shell bb1378 is not running, so cannot be killed (status: failed)\n    at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3241:1757)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Nh6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3162:21927)\n    at async qFB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3162:18069)\n    at async w2B (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1120:31030)\n    at async Y8B (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1907:1967)\n    at async Eh6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3162:17262)\n    at async $h6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3162:16203)\n    at async bO (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3162:13467)\n    at async bO (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3162:14397)","timestamp":"2025-10-03T14:40:42.202Z"},{"error":"Error: Invalid URL\n    at H5B (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1757:9810)\n    at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1757:15930)\n    at call.next (<anonymous>)\n    at Nh6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3162:21927)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async qFB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3162:18069)","timestamp":"2025-10-03T17:03:21.933Z"},{"error":"Error: Command failed: /opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/arm64-darwin/rg --hidden -l Show Grid|Hide Grid|showGrid|hideGrid /private/tmp/rewst_v2\n\n    at genericNodeError (node:internal/errors:985:15)\n    at wrappedFn (node:internal/errors:539:14)\n    at ChildProcess.exithandler (node:child_process:417:12)\n    at ChildProcess.emit (node:events:507:28)\n    at ChildProcess.emit (node:domain:489:12)\n    at maybeClose (node:internal/child_process:1101:16)\n    at ChildProcess._handle.onexit (node:internal/child_process:305:5)","timestamp":"2025-10-03T17:03:39.093Z"},{"error":"Error: Command failed: /opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/arm64-darwin/rg --hidden -i -l blocks.*list|Blocks.*sidebar /private/tmp/rewst_v2\n\n    at genericNodeError (node:internal/errors:985:15)\n    at wrappedFn (node:internal/errors:539:14)\n    at ChildProcess.exithandler (node:child_process:417:12)\n    at ChildProcess.emit (node:events:507:28)\n    at ChildProcess.emit (node:domain:489:12)\n    at maybeClose (node:internal/child_process:1101:16)\n    at ChildProcess._handle.onexit (node:internal/child_process:305:5)","timestamp":"2025-10-03T17:03:39.101Z"},{"error":"MaxFileReadTokenExceededError: File content (49290 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at lBB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1684:404)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1679:1010)\n    at async Nh6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3162:21927)\n    at async qFB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3162:18069)\n    at async w2B (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1120:31030)\n    at async Y8B (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1907:1967)\n    at async Eh6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3162:17262)\n    at async $h6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3162:16203)\n    at async bO (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3162:13467)","timestamp":"2025-10-03T17:04:46.628Z"},{"error":"Error: Request was aborted.\n    at su._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:899:4711)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-10-03T17:18:59.155Z"},{"error":"Error: Request was aborted.\n    at su._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:899:4711)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-10-03T17:18:59.155Z"},{"error":"Error: Language not supported while highli

Note: Error logs were truncated.

View original on GitHub ↗

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