NousResearch/hermes-agent

Agent max-iteration failure breaks message role alternation

Cluster 56056 · agent. Data as of

Nothing open on GitHub. Fix attempted, not merged.

The short answer

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

These issues and PRs address a bug where max-iteration summary failures leave orphaned synthetic user messages, violating expected role alternation in the message history. The work explores various fixes around how assistant responses are appended or omitted when the max-iterations handler fails.

Open issues0

No open issues.

Open PRs0

No open pull requests.

5 PRs closed without merging

From the close comments: duplicate 3 · superseded by another PR 1 · other 1

  • #56057 fix: append assistant response on _handle_max_iterations failure · other → 59e7e9d
  • #56064 fix(agent): preserve alternation on max-iteration summary failure · duplicate → #56057, #56056
  • #56071 fix(agent): append error response to messages on max-iteration summary failure (#56056) · duplicate → #56057, #56056, #56064
  • #56397 fix(agent): append assistant reply when max-iterations summary fails · superseded by another PR → #56057, #56056
  • #56857 fix(agent): close max-iteration summary failures · duplicate → #56057, #56056, #56064, #56071
Closed issues · 1
  • Closed#56056_handle_max_iterations failure leaves orphaned synthetic user message violating role alternation
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.33: 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
1
Attempts
5 PRs closed without merging

For your agent

The same facts, typed.