# NousResearch/hermes-agent · Gateway /proc scan missing UID filter bug

## Open now

- Nothing open on GitHub.

A bug where the gateway process scan in /proc counts processes belonging to other users, not just the current user's own. The members cover the issue report and related fixes adding a UID filter to the scan.

## TL;DR

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

- #105719: hermes status / cron gateway check counts other users' gateways as mine (no UID filter in /proc scan)

## Prior & competing PRs

- **#135535: fix(gateway): restart --all and status no longer target other Unix users' gateways (#105719)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/gateway.py`, `hermes_cli/gateway_migrate_guards.py`, `tests/hermes_cli/test_gateway_proc_fallback.py`
- **#105730: fix(gateway): only count own-UID processes in the /proc scan (#105719)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `99b57a42c70`, `93257fd315`, `#135535`
- **#112760: fix(gateway): ignore foreign-user gateway processes**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `99b57a42c70`, `93257fd315`, `#135535`

## Fix status

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