NousResearch/hermes-agent

Code fence closing rule fixes in message truncation

Cluster 55292 · gateway. Data as of

3 open items. Fix attempted, not merged.

The short answer

1open issue
2open PRs
7items grouped
Known?
Yes. 7 related items grouped here, 0 issues already closed.
Fix event
No fix has been merged to main. 4 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 pull requests address a bug in a truncate_message function where trailing non-whitespace text after closing code fence markers was incorrectly treated as a closing fence. The fixes align the behavior with CommonMark rules, requiring only whitespace after the backticks to close a fence.

Open issues1

  • Issue#55292truncate_message treats code lines with trailing fence text as closing fences

Open PRs2

  • PR#55294fix(gateway): respect trailing text on closing code fences
  • PR#55328fix(gateway): only treat all-whitespace trailing content as closing fence

4 PRs closed without merging

From the close comments: superseded by another PR 2 · done elsewhere 1 · duplicate 1

  • #55299 fix(gateway): require whitespace-only trailing content for closing fence in truncate_message · superseded by another PR → #55294, #55292
  • #55311 fix(gateway): treat trailing non-whitespace after ``` as code content, not fence close · done elsewhere → #55294
  • #55404 fix: respect CommonMark closing fence rules in message truncation (#55292) · superseded by another PR
  • #58077 fix(gateway): keep fence text inside code blocks · duplicate → #55294
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.29: 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
gateway
Closed issues
0
Attempts
4 PRs closed without merging

For your agent

The same facts, typed.