# NousResearch/hermes-agent · Dead runtimes stealing composer focus fix

## Open now

- Nothing open on GitHub.

These issues and PRs concern a bug where reaped or dead runtimes continue receiving approval.pending and goal-status poll loops (4001), causing them to steal focus from the composer. The work addresses latching those polls off when a session is dead.

## 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 #99891. Verify it addresses your case.
- **Recommended:** read PR #99891 (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: `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.67`: 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

- #98554: Desktop: approval.pending and goal-status polls never latch off a reaped runtime (4001 loop) — composer loses focus while typing

## Prior & competing PRs

- **#99891: fix(desktop): stop dead runtimes from stealing composer focus (supersedes #97874)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/src/app/chat/composer/status-stack/index.tsx`, `apps/desktop/src/app/chat/composer/status-stack/polling-guard.test.tsx`, `apps/desktop/src/app/contrib/session-rpc-dispatcher.test.ts`, `apps/desktop/src/app/contrib/session-rpc-dispatcher.ts`, `apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/lifecycle.ts`, `apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/session-info.test.ts`, `apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/session-info.ts`, `apps/desktop/src/app/session/hooks/use-message-stream/session-reclaimed.test.tsx`, `apps/desktop/src/app/session/hooks/use-message-stream/utils.ts`, `apps/desktop/src/app/session/hooks/use-prompt-actions/index.test.tsx`, `apps/desktop/src/app/session/hooks/use-prompt-actions/index.ts`, `apps/desktop/src/store/composer-status.ts`, `apps/desktop/src/store/gateway.ts`, `apps/desktop/src/store/goals.test.ts`, `apps/desktop/src/store/goals.ts`, `apps/desktop/src/store/prompts.test.ts`, `apps/desktop/src/store/prompts.ts`, `apps/desktop/src/store/runtime-gone.ts`
- **#98568: fix(desktop): latch dead-session 4001s off approval.pending and goal polls**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#99891`

## Fix status

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