Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.236 Home All releases olderv2.1.235 v2.1.237newer
Claude Code v2.1.236

Quitting mid-prompt leaves the question for the next session instead of denying it

You'll notice
Useful3 Signal2
Permissions

Quitting mid-question leaves that prompt pending for your next session instead of denying it.

What

When Claude Code has committed to shutting down, a pending permission request, tool approval or dialog is no longer cancelled or auto-denied. It is simply left unanswered so the next process can pick it up. Live for everyone on this build.

Details
  • Internally the shutdown path hands back a promise that never settles, and the tool loop waits on the same thing at several points once exit is committed.
  • Replies that would answer this session's human are not injected; they are counted as replies left for the next process.
  • The old special-case machinery that parked "ask user a question" across shutdown is deleted in favour of this general rule.
  • New shutdown telemetry reports how many human requests were outstanding at exit.
Evidence

tengu_shutdown_pending_state, this one is shutting down and settles no question

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.236 →