# NousResearch/hermes-agent · Gateway /clear command resets chat session

## Open now

- 1 issue, 2 PRs open on GitHub.
- #40123: /clear should work in the gateway (on Telegram, etc.) not just the CLI
- PR #40130: fix(gateway): route clear as session reset
- PR #123942: feat(gateway): /clear resets the chat session like /new

These items address adding or fixing support for the /clear command in the gateway (e.g. Telegram), so it resets the chat session similarly to /new rather than only working in the CLI.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 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_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: 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

- #40123: /clear should work in the gateway (on Telegram, etc.) not just the CLI

## Prior & competing PRs

- **#40130: fix(gateway): route clear as session reset**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `f6e254a57`, `#71300`
  - files: `gateway/run.py`, `hermes_cli/commands.py`, `plugins/platforms/discord/adapter.py`, `tests/e2e/test_platform_commands.py`, `tests/gateway/test_command_bypass_active_session.py`, `tests/gateway/test_discord_slash_commands.py`, `tests/hermes_cli/test_commands.py`
- **#123942: feat(gateway): /clear resets the chat session like /new**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `090e6499121a354086050c091ee5150cc67414d6`, `76e647248790fb60bf5d5190aff567146dd69421`, `0e427d788d253630d38a3a51cd76849e73cd6925`
  - files: `gateway/run_inbound.py`, `gateway/run_turn.py`, `hermes_cli/commands.py`, `hermes_cli/commands_platforms.py`, `plugins/platforms/discord/adapter.py`, `tests/e2e/test_platform_commands.py`, `tests/gateway/test_command_bypass_active_session.py`, `tests/gateway/test_discord_slash_commands.py`, `tests/hermes_cli/test_commands.py`, `website/docs/reference/slash-commands.md`

## Fix status

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