# NousResearch/hermes-agent · TUI/gateway fixes and compression config updates

## Open now

- Nothing open on GitHub.

These items address bugs and fixes in TUI/Desktop session handling of live compression config changes, compaction verbatim defaults, and gateway behavior, alongside a cluster of backend/gateway salvage fixes. The themes are adjacent but span multiple distinct areas.

## TL;DR

- 5 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 3 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #95980. Verify it addresses your case.
- **Recommended:** read PR #95980 (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-95980`. 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.40`: 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

- #95151: \[Bug\]: Desktop/TUI sessions ignore live compression config changes and retain stale thresholds

## Prior & competing PRs

- **#91043: fix(tui_gateway): ask before queueing a guarded model picked mid-turn**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `tests/tui_gateway/test_deferred_model_switch_confirm.py`, `tui_gateway/server.py`
- **#95571: feat(compression): compaction keeps 10-25K verbatim by default — the 170K legacy tail hoard is now opt-in**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/agent_init.py`, `agent/context_compressor.py`, `gateway/run.py`, `hermes_cli/config_defaults.py`, `tests/agent/test_compression_small_ctx_threshold_floor.py`, `tests/agent/test_context_compressor.py`, `tests/agent/test_context_compressor_summary_continuity.py`, `tests/run_agent/test_compression_persistence.py`, `website/docs/developer-guide/context-compression-and-caching.md`, `website/docs/user-guide/configuration.md`
- **#95980: fix: final salvage wave — backend/gateway cluster (#95164 #95173 #95328 #95601 #95237)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/context_compressor.py`, `apps/desktop/electron/main.ts`, `apps/desktop/electron/pool-eviction.test.ts`, `contributors/emails/[redacted:email]`, `hermes_cli/main.py`, `hermes_cli/update_cmd.py`, `hermes_cli/web_routers/profiles.py`, `hermes_cli/web_routers/tools.py`, `hermes_cli/web_server.py`, `tests/agent/test_compaction_ops_notification_anchor.py`, `tests/hermes_cli/test_update_fleet_restart_pending.py`, `tests/hermes_cli/test_web_server_executor_isolation.py`, `tests/tui_gateway/test_compression_config_hot_reload.py`, `tui_gateway/server.py`
- **#95164: fix(tui): adopt live compression config on the next Desktop/TUI turn**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `00988f3b8`, `#95980`, `#95151`, `#95571`, `#91043`

## Fix status

- Merged to main in PR #95980 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-27`.
- Subsystem: `gateway`
