Injected events get a random nonce and can't reuse an event kind Claude Code produces itself.
What's wrong with this entry?
Events injected by a host now have a random nonce stamped into the event wrapper before the size limit is applied, and an event kind that collides with one Claude Code produces itself is refused unless the caller explicitly opts in.
- The size-limit message now says the measurement is taken after nonce stamping.
- The queue-depth check moved ahead of building the event wrapper.
- A reserved kind that still reaches dispatch is refused and redelivered on reconnect.
- Hook payloads gained a
poll_eventprompt-origin value, marking the enqueue-time pass where a blocking verdict rejects the event. - Poll events already require permission mode
auto.
poll event rejected: kind "
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.239
Poll-event mode now also needs the entry path to have wired ingress
Both mention poll event
-
v2.1.237
Poll tool drains queued harness events and reports who sent them
Both mention poll event
-
v2.1.237
Poll-events switch cannot be set from settings
Both mention poll event