openai / openai/codex

Codex Desktop: open Review automatically and persist Last Turn as the default scope

Open
#38,875 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app code-review enhancement
Dominant language
Rust
Stars
125k
Forks
19.5k
PR merge metrics
PR metrics pending

Description

What feature would you like to see?

Please add two independent Codex Desktop preferences:

  1. Open Review automatically (or remember that the Review pane was left open).
  2. Default Review scope, with Last Turn, Unstaged, Staged, and Branch as choices.

Selecting Last Turn as the default should not require an undocumented config key or disable the other Git-backed scopes. Users should still be able to switch to Unstaged, Staged, or Branch when needed.

Current behavior

I review the agent's latest edits after nearly every turn. The Review pane does not open automatically, so I repeatedly have to press Ctrl+Shift+G.

Before applying the workaround below, the selected scope did not persist reliably and the app frequently returned to Branch after navigating away or restarting.

Verified partial workaround

After adding the following undocumented setting and fully restarting the desktop app:

[desktop]
git-review-mode = "last-turn-only"

I observed:

  • The Review pane still does not open automatically; Ctrl+Shift+G is still required.
  • When the pane is opened manually, Last Turn is selected after restart.
  • The other scopes remain available in the menu: Uncommitted, Unstaged, Staged, Committed, and Branch.

This is useful, but it is hidden, undocumented, and its name does not match the observed UI behavior. A supported UI preference is still needed, and automatic opening remains completely unsolved.

Desired behavior
  • A global or per-project Open Review automatically setting.
  • A supported Default Review scope setting.
  • When both are enabled and Last Turn is selected, opening or reopening a Git-backed Codex task shows the Review pane immediately with Last Turn selected.
  • The choice persists across task navigation and app restarts.
  • The Review pane remains open by default until the user explicitly closes it.
  • Ctrl+Shift+G remains available for manual toggling.
  • Unstaged, Staged, and Branch remain available even when Last Turn is the default.
Why this matters

For users who rely on other Git tools for branch-wide and staging workflows, the most useful Codex review boundary is the latest assistant turn. Persisting that choice and opening the pane automatically would remove repeated UI work and make it immediately clear what the agent just changed.

Environment
  • ChatGPT/Codex desktop: 26.810.52044 (build 6662)
  • macOS: 26.6.1 (25G76)
Are you interested in implementing this feature?

No.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by locating the Codex Desktop review-pane implementation, its preferences, and the existing git-review-mode setting; trace how scope selection and pane visibility persist across task navigation and restarts. Done means supported preferences control automatic opening and the default scope, while Last Turn, Unstaged, Staged, and Branch remain selectable and Ctrl+Shift+G still toggles the pane.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, rust
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.