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.275 ·

Headless background-task wind-down gains an eval-settle hold

Claude Code's headless/print mode now tracks whether it should hold dispatch for eval settling and whether a background-wait ceiling was hit

Group of 2 Under the hood Internal Changes
JSON All of v2.1.275
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Internal ChangesKind: in v2.1.275,
Internal ChangesSection of the release

What

  • A new holdsEvalSettles() check was added to the drain/session-loop wait condition, as part of a rewrite that collapsed several separate booleans into one inline check.
  • In headless/print mode, the background-task dispatch loop now accepts a holdsEvalSettles callback; when it returns true, task dispatch (takeHead()) is held rather than proceeding.
  • A new bgWaitCeilingExceeded field records whether the CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS wait ceiling was reached.

Why

This gives headless/print-mode runs finer control over when background task dispatch should pause to let evaluation settle, and visibility into whether the configured wait ceiling was hit.

Read from
What the documentation says
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 CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS, on Run Claude Code programmatically. Unless a background command that the main conversation started is still running, Claude Code stops whatever is still running after 10 minutes of continuous idle waiting by default and drops its partial result. To change the 10-minute cap, … headless see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS, on Run Claude Code programmatically.

See this entry in the whole of v2.1.275 →

Feedback