tests/gateway/test_auto_continue.py::TestAutoDetection::test_trailing_tool_result_triggers_note tests/gateway/test_auto_continue.py::TestAutoDetection::test_trailing_assistant_message_no_note tests/gateway/test_auto_continue.py::TestAutoDetection::test_empty_history_no_note tests/gateway/test_auto_continue.py::TestAutoDetection::test_trailing_user_message_no_note tests/gateway/test_auto_continue.py::TestAutoDetection::test_multiple_tool_results_still_triggers tests/gateway/test_auto_continue.py::TestAutoDetection::test_original_message_preserved_after_note tests/gateway/test_auto_continue.py::TestInterruptedReplayFiltering::test_interrupted_tool_tail_is_removed_from_agent_history tests/gateway/test_auto_continue.py::TestInterruptedReplayFiltering::test_mixed_tail_with_one_interrupted_result_is_removed tests/gateway/test_auto_continue.py::TestInterruptedReplayFiltering::test_successful_tool_tail_is_preserved tests/gateway/test_auto_continue.py::TestInterruptedReplayFiltering::test_dangling_unanswered_tool_call_tail_is_removed tests/gateway/test_auto_continue.py::TestInterruptedReplayFiltering::test_dangling_tail_after_completed_pair_is_removed_only_at_tail tests/gateway/test_auto_continue.py::TestInterruptedReplayFiltering::test_persisted_auto_continue_note_is_not_replayed