from app.services.human_handoff_service import MESSAGE_SCOPE_EXTERNAL, MESSAGE_SCOPE_HANDOFF def test_scope_constants_are_distinct(): assert MESSAGE_SCOPE_EXTERNAL != MESSAGE_SCOPE_HANDOFF def test_human_handoff_runtime_is_disabled(): import app.services.human_handoff_service as module assert not hasattr(module, "maybe_trigger_handoff") assert not hasattr(module, "process_human_reply") assert not hasattr(module, "resolve_handoff_from_inbound")