anthropics / anthropics/claude-code

[Bug] Claude Code prefers Python execution over built-in file edit tool

Open
#95,286 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.