# NousResearch/hermes-agent · Weixin gateway open-policy startup gate and restart loop

## Open now

- 2 issues, 1 PR open on GitHub.
- #57474: \[Bug\]: Weixin gateway death loop after upgrade — open policy without ALLOW_ALL_USERS opt-in
- #62553: \`gateway\`: v0.18 open-policy startup gate false-positives on weixin/iLink — the bot is protocol-level 1:1, \`open\` has no external surface
- PR #57487: fix(gateway): set fatal exit code on open-policy violation to prevent death loop

These items center on the gateway's open-policy startup check as it applies to the Weixin/iLink adapter, with reports of a repeated restart loop after upgrade and a claim that the check wrongly flags a 1:1 transport. Two pull requests propose different approaches: exempting Weixin from the gate and setting a fatal exit code on violation.

## TL;DR

- 4 member(s): 2 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_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.39`: 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

- #57474: \[Bug\]: Weixin gateway death loop after upgrade — open policy without ALLOW_ALL_USERS opt-in
- #62553: \`gateway\`: v0.18 open-policy startup gate false-positives on weixin/iLink — the bot is protocol-level 1:1, \`open\` has no external surface

## Prior & competing PRs

- **#57487: fix(gateway): set fatal exit code on open-policy violation to prevent death loop**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `gateway/run_startup.py`, `tests/gateway/test_own_policy_startup_gate.py`, `tests/hermes_cli/test_gateway_service.py`
- **#62641: fix(gateway): exempt Weixin from open-policy startup gate (transport-bound adapter)**. closed without merge
  - maintainer direction: category `volume_quota`; implication `active`

## Fix status

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