NousResearch/hermes-agent

Native Responses preflight token counting bug fixes

Cluster 96155. Data as of

Nothing open on GitHub. Fix merged in #96644 on 28 Aug 2026. Check it covers your case.

The short answer

0open issues
0open PRs
3items grouped
Known?
Yes. 3 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #96644. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #96644. That is separate from the fix event.
Still open
Nothing open on GitHub.

A bug where native Responses API preflight checks counted unpruned or durable history instead of pruned wire tokens, causing compression to trigger prematurely around 152K effective input. The members cover the bug report and associated fixes for Codex sessions.

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.

  • #96644 fix(agent): native-compaction Codex sessions no longer false-trigger local compression (#96155, salvage #96217)

    merged to main

    files: agent/chat_completion_helpers.py, agent/codex_responses_adapter.py, agent/turn_context.py, run_agent.py, tests/agent/test_native_preflight_estimate.py

1 PR closed without merging

From the close comments: merged via another change 1

  • #96217 fix(agent): count native Responses preflight against pruned wire · merged via another change → #96644
Closed issues · 1
  • Closed#96155[Bug]: Native Responses preflight counts unpruned durable history and triggers compression at ~152K effective input
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.67: 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

Merged PRs
#96644
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
28 Aug 2026

For your agent

The same facts, typed.