# NousResearch/hermes-agent · Codex compression stall misclassification fixes

## Open now

- Nothing open on GitHub.

These issues and PRs address a bug where Codex summary stalls during compression are incorrectly classified as terminal network failures rather than timeouts, preventing fallback behavior and causing session loss. Fixes include routing stalls to the timeout ladder and adjusting summary model prompting.

## TL;DR

- 5 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 2 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #124966. Verify it addresses your case.
- **Recommended:** read PR #124966 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-125031`. 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.40`: 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.

## Closed / duplicate issues

- #124077: \[Bug\]: Codex summary stall is classified as a network failure, so compression never falls back and the gateway wipes the session

## Prior & competing PRs

- **#124966: fix(compression): stop asking the summary model to quote the latest task verbatim**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/context_compressor.py`, `contributors/emails/[redacted:email]`, `tests/agent/test_context_compressor_task_heading.py`
- **#125031: fix(compression): send a Codex stream stall to the timeout ladder, not a terminal abort**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/auxiliary_client.py`, `agent/context_compressor.py`, `contributors/emails/[redacted:email]`, `tests/agent/test_context_compressor.py`
- **#124466: fix(compression): prevent and recover Codex summary stalls**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `ad4e4496c2`, `#124077`, `#124078`, `#125031`, `#124966`, `#124078`, `#124116`
- **#125221: fix(compression): classify a Codex stream-guard stall as a timeout, not a terminal network failure**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `cd5dcd1458`, `#124077`, `#125031`, `#124086`

## Fix status

- Merged to main in PR #124966 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-27`.
