"""
FGIP Causality Engine - Append-only knowledge graph for causal claims.

Every edge has status: CLAIMED -> EVIDENCED/DISPUTED/RETRACTED.
No deletions. Receipts-first evidence model.
"""

from .models import (
    EdgeStatus,
    Sensitivity,
    AssertionLevel,
    Visibility,
    Tone,
    CATNIP_PHRASES,
    SAFE_REPLACEMENTS,
    Node,
    Edge,
    Source,
    Claim,
    EdgeAttr,
    EdgeSource,
    ClaimEdge,
)
from .engine import CausalityEngine
from .queries import (
    trace_causality,
    ownership_loop,
    contradiction_check,
    correction_score,
)
from .loader import load_seed_nodes, load_seed_edges
from .sources import hash_file, store_source, fetch_url, verify_source
from .export import export_graph

__all__ = [
    # Enums
    "EdgeStatus",
    "Sensitivity",
    "AssertionLevel",
    "Visibility",
    "Tone",
    # Catnip detection
    "CATNIP_PHRASES",
    "SAFE_REPLACEMENTS",
    # Models
    "Node",
    "Edge",
    "Source",
    "Claim",
    "EdgeAttr",
    "EdgeSource",
    "ClaimEdge",
    # Engine
    "CausalityEngine",
    # Queries
    "trace_causality",
    "ownership_loop",
    "contradiction_check",
    "correction_score",
    # Loader
    "load_seed_nodes",
    "load_seed_edges",
    # Sources
    "hash_file",
    "store_source",
    "fetch_url",
    "verify_source",
    # Export
    "export_graph",
]
