"""Smoke tests — the package imports and exposes its surface (tier-0)."""

from __future__ import annotations

import pytest

import mgf.secrets


@pytest.mark.smoke
def test_version_present() -> None:
    assert isinstance(mgf.secrets.__version__, str)
    assert mgf.secrets.__version__ == "0.1.0"


@pytest.mark.smoke
def test_public_surface_importable() -> None:
    for name in mgf.secrets.__all__:
        assert hasattr(mgf.secrets, name), f"__all__ names {name} but it is not exported"


@pytest.mark.smoke
def test_kinds_and_probes_aligned() -> None:
    assert set(mgf.secrets.PROBES) == set(mgf.secrets.KINDS)
