You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.328,
ImprovementsSection of the release
What
A PermissionRequest hook is your own command that Claude Code runs when a tool call (an action such as editing a file or running a command) needs a permission decision. If the hook allows the action but one of your deny or ask rules overrides it, Claude Code writes a log line. That line no longer includes the rule's message. It now shows the type of reason for the decision, or "none" when there isn't one.
Why
The text of your rule messages is kept out of the logs.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed sinceAnthropic's documentation has since written up PermissionRequest, on Hooks reference.In a `-p` run outside [`dontAsk` mode](https://code.claude.com/docs/en/permission-modes#allow-only-pre-approved-tools-with-dontask-mode) with neither a `--permission-prompt-tool` nor a `canUseTool` callback, nobody can answer a prompt. A c…hookssee the edit
Added sinceA small documentation edit on Run Claude Code programmatically touched a line naming PermissionRequest after this was published.With the flag, your run doesn't consult the host or wait on it. Anything that would prompt is denied unless a `PermissionRequest` hook allows it, Claude is told that nobody can approve the request and not to retry it, and the run continues…headlesssee the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesA small documentation edit on Run Claude Code programmatically touched a line naming PermissionRequest after this was published.