# NousResearch/hermes-agent · Terminal pre-exec guard timeout and hang fix

## Open now

- Nothing open on GitHub.

These items address an unbounded terminal pre-execution guard chain that could wedge cron runs uninterruptibly, with fixes applying wall-clock bounds to prevent indefinite blocking.

## TL;DR

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

- #111922: \[Bug\]: terminal pre-guard chain (psutil proc_kinfo_oneshot) has no wall-clock bound — wedges cron run uninterruptibly; inactivity watchdog masked by tool-activity heartbeat

## Prior & competing PRs

- **#112185: fix(terminal): a wedged pre-exec guard no longer hangs the tool call or its cron run (#111922, salvage #111928)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `tests/tools/test_execute_code_lifecycle_guard_deadline.py`, `tests/tools/test_terminal_pre_guard_deadline.py`, `tools/code_execution_tool.py`, `tools/interrupt.py`, `tools/terminal_tool.py`
- **#111928: fix: bound terminal pre-execution guard deadline**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `30b22b54ae`, `#112185`
- **#111935: fix(terminal): wrap pre-exec guard chain in run_bounded_sync (#111922)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `7100b851c7`, `#111928`, `#111922`

## Fix status

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