Claude now makes its own scratch directory in sandboxed shells instead of assuming a temp variable exists.
What's wrong with this entry?
The sandbox section of the Bash tool description now only tells Claude to use $TMPDIR when the sandbox actually exports it, and otherwise tells it to create its own scratch directory.
- the old "always use the
$TMPDIRenvironment variable" text is kept when the helper returns true, meaning the platform is Windows or the sandbox profile is not "relaxed" - otherwise the model is told to make its own scratch dir with
mktemp -d - so a relaxed non-Windows sandbox profile now gets the mktemp guidance
the sandbox does not export it in this configuration
Strings lifted out of the shipped bundle, so the claim above can be checked against them.