# NousResearch/hermes-agent · Background process exit and status tracking fixes

## Open now

- Nothing open on GitHub.

These items address bugs where background or child processes that have exited are not properly detected or cleaned up, and where desktop status indicators continue showing tasks as running after completion. The work spans process listing reconciliation and UI status row retirement.

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

- #81114: Desktop status stack: completed background tasks stay 'running' indefinitely; chat view doesn't render async results until a new message is sent

## Prior & competing PRs

- **#105548: fix(process): list refreshes no longer leave exited children running (salvage #60506, #81385)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `tests/tools/test_process_registry_list_exit.py`, `tools/process_registry.py`
- **#127272: fix(desktop): stop interrupted sessions and stale history from pinning subagent rows**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - 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`
- **#81385: fix(process): reconcile background exits during listing**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `41380ccef90f`, `#105548`
- **#128608: fix(desktop): retire status rows on completions after Stop**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#127272`, `#81114`, `#81114`, `#127272`, `#127272`, `#81114`, `#127272`

## Fix status

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