Show the default compaction prompt and allow additional instructions in the Web UI

Abierto
#8,764 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
52/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript
Área
backend, frontend

Línea de trabajo

Start by locating where the proxy appends its built-in remote-compaction prompt, then trace how automatic and manual proxy-generated compaction both reach that point. Find the Web UI compaction settings component and the settings persistence path it uses, so a new optional field can be stored and read back by the proxy. Done means the default prompt is displayed, blank input preserves current behavior, and saved additional instructions are appended for both compaction paths, with tests covering blank and populated values.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement
Area

Dashboard; Proxy and routing

What are you trying to accomplish?

See what OpenCodex asks the model to preserve during compaction, and set standing instructions for details I need when resuming long coding or research sessions.

What prevents this today?

In OpenCodex 2.100.1, the proxy appends a built-in prompt for routed remote compaction. In an ephemeral Codex Desktop test with Claude Fable 5.2, I set Codex's compact_prompt to require a unique first line. Manual compaction completed and the next turn reported the default handoff heading instead. A separate test successfully steered the summary with a chat message before manual compaction, but that workaround can arrive too late if submitting the message itself triggers automatic compaction.

What should OpenCodex do?
  • Show the default prompt in the Web UI's compaction settings wherever OpenCodex supplies it.
  • Add an optional Additional compaction instructions field. Save it and append its contents to the built-in prompt for both automatic and manual proxy-generated compaction.
  • Keep existing behavior when the field is blank. Explain in the UI that the setting applies to summaries OpenCodex generates.
Example usage or interface

Open the compaction settings, read the default prompt, and save: “Preserve exact benchmark values and units, file paths, rejected options and why they were rejected, known pitfalls, and unresolved decisions.” The next automatic or manual proxy-generated summary receives those instructions without needing a message in each chat.

Checks
  • I searched existing issues and documentation.
  • This request describes a concrete OpenCodex workflow.
  • I removed secrets and personal data.
Lenguaje dominante
TypeScript
Estrellas
16.9k
Forks
1.3k
Merge medio
1 d 4 h
PR fusionados (30 d)
814

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

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de lidge-jun/opencodex

Todos los issues de lidge-jun/opencodex

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.