Setting the poll-events variable alone no longer switches on poll delivery; the SDK entry path must wire it.
Poll-event delivery now needs both CLAUDE_CODE_POLL_EVENTS and an ingress latch set only from the SDK or streaming-input path.
What's wrong with this entry?
Setting CLAUDE_CODE_POLL_EVENTS on its own no longer puts a session into poll-event delivery. A third condition was added: the launch options must record that event ingress was wired, a one-way latch set only from the SDK and streaming-input entry path.
- The latch is set by
markPollEventIngressWired()and read bypollEventIngressWired(); it defaults unset, so other entry points cannot enter this mode regardless of the environment variable.
markPollEventIngressWired, CLAUDE_CODE_POLL_EVENTS
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.234
Injected poll events are rate-, size- and mode-limited
Both mention poll event
-
v2.1.234
Event attributes are checked against the event kind
Both mention poll event
-
v2.1.234
Poll events get a nonce and a reserved-kind guard
Both mention poll event