2 pages for spawn_reason.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Claude Code changelog
Claude Code CLI · in the page
changelog
…ls file is about to expire * Self-hosted runner: Added `CLAUDE_RUNNER_SPAWN_REASON` to the orchestrator's spawn-runner hook environment: why Anthropic sent the request (e.g. `runner_lost`, `resumed`);…
Customize sessions in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-configuration
…_PLATFORM:-}" ]`, which stays safe under `set -u`. | | `CLAUDE_RUNNER_SPAWN_REASON` | [Why Anthropic sent this spawn request](#find-out-why-a-spawn-request-was-sent), such as `runner_lost` or `resumed…