# NousResearch/hermes-agent · Fix cancellation source reporting for interrupted tools

## Open now

- Nothing open on GitHub.

These items address a bug where interrupted or cancelled tool/code executions reported incorrect cancellation sources, and includes a bound on background review replay. The fix ensures the real cancellation reason is surfaced accurately.

## TL;DR

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

- #93053: execute_code reports 'user sent a new message' when no user message exists (background review cancellation interference)

## Prior & competing PRs

- **#93354: fix(agent): interrupted tools report the real cancellation source; background review replay is bounded (#93053, #93057)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/background_review.py`, `agent/conversation_loop.py`, `agent/interrupt_compat.py`, `agent/subagent_lifecycle.py`, `agent/tool_executor.py`, `agent/turn_context.py`, `hermes_cli/config_defaults.py`, `run_agent.py`, `tests/agent/test_compression_concurrent_fork.py`, `tests/agent/test_interrupt_compat.py`, `tests/agent/test_subagent_lifecycle.py`, `tests/run_agent/test_background_review_input_budget.py`, `tests/run_agent/test_interrupt_propagation.py`, `tests/run_agent/test_sequential_tool_timeout.py`, `tests/tools/test_approved_command_clean_slate.py`, `tests/tools/test_code_execution.py`, `tools/code_execution_tool.py`, `tools/interrupt.py`
- **#93089: fix(code-exec): report the real cancellation source for interrupted runs**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#93354`

## Fix status

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