# NousResearch/hermes-agent · Sanitize lone surrogates in outbound message payloads

## Open now

- 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.

## TL;DR

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

## Closed / duplicate issues

- #113799: fix(feishu): outbound send raises UnicodeEncodeError on lone surrogates — sanitizer applied on CLI paths only

## Prior & competing PRs

- **#114847: fix(tools): hermes send and send_message deliver text with lone surrogates instead of dropping it (#113799, salvage #113809)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `tests/tools/test_send_message_surrogate_sanitization.py`, `tools/send_message_tool.py`
- **#113809: fix(tools): scrub lone surrogates from the outbound send body**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `0f76689076cb`, `#114847`, `#114847`, `#113799`, `#113809`, `#113799`
- **#113810: fix(feishu): sanitize lone surrogates in outbound payloads**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `0f76689076cb`, `#114847`, `#114847`, `#113799`, `#113809`, `#113799`
- **#113811: fix(feishu): sanitize lone surrogates on the outbound send path**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#113810`, `#113799`

## Fix status

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