Skip to content

chatgpt.config is not respected in VS CODE #2813

Closed

Description

@Mateusz404

What version of Codex is running?

0.3.3

Which model were you using?

gpt-5

What platform is your computer?

Microsoft Windows NT 10.0.22631.0 x64

What steps can reproduce the bug?

  1. Download and install Codex - OpenAI's coding agent in VS Code

  2. Add this to settings.json: ` "chatgpt.config": {

    "approval_policy": "never",
    "sandbox_mode": "workspace-write"
    },`

  3. Run any prompt

  4. It will ask for approval for everything

What is the expected behavior?

It shouldn't ask for approval

What do you see instead?

"Waiting to approve" or something like that

Additional information

No response

Activity

  1. added
    bug
    on Aug 28, 2025
  2. gpeal commented on Aug 28, 2025

    @gpeal
    Contributor

    Add this to ~/.codex/config.toml. In the next couple of days, we'll have this surfaced within the extension.

  3. added
    extension
    and removed on Aug 30, 2025
  4. MaccariTA commented on Sep 10, 2025

    @MaccariTA

    Any updates on this?

  5. gpeal commented on Sep 10, 2025

    @gpeal
    Contributor

    @MaccariTA out of curiosity, which part of your config.toml are you most interested in? A lot of it will carry over already.

  6. MaccariTA commented on Sep 11, 2025

    @MaccariTA

    @gpeal
    It works with config.toml. I simply want the configuration to be per project, hence I want this implemented.

  7. gpeal commented on Sep 15, 2025

    @gpeal
    Contributor

    @gpeal It works with config.toml. I simply want the configuration to be per project, hence I want this implemented.

    Noted on per-project configuration. Which fields, in particular, do you want to be per-project?

  8. reopened this on Sep 15, 2025
  9. MaccariTA commented on Sep 16, 2025

    @MaccariTA

    @gpeal approval_policy for trusted projects.

  10. gpeal commented on Sep 18, 2025

    @gpeal
    Contributor

    Noted, we don't currently support having any part of config.toml be scoped to a project so the chatgpt.config approach would never have worked. We'll be improving config clarity and support over time though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugextension

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions