"""Shared typed record of a comprehension organ's attempt at a problem (N2).

The normalization layer the contemplation batch (N3 router, N4 registry, N6 pass manager) reasons
over — uniform across the R1 and R2 setup compilers. Off-serving; imports no `evals`.
"""

from __future__ import annotations

from core.comprehension_attempt.classify import (
    classify_cmb,
    classify_r1,
    classify_r2,
    classify_r3,
    cmb_reason,
)
from core.comprehension_attempt.failure_family import (
    REGISTRY,
    FailureFamily,
    enrich_family,
    family_by_name,
    family_for_reason,
)
from core.comprehension_attempt.model import ComprehensionAttempt, Organ, Outcome
from core.comprehension_attempt.proposal import (
    FailureProposal,
    build_proposal,
    emit_proposal,
)
from core.comprehension_attempt.router import (
    RouteResult,
    RouteStatus,
    cmb_is_authoritative,
    route_setup,
)

__all__ = [
    "REGISTRY",
    "ComprehensionAttempt",
    "FailureFamily",
    "FailureProposal",
    "build_proposal",
    "emit_proposal",
    "Organ",
    "Outcome",
    "RouteResult",
    "RouteStatus",
    "classify_cmb",
    "classify_r1",
    "classify_r2",
    "classify_r3",
    "cmb_is_authoritative",
    "cmb_reason",
    "enrich_family",
    "family_by_name",
    "family_for_reason",
    "route_setup",
]
