Repository navigation
Closed
Labels
Description
What feature would you like to see?
Feature Request: Named Sessions for --resume
Problem
The current --resume feature shows multiple sessions without clear identifiers. For developers who work across several projects, it’s easy to get lost and accidentally pick the wrong session since there are no names or tags to distinguish them.
Proposal
Introduce optional session names and tags:
codex --name "checkout-fix"to assign a human-friendly name.- Support
--tags payments,urgentfor lightweight grouping. /session name <newName>and/session tags +tag -tagto rename or retag interactively.- Update the
--resumepicker to showname,repo,tags, andlast_activity. - Allow fuzzy matching:
codex --resume checkout→ resumes session with matching name.
Why
- Reduces confusion when resuming across many sessions.
- Keeps everything local, backwards-compatible, and low-risk.
- Minimal implementation: store metadata (
name,tags,repo,branch,last_activity) in ameta.jsonfile alongside existing session history.
Example UX
▸ checkout-fix [repo: shop-web] [tags: payments, urgent] [updated: 12m]
flaky-tests [repo: svc-orders] [tags: tests] [updated: 2h]
spike-mcp [repo: tools] [tags: research] [updated: 3d]
Next Steps
If maintainers agree this is valuable, I can prepare a PR implementing:
- Metadata file write/read
- CLI flags for
--nameand--tags - Resume picker rendering improvements
- Basic interactive
/sessioncommands
Would love feedback on whether this direction makes sense before starting work.
Are you interested in implementing this feature?
Yes
Additional information
No response
Reacted by YoloMark98, Joseph Brewer, Clayton Gentry, Goto Hayato, Zippo, Tamir Duberstein, Nikita Voronov, Martin Hähnel, Jordan Lorho, NISHIZAWA Shuntaro and 86 more
Reacted by Karl Horky, Maciej Janyska, m-ar-c, Cevah3ro, AlexZhao, Cuong Le, Danlie, superfun-dev-admin, Mark Sagang, milosgacanovic and 3 more
Reacted by Maciej Janyska, m-ar-c, Cevah3ro, AlexZhao, Cuong Le, Danlie, superfun-dev-admin, Mark Sagang, milosgacanovic, kiytech and 4 more
Reacted by Karl Horky, m-ar-c, Cevah3ro, AlexZhao, Cuong Le, Danlie, superfun-dev-admin, Mark Sagang, kiytech and fittercleric60
Activity
andylizf commentedon Sep 26, 2025
That's a good point. I've always found the session list confusing because it only shows the first message, which doesn't always reflect what the session is actually about. To address this, I implemented a tool to quickly glance at both the first and last messages for better context. https://github.com/andylizf/codexer
zippoxer commentedon Oct 5, 2025
I made a PR for this :)
#4741
[-]Feature Proposal: Named Sessions for --resume (list, filter, and human-friendly aliases)[/-][+]Named sessions for --resume[/+]m-ar-c commentedon Jan 5, 2026
From the PR :
Until this issue get enough upvote and zippoxer's PR get merged by openai, we can directly and manually look for the title to modify in the
~/.codex/sessions/YYY/MM/DD/*.jsonlfiles, as a workaround.f-gueguen commentedon Jan 8, 2026
If that helps, a small TUI to handle rename / tags / archive: https://github.com/lucent-lab/codex-session-manager
It comes with no warranty
edit: more simply use this npm https://www.npmjs.com/package/codex-session-manager
etraut-openai commentedon Feb 4, 2026
This feature is now implemented. In the CLI, you can use the
/renameslash command, and the name will appear in the resume list.The Codex app also supports a "Rename thread" option (either right click on the thread or double click it).
nguyenbs commentedon Feb 24, 2026
+1