CommandCodeAI / CommandCodeAI/desktop

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

未关闭
#15 2 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@aliarain 已经在做这个了。

开始于 2026年8月6日。

bug
主要语言
Shell
星标
80
派生
2
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。