# NousResearch/hermes-agent · Telegram command parsing and argument handling fixes

## Open now

- 2 issues, 2 PRs open on GitHub.
- #56337: \[Bug\]: Telegram strips /command@bot args into an unknown command
- #56910: fix(telegram): slash command args lost in groups — @botname eats the space before arguments
- PR #33763: fix: preserve Telegram command args after bot suffix
- PR #56911: fix(telegram): don't eat trailing space after @botname in _clean_bot_trigger_text

Multiple bugs and fixes related to Telegram slash commands losing arguments when a bot suffix (@botname) is present, plus related fixes for compact reasoning command parsing and platform base utility bugs.

## TL;DR

- 9 member(s): 2 open issue(s), 1 closed issue(s), 2 open PR(s), 0 merged PR(s), 4 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.24`: 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.

## Open related issues

- #56337: \[Bug\]: Telegram strips /command@bot args into an unknown command
- #56910: fix(telegram): slash command args lost in groups — @botname eats the space before arguments

## Closed / duplicate issues

- #56323: \[Bug\]: Telegram compact /reasoning level commands are rejected in groups

## Prior & competing PRs

- **#56324: fix(gateway): parse compact reasoning commands**. closed without merge · fix tier `suggested`
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#33763: fix: preserve Telegram command args after bot suffix**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `5600105478ffde29d7566b45421b100eaa29c4ef`
  - files: `gateway/platforms/telegram.py`, `tests/gateway/test_telegram_group_gating.py`
- **#56338: fix(telegram): preserve args after command bot suffix**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#33763`, `#31126`, `#56337`
- **#56471: fix(telegram): preserve slash-command args after @bot mention**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#33763`
- **#56911: fix(telegram): don't eat trailing space after @botname in _clean_bot_trigger_text**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#33763`
  - files: `.coderabbit.yaml`, `.dockerignore`, `.env.example`, `.envrc`, `.gitattributes`, `.github/actionlint.yaml`, `.github/actions/detect-changes/action.yml`, `.github/actions/e2e-screen-record/action.yml`, `.github/actions/get-app-token/action.yml`, `.github/actions/plugin-validate/action.yml`, `.github/actions/retry/action.yml`, `.github/pr-screenshots/39327/providers-collapsed.png`, `.github/pr-screenshots/39327/providers-expanded.png`, `.github/pr-screenshots/39327/tools-collapsed.png`, `.github/pr-screenshots/39327/tools-expanded.png`, `.github/pr-screenshots/45449/billing-confirm.png`, `.github/pr-screenshots/45449/billing-overview.png`, `.github/pr-screenshots/telegram-overflow/topic-final-response-clipped.jpg`, `.github/scripts/run-workspace-checks.mjs`, `.github/workflows/case-collision-check.yml` (+2980 more)
- **#105467: fix(telegram): keep the arguments of /command@bot in groups**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#106742`

## Fix status

- No merged fix on record.
- Subsystem: `gateway`
