NousResearch/hermes-agent

Strip ANSI escapes before control-char removal in session titles

Cluster 40103 · agent. Data as of

3 open items. Fix attempted, not merged.

The short answer

1open issue
2open PRs
5items grouped
Known?
Yes. 5 related items grouped here, 0 issues already closed.
Fix event
No fix has been merged to main. 2 PRs closed without merging; see the attempts below.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
1 issue and 2 PRs.

These issues and PRs address a bug where ANSI escape sequences leak into session titles because the ESC character is removed before the full sequence is stripped. The fix involves reordering sanitize_title logic to run ANSI stripping first.

Open issues1

  • Issue#40103[Bug]: sanitize_title removes the ESC anchor before the sequence is stripped — escape body survives in session titles

Open PRs2

  • PR#40105fix(sessions): strip ANSI escapes in sanitize_title before control-char removal
  • PR#106956fix(titles): strip ANSI escapes and bare OSC residue from session titles

2 PRs closed without merging

From the close comments: duplicate 1 · other 1

  • #40150 fix(sanitize_title): run strip_ansi before control-char removal to prevent ANSI body leaking into session titles · duplicate → #40105
  • #40220 fix(agent): strip full ANSI escape sequences from session titles (#40103) · other
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.40: the share of item 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.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
agent
Closed issues
0
Attempts
2 PRs closed without merging

For your agent

The same facts, typed.