Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.251 ·

Background daemon workers try to claim a controlling terminal

Daemon-mode background workers now try to claim a controlling terminal at startup.

Use it now No documentation found In Development
JSON All of v2.1.251
Use it nowTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Background TasksArea: what it touches
In DevelopmentKind: in v2.1.251,
What probably matters to youSection of the release
What

When the background backend is run as a daemon (CLAUDE_BG_BACKEND=daemon), startup now tries to acquire a controlling terminal for the worker, gated by tengu_bg_worker_ctty which defaults to on. Normal interactive sessions never reach this. If the gate is off it only checks whether a terminal was already acquired.

Details
  • Outcomes recorded are acquired, already, failed, ffi_unavailable, not_a_tty, unsupported and switched_off.
  • Failures and the case where the native binding is unavailable are also sent through a separate error-reporting path, not just logged.
Evidence

bg_worker_ctty

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

Read from
Names in the bundleCLAUDE_BG_BACKEND=daemon
Feature flag
tengu_bg_worker_ctty Not enough to say

Nothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.

This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.251: on

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

How sure we are
One source agreesOne thing we can check says the same as this entry.
The name it cites is new in this buildNew in this build: tengu_bg_worker_ctty

See this entry in the whole of v2.1.251 →

Feedback