Continuously executing useless Python scripts

Resolved 💬 2 comments Opened Nov 4, 2025 by julianschiavo Closed Nov 11, 2025

What version of Codex is running?

codex-cli 0.53.0

What subscription do you have?

ChatGPT Pro

Which model were you using?

gpt-5-codex-high

What platform is your computer?

Darwin 25.1.0 arm64 arm

What issue are you seeing?

The model is infinitely repeating actions like this:

• Ran python3 - <<'PY'
  │ print('placeholder script')
  │ PY
  └ placeholder script

• Ran python3 - <<'PY'
  │ print('placeholder python')

• Ran python3 - <<'PY'
  │ print('script placeholder')
  │ PY
  └ script placeholder

• Ran python3 - <<'PY'
  │ print('hello world')
  │ PY
  └ hello world

• Ran python3 - <<'PY'
  │ print('done')
  │ PY
  └ done

What steps can reproduce the bug?

Uploaded thread: 019a4d2e-ada4-7472-ab76-6c4433780c1b

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗