# NousResearch/hermes-agent · Discord durable re-authorization role gate reading allowed_roles config

## Open now

- Nothing open on GitHub.

Most members concern Discord durable re-authorization not honoring platforms.discord.allowed_roles, with several PRs proposing to resolve the role gate from the platform block or gateway loader as ingress does. One member is broader, bundling this with A2A admission, refused Bot receipts, and headless peer Bot Chat.

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

- #139148: \[Bug\]: Discord durable re-authorization ignores platforms.discord.allowed_roles, dropping role-authorized messages with permission_denied

## Prior & competing PRs

- **#139471: fix(gateway): Discord role re-auth, A2A admission, refused Bot receipts and headless peer Bot Chat**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `apps/desktop/src/plugins/hermes-bots/relay.test.ts`, `apps/desktop/src/plugins/hermes-bots/relay.ts`, `apps/shared/src/gateway-contract.generated.ts`, `apps/shared/src/gateway-contract.openrpc.json`, `contributors/emails/[redacted:email]`, `gateway/platforms/api_server.py`, `gateway/platforms/api_server_bot_chat.py`, `gateway/session_bot.py`, `gateway/session_bot_mailbox.py`, `gateway/session_envelope.py`, `plugins/platforms/discord/adapter.py`, `plugins/platforms/discord/adapter_authorization.py`, `tests/gateway/test_bot_receipt_refusal.py`, `tests/gateway/test_peer_dm_bot_chat_headless.py`, `tests/gateway/test_upstream_native_admission.py`, `tests/plugins/platforms/test_discord_reauthorize_allowed_roles.py`, `tui_gateway/contracts/canonical_projections.py`
- **#139170: fix(discord): resolve the durable re-authorization role gate from the platform block**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#139471`, `#139148`
- **#139171: fix(discord): durable re-authorization reads allowed_roles from the platforms block like ingress**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#139170`
- **#139501: fix(discord): resolve durable role re-authorization through the gateway loader**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#139471`, `#139148`

## Fix status

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