{"version":"2.1.293","anchor":"device-hook-forwarding-gate-with-telemetry","canonical_anchor":"device-hook-forwarding-gate-with-telemetry","heading":"Hook forwarding to a device is skipped on Windows or when switched off","tier":"notice","area":"Hooks","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.293\/e\/device-hook-forwarding-gate-with-telemetry","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.293","markdown":"### Hook forwarding to a device is skipped on Windows or when switched off\n\nClaude Code does not forward hooks to a device on Windows or when `CLAUDE_CODE_DISABLE_HOOK_FORWARDING` is set, and records when hooks are held back\n\n**What**\n\nHooks are commands you configure for Claude Code to run automatically at certain moments, such as before a tool runs. Claude Code has a single check that decides whether your hooks are forwarded to a device. That check says no in these cases:\n\n- On Windows.\n\n- When the environment variable `CLAUDE_CODE_DISABLE_HOOK_FORWARDING` is set.\n\nWhen those checks pass but a further condition fails, the hooks are kept back and Claude Code records that this happened.\n\n**Why**\n\n`CLAUDE_CODE_DISABLE_HOOK_FORWARDING` is the way to stop your hooks being forwarded. Claude Code also now keeps a record of the cases where hooks were held back for other reasons.\n\n- Area: Hooks\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: yes"}