NousResearch/hermes-agent

False binary detection for valid UTF-8 files

Cluster 81480. Data as of

Nothing open on GitHub. Fix merged in #81961 on 8 Aug 2026. Check it covers your case.

The short answer

0open issues
0open PRs
3items grouped
Known?
Yes. 3 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #81961. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
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.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #81961 fix(file-ops): stop flagging boundary-cut UTF-8 as binary across read_file/patch/search_files

    merged to main

    files: contributors/emails/[redacted:email], tests/tools/test_file_operations.py, tests/tools/test_read_file_utf8_binary_regression.py, tools/file_operations.py

1 PR closed without merging

From the close comments: superseded by another PR 1

  • #81834 fix(read_file): treat lone trailing U+FFFD as UTF-8 truncation artifact, not binary · superseded by another PR → #81961, #76924, #80440
Closed issues · 1
  • Closed#81480bug(read_file): valid UTF-8 .md file flagged as binary (false positive)
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.67: the share of item 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.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Merged PRs
#81961
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
8 Aug 2026

For your agent

The same facts, typed.