/undo it does not roll back any file system operations #7919

Open
opened 2026-02-16 18:08:39 -05:00 by yindo · 2 comments
Owner

Originally created by @2025wjt on GitHub (Jan 29, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Currently, the /undo command successfully reverts the conversation state to the previous turn. However, it does not roll back any file system operations (file creations, edits, or deletions) performed by the AI during that undone turn.

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @2025wjt on GitHub (Jan 29, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description Currently, the /undo command successfully reverts the conversation state to the previous turn. However, it does not roll back any file system operations (file creations, edits, or deletions) performed by the AI during that undone turn. ### Plugins _No response_ ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bug label 2026-02-16 18:08:39 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 29, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #8098: i input /undo just undo conversation,not file
  • #4704: /undo and /timeline undo does not revert file edits
  • #5474: /undo command only rolls back AI conversation message, not the associated file changes

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 29, 2026): This issue might be a duplicate of existing issues. Please check: - #8098: i input /undo just undo conversation,not file - #4704: /undo and /timeline undo does not revert file edits - #5474: `/undo` command only rolls back AI conversation message, not the associated file changes Feel free to ignore if none of these address your specific case.
Author
Owner

@arshadbarves commented on GitHub (Jan 31, 2026):

did the project has version control?

@arshadbarves commented on GitHub (Jan 31, 2026): did the project has version control?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7919