Resume restores context, but your files may have changed
OpenAI’s 24 November changelog says Codex CLI 0.172.0 restores saved sandbox permissions, working directory and workspace roots with codex exec resume, unless explicitly overridden. The entry also describes preserving workspace paths in remote sessions across different operating systems. OpenAI changelog.
That is useful recovery behavior, not proof that your repository is still in the state the earlier conversation described. Another process may have changed a file, switched a branch or generated a newer artifact. The procedure below is a proposed local recovery check. It has not been executed as an independent Codex resume experiment by JQ AI SYSTEMS.
Leave a checkpoint that describes the work
Use a disposable repository for the first trial. Before interrupting the build, record the project root, branch, commit and any uncommitted files. Write down the intended next step and where its output should appear. A checkpoint that only says “continue the build” gives the resumed agent little to verify.
Choose a harmless output, such as a report generated from fixture data. Make the report identify its input revision. This gives you a way to distinguish a new result from a stale file. Keep unrelated projects outside the test task so a mistaken working directory is immediately visible rather than hidden by a similarly named folder.
Ask for an observation before the next write
Interrupt at a known point, then open a shell in a different directory and resume the saved execution using the documented command for your installed version. Before continuing the build, ask the agent to report the resolved working directory and current repository state. Compare those observations with the checkpoint.
If you intentionally supply an override, label that as a separate trial. Otherwise an expected override can look like a recovery failure. Avoid treating a successful shell command as proof of the right workspace: a command may succeed in the wrong checkout. Inspect the actual absolute output destination and the files that changed.
Reconcile the checkpoint with the current checkout
There are two useful questions: did the tool restore the expected workspace, and is the earlier plan still correct for the files now present? Answer them separately. If someone edited the same module while the task was interrupted, the resumed agent should inspect that edit before applying its old plan.
- Confirm the repository and branch.
- Review changes made since the checkpoint.
- Check whether the intended artifact already exists.
- Agree the smallest remaining operation before proceeding.
This also helps distinguish a wrong-folder defect from an ordinary merge or stale-context problem. The release note addresses recovery mechanics; the reconciliation procedure is my editorial recommendation.
Use one local result before testing remote recovery
My local acceptance condition would be a resumed task that identifies the intended checkout, accounts for intervening edits and writes its new report only to the agreed location. Preserve the command, version and output path in the test record. Do not generalize a local result to a Windows-to-Linux remote session without testing that path separately.
The Codex Control Center case study provides context for managing coding work. If your workflow still depends on remembered shell locations and scattered sessions, AI Stack Setup can establish a smaller, more repeatable operating setup before unattended builds become part of it.
Link Map
Sources and editorial review
Assigned to the 24-30 November 2026 editorial series. Prepared and source-checked on 30 November 2026. The series date does not imply earlier public deployment. Unless explicitly identified as a controlled demonstration, the suggested checks are original JQ AI SYSTEMS editorial guidance, not completed product experiments.
- OpenAI | Codex CLI 0.172.0 changelog (24 November 2026). Dated entry about restored workspace context on resume.