Resume a previous session
interactive sessions
// what it does
codex resume opens a picker of recent sessions in the current repo; --last jumps to the most recent and --all spans every directory. Pass a session id to target one exactly, and append a prompt to continue right away. Sessions are stored under ~/.codex/sessions/.
// shell
$ codex resume$ codex resume --last$ codex resume --last "keep fixing the failing tests"// gotcha
The picker is scoped to the current repo by default, so a session started in another directory won't appear unless you use --all.