Files
hermes-agent/tools
beardthelion 2f41514cae Address PR review feedback (#119150)
- process_registry._reap_untracked: delegate to _terminate_host_pid with the
  session's recorded host_start_time instead of a raw killpg -- pgid == pid
  only proves group leadership, and a reaped child recycled onto an unrelated
  group leader would still have been signalled. The helper revalidates the
  kernel start time and refuses on mismatch, and settles descendants from a
  psutil snapshot so no group signal is needed at all.
- browser_tool_lifecycle._legacy_kill_process_tree: in the non-leader path,
  snapshot descendants via psutil before proc.kill() and kill each
  individually -- a bare proc.kill() left grandchildren holding the capture
  pipe's write end, reintroducing the communicate() hang the helper exists
  to prevent.
2026-10-05 16:42:57 -05:00
..