{"version":"2.1.284","anchor":"relaunches-from-the-home-directory-no-longer-re-ask-the-home","canonical_anchor":"relaunches-from-the-home-directory-no-longer-re-ask-the-home","heading":"Self-relaunch carries home-directory trust so the prompt is not asked again","tier":"notice","area":"Permissions","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.284\/e\/relaunches-from-the-home-directory-no-longer-re-ask-the-home","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.284","markdown":"### Self-relaunch carries home-directory trust so the prompt is not asked again\n\nWhen Claude Code restarts itself from your home directory after you accepted the trust prompt, the restarted copy no longer asks again\n\n**Unclear.** Exactly which two paths are compared before the prompt is skipped is not confirmed.\n\n**What**\n\nClaude 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.\n\n- 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.\n\n- 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.\n\n- 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.\n\n- Any value of `CLAUDE_CODE_RELAUNCH_HOME_TRUST` inherited from elsewhere is removed before relaunching.\n\nYou do not set this variable yourself. Claude Code sets it internally.\n\n**Why**\n\nThe 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.\n\n- Area: Permissions\n- Names: `--resume`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5"}