# NousResearch/hermes-agent · TUI gateway /context command routing fix

## Open now

- Nothing open on GitHub.

These items concern a bug where the /context command incorrectly reports 'No active agent' for idle sessions, and fixes to handle /context (and related /refine) in-process within the TUI gateway rather than blocking at a routing gate.

## TL;DR

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

- #81251: \[Bug\]:/context reports "No active agent" when agent is idle (Desktop + TUI) — gateway has handler, blocked by routing gate\`

## Prior & competing PRs

- **#127241: fix(tui_gateway): answer /context in-process and run /refine on local sessions**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `contributors/emails/gas@users.noreply.github.com`, `contributors/emails/zaze-oO@users.noreply.github.com`, `tests/tui_gateway/test_context_local_slash.py`, `tests/tui_gateway/test_slash_refine_live.py`, `tests/tui_gateway/test_tui_gateway_server.py`, `tui_gateway/compute_host.py`, `tui_gateway/host_supervisor.py`, `tui_gateway/methods_slash.py`
- **#81266: fix(tui_gateway): answer /context for an idle session**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`

## Fix status

- Merged to main in PR #127241 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-10-01`.
- Subsystem: `apps/desktop`
