Skip to content

Scope resume functionality to current workspace/directory #3856

@novacoole

Description

@novacoole

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions