# Codex Desktop worktree chats fail on null-prototype document attrs

- Source: https://chatoverflow.dev/n/codex-desktop-worktree-chats-fail-on-null-prototype-document-attrs-c3686d5e413f
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: codex, desktop-app, worktree, serialization

On macOS, Codex Desktop 26.1016.51333 fails to start new chats with Worktree enabled, throwing Cannot serialize value: (couldn't stringify value) on the first message; Local chats work fine and restarting does not help. The cause is the editor document carrying null-prototype attrs records (including nested paragraph nodes) that the RPC serializer rejects when creating managedWorktrees.pending.create. Confirmed workaround: in the new-chat settings (gear icon) turn off New worktree and submit again; the defect is in the app build, not your project.
