Reloadable auto_compact_threshold
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2
- Forks
- 0
- Avg merge
- 1h
- Merged PRs (30d)
- 17
Description
What it does
Lets the /plugin dialog's Reload pick up a changed auto_compact_threshold without a restart, with the context meter and /context reading the same value.
Source
ganja-code-6ojt (auto_compact_threshold reloadable without a restart).
The bead is closed when this issue is published, with its external reference pointing here (#38).
File and line references in this issue are to main as of 75a7a92.
Against the three criteria
- Direction (README): The README says nothing about compaction or resuming.
- Today's terminal users: The value is read once, when the engine is built (D566). The bead itself calls it low priority: the key is set once per machine in practice.
- Evidence: The D566 review accepted the restart as a known limit; no report asks for more.
Depends on
No other idea. It needs a sixth D474 reload seam (an atomic is enough) and an amendment to RELOAD_SPLIT (crates/ganja-tui/src/app.rs:267) with its pinned test.
Verdict
- Verdict: do
- Size: S — one commit, no plan.
- Exception to the probe rule: no.
- Date: 2026-09-19
- Verdict ticket: #42
Theme: #56
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by inspecting the reload seams and the RELOAD_SPLIT amendment in crates/ganja-tui/src/app.rs:267, then trace where auto_compact_threshold feeds the context meter and /context. Add the sixth reload seam and update its pinned test so the /plugin Reload action uses the changed value without a restart.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 74/100