[Bug]: Desktop TODOS panel ignores todo_write calls made inside codemode
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Área
- desktop
Línea de trabajo
Start by tracing how createCodemodeTool runs nested tools and emits events, then inspect the activeTodos logic in workspace-screen-C6Kunc9Q.js and the ACP sessionUpdate: "plan" translator. Reproduce with the todos mod enabled and codemode set to tools. Done means nested todo_write updates appear in the transcript and the tray reflects completion, including hiding when all items are complete.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
GUI version
0.1.60
Operating system
Windows
Reproduction steps
- Enable the todos mod and set codemode to tools (/config or config.json).
- Start a multi-step task so the agent creates a todo list (todo_write).
- Let the agent finish the work; it will complete the list using await tools.todo_write(...) inside a codemode script, because todo_write is read-only and therefore script-first in this mode.
- Watch the TODOS tray above the composer, and reopen the thread afterwards.
Expected behavior
The TODOS tray and the transcript TODO card reflect the latest statuses from the nested update (all items checked off, tray hides once everything is completed).
Actual behavior
- The tray and TODO card keep showing the original list indefinitely (e.g. 0/8, first item in_progress, rest pending), even though the agent's codemode call marked every item completed and the harness session state is correct.
- The nested update is visible only as a generic codemode output line (✓ todo_write …); no new TODO tool row or status change is rendered.
Screenshots, recordings, or sanitized logs
Root cause: createCodemodeTool executes nested tools with runner.execute({ ..., nested: true }) and emits no tool_queued/tool_completed events. The desktop computes activeTodos only from top-level thread items whose tool name starts with todo (IJ/Bx/LJ in workspace-screen-C6Kunc9Q.js), so nested todo_write updates are invisible. The ACP sessionUpdate: "plan" translator has the same top-level-only gap.
Safety check
- I removed credentials and private project information from this report.
- Lenguaje dominante
- Shell
- Estrellas
- 110
- Forks
- 9
- Merge medio
- 12 min
- PR fusionados (30 d)
- 1
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de CommandCodeAI/desktop
-
[Bug]: v0.1.61 fails to initialize preload script due to system memory information error on LinuxAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
CommandCodeAI/desktop#167 ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 56/100
CommandCodeAI/desktop#166 ·
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
CommandCodeAI/desktop#164 ·
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
CommandCodeAI/desktop#163 · 1 reacción ·
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
CommandCodeAI/desktop#162 ·
Todos los issues de CommandCodeAI/desktop
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
S3: friction & debt ws:testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
MedakaLang/medaka#5184 ·
Los mantenedores suelen responder en 1 día
-
Link Checker ReportAbiertoautomated issue report
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
a2aproject/A2A#2445 ·
Los mantenedores suelen responder en 2 días
-
Blacklist | solotogelbisa.comAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 70/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
MadiroGlobalHealth/UVL-EMR#580 ·
Los mantenedores suelen responder en 1 día