# NousResearch/hermes-agent · Windows gateway update ambiguity bug and fixes

## Open now

- Nothing open on GitHub.

A bug where updating Hermes crashes with a 'Gateway ownership is ambiguous' error when the gateway runs via Windows Task Scheduler, along with two related fix attempts addressing the Task Scheduler interaction and SCM-host ambiguity scoping.

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

- #99911: Windows: hermes update crashes with 'Gateway ownership is ambiguous' when gateway runs via Scheduled Task

## Prior & competing PRs

- **#115680: fix(update): Windows update no longer stops Task Scheduler for a Scheduled-Task gateway (#97208, salvage #97220)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/gateway.py`, `hermes_cli/gateway_windows.py`, `hermes_cli/update_cmd.py`, `hermes_cli/update_cmd_deps.py`, `tests/hermes_cli/test_gateway.py`, `tests/hermes_cli/test_gateway_windows.py`, `tests/hermes_cli/test_update_venv_health.py`, `website/docs/getting-started/updating.md`, `website/docs/user-guide/windows-native.md`
- **#99938: fix(cli): scope the shared SCM-host ambiguity guard to the gateway's direct parent**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `44945d224c`, `#115680`

## Fix status

- Merged to main in PR #115680 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-19`.
- Subsystem: `hermes_cli`
