"""Core - Shared Core Components.

This module contains shared core components that are used
across multiple layers but don't belong to any specific layer.

Includes:
- Exception hierarchy
- Error handling (classification, redaction, wrapping)
- Base classes and interfaces
- Common types and enums
- Logging configuration
"""

from cleveragents.core.error_handling import (
    ErrorCategory,
    ErrorCode,
    ErrorInfo,
    classify_error,
    format_error_for_cli,
    redact_error_details,
    redact_value,
    wrap_unexpected,
)
from cleveragents.core.validation import (
    ValidationError,
    ValidationWarning,
    validate_decision_dict,
    validate_plan_tree,
    validate_structured_component_output,
    validate_structured_output,
)

__all__: list[str] = [
    "ErrorCategory",
    "ErrorCode",
    "ErrorInfo",
    "ValidationError",
    "ValidationWarning",
    "classify_error",
    "format_error_for_cli",
    "redact_error_details",
    "redact_value",
    "validate_decision_dict",
    "validate_plan_tree",
    "validate_structured_component_output",
    "validate_structured_output",
    "wrap_unexpected",
]
