# NousResearch/hermes-agent · Compression hard-ceiling fallback race condition fixes

## Open now

- 1 issue, 2 PRs open on GitHub.
- #102339: Compression hard-ceiling race can bypass the configured fallback route
- PR #102367: fix(compression): recover hard-ceiling attempts with configured fallback
- PR #103088: fix(compression): make hard-ceiling fallback race-independent

These issues and pull requests address a race condition in the compression logic where hard-ceiling attempts could bypass or fail to preserve the configured fallback route. Multiple fix attempts approach making the fallback behavior race-independent.

## TL;DR

- 4 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.50`: the share of member 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.

## Open related issues

- #102339: Compression hard-ceiling race can bypass the configured fallback route

## Prior & competing PRs

- **#102367: fix(compression): recover hard-ceiling attempts with configured fallback**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `a4e30dbc51a`
  - files: `agent/conversation_compression.py`, `tests/agent/test_aux_stream_host_deadline.py`, `tests/agent/test_compression_attempt_lifecycle.py`, `tests/agent/test_compression_stall_fallback_78981.py`
- **#102370: fix(compression): preserve fallback at the hard-ceiling race**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#103088`
- **#103088: fix(compression): make hard-ceiling fallback race-independent**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#102367`, `#102339`, `#102370`, `#102367`
  - files: `agent/conversation_compression.py`, `tests/agent/test_compression_attempt_lifecycle.py`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
