Tip: `CLAUDE_CODE_PROJECT_DIR_NAME` Lets Each Session Get Its Own Transcript and Config Directory
Claude Code Changelog·medium signal
The new optional environment variable in 2.1.234 targets hosts that give every session an isolated config directory, letting you name the per-project directory explicitly rather than accepting the derived default. This matters for anyone running multiple concurrent Claude Code instances against the same repo from worktrees or containers, where transcript directories previously collided. Pair it with `--worktree` for parallel agents that keep separate histories.