tests/gateway/test_restart_notification.py::test_restart_notification_pending_false_without_marker tests/gateway/test_restart_notification.py::test_restart_notification_pending_true_with_marker tests/gateway/test_restart_notification.py::test_planned_restart_notification_pending_roundtrip tests/gateway/test_restart_notification.py::test_restart_command_writes_notify_file tests/gateway/test_restart_notification.py::test_restart_command_uses_service_restart_under_systemd tests/gateway/test_restart_notification.py::test_restart_command_uses_detached_without_systemd tests/gateway/test_restart_notification.py::test_restart_command_preserves_thread_id tests/gateway/test_restart_notification.py::test_restart_command_uses_atomic_json_writes_for_marker_files tests/gateway/test_restart_notification.py::test_sethome_updates_running_config_for_same_process_restart tests/gateway/test_restart_notification.py::test_sethome_preserves_thread_target_for_same_process_restart tests/gateway/test_restart_notification.py::test_send_home_channel_startup_notification_to_configured_home tests/gateway/test_restart_notification.py::test_send_home_channel_startup_notification_preserves_thread_metadata tests/gateway/test_restart_notification.py::test_send_home_channel_startup_notification_skips_restart_target tests/gateway/test_restart_notification.py::test_send_home_channel_startup_notification_does_not_skip_different_thread tests/gateway/test_restart_notification.py::test_send_home_channel_startup_notification_ignores_false_send_result tests/gateway/test_restart_notification.py::test_send_restart_notification_delivers_and_cleans_up tests/gateway/test_restart_notification.py::test_send_restart_notification_with_thread tests/gateway/test_restart_notification.py::test_send_restart_notification_noop_when_no_file tests/gateway/test_restart_notification.py::test_send_restart_notification_skips_when_adapter_missing tests/gateway/test_restart_notification.py::test_send_restart_notification_cleans_up_on_send_failure tests/gateway/test_restart_notification.py::test_send_restart_notification_logs_warning_on_sendresult_failure tests/gateway/test_restart_notification.py::test_send_home_channel_startup_notification_skipped_when_flag_disabled tests/gateway/test_restart_notification.py::test_send_home_channel_startup_notification_default_flag_true tests/gateway/test_restart_notification.py::test_send_restart_notification_skipped_when_flag_disabled tests/gateway/test_restart_notification.py::test_send_restart_notification_logs_info_on_sendresult_success tests/gateway/test_restart_notification.py::test_shutdown_notifications_use_cached_live_thread_source_when_origin_missing tests/gateway/test_restart_notification.py::test_restart_shutdown_notification_anchors_telegram_dm_topic