anomalyco / anomalyco/opencode
Todo-list panel stays stuck at "0 tasks / 7 done" after interrupting a session
@kommander is already working on this.
Since Aug 12, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
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).
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.