[BUG] Model doesn't handle git commands with `$` in path, it needs to quote paths

Resolved 💬 4 comments Opened Mar 28, 2025 by mcolyer Closed Nov 30, 2025

Environment

  • Platform (select one):
  • [X] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: Claude code
  • Operating System: macOS 15.3.2
  • Terminal: Terminal App

Bug Description

Model doesn't handle git commands with $ in path, it needs to quote paths:

⏺ Call(Commit changes)…
  ⎿  Bash(git add app/routes/private.$publicId.$privateId.tsx)…
  ⎿  Bash(git commit -m "feat: Add button to download wishlist as JSON…
  ⎿  Done (2 tool uses · 8.0s)

⏺ It seems there's an issue with the file path. Let me check the correct path and try again:

⏺ Bash(find . -name "private.$publicId.$privateId.tsx")…

Steps to Reproduce

  1. <!-- First step -->
  2. <!-- Second step -->
  3. <!-- And so on... -->

Expected Behavior

That it works

Actual Behavior

It attempts to use find to locate a file.

View original on GitHub ↗

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