Token threshold locking out session reclamation logic
Cluster 101889. Data as of
Nothing open on GitHub. Fix merged in #101922 on 3 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #101922. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #101922. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items concern a bug where sessions exceeding a token threshold have no reclamation path triggered, allowing context to grow unchecked until model quality degrades. The accompanying fixes address a locking condition in the pruning/rearm logic that blocks over-threshold sessions from being compressed or reclaimed.
Open issues0
Open PRs0
Fixes on record
-
#101922 fix(compression): do not let prune rearm lock out over-threshold sessions (salvage of #101894)
files:
agent/context_compressor.py,agent/conversation_loop.py,tests/agent/test_proactive_prune_rearm_threshold.py,tests/agent/test_proactive_tool_result_pruning.py,tests/run_agent/test_proactive_prune_loop_wiring.py
1 PR closed without merging
From the close comments: merged via another change 1
-
#101894 fix(compression): do not let prune rearm lock out over-threshold sessions · merged via another change →
#101922
Closed issues · 1
- Closed#101889[Bug]: No reclamation path fires while above threshold_tokens — session rides 560K/1M until the model degenerates into a repetition loop
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
1.00: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Merged PRs
- #101922
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 3 Sep 2026