Skip to content

feat: add save and fork capabilities - #6993

Closed
jif-oai wants to merge 18 commits into
mainfrom
jif/fork-save
Closed

jif-oai wants to merge 18 commits into
mainfrom
jif/fork-save

Conversation

@jif-oai

@jif-oai jif-oai commented Nov 20, 2025

Copy link
Copy Markdown
Contributor

When you are in a session you can now run. If the name already exists, we simply override the name assignment (we do not touch the former session content)

/save hello_world

This will save the session with a human readable name. You can use this name to resume (as previously):

codex resume hello_world

Or to fork it. A fork will create a clone of the entire session at the time when the fork happen. The typical use case is for example asking the model "Explore codex-core". Save it as "core" and then fork from it for the different tasks for the day.

codex fork hello_world

A fork is just a new session so it supports everything as expected (e.g. you can save a fork into a new name if you want)

Another use-case is just to make it easier to pause a task and come back to it later. No need to remember the session ID

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread codex-rs/core/src/saved_sessions.rs Resolved
# Conflicts:
#	codex-rs/app-server/tests/common/rollout.rs
#	codex-rs/core/src/codex.rs
#	codex-rs/core/src/conversation_manager.rs
#	codex-rs/core/src/rollout/tests.rs
#	codex-rs/mcp-server/src/codex_tool_runner.rs
@github-actions

Copy link
Copy Markdown
Contributor

Closing this pull request because it has had no updates for more than 14 days. If you plan to continue working on it, feel free to reopen or open a new PR.

@github-actions github-actions Bot closed this Dec 18, 2025
@hannasm

hannasm commented Jan 10, 2026

Copy link
Copy Markdown

I was just wishing for this feature. From VSCode i would like to be able to retroactively go back and fork the conversation from somewhere earlier than just the current spot, though being able to save something to disk / hand edit a file / and resume from the new state would also be helpful. It may be difficult to know exactly where you want to fork until you've already passed that point and experimented with it a bit though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants