Codex Desktop GitHub prompt settings fields clear after save despite being persisted
What version of the Codex App are you using (From About Codex dialog)?
Codex Desktop 26.429.30905 (2345)
What subscription do you have?
Enterprise
What issue are you seeing?
In Codex Desktop settings, the GitHub prompt fields appear to clear immediately after saving. The text does not remain visible in the UI, which makes it look like the prompt was lost.
I reproduced this with both:
- GitHub / pull request prompt
- GitHub / commit message prompt
Local inspection shows the values were actually persisted to ~/.codex/.codex-global-state.json:
git-pr-instructionswas present after saving the pull request promptgit-commit-instructionswas present after saving the commit message prompt
So the likely bug is that the settings UI is not rehydrating/rendering these saved values after save, even though persistence succeeds.
Steps to reproduce
- Open Codex Desktop settings.
- Go to the GitHub/Git prompt settings section.
- Enter text in the pull request prompt field.
- Save.
- Observe that the entered text disappears from the UI.
- Repeat with the commit message prompt field.
- Inspect
~/.codex/.codex-global-state.jsonand observe that the values exist undergit-pr-instructions/git-commit-instructions.
Expected behavior
After saving, the fields should continue to display the saved prompt text. Reopening settings should also show the persisted prompt text.
Actual behavior
The text disappears from the settings UI after save, making it look like the prompt was discarded. The backing state file contains the saved value.
Environment
- macOS 26.3.1 (a), arm64
- Codex Desktop 26.429.30905 (2345)
- Codex CLI available locally: 0.128.0
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗