Skip to content

[Bug]: *Asterisk characters () being stripped or replaced in terminal output* #28010

@caddytan

Description

@caddytan

Bug Description

When the model outputs text containing asterisk characters (), especially consecutive ones like in cron expressions, the final response shown in the terminal has the asterisks removed or replaced with spaces.

Steps to Reproduce

 1. Ask the agent to reply with a string containing   (e.g. "can you reply \"30 8  * * 1-5\"")                                                                         
 2. Observe that the output becomes "30 8   1-5" without the asterisk
 3. Asterisks are filtered out (turned into spaces or removed). This breaks commands like cron schedules that rely on .

Expected Behavior

Asterisks should appear unchanged in the final terminal output.

Actual Behavior

Observe that the output becomes "30 8 1-5" without the asterisk

Affected Component

Tools (terminal, file ops, web, code execution, etc.)

Messaging Platform (if gateway-related)

No response

Debug Report

Debug report uploaded:
  Report       https://paste.rs/C6OGk
  agent.log    https://paste.rs/ajh4a
  gateway.log  https://paste.rs/AdAa3

Operating System

Debian Linux 13

Python Version

3.13.5

Hermes Version

0.14.0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existscomp/gatewayGateway runner, session dispatch, deliverycomp/tuiTerminal UI (ui-tui/ + tui_gateway/)type/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions