[BUG] Hooks are consistently ignored since 1.0.54

Resolved 💬 9 comments Opened Jul 17, 2025 by kstrnl Closed Jan 5, 2026

Environment

  • Platform (select one):
  • [X] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.54
  • Operating System: Ubuntu 22.04
  • Terminal: Terminal App

Bug Description

Hooks are consistently ignored since 1.0.54
Claude's own analysis:
I can see the hooks configuration. The PreToolUse hook for Edit/MultiEdit (line 33) mentions the templates:

  • Template 1 for bugs
  • Template 7 for verifying imports exist
  • Template 10 for features
  • Template 3 every 50 lines

These hooks remind me to use the self-check templates, but I haven't been following these reminders properly. The hooks
are trying to guide me to check the templates BEFORE I edit code, which is exactly what I failed to do when I was making
those changes.

Steps to Reproduce

  1. Set up hooks in settings.json
  2. Set up Self Check templates
  3. Prompt Claude to edit code

Expected Behavior

Claude should follow coding patterns and avoid anti-patterns

Actual Behavior

Claude ignored the hooks, admitted such and continued implementing anti-patterns

View original on GitHub ↗

This issue has 9 comments on GitHub. Read the full discussion on GitHub ↗