# NousResearch/hermes-agent · False binary detection for valid UTF-8 files

## Open now

- Nothing open on GitHub.

These items address a bug where valid UTF-8 files, particularly those with boundary-cut or truncated sequences, are incorrectly flagged as binary content. Fixes span multiple file operations including read_file, patch, and search_files.

## TL;DR

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

- #81480: bug(read_file): valid UTF-8 .md file flagged as binary (false positive)

## Prior & competing PRs

- **#81961: fix(file-ops): stop flagging boundary-cut UTF-8 as binary across read_file/patch/search_files**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `contributors/emails/[redacted:email]`, `tests/tools/test_file_operations.py`, `tests/tools/test_read_file_utf8_binary_regression.py`, `tools/file_operations.py`
- **#81834: fix(read_file): treat lone trailing U+FFFD as UTF-8 truncation artifact, not binary**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#81961`, `#76924`, `#80440`

## Fix status

- Merged to main in PR #81961 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-08`.
