WHERE YOUR WORK LIVES
Where your work lives.
A map of Codex.
By Alvin
You closed Codex halfway through a fix. Where is the changed file? Where is the chat that explains it? This map shows the usual places to look.
| WHAT YOU WANT | WHERE TO LOOK ON A MAC |
|---|---|
| Program, tests, output | The project folder, its worktree or its remote workspace. Run pwd in the chat’s terminal to see the current directory. |
| Saved chat | ~/.codex/sessions and ~/.codex/archived_sessions. Use the configured CODEX_HOME if set. Check the original host. |
| Isolated worktree | ~/.codex/worktrees by default. Check Worktrees in Settings for a custom root. |
| Instructions and settings | AGENTS.md, user config at ~/.codex/config.toml and a trusted project’s .codex/config.toml. |
| Diagnostics | Desktop logs under ~/Library/Logs/com.openai.codex on macOS. Build-specific databases can also live under CODEX_HOME. |
Codex can run commands in a local folder and get answers from a hosted model. A cloud task has its own workspace. Look on the machine that ran the work. [23] [24] [25] [35] [41] [42]