tests/gateway/test_matrix_mention.py::TestIsBotMentioned::test_full_user_id_in_body tests/gateway/test_matrix_mention.py::TestIsBotMentioned::test_localpart_in_body tests/gateway/test_matrix_mention.py::TestIsBotMentioned::test_localpart_case_insensitive tests/gateway/test_matrix_mention.py::TestIsBotMentioned::test_matrix_pill_in_formatted_body tests/gateway/test_matrix_mention.py::TestIsBotMentioned::test_no_mention tests/gateway/test_matrix_mention.py::TestIsBotMentioned::test_empty_body tests/gateway/test_matrix_mention.py::TestIsBotMentioned::test_partial_localpart_no_match tests/gateway/test_matrix_mention.py::TestIsBotMentioned::test_m_mentions_user_ids_authoritative tests/gateway/test_matrix_mention.py::TestIsBotMentioned::test_m_mentions_user_ids_with_body_mention tests/gateway/test_matrix_mention.py::TestIsBotMentioned::test_m_mentions_user_ids_other_user_only tests/gateway/test_matrix_mention.py::TestIsBotMentioned::test_m_mentions_user_ids_empty_list tests/gateway/test_matrix_mention.py::TestIsBotMentioned::test_m_mentions_user_ids_none tests/gateway/test_matrix_mention.py::TestStripMention::test_strip_full_user_id tests/gateway/test_matrix_mention.py::TestStripMention::test_localpart_preserved tests/gateway/test_matrix_mention.py::TestStripMention::test_localpart_in_path_preserved tests/gateway/test_matrix_mention.py::TestStripMention::test_strip_localpart_when_explicit_at_mention tests/gateway/test_matrix_mention.py::TestStripMention::test_does_not_strip_bare_localpart_word tests/gateway/test_matrix_mention.py::TestStripMention::test_strip_returns_empty_for_mention_only tests/gateway/test_matrix_mention.py::TestOutboundMentions::test_send_adds_matrix_mentions_and_formatted_body tests/gateway/test_matrix_mention.py::TestOutboundMentions::test_send_dedupes_mentions_and_ignores_code_spans tests/gateway/test_matrix_mention.py::TestOutboundMentions::test_edit_message_preserves_mentions tests/gateway/test_matrix_mention.py::TestOutboundMentions::test_send_simple_notice_adds_mentions tests/gateway/test_matrix_mention.py::test_require_mention_default_ignores_unmentioned tests/gateway/test_matrix_mention.py::test_require_mention_default_processes_mentioned tests/gateway/test_matrix_mention.py::test_require_mention_html_pill tests/gateway/test_matrix_mention.py::test_require_mention_m_mentions_user_ids tests/gateway/test_matrix_mention.py::test_require_mention_m_mentions_other_user_ignored tests/gateway/test_matrix_mention.py::test_require_mention_dm_always_responds tests/gateway/test_matrix_mention.py::test_dm_strips_full_mxid tests/gateway/test_matrix_mention.py::test_dm_preserves_localpart_in_body tests/gateway/test_matrix_mention.py::test_bare_mention_passes_empty_string tests/gateway/test_matrix_mention.py::test_require_mention_free_response_room tests/gateway/test_matrix_mention.py::test_require_mention_bot_participated_thread tests/gateway/test_matrix_mention.py::test_require_mention_disabled tests/gateway/test_matrix_mention.py::test_require_mention_disabled_skips_stripping tests/gateway/test_matrix_mention.py::test_auto_thread_default_creates_thread tests/gateway/test_matrix_mention.py::test_auto_thread_preserves_existing_thread tests/gateway/test_matrix_mention.py::test_auto_thread_skips_dm tests/gateway/test_matrix_mention.py::test_auto_thread_disabled tests/gateway/test_matrix_mention.py::test_auto_thread_tracks_participation tests/gateway/test_matrix_mention.py::TestThreadPersistence::test_empty_state_file tests/gateway/test_matrix_mention.py::TestThreadPersistence::test_track_thread_persists tests/gateway/test_matrix_mention.py::TestThreadPersistence::test_threads_survive_reload tests/gateway/test_matrix_mention.py::TestThreadPersistence::test_cap_max_tracked_threads tests/gateway/test_matrix_mention.py::test_dm_mention_thread_disabled_by_default tests/gateway/test_matrix_mention.py::test_dm_mention_thread_creates_thread tests/gateway/test_matrix_mention.py::test_dm_mention_thread_no_mention_no_thread tests/gateway/test_matrix_mention.py::test_dm_mention_thread_preserves_existing_thread tests/gateway/test_matrix_mention.py::test_dm_mention_thread_tracks_participation tests/gateway/test_matrix_mention.py::TestMatrixConfigBridge::test_yaml_bridge_sets_env_vars tests/gateway/test_matrix_mention.py::TestMatrixConfigBridge::test_yaml_bridge_sets_dm_mention_threads tests/gateway/test_matrix_mention.py::TestMatrixConfigBridge::test_env_vars_take_precedence_over_yaml