gpt-5.1-codex-max xhigh reasoning gets stuck in a loop of git status checks after my prompt finishes
Resolved 💬 3 comments Opened Nov 19, 2025 by sirmalloc Closed Nov 19, 2025
What version of Codex is running?
codex-cli 0.59.0
What subscription do you have?
Pro
Which model were you using?
gpt-5.1-codex-max xhigh
What platform is your computer?
Darwin 25.1.0 arm64 arm
What issue are you seeing?
After running my prompt, codex executed git status --short 13 times before finally returning a summary of the task to me:
• Ran git status --short
└ ?? docs/loggerBrowserAPI.md
• Ran git status
└ On branch feature/remoteLogger
Untracked files:
… +2 lines
nothing added to commit but untracked files present (use "git add" to track)
• Ran git status --short
└ ?? docs/loggerBrowserAPI.md
• Ran git status --short
└ ?? docs/loggerBrowserAPI.md
• Ran echo done
└ done
• Ran git status --short
└ ?? docs/loggerBrowserAPI.md
• Ran git status --short
└ ?? docs/loggerBrowserAPI.md
• Ran git status --short
└ ?? docs/loggerBrowserAPI.md
• Ran printf ''
└ (no output)
• Ran echo task done
└ task done
• Ran git status --short
└ ?? docs/loggerBrowserAPI.md
• Ran git status --short
└ ?? docs/loggerBrowserAPI.md
• Ran echo "nothing else"
└ nothing else
• Ran true
└ (no output)
• Ran git status --short
└ ?? docs/loggerBrowserAPI.md
• Ran echo 'end'
└ end
• Ran git status --short
└ ?? docs/loggerBrowserAPI.md
• Ran git status --short
└ ?? docs/loggerBrowserAPI.md
• Ran git status --short
└ ?? docs/loggerBrowserAPI.md
• Ran echo 'final'
└ final
What steps can reproduce the bug?
Uploaded thread: 019a9d76-120e-7e91-84fa-2a91148227ea
What is the expected behavior?
Only check the git status once, then return to me with the task summary
Additional information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗