{"name":"CLAUDE_CODE_REMOTE_MEMORY_DIR","slug":"claude-code-remote-memory-dir","family":"env","title":"Environment variables","noun":"environment variable","description":"Claude Code now refuses paths in its temp folders or in folders background sessions write to freely, including for cloud credential settings","description_source":"entry","described_by":{"version":"2.1.296","anchor":"background-session-write-guard-paths"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":149,"mined_builds":149,"first_cited":{"version":"2.1.175","released_at":"2026-06-12 02:10:22","spans":1}},"aliases":[],"entries":[{"version":"2.1.296","anchor":"background-session-write-guard-paths","heading":"Claude Code refuses credential paths in folders background sessions can write to","line":"Claude Code now refuses paths in its temp folders or in folders background sessions write to freely, including for cloud credential settings","released_at":"2026-10-09 16:58:10","reason":"found in this entry's text"},{"version":"2.1.175","anchor":"claude-code-remote-memory-dir-environment-variable","heading":"CLAUDE_CODE_REMOTE_MEMORY_DIR Environment Variable","line":null,"released_at":"2026-06-12 02:10:22","reason":"found in this entry's text"},{"version":"2.1.38","anchor":"auto-memory-research-preview","heading":"Auto-Memory (Research Preview)","line":null,"released_at":"2026-02-10 00:06:12","reason":"found in this entry's text"}],"entries_total":3,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_REMOTE","slug":"claude-code-remote","description":"Remote sessions started from review can skip writing some state to disk."},{"name":"CLAUDE_CODE_REMOTE_ENVIRONMENT_TYPE","slug":"claude-code-remote-environment-type","description":"The skill-proposal tool now requires a remote environment and a specific entrypoint or env var, and can be vetoed per session."},{"name":"CLAUDE_CODE_REMOTE_HERMETIC_MODE","slug":"claude-code-remote-hermetic-mode","description":"More environment variables get carried into remote sessions; none are set by default."},{"name":"CLAUDE_CODE_REMOTE_MCP_CONFIG","slug":"claude-code-remote-mcp-config","description":"Claude Code now recognises the CLAUDE_CODE_REMOTE_MCP_CONFIG environment variable and passes it on to processes it starts"},{"name":"CLAUDE_CODE_REMOTE_RAW_EVENTS_FILE","slug":"claude-code-remote-raw-events-file","description":null},{"name":"CLAUDE_CODE_REMOTE_SDK_URL","slug":"claude-code-remote-sdk-url","description":"When --sdk-url is not given in a remote session, Claude Code now reads the address from the CLAUDE_CODE_REMOTE_SDK_URL environment variable"},{"name":"CLAUDE_CODE_REMOTE_SEND_KEEPALIVES","slug":"claude-code-remote-send-keepalives","description":"A new keepalive mechanism can keep remote hook connections open during slow hooks, off by default"},{"name":"CLAUDE_CODE_REMOTE_SESSION_ID","slug":"claude-code-remote-session-id","description":"Commands blocked in cloud sessions now tell you the exact local command to run instead."},{"name":"CLAUDE_CODE_REMOTE_SESSION_ORIGIN","slug":"claude-code-remote-session-origin","description":"Remote sessions started from review can skip writing some state to disk."},{"name":"CLAUDE_CODE_REMOTE_SESSION_UUID","slug":"claude-code-remote-session-uuid","description":"Runner hooks now get CLAUDE_RUNNER_SESSION_UUID and CLAUDE_CODE_REMOTE_SESSION_UUID so your scripts can key on the session."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-remote-memory-dir","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}