You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.287,
ImprovementsSection of the release
What
A hook is a command of yours that Claude Code runs at a set moment. A PreToolUse hook runs before a tool call, meaning an action Claude takes such as running a command, and it can block that call. When you start a cloud session with claude --cloud, Claude Code keeps a verified copy of such a hook somewhere the session itself cannot change.
If it cannot do that, the error message used to say only that the machine had no private place to keep a verified copy. The message now says:
a verified copy could not be saved outside the session's write access
the tool calls that hook matches are blocked
you can set CLAUDE_CODE_TMPDIR to a folder the session cannot write to and restart claude --cloud
Why
The old message stated the problem but gave no way out. The new one tells you what is being blocked and what to change to fix it.
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 CLAUDE_CODE_TMPDIR, on Error reference.* Delete files you no longer need on the filesystem that holds Claude Code's temp directory. If your message doesn't name that directory, look up its default location in the [`CLAUDE_CODE_TMPDIR`](/docs/en/env-vars) reference. For `EDQUOT`…errorssee the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up CLAUDE_CODE_TMPDIR, on Error reference.