openai / openai/codex

Make sessions discoverable without the index

Open
#45,706 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

CLI enhancement session
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What variant of Codex are you using?

CLI

What feature would you like to see?

I'm syncing sessions using mutagen between the laptop and the PC (working on one side only to avoid conflicts).

The sessions sync list is:

  • codex: ~/.codex/sessions
  • claude: ~/.claude/projects

The issue is that with codex copying the sessions alone isn't enough - it seems there some 'index' file where the sessions are listed, so when I resume it doesn't show the synced sessions. I tried resume --all with mixed results, sometimes I see the session, but it's under a different name, sometimes I don't.

In claude this works - the synec file is enough to make the session appear in claude resume.

So the RFE is: would it be possible to make the session discovery not require the index file?

As an alternative provide a way to sync the sessions.

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported behavior with sessions copied between machines under ~/.codex/sessions, then inspect how the CLI discovers sessions and uses its index. Done means synced sessions appear reliably in resume without requiring the index, or the issue provides a supported way to sync them.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.