{"version":"2.1.239","anchor":"sync-and-hook-forwarding-switches-now-survive-into-remote-se","canonical_anchor":"sync-and-hook-forwarding-switches-now-survive-into-remote-se","heading":"Sync and hook-forwarding switches now survive into remote sessions","tier":"use","area":"Sessions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.239\/e\/sync-and-hook-forwarding-switches-now-survive-into-remote-se","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.239","markdown":"### Sync and hook-forwarding switches now survive into remote sessions\n\nSeven more environment variables you export locally now carry into remote and worker processes.\n\n**What**\n\nSeven more environment variables are preserved when Claude Code starts a remote or worker process, so settings you export locally now apply there too.\n\n**Details**\n\n- Added: `CLAUDE_CODE_WORKER_EPOCH`, `CLAUDE_CODE_DISABLE_DIR_SYNC`, `CLAUDE_CODE_DISABLE_WORKING_SYNC`, `CLAUDE_CODE_DIR_SYNC_GIT`, `CLAUDE_CODE_DIR_SYNC_ARCHIVE`, `CLAUDE_CODE_DIR_SYNC_OVERLAY`, `CLAUDE_CODE_DISABLE_HOOK_FORWARDING`.\n- These join the existing passthrough set, which already carried `CLAUDE_CODE_REMOTE` and the agent proxy variables.\n\n**Evidence**\n\n`CLAUDE_CODE_DISABLE_HOOK_FORWARDING`\n\n- Area: Sessions\n- Names: `CLAUDE_CODE_DIR_SYNC_ARCHIVE`, `CLAUDE_CODE_DIR_SYNC_GIT`, `CLAUDE_CODE_DIR_SYNC_OVERLAY`, `CLAUDE_CODE_DISABLE_HOOK_FORWARDING`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 3\/5"}