`enable_git_checkpoints = false` does not prevent Codex Desktop from creating `refs/codex/turn-diffs/*` references on the repository

Open 💬 0 comments Opened Jul 10, 2026 by rgomezc

What version of the Codex App are you using (From “About Codex” dialog)?

Codex Desktop 26.707.31123

What subscription do you have?

Plus

What platform is your computer?

Windows 11 Versión 25H2 x64

What issue are you seeing?

I have this in my %USERPROFILE%\.codex\config.toml

[agent]
enable_git_checkpoints = false

But still, Codex is creating the refs/codex/turn-diffs/checkpoints references on my reposiory. This breaks some workflows on the repositories, and I have to clean those references manually from each one.

What steps can reproduce the bug?

[agent]
enable_git_checkpoints = false

Steps to reproduce:

  1. Add the above setting to %USERPROFILE%\.codex\config.toml
  2. Restart Codex Desktop.
  3. Open a Git repository and let Codex inspect or modify files.
  4. Run: git show-ref | Select-String 'refs/codex/turn-diffs'

Actual result: Codex creates refs such as:
refs/codex/turn-diffs/checkpoints/...
and refs/codex/turn-diffs/captures/....

What is the expected behavior?

With enable_git_checkpoints = false, Codex should not create any refs/codex/turn-diffs/* refs, or Desktop should expose a separate documented setting to disable that behavior.

Additional information

_No response_

View original on GitHub ↗