# NousResearch/hermes-agent · Terminal tool hang blocking all asyncio timers fix

## Open now

- Nothing open on GitHub.

A wedged synchronous poll in the terminal tool's env.execute path could silently disable all asyncio timers, causing hangs far beyond configured deadlines. The fix applies bounded execution to prevent the loop-thread block from starving the timer queue.

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

- #94285: \[cron\]\[tool-executor\] terminal tool hung 4118s past both the tool deadline (420s) and inactivity limit (600s) — loop-thread block silently disables all asyncio timers; apply run_bounded_sync to the terminal path

## Prior & competing PRs

- **#99506: fix(terminal): bound env.execute wait so a wedged poll cannot disable every timer (#94285)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/deadline.py`, `cron/scheduler.py`, `tests/agent/test_deadline.py`, `tests/cron/test_cron_inactivity_timeout.py`, `tests/tools/test_interrupt.py`, `tests/tools/test_terminal_bounded_execute.py`, `tools/environments/base.py`, `tools/interrupt.py`
- **#94305: fix(terminal): bound env.execute wait so a wedged poll cannot disable every timer (#94285)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#99506`

## Fix status

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