Windows app appears unstable around branch/worktree state

Open 💬 2 comments Opened Mar 31, 2026 by mccartyflame

What version of the Codex App are you using (From “About Codex” dialog)?

26.325.31654

What subscription do you have?

Pro

What platform is your computer?

_No response_

What issue are you seeing?

The Windows app appears unstable around branch/worktree state. I was switched from the task branch to main, could not switch back, and had to migrate to a new branch. After that, generated diffs in a large monolith file became hard to trust because duplicate/conflicting changes may have been introduced by branch/context instability rather than intentional edits. Separately, menu popups are unreliable and clip off-screen, which makes recovery harder. During coding, I’m seeing repeated PowerShell runtime errors including null dereference on .Trim() and malformed \ command execution. Combined with branch/worktree instability, this makes generated diffs in large files hard to trust because partial or corrupted edits may be introduced by execution failures rather than intended code changes.

What steps can reproduce the bug?

Open Codex desktop app on Windows.
Load a repo with an existing feature branch
Start a task and allow Codex to operate on that branch.
Continue working for several iterations (code generation, apply patches, run tests).
Observe branch context in the app.
Attempt to switch back to the original task branch after context changes.

What is the expected behavior?

Stable branch context
Reliable menu interactions
Clean command execution
Small, surgical diffs aligned to task scope

Additional information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗