However, GPT-5.6 Sol Ultra cannot execute any local shell or tool call.
Every attempt fails before the first command is executed with:
code-mode host exited during handshake
The same command works normally in a new GPT-5.5 Extra High session on
the same machine, using the same Codex Desktop installation, account,
working directory, and PowerShell environment.
This is not another report of the original:
Unable to locate the Codex CLI binary
startup failure. The desktop UI and app-server initialization are now
working. This report concerns a remaining model-specific Code Mode
handshake failure.
Model A/B result:
GPT-5.6 Sol Ultra:
code-mode host exited during handshake
GPT-5.5 Extra High:
Command executed successfully.
CODE_MODE_SMOKE_OK
A full two-turn health check under GPT-5.5 also passes shell execution,
temporary file creation, file read/write, recursive search, SHA-256
calculation, cross-turn state persistence, and cleanup.
Possibly related to #32759, but this reproduction is specifically on
Windows Codex Desktop 26.820.7780.0 with bundled CLI
0.150.0-alpha.8.
### What steps can reproduce the bug?
1. Launch Codex Desktop on Windows.
2. Confirm that the app and app server initialize normally.
3. Open a new session and select GPT-5.6 Sol Ultra.
4. Send this prompt:
```text
Call the terminal tool exactly once and run the following PowerShell
command. Do not create or modify any files, do not retry, and do not
infer the result without running the command:
Write-Output 'CODE_MODE_SMOKE_OK'
Clearly distinguish between a command that actually executed and a
command that did not execute. On failure, report only the original tool
error.
Observe that no PowerShell command runs and the result is:
code-mode host exited during handshake
Open another new session on the same machine and select GPT-5.5
Extra High.
Send the exact same prompt.
Observe that the command executes successfully and returns:
CODE_MODE_SMOKE_OK
I reproduced the GPT-5.6 failure more than once. It occurs before the
first shell command runs.
### What is the expected behavior?
GPT-5.6 Sol Ultra should initialize the local Code Mode host and execute
the same PowerShell command that GPT-5.5 executes successfully.
Expected output:
```text
CODE_MODE_SMOKE_OK
A model change should not cause the local code-mode host process to exit
during the initial handshake.
### Additional information
Environment:
```text
Codex Desktop package: OpenAI.Codex 26.820.7780.0 x64
Bundled CLI: codex-cli 0.150.0-alpha.8
PowerShell: 7.6.5
Authentication: ChatGPT account
CODEX_CLI_PATH: unset at Process, User, and Machine scope
Package status: Ok
Package signature kind: Store
The desktop is using this recovered per-user CLI:
%LOCALAPPDATA%\OpenAI\Codex\bin\d0097be4feba73d0\codex.exe
The matching Code Mode host exists beside it:
%LOCALAPPDATA%\OpenAI\Codex\bin\d0097be4feba73d0\
codex-code-mode-host.exe
Local host validation:
Cached host exists: True
Official MSIX source host exists: True
Cached host length: 65880368
MSIX source host length: 65880368
Cached host encrypted: False
MSIX source host encrypted: True
Lengths match: True
SHA-256 hashes match: True
Authenticode signature: Valid
Signer: OpenAI OpCo, LLC
codex-code-mode-host.exe --help exit code: 0
SHA-256 of both the cached and official package host:
3B93FC5DF0B38358D7FFFB290A3F11A56CECBEBBF70EB62BF8C58D6D994B28E3
Windows event checks found no matching events in:
Application
Microsoft-Windows-CodeIntegrity/Operational
Microsoft-Windows-Windows Defender/Operational
The Codex Desktop app-server log shows successful initialization:
[AppServerConnection]
initialize_handshake_result
outcome=success
transportKind=stdio
Therefore the desktop-to-app-server handshake is healthy. The failure
occurs later in the GPT-5.6 Code Mode host path.
Background:
The installation originally encountered the separate 26.820 Windows
bundled-resource relocation regression in #40700. Startup was recovered
by materializing version-specific per-user caches from the currently
installed official Store package.
No WindowsApps files, ACLs, ownership, or encryption attributes were
modified. CODEX_CLI_PATH was not set.
GPT-5.5 executes shell commands and passes a full two-turn local-tool
health check on the same installation. This makes a missing, corrupted,
encrypted, or Windows-security-blocked local host binary unlikely.
Related:
#32759: same model-specific handshake error on another platform/CLI
#40700: separate Windows Desktop startup/resource-relocation regression
What version of the Codex App are you using (From “About Codex” dialog)?
26.820.7780.0
What subscription do you have?
ChatGPT Pro 20x
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
After recovering the separate Windows Desktop 26.820 bundled-resource
relocation/startup regression described in #40700, Codex Desktop and
its app server start normally.
However, GPT-5.6 Sol Ultra cannot execute any local shell or tool call.
Every attempt fails before the first command is executed with: