You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Todo-list panel stays stuck at "0 tasks / 7 done" after interrupting a session #42024
After interrupting a session while I had an active todo list (7 planned tasks) and then resuming that same session later, the todo-list panel in the TUI remains displayed in a frozen state : it keeps showing "0 tasks out of 7 done" and never recovers or clears itself.
When a session is interrupted (user stops the agent mid-execution) and resumed, any incomplete todo list should either be clearly closed out, marked as abandoned, or hidden — not linger indefinitely as a stale "0/7 done" panel on every startup of that session.
Plugins
No response
OpenCode version
1.17.16
Steps to reproduce
Start a task that creates a todo list (e.g. 7 planned tasks).
Interrupt the run before any task completes.
Exit and later resume the same session.
Observe the todo-list panel showing the old unfinished list (stuck at 0/7 done).
任务todo异常 #39813: Todo tasks not being marked complete and continuing to show as incomplete — similar behavior of stale todo display persisting across interactions
If your issue is distinct from these (e.g. specifically triggered by session interrupt + resume), please note that in the issue so it can be tracked separately.
Activity
github-actions commentedon Aug 12, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is distinct from these (e.g. specifically triggered by session interrupt + resume), please note that in the issue so it can be tracked separately.
thdxr commentedon Oct 11, 2026
Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (
opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊