NousResearch/hermes-agent

Compressor tail-budget token underestimate for tool_call envelopes

Cluster 28053 · agent. Data as of

Nothing open on GitHub. Fix merged in #50751 on 22 Jun 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 #50751. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #50751. That is separate from the fix event.
Still open
Nothing open on GitHub.

One bug report describes _find_tail_cut_by_tokens underestimating assistant message tokens, which affects tail protection and compression. The other three members are pull requests with near-identical titles about counting the tool_call envelope in the tail-budget token estimate, referencing #28053 (and #23767 in one).

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.

  • #50751 fix(compressor): count tool_call envelope in tail-budget token estimate (#23767, #28053)

    merged to main

    files: agent/context_compressor.py, scripts/release.py, tests/agent/test_compressor_tool_call_budget.py

2 PRs closed without merging

From the close comments: merged via another change 1 · stale or abandoned 1

  • #28074 fix(compressor): count tool_call envelope in tail-budget token estimate (#28053) · stale or abandoned
  • #43293 fix(compressor): count tool_call envelope in tail-budget token estimate (#28053) · merged via another change → 72f75f8, #28053
Closed issues · 1
  • Closed#28053[Bug]: _find_tail_cut_by_tokens underestimates assistant message tokens by 2-15x — tail protection overshoots and compression becomes ineffective
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
agent
Merged PRs
#50751
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
22 Jun 2026

For your agent

The same facts, typed.