# NousResearch/hermes-agent · delegation child runner hangs and timeout fixes

## Open now

- Nothing open on GitHub.

These issues and pull requests address scenarios where delegated child runners become stuck or wedged, particularly around API calls and async execution. Fixes involve timeouts for stuck runners, inline routing of delegated API calls, and related watchdog scaling adjustments.

## TL;DR

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

- #60203: \[Bug\]: delegate_task children hang at first API call after days of gateway uptime; process restart restores

## Prior & competing PRs

- **#72227: fix(delegation): progress-based stale detection for detached async runners**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `tests/tools/test_async_delegation.py`, `tools/async_delegation.py`, `tools/delegate_tool.py`
- **#72412: fix(delegation): route delegated-child API calls inline to avoid nested-pool wedge (#60203)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/chat_completion_helpers.py`, `tests/cron/test_cron_direct_api_call_62151.py`, `tests/run_agent/test_real_interrupt_subagent.py`, `tools/delegate_tool.py`
- **#60234: fix(delegation): timeout stuck async child runners**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `65420cdecd`, `#72227`, `#60203`
- **#71096: fix(delegation): timeout stuck async child runners (rebased from #60234)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#72227`, `#60234`

## Fix status

- Merged to main in PR #72227 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-07-27`.
- Subsystem: `agent`
