[BUG] Claude cannot handle project folder named recommentat
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 0.2.49 (Claude Code)
- Operating System: MacOS 14.7
- Terminal: iTerm2
Bug Description
I have a project named recommentat. Claude cannot handle that name and acts as if the name is recommendat, no matter how much I try to give hints/corrections. I reproduced the issue in an empty dir like so:
recommentat % claude
╭────────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code research preview! │
│ │
│ /help for help │
│ │
│ cwd: /Users/danopato/src/claudetest/recommentat │
╰────────────────────────────────────────────────────╯
Tips for getting started:
- Ask Claude to create a new app or clone a repository.
- Run /terminal-setup to set up terminal integration
- Ask Claude questions about your codebase.
- Ask Claude to implement changes to your codebase.
/init is analyzing your codebase…
⏺ I'll analyze the codebase and create a CLAUDE.md file with the requested information.
⏺ List(path: "../recommendat")…
⎿ - /Users/danopato/src/claudetest/recommentat/
⏺ The directory seems to be empty or the path is incorrect. Let me check if there's a
typo in the path.
Steps to Reproduce
- mkdir recommentat
- cd recommentat
- claude
Expected Behavior
Work with project named recommentat.
Actual Behavior
Claude tries to rename everything to recommendat, or sometimes just assumes that is the name.
Additional Context
N/A
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗