hermes - 💡(How to fix) Fix [Bug]: /new, /clear, and /reset commands freeze the terminal session

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Additional Logs / Traceback (optional)

Root Cause

Root Cause Analysis (optional)

Code Example

Report       https://paste.rs/cBHbT
agent.log    https://paste.rs/Ohf0t
gateway.log  https://paste.rs/voudq

---
RAW_BUFFERClick to expand / collapse

Bug Description

When attempting to use the slash commands /new, /clear, or /reset, the terminal interface completely freezes.

Upon pressing Enter, the cursor stops blinking, and the input field hangs, making it impossible to type anything. Standard interrupt shortcuts like Ctrl + C do not cancel the operation or return control to the user. The only way to recover is to completely close the terminal window and restart the program.

This bug happens regardless of the chat history: it occurs whether you have sent multiple messages, just one message, or if you run the command immediately upon launching the application without sending any text at all.

<img width="1363" height="931" alt="Image" src="https://github.com/user-attachments/assets/c50c8be8-0945-4810-94dd-45acdae4fd1d" />

Steps to Reproduce

  1. Start hermes-agent.
  2. Type and execute /clear (or /new / /reset). Note: This happens both immediately on a fresh launch or after any number of exchanged messages — history size does not affect the outcome.
  3. Notice that the command line freezes: the cursor stops blinking, and you can no longer type anything.
  4. Try pressing Ctrl + C to interrupt — notice it has no effect.

Expected Behavior

The command should execute successfully (clearing the screen or resetting the session ID and history) and immediately return an active, usable prompt with a blinking cursor, without requiring a hard restart of the console.

Actual Behavior

The application completely locks up. The cursor stops blinking, typing becomes completely disabled, and Ctrl + C fails to break or interrupt the process. The user is forced to kill the terminal session and launch the agent again from scratch.

Affected Component

CLI (interactive chat)

Messaging Platform (if gateway-related)

N/A (CLI only)

Debug Report

Report       https://paste.rs/cBHbT
agent.log    https://paste.rs/Ohf0t
gateway.log  https://paste.rs/voudq

Operating System

Windows 11

Python Version

3.11.15

Hermes Version

v0.14.0 (2026.5.16)

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING