{"name":"CLAUDE_BG_SOCK_ADMIT_SILENT_PEERS","slug":"claude-bg-sock-admit-silent-peers","family":"env","title":"Environment variables","noun":"environment variable","description":"A background session now waits for a new connection to send something before letting it take over, and closes connections that stay silent","description_source":"entry","described_by":{"version":"2.1.315","anchor":"background-session-socket-admits-silent-peers-only-condition"},"presence":{"first_seen":"2.1.315","removed_in":null,"in_current_build":true,"newest_mined":"2.1.315","builds":1,"mined_builds":155,"first_cited":{"version":"2.1.315","released_at":"2026-10-30 21:05:24","spans":1}},"aliases":[],"entries":[{"version":"2.1.315","anchor":"background-session-socket-admits-silent-peers-only-condition","heading":"Stray connections can no longer knock you off a background session","line":"A background session now waits for a new connection to send something before letting it take over, and closes connections that stay silent","released_at":"2026-10-30 21:05:24","reason":"found in this entry's text"},{"version":"2.1.315","anchor":"silent-peer-admission-for-the-background-socket-is-now-set-f","heading":"New CLAUDE_BG_SOCK_ADMIT_SILENT_PEERS variable for background session connections","line":"Claude Code now sets `CLAUDE_BG_SOCK_ADMIT_SILENT_PEERS` to let silent peers reach background sessions, unless a remote switch removes it","released_at":"2026-10-30 21:05:24","reason":"found in this entry's text, named in this entry"}],"entries_total":2,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_BG_SOCKET_TOKENS_PATH","slug":"claude-bg-socket-tokens-path","description":"Set internally by the background-session daemon on the processes it spawns (a session's PTY host, warm spares) to the path of a JSON file holding their socket auth tokens (`rvAuth`, `ptyAuth`, `claimAuth`). It is passed instead of the direct `CLAUDE_BG_RV_AUTH`, `CLAUDE_BG_PTY_AUTH` and `CLAUDE_BG_CLAIM_AUTH` variables. Each reader takes its token from the file, falls back to the matching direct variable when the file lacks it, and then removes the variable and deletes the file (the PTY host does that only when `CLAUDE_PTY_HOST_EXEC` is `1`)."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-bg-sock-admit-silent-peers","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}