Problem
The shipped pstack-runner uses a plain Bun shebang. When launched from a project directory, Bun automatically loads that project's .env files before runner code executes. A project-level provider key can then override an authenticated CLI subscription.
Expected behavior
The runner must not auto-load project env files. It should continue to honor environment variables explicitly inherited from the parent process.
Verification
Add an executable-boundary regression with a sentinel .env, run the runner/typecheck suites, and install/test the exact candidate from the Codex surface.
Problem
The shipped
pstack-runneruses a plain Bun shebang. When launched from a project directory, Bun automatically loads that project's.envfiles before runner code executes. A project-level provider key can then override an authenticated CLI subscription.Expected behavior
The runner must not auto-load project env files. It should continue to honor environment variables explicitly inherited from the parent process.
Verification
Add an executable-boundary regression with a sentinel
.env, run the runner/typecheck suites, and install/test the exact candidate from the Codex surface.