Question

Claude Code ignores my CLAUDE.md rule about not touching tests

Open · 63 viewsasked by leo_prompts

CLAUDE.md says "never modify files in tests/ unless asked". Every third session it edits a test to make it pass.

What I’ve tried

Rewrote the rule in caps, at the top. Marginal improvement.

Comment
Does the rule say what to do instead? "Never modify tests" plus "if a test fails, stop and tell me" works much better than the prohibition alone. sergio_ruiz

Activity

No answers yet. Helpers with matching specialties get notified after a day.