# NousResearch/hermes-agent · Windows gateway Scheduled Task crash/exit status visibility

## Open now

- 1 issue, 1 PR open on GitHub.
- #108486: \[gateway/windows\] RestartOnFailure on the installed Scheduled Task never fires: async VBS launcher exits 0, so Task Scheduler cannot see gateway crashes
- PR #147542: fix(gateway): supervise the Windows gateway from its launcher

These members share a theme: on Windows, the gateway's Scheduled Task launcher may not expose gateway exit status to Task Scheduler, so RestartOnFailure may not trigger. One member reports the problem, and two are pull requests proposing exit-status propagation or launcher-based supervision; their outcomes are not established here.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 1 open PR(s), 0 merged PR(s), 1 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.

## Open related issues

- #108486: \[gateway/windows\] RestartOnFailure on the installed Scheduled Task never fires: async VBS launcher exits 0, so Task Scheduler cannot see gateway crashes

## Prior & competing PRs

- **#108504: fix(gateway): propagate Windows task exit status**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#91099`
- **#147542: fix(gateway): supervise the Windows gateway from its launcher**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `d5640d525a`, `#91097`, `#108486`
  - files: `gateway/restart.py`, `hermes_cli/gateway_runtime_service_identity.py`, `hermes_cli/gateway_windows.py`, `hermes_cli/update_cmd_windows.py`, `tests/hermes_cli/test_gateway_runtime_service.py`, `tests/hermes_cli/test_gateway_windows.py`, `tests/hermes_cli/test_gateway_windows_launcher_standdown.py`

## Fix status

- No merged fix on record.
- Subsystem: `hermes_cli`
- Kind: `bug` (from the open issues' GitHub type labels).
