NousResearch/hermes-agent

Truncated code output causes agent retry loops

Cluster 35696 · acp adapter/bootstrap. Data as of

Nothing open on GitHub. Fix merged in #65533 on 16 Jul 2026. Check it covers your case.

The short answer

0open issues
0open PRs
4items grouped
Known?
Yes. 4 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #65533. Check it covers your case. No release data is tracked.
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 truncated or empty stdout from code execution causes agents to enter retry loops. The proposed fixes involve exposing truncation metadata and adding structured signals to inform the agent that output was intentionally cut off.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #65533 fix(code-exec): expose truncated stdout metadata (#36022 salvage)

    merged to main

    files: acp_adapter/tools.py, scripts/release.py, tests/acp/test_tools.py, tests/tools/test_code_execution.py, tools/code_execution_tool.py

2 PRs closed without merging

From the close comments: merged via another change 1 · superseded by another PR 1

  • #36022 fix(code-exec): expose truncated stdout metadata · merged via another change → e2db5eb, #65533, #35696
  • #43631 fix(tools/execute_code): add structured truncation signal to prevent retry loops · superseded by another PR → #36022
Closed issues · 1
  • Closed#35696Bug: Agent enters retry loop when execute_code output is truncated / empty
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.50: 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
acp adapter/bootstrap
Merged PRs
#65533
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
16 Jul 2026

For your agent

The same facts, typed.