# NousResearch/hermes-agent · Fix missing import causing NameError in compression config

## Open now

- Nothing open on GitHub.

Multiple fixes and a bug report address a NameError caused by is_truthy_value not being imported in TUI compression-related modules. The changes add the missing import at the module level in session_compression and live compression config apply code.

## TL;DR

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

- #115572: Bug: NameError in _apply_live_compression_config — is_truthy_value undefined (live config apply crashes for all engines)

## Prior & competing PRs

- **#116736: fix(tui_gateway): live compression config applies without NameError on is_truthy_value (#115572, salvage #115575)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `tests/tui_gateway/test_compression_config_hot_reload.py`, `tui_gateway/session_compression.py`
- **#115575: fix(tui): import is_truthy_value in live compression config apply**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `25e7a99af30e`, `#116736`, `#115572`, `#115575`
- **#115581: fix(tui): import is_truthy_value in session_compression**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `25e7a99af30e`, `#116736`, `#115572`, `#115575`
- **#115595: fix(tui): import is_truthy_value at module level in session_compression**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `25e7a99af30e`, `#116736`, `#115572`, `#115575`

## Fix status

- Merged to main in PR #116736 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-20`.
