{"version":"2.1.281","anchor":"self-hosted-runner-gh-routing-by-path-staged-files-as-args","canonical_anchor":"self-hosted-runner-gh-routing-by-path-staged-files-as-args","heading":"Self-hosted runner: gh routing by path, staged files as args, subagent prompt inlining","tier":"notice","area":"Elsewhere","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/self-hosted-runner-gh-routing-by-path-staged-files-as-args","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### Self-hosted runner: gh routing by path, staged files as args, subagent prompt inlining\n\nThe self-hosted runner now routes GitHub calls by path, passes staged files as arguments and can inline subagent prompts\n\n**Unclear.** The finding does not say how a reader starts the self-hosted runner or what inlining the subagent prompt changes in a session.\n\n**What**\n\nThe self-hosted runner, which starts Claude Code sessions as child processes, changed how it sets each one up:\n\n- `ghRoutePath` and `ghRouteBasePath` replace the old `ghShimDir` folder for sending GitHub requests along a set route.\n\n- `stagedFileArgs` holds files the server provides (`agent_files` and `claude_code_args`), which are added to the child's command line.\n\n- `subagentPromptInline` is passed to the child session. A subagent is a helper Claude that the main session starts for a side task.\n\nThe runner now prints a warning, \"governed git: the session's PATH changed after the GitHub API route was set up\", when the session's `PATH` (the list of folders the system searches for programs) changes after that route is in place. The \"represent_failed\" telemetry now uses the renamed route objects.\n\n**Why**\n\nIf you run sessions through the self-hosted runner, the new warning tells you when a later `PATH` change may stop GitHub requests from going through the route that was set up.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5"}