Skip to content

OPE-211: Wire Revert message to session revert #495

Closed

Description

@ivanfenenko

Tapping Revert message in the Session Chat message sheet should revert the session from that user turn, the same way /undo already does.

Reported on iOS. The sheet shows Revert message + Copy message, but Revert only copies the bubble text back into the composer (onRestoreToComposer) and dismisses. It never calls revertSession. During a busy turn that restore is easy to miss, so the control looks dead.

Real revert already exists on /undo in SessionChatCommands (abort if busy, revertSession, restore text, refresh revert state). The message-sheet action should use that path for the tapped user message, not only the latest one.

Remaining:

  • Revert message on a user bubble reverts the session from that message (abort if busy, then revertSession)
  • Composer gets the reverted prompt text so the user can edit and resend
  • Copy message stays a clipboard-only action
  • iOS and Android stay in parity

Live timeline truncation after revert is OPE-189.

Docs: docs/features/session-chat/plan.md


Imported from Linear OPE-211. Linear status: Done. Priority: Medium. Created 2026-08-25. Completed 2026-08-28.
Related: OPE-33, OPE-189.

Activity

  1. self-assigned this
    on Oct 11, 2026
  2. added
    bug
    ios
    android
    shared
    priority: medium
    ready-for-agent
    on Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

androidbugiospriority: mediumready-for-agentshared

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions