# NousResearch/hermes-agent · Binary document write guard symlink target lookup fix

## Open now

- 1 issue, 2 PRs open on GitHub.
- #108715: Binary document guard: text-suffixed symlinks allow write_file/patch to modify protected document targets
- PR #108723: fix(tools): guard binary document symlink targets
- PR #109087: fix(tools): resolve symlinks in binary-document write guard (#108715)

These issues and pull requests address a security/correctness gap where symlinks with text-like suffixes could bypass the binary document write guard. The fix ensures symlink targets are looked up before the guard check is applied.

## TL;DR

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

- #108715: Binary document guard: text-suffixed symlinks allow write_file/patch to modify protected document targets

## Prior & competing PRs

- **#108723: fix(tools): guard binary document symlink targets**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `tests/tools/test_binary_document_write_guard.py`, `tools/file_tools_write_guards.py`
- **#108726: fix(tools): resolve symlink targets in the binary document write guard**. closed without merge
  - maintainer direction: category `volume_quota`; implication `active`; refs `#108723`, `#108723`, `#108723`, `#108715`
- **#108861: fix(tools): resolve symlinks before the binary-document write guard**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#108723`, `#108715`
- **#109087: fix(tools): resolve symlinks in binary-document write guard (#108715)**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#108723`, `#108715`, `#108723`, `#108861`
  - files: `tests/tools/test_binary_document_write_guard.py`, `tools/file_tools_write_guards.py`

## Fix status

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