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

Đang mở
#8,764 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
52/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
backend, frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
TypeScript
Star
16.9k
Fork
1.3k
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
814

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của lidge-jun/opencodex

Tất cả issue của lidge-jun/opencodex

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.