{"version":"2.1.233","anchor":"permission-prompts-fire-a-notification-hook-if-left-unanswer","canonical_anchor":"permission-prompts-fire-a-notification-hook-if-left-unanswer","heading":"Permission prompts fire a notification hook if left unanswered","tier":"use","area":"Hooks","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.233\/e\/permission-prompts-fire-a-notification-hook-if-left-unanswer","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.233","markdown":"### Permission prompts fire a notification hook if left unanswered\n\nYour notification hook now fires when a permission prompt sits unanswered for six seconds; one env var disables it.\n\n**What**\n\nWhen Claude Code asks permission to use a tool, a 6-second timer starts; if the prompt is still waiting, a notification hook fires with notificationType `permission_prompt` and a message naming the tool. The timer is cancelled the moment you answer. Set `CLAUDE_CODE_DISABLE_PERMISSION_PROMPT_NOTIFY_HOOKS` to turn it off; it is on by default.\n\n**Details**\n\n- The timer is unref'd, so it never keeps the process alive on its own.\n- The variable is newly registered in the environment-variable schema as a boolean.\n\n**Evidence**\n\n`CLAUDE_CODE_DISABLE_PERMISSION_PROMPT_NOTIFY_HOOKS`\n\n- Area: Hooks\n- Names: `CLAUDE_CODE_DISABLE_PERMISSION_PROMPT_NOTIFY_HOOKS`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 3\/5"}