CLI outputs infinite repeating “yes agree” stream without stopping
Resolved 💬 2 comments Opened Apr 12, 2026 by faishal882 Closed Apr 12, 2026
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_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗