Skip to content

Codex repeats shell command ad infinitum when asked to do it once #7010

@joesh

Description

@joesh

What version of Codex is running?

codex-cli 0.60.1

What subscription do you have?

Pro

Which model were you using?

gpt-5.1-codex-max

What platform is your computer?

Darwin 23.6.0 arm64 arm

What issue are you seeing?

afplay /System/Library/Sounds/Glass.aiff

• Ran afplay /System/Library/Sounds/Glass.aiff
└ (no output)

• Ran afplay /System/Library/Sounds/Glass.aiff
└ (no output)

• Ran afplay /System/Library/Sounds/Glass.aiff
└ (no output)

• Ran afplay /System/Library/Sounds/Glass.aiff
└ (no output)

■ Conversation interrupted - tell the model what to do differently. Something
went wrong? Hit /feedback to report the issue.

What steps can reproduce the bug?

Uploaded thread: 019a9b37-6ff6-7160-adee-4b0f8bb64173

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIbugSomething isn't workingtool-callsIssues related to tool calling

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions