# NousResearch/hermes-agent · Windows agent timeout overflow and silent failures

## Open now

- 1 issue, 2 PRs open on GitHub.
- #108516: Windows: thread timeouts above 4294.967 s overflow (\`timeout value is too large\`) — \`MAX_SAFE_TIMEOUT_S\` (one year) is not platform-safe, and deadline \`Timer\` threads die silently
- PR #108528: fix(agent): keep Windows agent deadlines from silently disappearing
- PR #111746: fix(agent): clamp Windows thread wait timeouts

These items address a bug where excessively large timeout values cause overflow on Windows, leading to silent failures in deadline timer threads and agent wait operations. The work involves clamping or correcting timeout values to stay within Windows-safe limits.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 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: `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 `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.

## Open related issues

- #108516: Windows: thread timeouts above 4294.967 s overflow (\`timeout value is too large\`) — \`MAX_SAFE_TIMEOUT_S\` (one year) is not platform-safe, and deadline \`Timer\` threads die silently

## Prior & competing PRs

- **#108528: fix(agent): keep Windows agent deadlines from silently disappearing**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#111746`
  - files: `agent/deadline.py`, `agent/tool_executor.py`, `hermes_cli/cli_modal_mixin.py`, `tests/agent/test_deadline.py`, `tests/hermes_cli/test_cli_approval_ui.py`, `tests/tools/test_approval_timeout_overflow.py`, `tests/tools/test_clarify_gateway.py`, `tools/approval_context.py`, `tools/approval_human_wait.py`, `tools/clarify_gateway.py`
- **#111746: fix(agent): clamp Windows thread wait timeouts**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#108528`, `#83220`, `#83220`, `#108528`, `#108528`
  - files: `agent/deadline.py`, `agent/tool_executor.py`, `agent/usage_pricing.py`, `tests/agent/test_deadline.py`, `tests/agent/test_usage_pricing.py`, `tests/tools/test_approval_timeout_overflow.py`, `tests/tools/test_clarify_gateway.py`, `tools/approval_context.py`, `tools/approval_human_wait.py`, `tools/clarify_gateway.py`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
