# NousResearch/hermes-agent · Agent budget exhaustion error handling and visibility

## Open now

- Nothing open on GitHub.

These items address cases where exhausting an iteration budget causes silent failures, dropped responses, or process termination. The work involves guarding cleanup chains and surfacing budget-related failures more visibly.

## TL;DR

- 5 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 3 PR(s) closed without merging.
- A fix was merged to main in PR #50009. Verify it addresses your case.
- **Recommended:** read PR #50009 (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-50009`. 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

- #8049: run_conversation silently kills the Python process when iteration budget is exhausted

## Prior & competing PRs

- **#50009: fix(agent): guard finalize_turn cleanup chain so it never drops the response**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/turn_finalizer.py`, `tests/agent/test_turn_finalizer_cleanup_guard.py`
- **#8095: fix: surface max-iterations summary failures at ERROR level (closes #8049)**. closed without merge
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `#8049`, `#50009`, `#8049`, `#50009`
- **#49309: fix(agent): make budget exhaustion visibly incomplete**. closed without merge
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `#8049`, `#50009`, `#8049`, `#8049`
- **#50059: fix(agent): guard finalize_turn cleanup chain so it never drops the response**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#50009`, `#8049`, `#43057`, `#46183`

## Fix status

- Merged to main in PR #50009 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-06-21`.
- Subsystem: `agent`
