Fix compression threshold ceiling for large-context models
Cluster 83450 · agent. Data as of
Nothing open on GitHub. Fix merged in #115986 on 19 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 #115986. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #115986. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items address a bug where compression thresholds had no upper ceiling, causing large-context models (e.g. 1M-token windows) to defer compaction until 500K tokens, with proposed fixes capping the default at 256K. The cost and billing implications of delayed compaction are also noted.
Open issues0
Open PRs0
Fixes on record
-
#115986 fix(compression): large-context models compact at 256K by default instead of half the window (#83450, salvage #83523)
files:
agent/agent_init.py,agent/context_compressor.py,cli-config.yaml.example,hermes_cli/config_defaults.py,hermes_cli/context_switch_guard.py,tests/agent/test_context_compressor.py,tests/hermes_cli/test_context_switch_guard.py,tools/delegate_tool.py,website/docs/developer-guide/context-compression-and-caching.md,website/docs/user-guide/configuration.md,website/docs/user-guide/features/delegation.md
1 PR closed without merging
From the close comments: merged via another change 1
-
#83523 fix(compression): stop 1M-context sessions from deferring compaction to 500K · merged via another change →
#115986
Closed issues · 1
- Closed#83450[Bug]: `compression.threshold` has a token floor but no ceiling: on 1M-context models compaction first fires at 500K and long sessions bill quadratically
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
0.67: 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
- Subsystem
- agent
- Merged PRs
- #115986
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 19 Sep 2026