tests/gateway/test_mirror.py::TestFindSessionId::test_finds_matching_session tests/gateway/test_mirror.py::TestFindSessionId::test_returns_most_recent tests/gateway/test_mirror.py::TestFindSessionId::test_thread_id_disambiguates_same_chat tests/gateway/test_mirror.py::TestFindSessionId::test_user_id_disambiguates_same_group_chat tests/gateway/test_mirror.py::TestFindSessionId::test_ambiguous_same_group_chat_without_user_id_returns_none tests/gateway/test_mirror.py::TestFindSessionId::test_no_match_returns_none tests/gateway/test_mirror.py::TestFindSessionId::test_missing_sessions_file tests/gateway/test_mirror.py::TestFindSessionId::test_platform_case_insensitive tests/gateway/test_mirror.py::TestMirrorToSession::test_successful_mirror tests/gateway/test_mirror.py::TestMirrorToSession::test_successful_mirror_uses_thread_id tests/gateway/test_mirror.py::TestMirrorToSession::test_successful_mirror_uses_user_id_for_group_session tests/gateway/test_mirror.py::TestMirrorToSession::test_no_matching_session tests/gateway/test_mirror.py::TestMirrorToSession::test_error_returns_false tests/gateway/test_mirror.py::TestAppendToSqlite::test_connection_is_closed_after_use tests/gateway/test_mirror.py::TestAppendToSqlite::test_connection_closed_even_on_error