Sanitize lone surrogates in outbound message payloads

NousResearch/hermes-agent · cluster 113799

Data as of

Nothing open on GitHub. Fix merged in #114847. Check it covers your case.

The short answer

0open issues
0open PRs
5items grouped
Known?
Yes. 5 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #114847. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #114847. That is separate from the fix event.
Still open
Nothing open on GitHub.

Multiple fixes addressing lone surrogate characters causing encoding errors or silent drops in outbound send paths, spanning tools and Feishu integrations. Changes apply sanitization at various points in the outbound payload pipeline.

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.

  • #114847 fix(tools): hermes send and send_message deliver text with lone surrogates instead of dropping it (#113799, salvage #113809)

    merged to main

    files: tests/tools/test_send_message_surrogate_sanitization.py, tools/send_message_tool.py

3 PRs closed without merging

From the close comments: duplicate 1 · merged via another change 1 · superseded by another PR 1

  • #113809 fix(tools): scrub lone surrogates from the outbound send body · merged via another change → 0f76689, #114847, #113799, #113809
  • #113810 fix(feishu): sanitize lone surrogates in outbound payloads · superseded by another PR → 0f76689, #114847, #113799, #113809
  • #113811 fix(feishu): sanitize lone surrogates on the outbound send path · duplicate → #113810, #113799
Closed issues · 1
  • Closed#113799fix(feishu): outbound send raises UnicodeEncodeError on lone surrogates — sanitizer applied on CLI paths only
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.40: 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
#114847
Closed issues
1
Attempts
3 PRs closed without merging
Fix link checked
18 Sep 2026

For your agent

The same facts, typed.