Follow Discord
Sweep 02 Oct 2026 · 18:55Z Build v2.1.288 509 read Stable v2.1.285 Latest v2.1.288 Next v2.1.288 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.285 ·

Background shell commands now stop after a time limit

Commands run in the background now stop after 30 minutes by default, up to 2 hours with a longer timeout, and Claude is told to restart them

Group of 2 You'll notice Notable Improvements
JSON All of v2.1.285
You'll noticeTier: how much it should matter to you
4Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Bash ToolArea: what it touches
ImprovementsKind: in v2.1.285,
What probably matters to youSection of the release

What

Claude can run a shell command in the background, meaning the command keeps going while the conversation continues. It does this by passing run_in_background to the Bash tool, the tool Claude uses to run terminal commands. Before this release, a background command had no deadline and could only be stopped when the machine ran low on memory. It now has a time limit:

  • timeout with run_in_background sets how long the command may run in the background. The default is 1800000 ms (30 minutes) and the maximum is 7200000 ms (2 hours).
  • When the limit is reached, the command is stopped. Its stop reason reads "stopped after reaching its background time limit". Claude is told to restart it with run_in_background and a longer timeout.
  • The Bash and PowerShell tool descriptions now say that timeout on its own applies to a foreground command, one that Claude waits on. The Bash instructions now include the background default and maximum. Tool results also gain a backgroundedByTurnAbort field.
  • The session state gains backgroundTasksDisabled, backgroundDeadlineDisabled and unsandboxedCommandsDisabled, with matching methods to turn each one off. These let background tasks, the background deadline, or unsandboxed commands be disabled for a session. Unsandboxed commands are commands run outside the protective sandbox.

Why

Long-running jobs started in the background, such as dev servers, watchers or long builds, will now be stopped after 30 minutes unless a longer timeout is given. If you rely on a background job running for longer, expect Claude to ask for or set a longer timeout. Nothing can run past 2 hours in one go.

Read from
Names in the bundlerun_in_backgroundtimeout
Feature flag
tengu_sepia_moth Off in both readings

The flag server returned off for the account this site reads and for the anonymous baseline. A reading of off cannot rule out a rollout these two readings sit outside of.

This account: off · anonymous baseline: off · compiled default in v2.1.285: off

These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.

Read once, for one account on one subscription tier, against v2.1.285. It isn't a statement about your account. What a flag value here can and cannot tell you

Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up run_in_background, on Hooks reference. | `status` | string | `"completed"` | `"completed"` for foreground subagents, `"async_launched"` for background subagents. Subagents run in the background by default, so an Agent call that omits `run_in_background` also produces `"async_la… hooks see the edit
Added since A small documentation edit on Agent SDK reference - Python touched a line naming timeout after this was published. For what sets the foreground ceiling, see [Timeout and output limits](/docs/en/tools-reference#timeout-and-output-limits). For the background time limit, see [Time limit for background commands](/docs/en/tools-reference#time-limit-for-back… agent-sdk/python see the edit
Confirmed since Anthropic's documentation has since written up timeout, on Claude Code changelog. * Changed `--bare` to connect only the MCP servers named on the command line, send the model no system reminders, and start no background tasks; under `--bare`, a shell command that reaches its timeout now stops instead of moving to the ba… changelog see the edit
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 doubtIt is not clear whether the time limit is active for every user or depends on a check that could not be traced.
Anthropic's documentation agreesAnthropic's documentation has since written up timeout, on Claude Code changelog.
Anthropic's release notes agreeChanged background Bash and PowerShell commands to stop after a time limit (their timeout with run_in_background, default 30 min, max 2 h)…

See this entry in the whole of v2.1.285 →

Feedback