# NousResearch/hermes-agent · compression threshold cap bugs and fixes

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #117095: fix(agent): keep aux feasibility probe under the threshold_tokens cap

A bug report and related fixes addressing mismatches between the reported compression threshold value and the actual trigger point, including restoring default caps when config keys are absent and keeping auxiliary probes within the threshold limit.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 1 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #117595. Verify it addresses your case.
- **Recommended:** read PR #117595 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-117595`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.50`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #117093: \[Bug\]: compression.threshold_tokens reports 256K but compaction fires at 285K-500K — the cap is not what the trigger uses on a 1M-window model

## Prior & competing PRs

- **#117595: fix(tui-gateway): live compression sync keeps the default 256K threshold cap when config.yaml has no threshold_tokens key (#117093, salvage #117099)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `tests/tui_gateway/test_compression_config_hot_reload.py`, `tui_gateway/session_compression.py`
- **#117095: fix(agent): keep aux feasibility probe under the threshold_tokens cap**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `agent/conversation_compression.py`, `tests/agent/test_compression_aux_threshold_cap.py`
- **#117099: fix(tui-gateway): restore the default threshold cap when the live config key is absent**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `ba43baba41b2`, `#117595`

## Fix status

- Merged to main in PR #117595 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-21`.
- Subsystem: `agent`
