"""Coordination system (Cell Cycle model + Multi-Cellular Organization)."""
from .types import (
    Phase,
    CheckpointResult,
    LockResult,
    ResourceLock,
    DependencyGraph,
    DeadlockInfo,
)
from .controller import (
    CellCycleController,
    Checkpoint,
    OperationContext,
    OperationResult,
)
from .watchdog import (
    Watchdog,
    ApoptosisEvent,
    ApoptosisReason,
)
from .priority import (
    PriorityInheritance,
    PriorityBoost,
)
from .system import (
    CoordinationSystem,
    CoordinationResult,
    CoordinationError,
    ResourceError,
    CheckpointError,
    WorkError,
    ValidationError,
)
from .morphogen import (
    MorphogenType,
    MorphogenValue,
    MorphogenGradient,
    GradientUpdate,
    GradientOrchestrator,
    PhenotypeConfig,
)
from .diffusion import (
    MorphogenSource,
    DiffusionParams,
    DiffusionField,
)
from .social_learning import (
    SocialLearning,
    PeerExchange,
    TrustRegistry,
    AdoptionResult,
    AdoptionOutcome,
    ScaffoldingResult,
)
from .quorum_sensing import (
    AutoinducerSignal,
    SignalEnvironment,
    QuorumSensingBio,
)

__all__ = [
    # Cell Cycle (existing)
    "Phase",
    "CheckpointResult",
    "LockResult",
    "ResourceLock",
    "DependencyGraph",
    "DeadlockInfo",
    "CellCycleController",
    "Checkpoint",
    "OperationContext",
    "OperationResult",
    "Watchdog",
    "ApoptosisEvent",
    "ApoptosisReason",
    "PriorityInheritance",
    "PriorityBoost",
    "CoordinationSystem",
    "CoordinationResult",
    "CoordinationError",
    "ResourceError",
    "CheckpointError",
    "WorkError",
    "ValidationError",
    # Morphogen Gradients (new)
    "MorphogenType",
    "MorphogenValue",
    "MorphogenGradient",
    "GradientUpdate",
    "GradientOrchestrator",
    "PhenotypeConfig",
    # Diffusion (Paper §6.5.2 / §6.5.3)
    "MorphogenSource",
    "DiffusionParams",
    "DiffusionField",
    # Social Learning (Phase 6)
    "SocialLearning",
    "PeerExchange",
    "TrustRegistry",
    "AdoptionResult",
    "AdoptionOutcome",
    "ScaffoldingResult",
    # Quorum Sensing (biological signal accumulation)
    "AutoinducerSignal",
    "SignalEnvironment",
    "QuorumSensingBio",
]
