Allow per-file review & manual approval of code changes (like Claude Code)

Resolved 💬 2 comments Opened Apr 23, 2026 by nerdyabhi Closed May 31, 2026

What variant of Codex are you using?

CLI (codex in cli ) and extenstion

What feature would you like to see?

Currently, Codex auto-applies code changes without giving a clear per-file diff or the ability to manually approve changes file-by-file.

This makes it hard to:

Review changes safely in larger codebases
Understand exactly what was modified per file
Prevent unintended edits from being applied automatically
Proposed Feature

Introduce a per-file review + approval workflow, similar to how tools like Claude Code handle edits:

Show file-by-file diffs before applying changes
Allow users to:
Approve all changes
Approve/reject individual files
Edit before applying (optional but valuable)
Option to toggle:
Auto-apply (current behavior)
Manual review mode
Why this matters
Improves trust and safety when working with AI-generated code
Makes Codex viable for real-world production workflows
Reduces risk of silent breaking changes
Aligns with existing developer expectations (PR-style workflows)
Example Workflow
Codex proposes changes

UI shows:

src/db/pool.js   [Approve] [Reject]
src/api/user.js  [Approve] [Reject]

User selectively applies changes
Additional context

Right now, the lack of granular control makes Codex feel more like a “black box executor” than a collaborative coding tool. Adding this feature would significantly improve usability for serious development.

Additional information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗