Show the default compaction prompt and allow additional instructions in the Web UI
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 52/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- TypeScript
- Stars
- 16.9k
- Forks
- 1.3k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 814
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lidge-jun/opencodex
-
bug gui platform
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
lidge-jun/opencodex#9172 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
[Feature]: Include provider, model and account label in the `upstream failure` service.log linePossibly taken @EnesKartal claimed this 4 days ago. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
lidge-jun/opencodex#9057 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
[Provider] antigravity-acp catalog omits gemini-4-hydrogen and gemini-4-neon that agy acp offersPossibly taken @sedoll claimed this 6 days ago. Opencatalog provider provider-compatibility
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
lidge-jun/opencodex#9037 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
bug cli
Difficulty 4/5 3-5 days Newbie friendliness 52/100
lidge-jun/opencodex#9171 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
account-pool enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
Maintainers usually reply within 1 day
All issues in lidge-jun/opencodex
Similar issues
-
triage
Difficulty 1/5 Under an hour Newbie friendliness 64/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
ranxianglei/billion-context#7860 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
agent-oc-find-bugs api complexity → simple payment-methods recurring contributions reviewed stripe
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
opencollective/opencollective#9177 ·