Skip to content

Continuously executing useless Python scripts #6190

Closed

Description

@julianschiavo

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

Activity

  1. added
    bug
    on Nov 4, 2025
  2. added
    model-behavior
    on Nov 4, 2025
  3. github-actions commented on Nov 4, 2025

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  4. etraut-openai commented on Nov 11, 2025

    @etraut-openai
    Contributor

    Thanks for the bug report. We've shared the feedback with the team members who are responsible for training our codex models. We're tracking this feedback and similar reports so we can make the model more robust in future iterations.

    If you see other model behavior that you'd like to report, please use the recently-added /feedback command in the CLI. That will provide us with additional details including logs and conversation text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmodel-behavior

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions