# NousResearch/hermes-agent · Windows env vars missing in hermetic test runner

## Open now

- Nothing open on GitHub.

A bug where run_tests.sh strips necessary Windows environment variables (like USERPROFILE and temp paths) when running tests hermetically, causing failures on native Windows. Multiple fixes attempt to whitelist or pass through the required Windows profile and temp variables.

## TL;DR

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

- #67385: \[Bug\]: run_tests.sh cannot run tests touching Path.home() on native Windows — env -i strips USERPROFILE

## Prior & competing PRs

- **#67387: fix(tests): make run_tests.sh work on native Windows (#67385)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#71591`, `#66496`, `#70813`
- **#67407: fix(runner): whitelist Windows profile and temp vars in hermetic env**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#67387`, `#67385`
- **#67512: fix: pass Windows env vars through hermetic test runner (#67385)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#67385`
- **#71591: fix(tests): make canonical run_tests.sh work on native Windows**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `66c4c9c0b1f6450f6443b9d644f0a9653355f558`, `3e7a11ca2e5fb9a1faa4866dad493b20fc30b0a4`

## Fix status

- No merged fix on record.
- Subsystem: `cron/scripts`
