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

Aperta
#8,764 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
52/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
backend, frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
TypeScript
Stelle
16.9k
Fork
1.3k
Merge medio
1g 4h
PR unite (30g)
814

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di lidge-jun/opencodex

Tutte le issue di lidge-jun/opencodex

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.