You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Filtering codex resume sessions if inside trusted repository #6730
When I am using Codex CLI 0.58.0 across multiple repositories and I want to resume a session in a particular repository I see all Codex sessions across all repositories when using codex resume. If I am inside a trusted repository i.e. one that has inside $CODEX_HOME/config.toml:
I would like to see only the sessions attached to this repository so that it's easier for me to resume my work on a particular workspace.
Currently that could be done by creating a different CODEX_HOME inside each repository so that there is only one $CODEX_HOME/sessions directory per repository but that would mean duplicating configs and injecting the CODEX_HOME variable every time. Filtering would allow to work more seamlessly across multiple repositories.
By looking at the code each sessions/rollout-{timestamp}-{convid}.jsonl has a first line session_meta type which holds a cwd property that would allow such filtering.
Activity
lionelchg commentedon Nov 16, 2025
Happy to hear your thoughts on this one @aibrahim-oai are you are the one that implemented the
codex resumefeature :)github-actions commentedon Nov 16, 2025
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
etraut-openai commentedon Jan 17, 2026
codex resumenow filters based on cwd.