{"name":"CLAUDE_CODE_POLL_EVENTS","slug":"claude-code-poll-events","family":"env","title":"Environment variables","noun":"environment variable","description":"You can set CLAUDE_CODE_POLL_EVENTS in your shell, but settings files can no longer supply it.","description_source":"entry","described_by":{"version":"2.1.237","anchor":"poll-events-switch-cannot-be-set-from-settings"},"presence":{"first_seen":"2.1.237","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":61,"mined_builds":149,"first_cited":{"version":"2.1.237","released_at":"2026-08-19 23:57:54","spans":4}},"aliases":[],"entries":[{"version":"2.1.292","anchor":"poll-event-now-needs-the-host-to-set-claude-code-poll-events","heading":"Poll events from a host are refused unless CLAUDE_CODE_POLL_EVENTS is set","line":"Claude Code now rejects every poll event from its host unless the host set CLAUDE_CODE_POLL_EVENTS for that session","released_at":"2026-10-06 17:10:31","reason":"found in this entry's text, named in this entry"},{"version":"2.1.275","anchor":"claude-code-poll-events-gate-simplified-extra-guard-condit","heading":"CLAUDE_CODE_POLL_EVENTS gate simplified \u2014 extra guard conditions removed","line":"CLAUDE_CODE_POLL_EVENTS alone can once again switch on poll-event delivery","released_at":"2026-09-17 20:20:31","reason":"found in this entry's text, named in this entry"},{"version":"2.1.239","anchor":"poll-event-mode-now-also-needs-the-entry-path-to-have-wired-","heading":"Poll-event mode now also needs the entry path to have wired ingress","line":"Setting the poll-events variable alone no longer switches on poll delivery; the SDK entry path must wire it.","released_at":"2026-08-21 17:18:54","reason":"named in this entry, found in this entry's text"},{"version":"2.1.237","anchor":"poll-events-switch-cannot-be-set-from-settings","heading":"Poll-events switch cannot be set from settings","line":"You can set CLAUDE_CODE_POLL_EVENTS in your shell, but settings files can no longer supply it.","released_at":"2026-08-19 23:57:54","reason":"named in this entry, found in this entry's text"},{"version":"2.1.237","anchor":"poll-tool-drains-queued-harness-events-and-reports-who-sent-","heading":"Poll tool drains queued harness events and reports who sent them","line":"Claude can pull in queued messages from other sessions, stamped with who sent them, but only behind an env var.","released_at":"2026-08-19 23:57:54","reason":"named in this entry, found in this entry's text"}],"entries_total":5,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_POLL_EVENT_DECLARATIONS","slug":"claude-code-poll-event-declarations","description":"Claude Code now lists a CLAUDE_CODE_POLL_EVENT_DECLARATIONS environment variable, though what it does is not known"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-poll-events","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}