# NousResearch/hermes-agent · Matrix adapter MAS refresh-token support for matrix.org

## Open now

- 1 issue, 1 PR open on GitHub.
- #93929: \[Bug\] Matrix adapter on matrix.org: access token dies every ~3-4h (MAS) — no refresh-token support
- PR #140876: fix(matrix): add MAS OAuth2 refresh-token support for matrix.org

One issue reports that the Matrix adapter's access token on matrix.org expires roughly every 3-4 hours, with no refresh-token support under MAS. Two pull requests propose adding MAS (OAuth2) refresh-token support; their status and effectiveness are not stated in the titles.

## 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

- #93929: \[Bug\] Matrix adapter on matrix.org: access token dies every ~3-4h (MAS) — no refresh-token support

## Prior & competing PRs

- **#94096: fix(matrix): add MAS refresh-token support for matrix.org**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `7aabd795b89bfdff4e5b4d6db41ba1f39d33ba2f`, `beaaca1f9c6993ff64f27299acf51d1cb0a90cd5`, `0aa913a772371884ec5604b4575abb01607f54a4`, `#94096`, `#93929`, `#71550`, `#85813`, `#111333`
- **#140876: fix(matrix): add MAS OAuth2 refresh-token support for matrix.org**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `plugins/platforms/matrix/adapter.py`, `tests/plugins/platforms/matrix/test_mas_refresh.py`

## Fix status

- No merged fix on record.
- Subsystem: `gateway`
