NousResearch/hermes-agent

Lone surrogate handling in skills_guard scanner

Cluster 159406 · skills · Bug. Data as of

3 open items. Fix attempted, not merged.

The short answer

1open issue
2open PRs
5items grouped
Known?
Yes. 5 related items grouped here, 0 issues already closed.
Fix event
No fix has been merged to main. 2 PRs closed without merging; see the attempts below.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.

All five members concern a lone surrogate character causing a UnicodeEncodeError in the skills_guard scanner (_scan_text / scan_file, via stdlib tokenize). One is an issue report and the rest are fix proposals, one of which describes failing closed; their outcomes are not stated here.

Open issues1

  • Issue#159406skills_guard: a lone surrogate crashes `_scan_text` / `scan_file` (UnicodeEncodeError from stdlib tokenize)

Open PRs2

  • PR#159429fix(skills-guard): fail closed when a lone surrogate reaches the lexers
  • PR#159495fix: handle lone surrogates in skills_guard scanner

2 PRs closed without merging

From the close comments: PR volume cleanup 1 · other 1

  • #159491 fix(skills-guard): a lone surrogate no longer crashes the scanner · other
  • #159533 fix(tools): a lone surrogate no longer crashes the skills scanner · PR volume cleanup
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.50: 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.

For your agent

The same facts, typed.