Trailing mojibakes + internal turn artifacts in Codex agent reply
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
Lee CodexAdapterV2.ts alrededor de las líneas 5280–5284 y rastrea cómo llega item.text al renderizador de escritorio. Comprueba el tratamiento existente de t3-citation:// y las directivas de Codex; después, busca las pruebas pertinentes del proveedor o del renderizado. El trabajo está terminado cuando los marcadores nativos de Codex citeturn/view y los tokens 【turnXviewY】 ya no aparezcan en las respuestas visibles para el usuario y el texto significativo permanezca intacto.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happened
Trailing Private-Use-Area (PUA) glyphs and internal Codex turn-view artifacts leak into the user-visible chat text on the desktop app after Codex agent sessions. The rendered text shows markers such as:
citeturn918416view0turn291398view2
These artifacts appear sometimes in regular chat with a Codex-backed agent, always trailing the meaningful text, and are made up of internal provider identifiers that should have been stripped before display.
Diagnosis
Source: The markers originate from the Codex app-server provider, not T3 Code's own citation system. They come from two sources within the Codex protocol:
(1) item/completed agent message events wrapped in PUA sentinels containing tokens citeturn<N>view<V> (e.g., citeturn918416view0, turn291398view2). These appear in provider event logs like events.mcp-launch-cf7cfe43c61cf9092fe657358db496313e10d4c34dc67362ea4548885879ea41.log:4014.
(2) MCP tool-call result text — e.g., 【turn141338view0】 from web/browse tool outputs. These appear in logs like events.mcp-launch-561cae086a4946b04164cb05a82358c59c50dba226fd45362a693a6812d8b126.log:1002.
Why they leak: In CodexAdapterV2.ts:5280-5284, the server passes Codex's raw item.text straight through with no stripping of provider-internal markers. The client-side renderer only handles T3 Code's own t3-citation:// citations and Codex codex-file-citation / artifact-template / codex-followup directives. It does not strip Codex's native citeturn/view or 【turnXviewY】 syntax, so they render verbatim.
Steps to reproduce
- Start a Codex agent session on the desktop app (local server connection)
- Chat with the agent for any length of time
- Observe agent replies — trailing garbled PUA glyphs and
citerviewview/【turnXviewY】tokens appear appended to or embedded in the message text - No deterministic trigger — happens intermittently, but consistently in Codex sessions
Version
T3 Code nightly v0.1.8-nightly.20261109.4399
Environment
OS: Windows 11 Pro, Node v24.22.1, triage CLI version 0.1.8-nightly.20261109.4399, server process running at http://127.0.0.1:3773, connecting the desktop app to a local server
Evidence
- `events.mcp-launch-cf7cfe43c61cf9092fe657358db496313e10d4c34dc67362ea4548885879ea41.log:4014` — `turn918416view0`, `turn291398view2`, `turn564001view0`, `turn345183view4` all in one `item/completed` agent message event
- `events.mcp-launch-561cae086a4946b04164cb05a82358c59c50dba226fd45362a693a6812d8b126.log:1002` — `turn974882search0`, `turn141338view0` from MCP search tool results
- `events.f92e11fb-7e1a-47eb-abce-f636c7dc0f7d.log:2940` — `turn275451search1` from another Codex session
Related issues
No response
Fix applied or workaround
None known — this is a rendering bug in the client's text pipeline where Codex provider-internal markers are not filtered before display.
Filed by
claude (sonnet-5) via t3 triage
- Lenguaje dominante
- TypeScript
- Estrellas
- 24.8k
- Forks
- 6.4k
- Merge medio
- 13 h 9 min
- PR fusionados (30 d)
- 187
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
-
[Bug]: t3 connect status reports "Exposure: enabled" for publish-only links without a tunnelAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
via-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
via-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día
-
[Bug]: Shows "Open in Zed" when the ZFS Event Daemon is installed asPosiblemente ocupada @danjdewhurst la tomó hace 1 día. Abiertobug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
[Bug]: A child run started with `t3 thread send` from a shell never notifies the parentPosiblemente ocupada @juliusmarminge la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
Todos los issues de pingdotgg/t3code
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
awslabs/visual-asset-management-system#1278 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
mifi/lossless-cut#3213 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 83/100
plasma-umass/scalene#1123 ·
Los mantenedores suelen responder en 1 día
-
Bug: Cloudflare Pages static _redirects identity rule causes RSC Flight to reload as HTMLPosiblemente ocupada @Donvero la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Mantitup-Org/vista#210 ·