"""Company Intelligence (Phase 2A) — Company Capability Profile foundation.

The HEAD of the spine Company -> Capability -> Product -> Regulation -> Obligation
-> Procedure -> Evidence. Builds a CompanyContext into a CompanyCapabilityProfile
with a four-state trust model (declared/inferred/confirmed/unknown). A certification
yields at most an INFERRED candidate — never "erfuellt".

Reasoning OWNS the container + trust-state; it CONSUMES the Certification->Capability
mapping (Execution-owned) via an injected contract — no mapping data in product code.
"""

from __future__ import annotations

from .contract import CapabilityMappingEntry, CertificationCapabilityMap, EMPTY_MAPPING
from .engine import build_company_profile
from .schemas import (
    CapabilityEvidence,
    Certification,
    CompanyCapabilityProfile,
    CompanyContext,
    Declaration,
    ExistingEvidence,
    ExistingProcess,
    ExistingSystem,
    OperationalCapability,
    OperationalCapabilityCandidate,
    VerificationStatus,
)

__all__ = [
    "build_company_profile",
    "CompanyContext",
    "CompanyCapabilityProfile",
    "Certification",
    "Declaration",
    "ExistingProcess",
    "ExistingSystem",
    "ExistingEvidence",
    "CapabilityEvidence",
    "OperationalCapabilityCandidate",
    "OperationalCapability",
    "VerificationStatus",
    "CapabilityMappingEntry",
    "CertificationCapabilityMap",
    "EMPTY_MAPPING",
]
