Repository navigation
Closed
Labels
androidPrimary Android workenhancementNew feature or requestiosPrimary iOS workpriority: lowOptional follow-upready-for-agentReady for an agentsharedShared or cross-platform implementationtodoPlanned scope with no implementation started
Description
When a revert is staged in the open session, Session Chat should hide the reverted turns live, and bring them back if the revert is cleared, without a leave/re-enter.
Parent
OPE-184 — Show remaining TUI v2 live events in Session Chat
Current state (2026-10-11)
- Done: a committed revert truncates the open timeline on both platforms. The reverted message and everything after it are dropped, with a server reload when the revert point isn't loaded (Fix blocking and major v2 issues found by the simulation test run #337; iOS
MessageSync.swift, AndroidMessageSync.kt, covered byV2LiveTurnTimelineTest). - Missing: a staged revert (v2
session.revert.staged/session.revert.cleared, v1revertonsession.updated) doesn't affect the timeline. The turns stay visible after staging. The revert point only drives commands and the composer chip (SessionChatCommands), and is re-read from the server only after this device's own revert. - Upstream web hides messages at or after the staged revert point (
packages/app/src/session/timeline/controller-projection.ts).
What to build
While Session Chat is open, a staged revert, including one started from another client, hides the turns from the revert point onward. Clearing the revert shows them again. Committing it keeps today's truncate. Reconnect still reseeds from REST. Both protocols, both platforms.
Acceptance criteria
- A staged revert (v1 and v2) hides the matching turn and everything after it in the open Session Chat
- A revert staged from another client is reflected live
- Clearing the revert shows the hidden turns again
- Messages before the revert point stay visible
- Committed-revert truncation keeps working as today
- Reconnect still reseeds from REST
- iOS and Android stay in parity
Blocked by
None — can start immediately.
Imported from Linear OPE-189. Linear status: Todo. Priority: Low. Created 2026-08-18.
Parent: OPE-184.
Related: OPE-211.
Metadata
Metadata
Assignees
Labels
androidPrimary Android workenhancementNew feature or requestiosPrimary iOS workpriority: lowOptional follow-upready-for-agentReady for an agentsharedShared or cross-platform implementationtodoPlanned scope with no implementation started
Activity
Fix app gaps the scenario harness reproduced (#715)