CLI outputs infinite repeating “yes agree” stream without stopping
Resolved 💬 2 comments Opened Apr 12, 2026 by faishal882 Closed Apr 12, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex CLI is running?
codex-cli 0.120.0
What subscription do you have?
plus
Which model were you using?
gpt-5.3-codex [medium]
What platform is your computer?
Linux 6.8.0-45-generic x86_64 x86_64
What terminal emulator and version are you using (if applicable)?
Ghostty
What issue are you seeing?
When using the Codex CLI, the output enters an apparent infinite loop where it continuously prints a repeated phrase like:
yes agree
yes agree
yes agree
yes agree
yes agree
yes agree
This continues indefinitely without termination or user interaction.
Expected Behavior
The CLI should:
- Return a finite response
- Stop after completing the task
- Not enter a repetitive output loop
Actual Behavior
- Output becomes a continuous stream of repeated text
- Process does not terminate on its own
- Requires manual interruption (Ctrl+C)
What steps can reproduce the bug?
Uploaded thread: 019d69d2-0afe-7381-b7eb-82cfcf754ef8
What is the expected behavior?
The CLI should:
- Return a finite response
- Stop after completing the task
- Not enter a repetitive output loop
Additional information
_No response_
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Thanks for the bug report. We'll share the feedback with the team responsible for training our codex models. We're tracking this feedback and similar reports so we can improve future models. And thanks for using the
/feedbackcommand. That additional information is useful.