Hooks issues on macOS

Issues the maintainers labelled both platform:macos and area:hooks.

392 issues · 88 open · 304 resolved (78%) · first seen Aug 22, 2025

Is this getting better or worse?

This class of problem is converging. 127 new reports in the last 90 days vs 244 in the 90 before — -48%. The open backlog peaked at 88 in 2026-08 and sits at 88 today.

0 22 44 66 88 2025-082025-122026-042026-08
2025-08 — First reports2026-03 — Most new reports (108)2026-08 — Peak backlog (88 open)

Derived by counting each matching issue from its creation date until it closed. First-party computation over the anthropics/claude-code tracker — the trend is not published anywhere upstream.

Which builds report this

264 of these reports name the Claude Code build they were running, spanning 108 releases. Heaviest reporters:

Report volume, not a defect count: an issue can mention a build without that build having caused the failure. Versions come from the version string in the bug-report template, matched against real published tags.

Do these get fixed?

Median time to close is 31 days across 304 closures. Of the 304 closures with a recorded reason, 26% were closed as completed and 226 as not-planned or duplicate. The most recent completed fix landed in 2026-08.

Workarounds reported by the community

161 of these issues post a workaround someone says worked. The highest-engagement ones:

[BUG] WorktreeCreate / Remove hooks not called in Claude Desktop
Workaround: use PreToolUse on Agent with worktree isolation to trigger your lifecycle hooks: This works in Claude Desktop because PreToolUse/PostToolUse hooks fire normally — it's only the dedicated WorktreeCreate/Worktr…
Found in the thread of #29716 · still open
Post/PreToolUse Hooks Not Executing in Claude Code
…oolUse event actually being triggered by tool execution? 🔄 Workaround Status Currently using reactive PostToolUse validation instead of preventive PreToolUse blocking , but this is: - ❌ After-the-fact (damage already do…
Found in the thread of #6305 · still open
[BUG] Cowork sessions ignore user hooks and managed settings — sandbox platform mismatch breaks all settings resolution
…the macOS host are not forwarded. This means the documented workaround from 34428 ( in settings.json block) doesn't work for cowork — settings.json isn't loaded (Root Cause 1), and even if set in the host shell, the env…
Found in the description of #40495 · still open
[Bug] EnterWorktree tool ignores WorktreeCreate/WorktreeRemove hooks
Workaround: use a hook on to trigger your own lifecycle hooks: Similarly for cleanup: This ensures your lifecycle hooks fire even when using the EnterWorktree tool, until the native WorktreeCreate/WorktreeRemove events a…
Found in the thread of #36205 · still open
[BUG] PreToolUse permissionDecision: "allow" no longer suppresses prompt for Bash with dangerouslyDisableSandbox: true (2.1.116+ regression)
…r any command that is sandbox-eligible but invoked with \ . Workarounds available today: 1. Migrate the policy decision into \ rules (loses dynamic context, transcript-aware judging, etc.). 2. Set \ — flips \ to true, th…
Found in the thread of #51798 · resolved

Excerpts are quoted from the linked issue so you can judge relevance before opening it. Threads that only ask for a workaround, or report that there is none, are excluded. These are community suggestions, not official guidance from Anthropic — read the full thread before applying one.

Matching issues 1–100

Ranked by community engagement (reactions weighted over comments). Listing the top 300 of 392 matches; the statistics above cover all 392.

Related aggregations

  1. Hooks issues on Windows

    242 issues
  2. Hooks issues on Linux

    102 issues
  3. Hooks issues on VS Code

    65 issues
  4. Core CLI issues on macOS

    3,395 issues
  5. Terminal UI issues on macOS

    3,373 issues
  6. Model behaviour issues on macOS

    2,520 issues
  7. Tool calls issues on macOS

    1,676 issues
  8. The desktop app issues on macOS

    1,578 issues