# NousResearch/hermes-agent · WhatsApp bridge signal-race exit treated as fatal crash

## Open now

- Nothing open on GitHub.

A bug where signal-raced or SIGTERM bridge exits are misread as fatal crashes, potentially causing crash loops on shutdown. Multiple fixes address treating these exits as non-fatal or intentional.

## TL;DR

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

- #127047: \[Bug\]Race condition in _check_managed_bridge_exit() causes crash loop on shutdown: bridge exit code -15 treated as fatal

## Prior & competing PRs

- **#127117: fix(whatsapp,photon): don't read a signal-raced child exit as a fatal crash**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `plugins/platforms/photon/adapter.py`, `plugins/platforms/whatsapp/adapter.py`, `tests/gateway/test_whatsapp_connect.py`, `tests/plugins/platforms/photon/test_overflow_recovery.py`
- **#127065: fix(whatsapp): treat bridge SIGTERM exit (-15) as non-fatal regardless of the shutdown flag**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#127117`, `#127117`
- **#127067: fix(whatsapp): don't read a signal-raced bridge exit as a fatal crash**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#127117`, `#127117`
- **#127128: fix(whatsapp): treat signal-raced bridge exit as intentional during gateway signal stop**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#127067`, `#127117`

## Fix status

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