Scope resume functionality to current workspace/directory

Resolved 💬 4 comments Opened Sep 18, 2025 by novacoole Closed Nov 22, 2025

What feature would you like to see?

At the moment, when running codex resume, you are given a list of all recent sessions in Codex, not just those in the current directory.

That coupled with the fact that the sessions are only identifiable by the first message (which is almost always the /init system prompt) makes it quite difficult to identify the session I actually want to resume.

I can't really see a usecase for resuming a session from one codebase in another, it will just lead to a bunch of failed tool calls as the model's context will be completely irrelevant.

Could we please either localise sessions to a per project .codex folder, or simply tag sessions with the directory file path, so that they can be displayed in the codex resume UI to help us find the correct session?

Are you interested in implementing this feature?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗