[Bug]: Claude subagent rows show a raw `<tools-used-before-summary>` tag before the summary
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 72/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
Línea de trabajo
Empieza en claudeSubagentResultText en apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.ts, donde el texto del resultado de la herramienta se copia en el result del subagente, y en plainDetail en apps/web/src/components/chat/V2LifecycleRow.tsx, que une las líneas. La prueba del adaptador que envía un resultado de subagente en primer plano que comienza con <tools-used-before-summary> muestra la aserción que falla. Está terminado cuando esa prueba pasa y la línea de etiqueta inicial no se muestra en el resumen de la fila, mientras que los resultados sin la etiqueta siguen sin cambios.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area: apps/server
Steps to reproduce
- Use the Claude provider with Claude Code CLI 2.1.316.
- Ask Claude to hand a small job to a subagent, for example: "Use a subagent to list the functions in
math.tswith their line numbers." - Wait for the subagent to finish and look at its row in the thread.
Expected behavior
The settled subagent row shows the subagent's summary:
add (line 1) mean (line 6)
Actual behavior
The row shows Claude Code's internal markup in front of the summary:
<tools-used-before-summary>Read</tools-used-before-summary> add (line 1) mean (line 6)
The subagent's work and the parent agent's answer are correct; only the shown summary is wrong.
Cause: Claude Code 2.1.316 opens a foreground Agent tool result with a <tools-used-before-summary>…</tools-used-before-summary> line. It is a note for the parent model naming the tools the subagent called. claudeSubagentResultText in apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.ts copies the tool result text into the subagent's result as is. The row's plainDetail in apps/web/src/components/chat/V2LifecycleRow.tsx joins the lines but leaves the tag, which gives the text above. Nothing in the repo handles the tag today (git grep tools-used-before-summary finds nothing).
The CLI does not add the line to every result: its own schema describes it as the tools the subagent called that the conversation's requests did not yet name. So some subagent rows look fine and others don't.
Impact
Cosmetic issue
Version or commit
main @ cefb544af3
Environment
macOS (Darwin 25.6.0), Claude Code CLI 2.1.316 through the Claude Agent SDK.
Logs or stack traces
An adapter test that sends a foreground subagent result opening with the line fails on main:
AssertionError: expected '<tools-used-before-summary>Read, Grep…' to equal 'add (line 1)\nmean (line 6)'
- Expected
+ Received
+ <tools-used-before-summary>Read, Grep</tools-used-before-summary>
add (line 1)
mean (line 6)
Workaround
None found.
Note for whoever files this: the row text above was seen in a downstream build that shares this adapter and row code, not in a T3 Code build. On T3 main the defect is shown by the adapter test only.
- Lenguaje dominante
- TypeScript
- Estrellas
- 24.8k
- Forks
- 6.4k
- Merge medio
- 13 h 48 min
- PR fusionados (30 d)
- 208
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
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 pingdotgg/t3code
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día
-
needs more info
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
pingdotgg/t3code#30685 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
pingdotgg/t3code#30228 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
[Bug]: ACP sign-in replaces the agent's error message with a generic onePosiblemente ocupada @iScabrous la tomó hace 1 día. Abiertobug needs-triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
pingdotgg/t3code#30205 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de pingdotgg/t3code
Issues similares
-
[fullsend] E2E: scorecard — filecheck GitLab entity metrics unavailable due to initialDelay timingAbiertoe2e-failure ready-to-code
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
redhat-developer/rhdh-plugin-export-overlays#4698 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
devswha/herdr-web-ui#2884 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
b:minor bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
software-mansion/argent#1771 ·
Los mantenedores suelen responder en 1 día
-
Resources: New palettes of XiamenPosiblemente ocupada @rmt-svc la tomó hoy. Abiertoresources
Dificultad 1/5 1-3 horas Aptitud para principiantes 74/100
railmapgen/rmg-palette#2491 ·
Los mantenedores suelen responder en 4 días