# NousResearch/hermes-agent · SIGABRT on exit: daemon thread shutdown in one-shot mode

## Open now

- Nothing open on GitHub.

A cluster of bugs, fixes, and features centered on SIGABRT/exit-134 crashes during teardown of one-shot CLI runs, caused by background memory/gRPC/Honcho daemon threads not being cleanly joined before process exit. Includes related pluggable memory provider work and CLI interrupt handling improvements.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 0 merged PR(s), 2 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## 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

- #27832: Bug: mem0-oss gRPC thread causes CLI abort after successful output (FATAL: exception not rethrown)

## Prior & competing PRs

- **#27842: fix(mem0): shut down memory provider on oneshot exit to prevent gRPC abort**. closed without merge
  - maintainer direction: category `stale_abandoned`; implication `active`
- **#37635: fix(oneshot): join memory daemon threads before process exit (#37632)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `bfa7a794cb2`, `244dabbd9`, `7e53b3ef82c`, `#67905`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
