Skip to content

App: message editing #11086

Open
Open

Description

@danthegoodman1

What variant of Codex are you using?

Version 260206.1448 (565)

What feature would you like to see?

Should be able to go back and edit messages in a conversation, supporting undoing of proceeding edits, like Cursor.

Additional information

No response

Activity

  1. added
    enhancement
    on Feb 8, 2026
  2. added
    app
    on Feb 8, 2026
  3. marked Add rewind feature #11742 as a duplicate of this issue on Feb 13, 2026
  4. toptechie156 commented on Feb 13, 2026

    @toptechie156

    message editing/rewinding seems to be really important for context management, undoing, traversing on different tangents and then coming back.

    For a workaround I sometimes use the Fork feature which is recently launched in the codex app but it's still not the same.

    This seems to be the only reason I have some of my complex sessions in non codex app agents anymore other than this codex app is my default agent of choice for all my work

  5. fullofcaffeine commented on Feb 17, 2026

    @fullofcaffeine

    I can't believe message editing hasn't been implemented in the app. Such a basic feature. Going back to the CLI for now.

  6. webcrafter011 commented on Feb 19, 2026

    @webcrafter011

    I can't believe message editing hasn't been implemented in the app. Such a basic feature. Going back to the CLI for now.

    how do you do that in the cli even

  7. gpdir16 commented on Feb 20, 2026

    @gpdir16

    I can't believe message editing hasn't been implemented in the app. Such a basic feature. Going back to the CLI for now.

    how do you do that in the cli even

    Press Esc twice, and on the screen that appears, you can use the left and right arrow keys to select a message, then press Enter to edit it.

  8. jmpaz commented on Mar 4, 2026

    @jmpaz

    message editing/rewinding seems to be really important for context management, undoing, traversing on different tangents and then coming back.

    For a workaround I sometimes use the Fork feature which is recently launched in the codex app but it's still not the same.

    Agreed! I've left a couple of relevant comments on #2948 (comment); see also #12450, as well as some discussion on Xwitter re: Pi's /tree.

  9. mykola-mmm commented on Mar 10, 2026

    @mykola-mmm

    hi, the openai codex really lacks this feature, no editing - more actions to repeat to get to the desired statue. imho this is must have, cc has this for long time

  10. JaredReabow commented on Mar 16, 2026

    @JaredReabow

    agreed, how is this not a thing???
    at a bare minimum it shoudl support the same features as built in copilot

  11. mararn1618 commented on Apr 28, 2026

    @mararn1618

    Need rewind.

  12. bgmulinari commented on Apr 29, 2026

    @bgmulinari

    Yep, I also need this so bad. It sucks having to waste tokens and context just to tell Codex to undo stuff.

  13. sldx commented on May 12, 2026

    @sldx

    C'mon guys, this is Claude Code all over again 🤦‍♂️

    Just add an edit button, forking is just not cutting it, it's slow and annoying and pollutes the chat list. It's a single conversation, I don't need multiple.

  14. zzy-life commented on Jun 30, 2026

    @zzy-life

    Why don't the product managers at Codex try copying the features from Claude Code? Please prioritize this request; the "rewind" command is crucial. Since switching from Claude Code to Codex, I have to commit to Git after every single conversation, which is a huge hassle.

  15. chiyanking commented on Aug 12, 2026

    @chiyanking

    Why don't the product managers at Codex try copying the features from Claude Code? Please prioritize this request; the "rewind" command is crucial.

  16. avi-shatz-datadog commented on Sep 2, 2026

    @avi-shatz-datadog

    Currently Codex only allow editing the last message, but we need to able to 'go back in time' and edit any message in the chat history. Forking doesn't help since a fork copy the entire conversation and doesn't allow you to go back to previous messages.

  17. sldx commented on Sep 30, 2026

    @sldx

    Thank god for Opus 5.5, now I can edit/fork any comment (in CC).
    Highly recommended

  18. bellowsai commented on Oct 17, 2026

    @bellowsai

    Disclosure: I'm Rob, and I built this.

    For anyone who needs this now: Bellows, a desktop app for Windows, macOS and Linux that runs Codex (alongside Claude, Gemini CLI, Qwen Code and any ACP agent), lets you edit any message you sent, not just the last one.

    Choose Edit on an earlier message, rewrite it, and choose Run as a new branch. Bellows puts the project's files back to how they were when that message was sent, starts a new Codex session from the conversation before it, and runs your edited version. The original session stays exactly as it was, so you can compare the two and keep the better one.

    For the "commit to git after every conversation" problem mentioned above: Rewind files here on any message restores every file Codex changed since, including what its shell commands did. No commit needed.

    How it works: https://bellowsai.app/guides/edit-and-rerun-a-coding-agent-message?utm_source=github&utm_medium=reply

    Give it a try and tell me what would make it better. We act fast on feedback.

  19. antoniointini commented on Oct 29, 2026

    @antoniointini

    Please add a “Rewind to here” action directly to previous messages in Codex Desktop, including Windows. The key need is to resume from a chosen point without later messages influencing the conversation. Please distinguish conversation-only rewind from restoring file changes, making the scope clear before applying it. This should be discoverable in the Desktop UI, without requiring CLI commands.

  20. balabommablock-cpu commented on Nov 6, 2026

    @balabommablock-cpu

    The thread mixes three different products under "message editing":

    Ask What it changes Already exists?
    Edit the last user message and resend Chat only CLI: Esc Esc. App: last message only (avi-shatz).
    Rewind to any earlier message and continue from there Chat (later turns dropped) Related: #11626 /rewind. Fork exists but copies the whole thread.
    Rewind and restore files to that point Chat + working tree Hardest; needs a clear promise before it runs.

    antoniointini's note is the right split: conversation-only vs file restore must be obvious before anything happens.

    Smallest Desktop version that matches what people reach for first:

    1. Edit last message in the app the same way the CLI already does (no new branch, no fork in the sidebar).
    2. A "Rewind to here" on earlier messages that drops later turns in this thread only, with a one-line confirm: "Chat only — files stay as they are."
    3. File restore as a second, named action later (or reuse whatever CLI: Add /rewind checkpoint restore that reverts both chat context and Codex-applied code edits #11626 lands), never as the silent default.

    Fork can stay for "I want a parallel branch." It shouldn't be the only way to fix a typo two turns ago.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    appenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions