You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex provider: contributed env never reaches the app-server process, so CODEX_HOME and BB_CODEX_BRIDGE_APP_SERVER_COMMAND cannot be set per thread #7179
bb.providers.experimental_contributeEnv("codex", ...) entries appear in provider.env-resolved and reach the thread's shell commands, but not the codex app-server process:
appServerLaunchEnv builds the launch env from the daemon's process.env plus only CODEX_OPENAI_BASE_URL and CODEX_POOL_AUTH_TOKEN from the thread envVars;
cX reads BB_CODEX_BRIDGE_APP_SERVER_COMMAND and _ARGS from that env;
sanitizeInheritedChildProcessEnv drops every BB_* name.
Result: a contributed CODEX_HOME changes the shell's variable but not where Codex stores rollouts. Verified: a thread whose shell printed CODEX_HOME=~/.codex-bb wrote its rollout to ~/.codex/sessions.
Use case: run bb Codex threads in a managed Codex home with their own guard hooks and model defaults, without touching the user's desktop ~/.codex that the Codex desktop app uses.
Ask: pass contributed CODEX_HOME (and ideally the app-server command) through to the app-server launch env, or add a provider setting for the Codex home and app-server command.
The report is committed to get-bb/reports. Its Pages address still returns 404 after a deployment failure and superseded builds; the committed HTML above includes the full tests and evidence.
Remaining finding: contributed app-server command and argument overrides are ignored because the launch-environment allowlist excludes them. Child-environment sanitization is not what prevents launcher selection.
Verification: repeated directly in two clean checkouts at 14b3293254; both runs pass all five home tests and fail the same two launcher-override hypothesis assertions. An additional existing focused run passes 11/11 tests. No real account or rollout was inspected.
No PR: the home defect is already fixed; supporting per-thread executable selection needs a launch-policy decision outside the simple-fix criteria.
Activity
bb-slop-cop commentedon Nov 6, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotClassification: Bug · Priority: Medium · Effort: Medium ·
providers,provider-codex.Reproduction and root-cause report: PARTIALLY REPRODUCED, high root-cause confidence. Reproduction label:
partial-repro.The report is committed to
get-bb/reports. Its Pages address still returns 404 after a deployment failure and superseded builds; the committed HTML above includes the full tests and evidence.CODEX_HOMEforwarding on November 3, 2026. Five existing child-process tests pass.14b3293254; both runs pass all five home tests and fail the same two launcher-override hypothesis assertions. An additional existing focused run passes 11/11 tests. No real account or rollout was inspected.Build every provider CLI's environment with one builder
Build every provider CLI's environment with one builder (get-bb#7722)