# NousResearch/hermes-agent · Lazy TUI state path resolution and test isolation

## Open now

- Nothing open on GitHub.

These items address a timing problem where the TUI gateway computed its state store path at import time rather than first use, causing test errors when the test sandbox was not yet established. The fixes defer path resolution and isolate the test suite from any live Hermes installation on the developer's machine.

## 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 #113224. Verify it addresses your case.
- **Recommended:** read PR #113224 (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-113224`. 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

- #112692: tui_gateway tests fail locally: server.py pins HERMES_HOME at import time, before the conftest sandbox

## Prior & competing PRs

- **#113224: fix(tui_gateway): launch state.db home resolves at first use and the test harness sandboxes the Windows production root (#112692, salvage #112799)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `tests/conftest.py`, `tests/tui_gateway/test_launch_db_home_override_race.py`, `tui_gateway/server.py`
- **#112698: fix(gateway): resolve TUI state store home lazily**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#102526`
- **#112707: fix(tests): isolate the suite from the operator's live Hermes install**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `c712f06dc`, `#112692`, `#112698`, `#112799`
- **#112799: fix(tui_gateway): resolve the launch state.db path at first use, not import time**. closed without merge
  - maintainer direction: category `volume_quota`; implication `active`; refs `7ee008aa8153635ea2cac32a9754b8ac8aa0adbc`, `30b143cff3cb43dc3cad91286cb1a2042655d211`, `#112692`

## Fix status

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