import importlib


def test_planned_module_boundaries_are_importable():
    modules = [
        "rights_filter.domain.records",
        "rights_filter.domain.repositories",
        "rights_filter.domain.policies",
        "rights_filter.domain.knowledge_base",
        "rights_filter.analysis.preprocessing",
        "rights_filter.analysis.derivatives",
        "rights_filter.analysis.fingerprints",
        "rights_filter.analysis.face_person_detection",
        "rights_filter.analysis.internal_analyzer",
        "rights_filter.analysis.evidence_normalizer",
        "rights_filter.analysis.evidence_enrichment",
        "rights_filter.analysis.risk_scoring",
        "rights_filter.analysis.reason_builder",
        "rights_filter.analysis.llm_assistance",
        "rights_filter.analysis.search_query_generation",
        "rights_filter.analysis.search_result_promoter",
        "rights_filter.integrations.external_policy",
        "rights_filter.integrations.cloud_vision_web_detection",
        "rights_filter.integrations.web_detection_result_mapper",
        "rights_filter.integrations.search_policy",
        "rights_filter.integrations.naver_search",
        "rights_filter.jobs.batch_analyzer",
        "rights_filter.jobs.review_enrichment_job",
        "rights_filter.jobs.retry_policy",
        "rights_filter.jobs.usage_limits",
        "rights_filter.admin.review_handlers",
        "rights_filter.admin.review_presenters",
        "rights_filter.admin.detailed_review_presenter",
        "rights_filter.admin.decision_feedback",
        "rights_filter.admin.knowledge_base_handlers",
        "rights_filter.admin.correction_handlers",
        "rights_filter.governance.data_classes",
        "rights_filter.governance.retention_policy",
        "rights_filter.governance.access_policy",
        "rights_filter.governance.correction_policy",
    ]

    for module in modules:
        assert importlib.import_module(module)
