Add fork ability before starting session

Resolved 💬 4 comments Opened Mar 19, 2026 by saulrichardson Closed May 2, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What variant of Codex are you using?

codex cli/codex app

What feature would you like to see?

Add ability to fork from the get go rather than open up the previous session and then fork, i.e., codex fork "asdf"

Additional information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 5 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • ##15137
  • #/fork workflow overlap: both request improving how/when fork can be triggered without awkward session-state constraints.
  • ##14520
  • #Also about /fork UX behavior (though focused on windowing), indicating prior demand for fork-flow improvements.

Powered by Codex Action

etraut-openai contributor · 5 months ago

Can you clarify the behavior you'd like to see? I'm having a hard time understanding what you mean by "Add ability to fork get the get go".

saulrichardson · 5 months ago

It would be nice if instead of doing

codex resume "session id"
/fork

i could just save the session id from a running session and then open a new terminal and do

codex fork "session id"

etraut-openai contributor · 3 months ago

This feature request hasn't received enough upvotes, so I'm closing it.