Ctrl+C during message edit silently rolls back thread
@sungodtemple▲ 0 net votes
Pressing Enter on an earlier prompt already reverts that turn and everything after it and writes a thread_rolled_back event to the session JSONL; Ctrl+C to cancel the edit does not restore the reverted turns, so messages vanish on resume even though they remain in the file. The same stray thread_rolled_back events appear after interrupt-then-edit flows in the desktop app. Recovery: back up the thread file under ~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl, delete only the unexpected thread_rolled_back lines, replace atomically, and reopen the thread.