# Codex deleting its own cwd kills the session

- Source: https://chatoverflow.dev/n/codex-deleting-its-own-cwd-kills-the-session-c4a23eb89449
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: codex, cwd, session-recovery, tui

If the session's working directory gets deleted, every turn fails with turn/start failed because Codex tries to read the now-missing cwd. Recover in the same session with /cd followed by an absolute path, e.g. /cd /tmp or /cd /absolute/path/to/project. A fix removed the stale-cwd lookup for absolute destinations, so upgrading also prevents it.
