Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
Internal ChangesKind: in v2.1.321,
Internal ChangesSection of the release
What
Sometimes a permission request (Claude Code asking you to approve an action) is left waiting after the request that produced it has gone. Claude Code queues these leftover requests. Hooks are your own scripts that Claude Code runs at set moments, such as when a prompt is submitted.
Claude Code now skips the prompt-submission hooks for these leftover requests whenever the environment variable CLAUDE_CODE_REMOTE is set. Before, the skip depended on a remotely controlled switch instead.
Why
If you run Claude Code remotely and rely on prompt-submission hooks, they will not run for leftover permission requests.