# NousResearch/hermes-agent · Gateway session activity watchdog and stall notification

## Open now

- Nothing open on GitHub.

These issues and pull requests address the absence of an activity watchdog for gateway sessions, where a stalled agent loop goes undetected and unreported. The work involves adding watchdog functionality, stall notification, and related timeout handling.

## 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.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-72817`. 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 `1.00`: 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

- #72016: Gateway sessions lack activity watchdog — agent loop stalls silently with no detection or notification

## Prior & competing PRs

- **#72424: fix(gateway): gateway sessions lack activity watchdog - agent loop stalls silently with no detection and notification**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#72817`
- **#72817: fix(gateway): session activity watchdog, stall notify, compress timeout (#72424 salvage)**. merged to main
  - maintainer direction: category `merged`
  - files: `agent/agent_init.py`, `agent/context_compressor.py`, `agent/conversation_compression.py`, `agent/session_activity.py`, `cli-config.yaml.example`, `contributors/emails/280272527+fangliquanflq@users.noreply.github.com`, `gateway/run.py`, `gateway/session_stall.py`, `hermes_cli/config.py`, `hermes_cli/dump.py`, `hermes_cli/status.py`, `hermes_state.py`, `run_agent.py`, `tests/agent/test_compress_context_progress_timeout.py`, `tests/agent/test_compression_concurrent_fork.py`, `tests/agent/test_session_activity.py`, `tests/gateway/test_agent_cache.py`, `tests/gateway/test_cached_agent_max_iterations.py`, `tests/gateway/test_config_env_bridge_authority.py`, `tests/gateway/test_session_stall_watchdog.py` (+6 more)

## Fix status

- No merged fix on record.
