# NousResearch/hermes-agent · Fix stale subagent rows persisting in desktop spawn tree

## Open now

- Nothing open on GitHub.

These issues and fixes address a bug where terminal subagents from other sessions, or rows from interrupted sessions, become permanently pinned in the desktop spawn tree history. The work focuses on retiring inactive subagents and stopping stale history from persisting incorrectly.

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

- #75505: Desktop spawn tree permanently retains terminal subagents from other sessions (and interrupted sessions keep running rows forever)

## Prior & competing PRs

- **#127272: fix(desktop): stop interrupted sessions and stale history from pinning subagent rows**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/src/app/agents/index.tsx`, `apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/tools-subagent-interrupt.test.ts`, `apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/tools.ts`, `apps/desktop/src/app/session/hooks/use-message-stream/index.ts`, `apps/desktop/src/app/session/hooks/use-message-stream/interrupted-status-sync.test.tsx`, `apps/desktop/src/app/shell/hooks/use-statusbar-items.tsx`, `apps/desktop/src/store/subagents.test.ts`, `apps/desktop/src/store/subagents.ts`
- **#75530: fix(desktop): retire inactive subagent history**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`

## Fix status

- Merged to main in PR #127272 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-10-01`.
- Subsystem: `apps/desktop`
