{"version":"2.1.337","anchor":"runner-reports-boot-idle-readiness-opt-out-env-var","canonical_anchor":"runner-reports-boot-idle-readiness-opt-out-env-var","heading":"Self-hosted runners can report when Claude Code is idle and ready","tier":"internal","area":"Self-Hosted Runner","scope":"org","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/runner-reports-boot-idle-readiness-opt-out-env-var","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Self-hosted runners can report when Claude Code is idle and ready\n\nSelf-hosted runner workers now tell the host when they are truly idle at startup; CLAUDE_CODE_DISABLE_BOOT_IDLE_REPORT turns this off\n\n**What**\n\nA self-hosted runner is a machine you manage that runs Claude Code jobs. Claude Code can now tell the host when a worker is idle and ready:\n\n- The worker processes a runner starts now get `CLAUDE_RUNNER_REPORT_READY_IDLE=1`, unless `CLAUDE_CODE_DISABLE_BOOT_IDLE_REPORT` is set.\n\n- A new `onReadyIdle` callback was added.\n\n- The idle reporter is only built when `CLAUDE_RUNNER_REPORT_READY_IDLE` is set, an `sdkUrl` exists and the connection tells the runner.\n\n- It watches the main loop, input reading, streaming, prompts, MCP requests and background tasks, then calls `writeReadyIdle` once all are quiet.\n\n**Why**\n\nA managed runner can know when a worker is really idle at startup rather than guessing. Set `CLAUDE_CODE_DISABLE_BOOT_IDLE_REPORT` if you do not want this.\n\n- Area: Self-Hosted Runner\n- Names: `CLAUDE_RUNNER_REPORT_READY_IDLE`\n- Tier: Under the hood\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: org\n- Heads-up: no"}