# NousResearch/hermes-agent · Fix unsafe process group signaling edge cases

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #119150: fix(processes): signal a process group only when the child leads it

These items address a bug where killpg may signal a process group that the child process does not actually lead, covering shared group or recycled PID scenarios. The fix restricts process group signaling to cases where the child is confirmed to lead the group.

## TL;DR

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

## Closed / duplicate issues

- #119149: killpg fallbacks signal a process group the child may not lead (shared group / recycled PID)

## Prior & competing PRs

- **#131890: fix(processes): signal a process group only when the child leads it \[risk 0.35\]**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/verify/runner.py`, `hermes_cli/pty_bridge.py`, `tests/hermes_cli/test_pty_bridge.py`, `tests/tools/test_browser_process_tree.py`, `tests/tools/test_local_setsid_descendant_sweep.py`, `tests/tools/test_process_registry.py`, `tests/verify/test_environment_and_runner.py`, `tools/browser_tool_lifecycle.py`, `tools/process_registry.py`
- **#119150: fix(processes): signal a process group only when the child leads it**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `ed6e6a169a77fe5804ba10b9979d0f3acbfbc7fa`, `e2f8a0731bf26e95b31e35d73e71e183a1045b81`, `#119149`, `#102518`, `#43046`, `#43135`
  - files: `agent/verify/runner.py`, `hermes_cli/pty_bridge.py`, `tests/hermes_cli/test_pty_bridge.py`, `tests/tools/test_browser_npx_warmup.py`, `tests/tools/test_local_setsid_descendant_sweep.py`, `tests/tools/test_process_registry.py`, `tests/verify/test_environment_and_runner.py`, `tools/browser_tool_lifecycle.py`, `tools/process_registry.py`

## Fix status

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