Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.308 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.163 ·

$TMPDIR Sandbox Documentation Clarified

Entry
JSON All of v2.1.163
EntryKind: in v2.1.163,
ChangesSection of the release
What

The system prompt instruction about using $TMPDIR for temporary files now correctly states that TMPDIR is set to the sandbox-writable directory specifically in sandbox mode (the old wording implied it was set in both sandboxed and unsandboxed contexts).

Evidence

Updated instruction text (search for "TMPDIR is automatically set to the correct sandbox-writable directory in sandbox mode")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed bash commands failing under bazel and EDR-protected Go workflows: $TMPDIR was overridden to /tmp/claude-{uid} for all commands instead…

See this entry in the whole of v2.1.163 →

Feedback