tests/gateway/test_delivery.py::TestParseTargetPlatformChat::test_explicit_telegram_chat tests/gateway/test_delivery.py::TestParseTargetPlatformChat::test_platform_only_no_chat_id tests/gateway/test_delivery.py::TestParseTargetPlatformChat::test_local_target tests/gateway/test_delivery.py::TestParseTargetPlatformChat::test_origin_with_source tests/gateway/test_delivery.py::TestParseTargetPlatformChat::test_origin_without_source tests/gateway/test_delivery.py::TestParseTargetPlatformChat::test_unknown_platform tests/gateway/test_delivery.py::TestTargetToStringRoundtrip::test_origin_roundtrip tests/gateway/test_delivery.py::TestTargetToStringRoundtrip::test_local_roundtrip tests/gateway/test_delivery.py::TestTargetToStringRoundtrip::test_platform_only_roundtrip tests/gateway/test_delivery.py::TestTargetToStringRoundtrip::test_explicit_chat_roundtrip tests/gateway/test_delivery.py::TestCaseSensitiveChatIdParsing::test_slack_uppercase_chat_id_preserved tests/gateway/test_delivery.py::TestCaseSensitiveChatIdParsing::test_slack_chat_id_with_thread_preserved tests/gateway/test_delivery.py::TestCaseSensitiveChatIdParsing::test_matrix_room_id_preserved tests/gateway/test_delivery.py::TestCaseSensitiveChatIdParsing::test_mixed_case_chat_id_roundtrip tests/gateway/test_delivery.py::TestPlatformNameCaseInsensitivity::test_uppercase_platform_name tests/gateway/test_delivery.py::TestPlatformNameCaseInsensitivity::test_mixed_case_platform_name tests/gateway/test_delivery.py::test_explicit_telegram_private_thread_requires_reply_anchor tests/gateway/test_delivery.py::test_named_telegram_private_topic_is_created_before_delivery tests/gateway/test_delivery.py::test_named_telegram_private_topic_refreshes_stale_thread_id tests/gateway/test_delivery.py::test_explicit_telegram_private_thread_uses_reply_fallback_with_anchor tests/gateway/test_delivery.py::test_explicit_telegram_direct_messages_topic_metadata_is_respected tests/gateway/test_delivery.py::test_explicit_telegram_group_thread_does_not_mark_dm_fallback tests/gateway/test_delivery.py::test_platform_send_failure_raises_for_delivery_result