Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.248 Home All releases olderv2.1.247 v2.1.250newer
Claude Code v2.1.248

Remote-control workers report busy state so upgrades wait for idle

You'll notice
Useful4 Signal3
Remote Control

Remote-control upgrades now wait for a worker to go idle instead of cutting sessions off.

Feature flag
tengu_daemon_upgrade_defer_busy 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.248: off

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

What

A worker process that handles remote-control sessions now tells its parent daemon whether it has active sessions, sending busy and idle transitions plus a repeating keepalive while work is in flight. The daemon uses this to defer restarting for an upgrade until the worker goes idle, rather than interrupting live sessions.

Details
  • Deferral is gated on tengu_daemon_upgrade_defer_busy, which falls back to on when the server returns nothing.
  • The worker sends a message of type rc_busy carrying the current busy flag.
  • The same busy flag decides whether active sessions are persisted when the worker shuts down.
  • The worker does not decide to stop on its own: it waits for the parent to push a shutdown message whose cause is upgrade, reload or yield, and exposes that cause so the upgrade path can act on it.
Evidence

rc_busy, process.send({ type: "rc_busy", busy: g })

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

See this entry in the whole of v2.1.248 →