NousResearch/hermes-agent

Use psutil for PID lookup instead of forking ps

Cluster 117270. Data as of

Nothing open on GitHub. Fix merged in #117562 on 20 Sep 2026. Check it covers your case.

The short answer

0open issues
0open PRs
3items grouped
Known?
Yes. 3 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #117562. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #117562. That is separate from the fix event.
Still open
Nothing open on GitHub.

These items address a performance issue on macOS where the gateway identity check unnecessarily forks a ps process to read a PID's command line, despite psutil being available and significantly faster. The proposed fix reads the command line via psutil first.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #117562 perf(gateway): the identity check reads a PID's command line with psutil before forking ps (#117270, salvage #117271)

    merged to main

    files: gateway/status.py, tests/gateway/test_process_cmdline_source.py

1 PR closed without merging

From the close comments: merged via another change 1

  • #117271 perf(gateway): read a PID's command line with psutil before forking ps · merged via another change → b93d68e, #117562
Closed issues · 1
  • Closed#117270[Perf]: the gateway-identity check forks `ps` on macOS when psutil (a core dependency) answers 190x faster
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.67: the share of item 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.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Merged PRs
#117562
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
20 Sep 2026

For your agent

The same facts, typed.