Unclear What switches the check on for local sessions, and whether it is on by default, is not stated.
Claude Code has a check that watches for a session that has gone quiet and may be stuck. Before, it only ran when CLAUDE_CODE_REMOTE was set, which marks a cloud session.
It can now also run in a session where CLAUDE_CODE_REMOTE is not set, when an internal feature check allows it. In that case the check stops as soon as you type something.
Stall detection may now cover sessions on your own machine, not only remote ones.
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.
* Self-hosted runner: Changed `CLAUDE_RUNNER_SESSION_UUID` and `CLAUDE_CODE_REMOTE_SESSION_UUID` to both be set for the session and its `checkout`, `post-session` and `spawn-runner` hookschangelog see the edit
What switches the check on for local sessions, and whether it is on by default, is not stated.
Anthropic's documentation has since written up CLAUDE_CODE_REMOTE, on Claude Code changelog.