{"repo":"NousResearch/hermes-agent","public_id":"55439","display_label":"Fix Telegram UTF-16 entity offset handling","summary":"These items address a bug where Telegram's UTF-16 entity offsets were being incorrectly treated as Unicode code-point indices, causing mis-sliced mentions and commands when emoji or other multi-unit characters appear in messages. Related fixes also touch email charset resilience and output decode hardening.","subsystem":"gateway","counts":{"members":3,"open_issues":1,"open_issues_distinct":1,"open_prs":0,"closed_issues":0,"merged_prs":1,"attempt_prs":1},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":81966,"merged_at":"2026-08-08T19:30:20+00:00"},"resolution":{"state":"unresolved","by":null},"freshness":{"state":"verified","last_verified_at":"2026-08-08T19:30:20+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[{"issue_number":55439,"pr_number":81966,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false,"pr_merged_at":"2026-08-08T19:30:20+00:00"}],"members":[{"kind":"issue","number":55439,"title":"Telegram mention/command detection mis-slices when emoji precede the mention (UTF-16 entity offsets used as code-point indices)","url":null,"state":"open"},{"kind":"pr","number":55507,"title":"fix(telegram): honor UTF-16 entity offsets","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#81966","number":81966}],"category":"merged_via","implication":"superseded"},"merged":false},{"kind":"pr","number":81966,"title":"fix(gateway): Telegram UTF-16 semantics, email charset resilience, update-output decode hardening","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["batch_runner.py","contributors/emails/[redacted:email]","gateway/run.py","hermes_cli/update_cmd.py","plugins/platforms/email/adapter.py","plugins/platforms/telegram/adapter.py","tests/gateway/test_email_charset_fallback.py","tests/gateway/test_fence_chunker.py","tests/gateway/test_telegram_mention_boundaries.py","tests/gateway/test_update_command.py","tests/hermes_cli/test_update_yes_flag.py"]}],"trust":{"default_tier":"verified","includes_suggested":false}}