Make sessions discoverable without the index
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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