# NousResearch/hermes-agent · Windows PATH deduplication and normalization fixes

## Open now

- 1 issue, 2 PRs open on GitHub.
- #108508: \[Audit 2026-09-11\] PATH pollution: 70x venv/Scripts in bash session snapshot
- PR #108514: fix(cli): normalize Windows PATH entries before augmentation
- PR #108529: fix(windows): dedupe PATH entries across spelling variants at every prepend site

These items address repeated or duplicate PATH entries on Windows, particularly involving virtual environment paths and case/spelling variants. The work involves normalizing and deduplicating PATH entries at the points where they are augmented.

## TL;DR

- 4 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 1 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

- #108508: \[Audit 2026-09-11\] PATH pollution: 70x venv/Scripts in bash session snapshot

## Prior & competing PRs

- **#108514: fix(cli): normalize Windows PATH entries before augmentation**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`
  - files: `hermes_cli/stdio.py`, `tests/tools/test_windows_native_support.py`
- **#108529: fix(windows): dedupe PATH entries across spelling variants at every prepend site**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#108514`, `#108517`, `#108508`, `#108514`, `#108517`, `#2`, `#108517`
  - files: `apps/desktop/electron/backend-env.test.ts`, `apps/desktop/electron/backend-env.ts`, `hermes_cli/stdio.py`, `tests/hermes_cli/test_stdio_path_dedup.py`, `tests/tools/test_local_env_windows_msys.py`, `tools/environments/local.py`
- **#108547: fix(cli): dedup PATH entries with Windows-equivalent path normalization**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#108529`, `#108514`

## Fix status

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