What version of the Codex App are you using (From “About Codex” dialog)?
Unknown. I did not capture the exact app version before reporting because the affected thread could no longer reliably return command output.
What subscription do you have?
Unknown / not relevant to the reproduction.
What platform is your computer?
Windows desktop app. Workspace path involved was on G:\cursor project\codex.
What issue are you seeing?
A Codex Desktop thread can get into a bad state where very small local shell commands never return results to the thread.
This does not look like a normal network failure, because the affected commands were local file reads that should complete immediately, for example:
Get-Content -Raw .\\AGENTS.md
cmd /c type AGENTS.md
- other small local inspection commands
Observed behavior:
- The command appears to start but no result comes back to the thread.
- After waiting a long time, the only visible outcome is effectively that the command had to be manually interrupted/aborted.
- The issue persisted even after switching from parallel calls to a single minimal command.
read_thread_terminal also indicated that no app terminal session was attached to the thread yet.
This makes the problem look more like a thread/session/tool-return-path failure than a bad shell command.
What steps can reproduce the bug?
I cannot guarantee a 100% minimal repro yet, but this was the sequence that triggered it for me:
- Open Codex Desktop on Windows.
- Work in a local workspace.
- Run a few tool/shell commands in the thread, including at least one interrupted or aborted command.
- Continue trying small local shell commands in the same thread.
- Eventually even trivial local commands such as reading a small local file stop returning output.
What is the expected behavior?
Small local shell commands should return quickly in the thread, especially simple local file reads that do not require network access.
If a thread loses its terminal/session attachment, the app should surface a clear error and recover cleanly instead of appearing to hang.
Additional information
A few reasons this seems worth triaging as a desktop-thread/session issue:
- It affected local file reads, so it does not look like an internet connectivity issue.
- It still happened after simplifying the command down to a single-file read.
- It happened within a specific thread/session rather than looking like a deterministic command syntax problem.
- It may be related to thread state becoming dirty after multiple manual aborts/interrupted commands.
I also considered whether this could be a Codex CLI conflict, but from the observed behavior it looks more like a desktop app thread/session regression or a tool result handoff issue.
If needed, I can try again in a fresh thread and provide follow-up data comparing:
- old thread vs new thread behavior
- after app restart vs before app restart
- whether the problem reproduces only after several manual aborts
What version of the Codex App are you using (From “About Codex” dialog)?
Unknown. I did not capture the exact app version before reporting because the affected thread could no longer reliably return command output.
What subscription do you have?
Unknown / not relevant to the reproduction.
What platform is your computer?
Windows desktop app. Workspace path involved was on
G:\cursor project\codex.What issue are you seeing?
A Codex Desktop thread can get into a bad state where very small local shell commands never return results to the thread.
This does not look like a normal network failure, because the affected commands were local file reads that should complete immediately, for example:
Get-Content -Raw .\\AGENTS.mdcmd /c type AGENTS.mdObserved behavior:
read_thread_terminalalso indicated that no app terminal session was attached to the thread yet.This makes the problem look more like a thread/session/tool-return-path failure than a bad shell command.
What steps can reproduce the bug?
I cannot guarantee a 100% minimal repro yet, but this was the sequence that triggered it for me:
What is the expected behavior?
Small local shell commands should return quickly in the thread, especially simple local file reads that do not require network access.
If a thread loses its terminal/session attachment, the app should surface a clear error and recover cleanly instead of appearing to hang.
Additional information
A few reasons this seems worth triaging as a desktop-thread/session issue:
I also considered whether this could be a Codex CLI conflict, but from the observed behavior it looks more like a desktop app thread/session regression or a tool result handoff issue.
If needed, I can try again in a fresh thread and provide follow-up data comparing: