CommandCodeAI / CommandCodeAI/desktop

[Bug]: Stale completed todos persist in session panel after todo_write([]) — no recovery even after restart

Aperta
#15 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@aliarain ci sta già lavorando.

Dal 6/8/2026.

bug
Lingua principale
Shell
Stelle
80
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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:

  1. Create 2-3 todo items via todo_write during a session
  2. Mark each as "status": "completed" as you finish them
  3. Notice completed items remain in the panel (expected behavior — they should show as done)
  4. Call todo_write with {"todos": []} to clear the list
  5. Observe the session TODO panel still shows the completed items
  6. 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
Image
Safety check
  • I removed credentials and private project information from this report.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.