# NousResearch/hermes-agent · Matrix session handoff thread creation and keying

## Open now

- Nothing open on GitHub.

These issues and pull requests address a bug where Matrix attach_to_session and session handoff silently did nothing, due to missing thread creation and incorrect chat_type handling. The work focuses on ensuring handoff threads are properly created and replies continue the correct session.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #113179. Verify it addresses your case.
- **Recommended:** read PR #113179 (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-113179`. 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.50`: 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

- #112918: Matrix: \`attach_to_session\` / session handoff silently no-ops (missing \`create_handoff_thread\` + wrong in-thread \`chat_type\`)

## Prior & competing PRs

- **#113179: fix(matrix): attach_to_session and /handoff open a thread and replies continue the seeded session (#112918, salvage #108367)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `cron/scheduler_delivery.py`, `gateway/run_startup.py`, `plugins/platforms/matrix/adapter.py`, `tests/cron/test_cron_thread_seed_dm_keying.py`, `tests/cron/test_scheduler.py`, `tests/gateway/test_handoff_thread_session_key.py`, `tests/gateway/test_matrix_handoff_thread.py`, `website/docs/reference/slash-commands.md`, `website/docs/user-guide/features/cron.md`, `website/docs/user-guide/sessions.md`, `website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/slash-commands.md`, `website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/features/cron.md`, `website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/sessions.md`
- **#108367: Matrix: make attach_to_session / session handoff work (thread anchor + thread keying)**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`
- **#112951: fix(matrix): make attach_to_session / session handoff work (#112918)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#108367`

## Fix status

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