Claude Code ignores its own safety hooks — violation #75
Automated Violation Report
Claude Code edited danger zone file harmonicHouseDemo.ts despite receiving:
- DANGER ZONE warnings (15+ prior failed approaches)
- MANDATORY search requirements
- Harmonic Code Council (HCC) review warnings
- Approach tracking warnings
Violation count this project: 75
Project: songwish-platform (Creative Life game)
User complaint: Claude generates before searching, declares victory before testing, ignores its own hook warnings. Full details: https://github.com/SongWish/songwish-platform/blob/main/docs/framework/anthropic_feedback.md
What the user built to compensate:
- 5 PreToolUse hooks (search, track, danger zone, HCC, playtest)
- 2 PostToolUse hooks (verify removal, violation logger)
- 4 parallel AI specialist Harmonic Code Council / HCC (Haiku API calls)
- Automated Playwright walkthrough bot
What still fails: Claude reads warnings in system-reminder tags and proceeds without addressing them. The model treats hook output as skippable context, not mandatory gates.
Structural fix needed: PreToolUse hook warnings should require explicit acknowledgment before the edit proceeds, not just be injected as additional context.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗