Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.334 ·

New guidance on what can run in a background agent after a reply

In some sessions Claude is told background agents suit builds and tests, not servers or watchers, and may stop if the server restarts

You'll notice No documentation found Improvements
JSON All of v2.1.334
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Background AgentsArea: what it touches
ImprovementsKind: in v2.1.334,
ImprovementsSection of the release

Unclear What turns staysForBackgroundAgentAfterReply on is not stated.

What

The system prompt is the set of instructions Claude Code gives the model. A background agent is a helper that keeps working after Claude has replied. The instruction about background agents now has a second version, used when a setting called staysForBackgroundAgentAfterReply is on. It tells Claude:

  • Work that has an end, such as a build or a test run, can run in a background agent.
  • A background agent should not be used to keep a server or a watcher running.
  • A restart of the server the session runs on can stop the agent.

When the setting is off, Claude gets the earlier single line saying work that must continue after the reply can run in a background agent.

Why

This changes how Claude handles long-running work, so it should avoid relying on a background agent for anything that needs to stay up indefinitely.

Read from
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 doubtWhat turns staysForBackgroundAgentAfterReply on is not stated.

See this entry in the whole of v2.1.334 →

Feedback