Skip to content

Tools installed by setup script in Codex Web not always accessible to the agent in Plan mode  #5464

@leynos

Description

@leynos

What version of Codex is running?

codex-web

What subscription do you have?

Pro

Which model were you using?

gpt-5-codex

What platform is your computer?

Linux (Fedora 42)

What issue are you seeing?

Commandline tools installed in the environment setup script are not always accessible to the agent in Plan mode.

I'm not sure of the exact circumstances, but in some cases, the agent will be unable to execute the tool due to the executable file not being present in the agent's environment.

Running a normal "Code" session usually fixes this, but it means I have to go back to all of the failed sessions and re-run them.

What steps can reproduce the bug?

Place an executable in /usr/local/bin in the environment setup script. Ask the agent to use the tool in Plan mode. The agent's shell sometimes reports command not found.

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcodex-webIssues related to Codex Web

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions