Skip to content

Todo list is not persisted when conversation is stopped or interrupted #15096

Closed

Description

@cowboycodr

Description

The todo list (managed via the TodoWrite tool) is lost when a conversation is stopped or interrupted mid-session. On the web interface, the todo list remains visually present after interruption, but the agent no longer updates or reads it when the conversation resumes — the state is effectively stale/detached.

This is related to but distinct from #5934 (todo list lost after compaction) — the trigger here is a hard stop/interrupt rather than a compaction event.

Expected behavior:
The todo list persists across session interruptions and is restored/readable by the agent when the conversation resumes.

Actual behavior:
On the web UI, the todo list is still visible after interruption but is no longer read or updated by the agent — it becomes a stale display artifact with no functional backing state.

OpenCode version

No response

Steps to reproduce

  1. Start a conversation on the web interface and have the agent create a multi-step todo list
  2. Interrupt or stop the conversation before it completes
  3. Resume the session
  4. Observe that while the todo list may still be visible in the UI, the agent no longer reads or updates it

Screenshot and/or share link

No response

Operating System

Web

Terminal

No response

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Feb 25, 2026
  2. github-actions commented on Feb 25, 2026

    @github-actions
    Contributor

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

    If these are indeed distinct bugs, it may help to clarify in your issue whether you've confirmed the fix for #5934 doesn't also address this case.

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

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions