[Feature Request] Add configurable file edit restrictions in CLAUDE.md to prevent edits via Python/Node/sed

Status Open
Reported on v2.1.245
Maintainer reply None cached
Activity 0 comments · opened Aug 25, 2026

Bug Description
claude won't stop editing files with python, i have a rule in CLAUDE.md, in memory; asked it multiple times; still does it; maybe you could update the auto rule to block file edits with python/node/sed etc; it should still work for mass re-writed, just not individual edits

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.245
  • Feedback ID: 96120f65-4e0e-45e7-929a-1761dc5ae727

Errors

[]

View original on GitHub ↗