Follow Discord
Sweep 02 Oct 2026 · 18:55Z Build v2.1.288 509 read Stable v2.1.285 Latest v2.1.287 Next v2.1.288 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.288 ·

Host apps can fence off folders so file tools write only to a worktree

Two new environment variables let an embedding app block file writes inside chosen paths, except inside one declared worktree

Use it now Notable New Features
JSON All of v2.1.288
Use it nowTier: how much it should matter to you
5Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
File ToolsArea: what it touches
New FeaturesKind: in v2.1.288,
What probably matters to youSection of the release
What

Claude Code now reads two environment variables (settings passed in from whatever launches it):

When they are set, Claude Code's file tools (the tools it uses to create and edit files) refuse to write inside the fenced paths, except inside the declared worktree. The refusal tells Claude to edit the worktree copy instead. If the values cannot be read, they are ignored, a log entry says so, and no write is blocked.

Claude Code removes both variables from the environment it hands to the programs it starts, so they do not leak further down.

Why

This gives an app that embeds Claude Code a way to keep it writing only to a worktree. Ordinary terminal users who do not set these variables see no change.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhich host application sets these variables is not shown.

See this entry in the whole of v2.1.288 →

Feedback