# NousResearch/hermes-agent · Sensitive-path write guard fixes for Windows and git

## Open now

- 1 issue, 1 PR open on GitHub.
- #76246: \[Bug\]: Windows hosts allow write_file into /etc and docker.sock despite sensitive-path guard
- PR #76247: fix(tools): stop Windows hosts from allowing write_file into /etc and docker.sock

These issues and PRs address gaps in the sensitive-path denylist that allowed write_file to reach protected paths like /etc and docker.sock on Windows hosts due to path separator normalization, and also extend protections to git worktree pointer files.

## TL;DR

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

## Open related issues

- #76246: \[Bug\]: Windows hosts allow write_file into /etc and docker.sock despite sensitive-path guard

## Prior & competing PRs

- **#76247: fix(tools): stop Windows hosts from allowing write_file into /etc and docker.sock**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `3e0d31c40ff0523214d8a7f820b3a91f17c551f7`, `#78658`
  - files: `tests/tools/test_file_write_safety.py`, `tools/file_tools.py`
- **#76826: fix(tools): check POSIX-normalized paths in sensitive-path guard (#76246)**. closed without merge
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `fd220d5c212d`, `#76246`, `#76826`, `#76247`, `#374151`
- **#78652: fix(file-safety): refuse writes that touch git worktree .git pointer files**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `60fd869dd1`, `950369a39e`, `fd25f74f3e`, `a53f84bb3e`, `52d31bbb89`, `6499b55335`, `90483f2fe3`, `#78806`, `#78652`, `#78793`, `#78565`
- **#78653: fix(file-tools): normalize separators for POSIX sensitive-path denylist on Windows**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `40efdc9006`, `#76247`

## Fix status

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