Group of 3 You'll notice
gh CLI and other subprocess calls now run with an explicit environment instead of inheriting the full parent process environment
What
- Calls to the
ghCLI (for GH_TOKEN lookup and repo content fetches, and forgh repo listduring auto-mode sibling-repo lookups) now build their environment from an explicit snapshot withextendEnv: false, instead of spreading the entireprocess.envinto the subprocess. - An
extendEnvoption was plumbed more generally into the shared exec-options builder and into other spawn call sites.
Why
This stops gh and other spawned subprocesses from inheriting the parent process's full environment, reducing the chance of leaking unrelated environment variables into these subprocess calls.