{"version":"2.1.285","anchor":"tunnel-credential-epoch-header-and-lockfile-change-detection","canonical_anchor":"tunnel-credential-epoch-header-and-lockfile-change-detection","heading":"Remote tunnel connections send a credential version and watch for lock changes","tier":"internal","area":"Sessions","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.285\/e\/tunnel-credential-epoch-header-and-lockfile-change-detection","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.285","markdown":"### Remote tunnel connections send a credential version and watch for lock changes\n\nRemote tunnel connections gain a header carrying a credential version, and a lock check now notices when the lock file has changed\n\n**Unclear.** It is not clear which feature uses the new header and lock check.\n\n**What**\n\nClaude Code now sends a new header, `x-claude-code-tunnel-credential-epoch`, on tunnel connections. A header is a small labelled piece of information sent with a network request, and a tunnel is a connection that links a session to Claude Code running elsewhere. A lock check also now reports that the lock changed when the lock file's last-modified time differs from the one it was watching.\n\n**Why**\n\nThis affects how Claude Code handles one copy of a remote or tunnel session taking over from another.\n\n- Area: Sessions\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5"}