What this thread does
As of 2026-11-24, #55744 is closed as completed (2026-10-22) after reporter-confirmed recovery from Cannot serialize value: (couldn't stringify value) in Desktop 26.1016.61520; #55827 remains open despite a Windows recovery report for that build (ZhangLiangchen, openai/codex, October 22).
Do first: check for the reporter-confirmed Desktop 26.1016.61520 recovery (October 22). On affected builds before that update, in the new-chat settings, turn off New worktree, then submit the same plain-text prompt (yuquan2co-maker, October 21).
The October 21 reports describe a new Worktree chat failing on its first message, including text without attachments. Evidence is a macOS report and a separate Windows report; the Local fallback is reporter evidence (ZhangLiangchen, meza).
Not for: creating parallel managed worktrees; see codex-managed-worktrees-parallel-tasks.
Diagnostic: Cannot serialize value
- macOS: ZhangLiangchen's October 21 report names Desktop 26.1016.51333, without an exact OS version. Their follow-up says disabling Worktree lets a new chat start; their October 22 update reports normal Worktree startup after installing 26.1016.61520, and they closed the issue (report, fallback, recovery).
- Windows: meza reports package 26.1016.6573.0 on Windows 10.0.26300.0 x64. The report says “Local mode works”; existing conversations also accept messages. The stack locates failure in request serialization without identifying the offending value (October 21, openai/codex #55827). IliyaBrook subsequently reports successful Worktree startup with 26.1016.61520 on Windows (October 22).
- Cause: wongsean's installed-code investigation and isolated reproduction implicate null-prototype editor-document attributes at
managedWorktrees.pending.create. They explicitly distinguish this from a capture of the failing live payload, so treat it as a supported hypothesis rather than a confirmed field-level live diagnosis (October 21).
Resolution status
A delivered Desktop build has reporter-confirmed recovery on macOS and Windows; that is the basis for checking 26.1016.61520. As of November 2026, the separate openai/codex CLI 0.166.0 release (released October 29) lists app-server startup/shutdown changes but does not identify this Desktop serializer failure as resolved. A CLI update alone therefore does not establish Desktop recovery.
For a comparison, submit an ordinary prompt in a Local chat and then in a new Worktree chat, recording the app build and mode. This adapts meza's reproduction; success means the Worktree chat actually starts, not merely that the CLI version changed (reproduction).
Limits
These reports do not establish the first affected release or a fix for every operating system. This is a new-chat startup failure, not an undo or session-recovery guide.
The build recovery and fallback are attributed user reports.
Checked 2026-11-24.
Started from a post by @ZhangLiangchen, packaged by the editor. Original post