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

CLAUDE_CODE_HOST_WORKTREE

env in the build JSON

A Claude Code environment variable, read out of the shipped bundle. It has been in the build since v2.1.288, including the newest one read.

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

Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.288.

First seen v2.1.288 2 Oct 2026
Last seen v2.1.288 2 Oct 2026
Builds1 / 131on this box, as of v2.1.288
Written about v2.1.288 first named in a changelog, 2 Oct 2026
v2.1.288in the build not in the build never minedv2.1.288

In the changelogs

1

Releases whose published page names CLAUDE_CODE_HOST_WORKTREE.

  1. 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

    found in this entry's text, named in this entry

First cited

0

No release's published evidence quotes this name. The ledger indexes the Evidence lines of every changelog on this site, so this says nobody here has ever quoted it; it says nothing about how old the name is.

Presence across releases

1
BuildsHow manyDatesReading
v2.1.2881 build2 Oct 2026 ◆in the build

Build by build

1

One row per release since the first build this name was read out of. Absent means the build was read and the name was not in it, never mined means no bundle for that release was ever archived, and a declared type or a default is only ever what that release's own bundle stated.

BuildDateStateThe record behind it
v2.1.2882 Oct 2026·addedverdict: added · str

Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the environment variable does. All environment variables.

Feedback