CommandCodeAI / CommandCodeAI/desktop
[Bug]: Stale completed todos persist in session panel after todo_write([]) — no recovery even after restart
@aliarain is already working on this.
Since Aug 6, 2026.
- Dominant language
- Shell
- Stars
- 80
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
GUI version
0.1.7
Operating system
macOS (Apple silicon)
Reproduction steps
Description:
Completed todo items remain permanently visible in the session TODO panel. Calling todo_write({"todos": []}) succeeds at the API level but the GUI panel does not re-render. Restarting the desktop app does not clear them.
Steps to Reproduce:
- Create 2-3 todo items via
todo_writeduring a session - Mark each as
"status": "completed"as you finish them - Notice completed items remain in the panel (expected behavior — they should show as done)
- Call
todo_writewith{"todos": []}to clear the list - Observe the session TODO panel still shows the completed items
- Restart the desktop app — completed todos remain stuck
Want me to format this into the actual GitHub issue submission or do you want to copy it over yourself?
Expected behavior
Expected: Panel clears to empty after todo_write([]).
Actual behavior
Actual: Completed todos permanently stuck until a new session is started.
Notes: This blocks the user from starting a fresh todo list within the same session. The only recovery is starting a completely new chat
Screenshots, recordings, or sanitized logs
Safety check
- I removed credentials and private project information from this report.
Contributor guide
No contributing guide indexed for this repository
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.