Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.271 ·

Control-request handling gains a generic dispatch branch ahead of the hardcoded subtype switch

Control-request handling gains a generic dispatch step that runs before the existing hardcoded request-type checks

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaElsewherewhat it touches
KindInternal Changesin v2.1.271,
Under the hood

Control-request handling gains a generic dispatch step that runs before the existing hardcoded request-type checks

What

The loop that processes control requests (internal commands like interrupting a session, ending it, or changing its model or permission mode) now first checks whether a request matches a new generic dispatch path, optionally replying immediately through a callback, before falling back to the existing hardcoded checks for specific request types such as interrupt, end_session, initialize, set_permission_mode, set_model, and set_cwd.

Why

This adds a general-purpose route for handling control requests ahead of the older per-type checks, likely making it easier to add new control-request types without extending the hardcoded chain, though the finding doesn't specify which requests currently take this new path.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhich control-request types are actually routed through the new generic dispatch path is not specified.

See this entry in the whole of v2.1.271 →