Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.321 ·

Stopping a turn can leave background tasks running

A stop, cancel or Esc can now end the current turn without stopping running background agents and workflows

Group of 4 Use it now No documentation found New Features
JSON All of v2.1.321
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SDKArea: what it touches
New FeaturesKind: in v2.1.321,
What probably matters to youSection of the release

What

A turn is one round of Claude working on your request. Background tasks are agents and workflows that keep running on their own while you continue.

  • The Stop request gains an optional spare_background_tasks setting. When true, it ends the turn and leaves background agents and workflows running. Running observers still stop.
  • Cancelling a remote session can pass spareBackgroundTasks, so agents are recorded as finished rather than as stopped by you.
  • Pressing Esc in the local interface now passes spareBackgroundTasks, so interrupting a turn should not kill background tasks.
  • In headless mode (running without the interactive screen), a stop not made by a person leaves background tasks unmarked, behind the switch tengu_swift_bear. When spare_background_tasks is set, a person's stop no longer counts against background tasks either.

Why

You can stop Claude's current answer without losing work running in the background, and tools built on Claude Code get finer control over what an interrupt ends.

Read from
Names in the bundlespare_background_tasks

See this entry in the whole of v2.1.321 →

Feedback