"""app/harness/ — 训练循环编排层。

组合 core/evolution/（决策内核）+ core/agent/（AgentLoop）+ adapters/（LLM/VLM/telemetry），
实现自进化闭环的训练循环三级嵌套、块序贯验证、快慢双速进化、checkpoint/resume。
"""

from app.harness.config import RunConfig, load_config
from app.harness.inference import InferenceResult, run_inference
from app.harness.log import HarnessLog, RunLogImpl
from app.harness.pools import Pools, build_or_load_pools, build_pools, load_pools, save_pools
from app.harness.runner import Runner
from app.harness.workspace import (
    ResolvedPaths,
    VersionedPromptStore,
    VersionedSkillStore,
    resolve_paths,
)

__all__ = [
    "HarnessLog",
    "InferenceResult",
    "Pools",
    "ResolvedPaths",
    "RunConfig",
    "RunLogImpl",
    "Runner",
    "VersionedPromptStore",
    "VersionedSkillStore",
    "build_or_load_pools",
    "build_pools",
    "load_config",
    "load_pools",
    "resolve_paths",
    "run_inference",
    "save_pools",
]
