CLI 0.143.0 duplicates shell_command namespace and returns unsupported call
What version of Codex CLI is running?
codex-cli 0.143.0
What subscription do you have?
ChatGPT Plus
Which model were you using?
gpt 5.5
What platform is your computer?
Windows x64
What terminal emulator and version are you using (if applicable)?
Windows PowerShell
Codex doctor report
What issue are you seeing?
After upgrading from Codex CLI 0.142.0 to 0.143.0, every built-in shell tool call fails before the command is executed.
The rollout records the following function call:
```json
{
"type": "function_call",
"name": "shell_command",
"namespace": "shell_command",
"arguments": "{\"command\":\"Get-Location\",\"workdir\":\"C:\\\\Users\\\\35247\"}"
}
Codex then returns:
unsupported call: shell_commandshell_command
It appears that the namespace and function name are incorrectly concatenated:
shell_command + shell_command = shell_commandshell_command
The issue reproduces consistently in a new session with a clean CODEX_HOME. Codex CLI 0.142.0 works correctly on the same machine.
The failure occurs during tool routing, before PowerShell or the Windows sandbox executes the command.
What steps can reproduce the bug?
• 1. Install Codex CLI 0.143.0:
```powershell
npx -y @openai/codex@0.143.0
- Use a new, empty CODEX_HOME:
New-Item -ItemType Directory -Force "$HOME\.codex-143"
$env:CODEX_HOME = "$HOME\.codex-143"
npx -y @openai/codex@0.143.0
- Sign in and start a new session.
- Ask Codex:
Please use the terminal to execute Get-Location.
- Observe that Codex retries but the terminal command is never executed.
- Inspect the generated rollout JSONL. The function call contains:
"name": "shell_command",
"namespace": "shell_command"
- The corresponding function output is:
unsupported call: shell_commandshell_command
The issue reproduces consistently with Codex CLI 0.143.0. Version 0.142.0 works correctly on the same machine.
What is the expected behavior?
• Codex should route the built-in tool as shell_command without duplicating its namespace, execute Get-Location in PowerShell, and return the actual working directory.
The function call should not be converted to shell_commandshell_command.
Additional information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗