# NousResearch/hermes-agent · orphaned browser daemon cleanup and process leaks

## Open now

- Nothing open on GitHub.

Multiple issues and fixes addressing orphaned agent-browser daemon processes and Chromium trees that accumulate due to timeouts, force-closed sessions, or startup failures. Includes detection, reaping logic, idle timeouts, and a bug in the glob pattern used to identify orphaned sessions.

## TL;DR

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

- #68139: browser_tool: command timeout leaks the spawned agent-browser daemon + Chromium tree (long-lived gateway accumulates orphans until host OOM)

## Prior & competing PRs

- **#94183: fix(browser): suspect-session recycle + wedged-daemon tree-kill on timeout (#85125 3b-browser/4c)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `tests/tools/test_browser_open_timeout.py`, `tests/tools/test_browser_suspect_recycle.py`, `tools/browser_tool.py`
- **#94188: refactor(deadline): consolidate site-local tree-kills onto agent.deadline.kill_process_tree (#85125 4d)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/_subprocess_compat.py`, `tests/agent/test_treekill_consolidation.py`, `tests/tools/test_browser_npx_warmup.py`, `tools/browser_tool.py`, `tools/code_execution_tool.py`
- **#68220: fix(browser): tree-kill orphaned agent-browser daemon on command timeout (#68139)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#94183`, `#85125`, `#68139`, `#94188`

## Fix status

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