tests/gateway/test_telegram_topic_mode.py::test_root_telegram_dm_prompt_is_system_lobby_when_topic_mode_enabled tests/gateway/test_telegram_topic_mode.py::test_root_telegram_dm_new_shows_create_topic_instruction tests/gateway/test_telegram_topic_mode.py::test_telegram_topic_prompt_still_runs_agent_when_topic_mode_enabled tests/gateway/test_telegram_topic_mode.py::test_managed_topic_binding_reuses_restored_session_over_static_lane_session tests/gateway/test_telegram_topic_mode.py::test_telegram_group_prompt_is_not_topic_lobby_even_when_dm_topic_mode_enabled tests/gateway/test_telegram_topic_mode.py::test_topic_command_is_private_dm_only_and_does_not_enable_group_topic_mode tests/gateway/test_telegram_topic_mode.py::test_group_new_keeps_existing_reset_semantics_when_dm_topic_mode_enabled tests/gateway/test_telegram_topic_mode.py::test_new_inside_telegram_topic_resets_current_topic_with_parallel_tip tests/gateway/test_telegram_topic_mode.py::test_new_inside_telegram_topic_rewrites_binding_to_new_session tests/gateway/test_telegram_topic_mode.py::test_topic_binding_follows_compression_tip_on_read tests/gateway/test_telegram_topic_mode.py::test_topic_root_command_explicitly_migrates_and_enables_topic_mode tests/gateway/test_telegram_topic_mode.py::test_topic_root_command_lists_unlinked_sessions_for_restore tests/gateway/test_telegram_topic_mode.py::test_topic_root_command_handles_no_unlinked_sessions tests/gateway/test_telegram_topic_mode.py::test_topic_command_inside_bound_topic_shows_current_session tests/gateway/test_telegram_topic_mode.py::test_topic_restore_inside_topic_binds_old_session_and_returns_last_assistant_message tests/gateway/test_telegram_topic_mode.py::test_topic_restore_refuses_session_owned_by_another_telegram_user tests/gateway/test_telegram_topic_mode.py::test_topic_restore_refuses_already_linked_session tests/gateway/test_telegram_topic_mode.py::test_first_message_inside_topic_records_topic_binding tests/gateway/test_telegram_topic_mode.py::test_topic_root_command_creates_and_pins_system_topic tests/gateway/test_telegram_topic_mode.py::test_auto_generated_title_renames_bound_telegram_topic tests/gateway/test_telegram_topic_mode.py::test_auto_generated_title_does_not_rename_topic_bound_to_other_session tests/gateway/test_telegram_topic_mode.py::test_operator_declared_topic_is_not_auto_renamed tests/gateway/test_telegram_topic_mode.py::test_disable_topic_auto_rename_extra_skips_rename tests/gateway/test_telegram_topic_mode.py::test_schedule_topic_rename_respects_disable_flag tests/gateway/test_telegram_topic_mode.py::test_telegram_topic_auto_rename_disabled_string_truthy tests/gateway/test_telegram_topic_mode.py::test_general_topic_is_treated_as_root_lobby tests/gateway/test_telegram_topic_mode.py::test_lobby_reminder_is_debounced_per_chat tests/gateway/test_telegram_topic_mode.py::test_binding_survives_session_deletion_via_cascade tests/gateway/test_telegram_topic_mode.py::test_migration_rebuilds_v1_binding_table_with_cascade_fk tests/gateway/test_telegram_topic_mode.py::test_topic_help_subcommand_returns_usage tests/gateway/test_telegram_topic_mode.py::test_topic_off_disables_mode_and_clears_bindings tests/gateway/test_telegram_topic_mode.py::test_topic_off_is_idempotent_when_never_enabled tests/gateway/test_telegram_topic_mode.py::test_topic_refuses_unauthorized_user tests/gateway/test_telegram_topic_mode.py::test_recover_returns_none_for_known_topic tests/gateway/test_telegram_topic_mode.py::test_recover_preserves_unknown_thread_id_for_new_topic tests/gateway/test_telegram_topic_mode.py::test_recover_rewrites_lobby_thread_id_to_most_recent tests/gateway/test_telegram_topic_mode.py::test_recover_returns_none_when_topic_mode_disabled tests/gateway/test_telegram_topic_mode.py::test_recover_returns_none_when_no_bindings_yet tests/gateway/test_telegram_topic_mode.py::test_recover_returns_none_for_brand_new_topic tests/gateway/test_telegram_topic_mode.py::test_list_telegram_topic_bindings_for_chat tests/gateway/test_telegram_topic_mode.py::test_list_telegram_topic_bindings_for_chat_no_table tests/gateway/test_telegram_topic_mode.py::test_get_telegram_topic_binding_by_session_returns_binding tests/gateway/test_telegram_topic_mode.py::test_get_telegram_topic_binding_by_session_returns_none_for_unknown tests/gateway/test_telegram_topic_mode.py::test_session_split_restores_source_thread_id_from_binding