# NousResearch/hermes-agent · isolate gateway completion tests from real config

## Open now

- Nothing open on GitHub.

These issues and PRs address tui_gateway completion tests that read the developer's real config.yaml, causing failures on pristine checkouts. The work involves patching or isolating the tests so they do not depend on local environment state.

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

- #70041: test-safety: tui_gateway completion tests read the developer's real config.yaml (terminal.cwd) and fail on a pristine checkout

## Prior & competing PRs

- **#74517: test: land the test-stability backlog — 12 PRs salvaged, Windows hermeticity, fail-closed guards, event-based waits**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `.github/workflows/tests.yml`, `contributors/emails/[redacted:email]`, `contributors/emails/[redacted:email]`, `contributors/emails/[redacted:email]`, `contributors/emails/[redacted:email]`, `gateway/restart.py`, `gateway/slash_commands.py`, `hermes_cli/web_server.py`, `hermes_state.py`, `plugins/memory/honcho/session.py`, `scripts/run_tests.sh`, `tests/agent/test_anthropic_keychain.py`, `tests/agent/test_copilot_acp_client.py`, `tests/agent/test_vision_routing_31179.py`, `tests/conftest.py`, `tests/cron/test_sessiondb_init_hang.py`, `tests/gateway/test_approve_deny_commands.py`, `tests/gateway/test_complete_path_at_filter.py`, `tests/gateway/test_restart_drain.py`, `tests/gateway/test_restart_service_detection.py` (+13 more)
- **#65258: test(gateway): isolate complete.path tests from real terminal.cwd config**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#70041`, `#65334`
- **#70117: fix(tests): isolate tui_gateway completion tests from the real config.yaml**. closed without merge
  - maintainer direction: category `stale_abandoned`; implication `active`; refs `#70041`, `#68988`
- **#70148: fix(test): patch _launch_configured_cwd in completion tests for hermeticity (#70041)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `24ca9427b0`, `#74517`

## Fix status

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