# NousResearch/hermes-agent · embedded agent host worker-scope isolation opt-in

## Open now

- 1 issue, 3 PRs open on GitHub.
- #116936: \[Bug\]: Background terminal commands from an embedded agent host (hermes-webui) skip worker-scope isolation and are never reaped; leaked Chromium trees exhausted the host
- PR #117020: fix(tools): let embedded agent hosts opt into per-worker scope isolation (#116936)
- PR #117054: fix(terminal): worker-scope isolation opt-in + background lifetime cap
- PR #117598: fix(terminal): embedded agent hosts can opt into per-worker cgroup scopes; timeout schema says it does not bound background commands (#116936, salvage #117020)

These items concern a bug where background terminal commands from embedded agent hosts bypass per-worker scope isolation, causing leaked processes, and the associated fixes to add an opt-in mechanism and background command lifetime limits.

## TL;DR

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

## Open related issues

- #116936: \[Bug\]: Background terminal commands from an embedded agent host (hermes-webui) skip worker-scope isolation and are never reaped; leaked Chromium trees exhausted the host

## Prior & competing PRs

- **#117020: fix(tools): let embedded agent hosts opt into per-worker scope isolation (#116936)**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `tests/tools/test_notify_on_complete.py`, `tests/tools/test_process_registry.py`, `tools/process_registry.py`, `tools/terminal_tool.py`, `website/docs/reference/environment-variables.md`
- **#117054: fix(terminal): worker-scope isolation opt-in + background lifetime cap**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#116774`, `#116936`
  - files: `cli-config.yaml.example`, `hermes_cli/config_defaults.py`, `hermes_cli/web_server_config.py`, `tests/tools/test_process_registry.py`, `tools/AGENTS.md`, `tools/process_registry.py`, `tools/process_registry_checkpoint.py`, `tools/terminal_tool.py`, `website/docs/user-guide/features/tools.md`
- **#117598: fix(terminal): embedded agent hosts can opt into per-worker cgroup scopes; timeout schema says it does not bound background commands (#116936, salvage #117020)**. open
  - maintainer direction: category `wontfix_bydesign`; implication `wontfix`; refs `#117054`
  - files: `cli-config.yaml.example`, `hermes_cli/config_defaults.py`, `tests/tools/test_notify_on_complete.py`, `tests/tools/test_process_registry.py`, `tools/AGENTS.md`, `tools/process_registry.py`, `tools/process_registry_checkpoint.py`, `tools/terminal_tool.py`, `website/docs/reference/environment-variables.md`, `website/docs/user-guide/features/tools.md`

## Fix status

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