Skip to content

Continuously executing useless Python scripts #6190

@julianschiavo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmodel-behaviorIssues related to behaviors exhibited by the model

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions