anthropics / anthropics/claude-code
[Bug] Claude Code prefers Python execution over built-in file edit tool
Open
Nobody has claimed this yet.
area:model
bug
platform:macos
- Dominant language
- TypeScript
- Stars
- 146k
- Forks
- 23.8k
- PR merge metrics
- PR metrics pending
Description
Bug Description
CC keeps using Python to edit files instead of using the edit file tool.
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.275
- Feedback ID: 8d1408a6-30e8-4149-bbc8-a5f7c384aff1
Errors
[]
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the behavior on darwin with Ghostty using Claude Code 2.1.275 and the supplied feedback ID. Trace the decision between Python execution and the built-in file edit tool; done means file edits use the built-in tool for the reported scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100