Follow Discord
Sweep 08 Oct 2026 · 18:53Z Build v2.1.295 516 read Stable v2.1.286 Latest v2.1.295 Next v2.1.295 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.284 ·

Self-relaunch carries home-directory trust so the prompt is not asked again

When Claude Code restarts itself from your home directory after you accepted the trust prompt, the restarted copy no longer asks again

Group of 2 You'll notice No documentation found Internal Changes
JSON All of v2.1.284
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SessionsArea: what it touches
Internal ChangesKind: in v2.1.284,
Bug FixesSection of the release

Unclear Which environment variables are added, and which one is removed, is not known.

What

Claude Code sometimes restarts itself, for example on the --resume path. When it opens a folder it has not been told to trust, it shows a trust prompt first, and your home directory has its own version of that prompt.

  • On relaunch, Claude Code already set CLAUDE_BG_WORKSPACE_TRUSTED to "1". It now also adds a further set of environment variables, which are settings handed to the new process, and removes one more variable first.
  • If you already accepted the home-directory trust prompt, the old process sets CLAUDE_CODE_RELAUNCH_HOME_TRUST to <pid>:<token>. Here pid is the process number and the token comes from a lookup tied to that process.
  • The new process checks three things: that the pid matches its parent (on Windows, its parent's pid), that a path check passes, and that a fresh lookup with skipCache returns the same token. If all three pass, it skips TrustDialog and treats trust as accepted.
  • Any value of CLAUDE_CODE_RELAUNCH_HOME_TRUST inherited from elsewhere is removed before relaunching.

You do not set this variable yourself. Claude Code sets it internally.

Why

The home-directory trust prompt no longer comes back after Claude Code restarts itself. Because the value is tied to the process and a token, a copy of the variable left in your shell cannot be used to skip the trust prompt.

Read from
Names in the bundleCLAUDE_BG_WORKSPACE_TRUSTED
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 environment variables are added, and which one is removed, is not known.

See this entry in the whole of v2.1.284 →

Feedback