Skip to content

Add a supported way to disable the edit review/apply confirmation UI for trusted repos #17028

Closed as not planned

Description

@i-schuyler

Summary

Please add a supported option to disable the edit review/apply confirmation UI for trusted repos/projects, so Codex can apply file edits automatically in the same way that command approvals can already be reduced or disabled.

Problem

Today, even with repo-scoped config such as:

  • approval_policy = "never"
  • sandbox_mode = "workspace-write"
  • optional trusted project config

Codex may still show an edit confirmation flow like:

Would you like to make the following edits?

  1. Yes, proceed
  2. Yes, and don't ask again for these files
  3. No, and tell Codex what to do differently

This appears to be separate from command approval policy and creates friction for trusted repos where the user explicitly wants Codex to edit files without repeated manual confirmation.

Requested feature

Please add a documented config option or mode that disables the edit review/apply confirmation UI for trusted repos/projects.

Desired behavior:

  • trusted repo/project
  • repo-scoped or user-scoped config
  • Codex can apply in-workspace edits automatically
  • command/network permissions remain governed by sandbox + approval config
  • no repeated y/n/esc edit confirmation for normal file edits

Suggested shape

Possible approaches:

  • config flag to disable edit-apply confirmation UI
  • project-level trust option for auto-apply edits
  • separate setting from command approvals, clearly documented

Why this matters

This would make Codex much more usable for:

  • PR-first repo workflows
  • docs-heavy repositories
  • trusted personal repos
  • repetitive multi-slice workflows

It would also better align with the expectation that approval/sandbox config should fully describe the agent’s autonomy level for trusted projects.

Environment

  • Repo-scoped .codex/config.toml
  • approval_policy = "never"
  • sandbox_mode = "workspace-write"
  • trusted project
  • desire to keep normal workspace boundaries without switching to dangerous full-access mode

Activity

  1. added
    enhancement
    CLI
    TUI
    sandbox
    on Apr 7, 2026
  2. removed
    TUI
    CLI
    on Apr 7, 2026
  3. WiiliamC commented on Apr 22, 2026

    @WiiliamC

    Same feature wanted for cli

  4. etraut-openai commented on Jul 1, 2026

    @etraut-openai
    Contributor

    This feature request hasn't received enough upvotes, so it is being closed automatically. If you still feel this feature is needed, please open a new feature request with an updated title and description.

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

    enhancementsandbox

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions