Compression attempt telemetry fields lost during flush

NousResearch/hermes-agent · cluster 118580 · agent

Data as of

Nothing open on GitHub. Fix merged in #136083. Check it covers your case.

The short answer

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

These items address a bug where telemetry fields for compression attempts (such as aux_prompt_tokens and middle_window_tokens) are dropped or nulled out, with fixes aimed at preserving that data across memory flush and commit boundaries.

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.

  • #136083 fix(compression): honest compaction — refusal rollback, attempt telemetry, Relay marks (salvage #135866 #135807 #135808)

    merged to main

    files: agent/codex_runtime.py, agent/compaction_events.py, agent/compression_facade.py, agent/context_compressor.py, agent/context_compressor_telemetry.py, agent/conversation_compression.py, agent/conversation_compression_codex.py, agent/conversation_compression_telemetry.py, agent/micro_compaction.py, agent/relay_compaction.py, agent/relay_runtime.py, agent/turn_context_compaction.py, agent/turn_finalizer.py, agent/turn_overflow.py, agent/turn_preflight.py, agent/turn_recovery.py, gateway/run.py, gateway/run_turn.py, hermes_cli/observability/shared_metrics_events.py, hermes_cli/observability/shared_metrics_fields.py (+16 more)

3 PRs closed without merging

From the close comments: done elsewhere 1 · merged via another change 1 · other 1

  • #118642 fix(compression): preserve active attempt telemetry · done elsewhere → f925b01, #118580, #136083
  • #127043 fix(compression): hold attempt telemetry across commit-time memory flush · other → 1c05c6a
  • #135807 fix(compression): name the automatic trigger and effect in attempt telemetry · merged via another change → f925b01, #136083, #135866, #135807, #135808, #118580
Closed issues · 1
  • Closed#118580[Bug] Compression attempt telemetry never carries seeded fields (aux_prompt_tokens, middle_window_tokens always null)
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.40: 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
#136083
Closed issues
1
Attempts
3 PRs closed without merging
Fix link checked
10 Oct 2026

For your agent

The same facts, typed.