feat(harness): __init__.py public API + lint fixes

This commit is contained in:
2026-07-07 13:45:48 -04:00
parent 2296134f73
commit be0e89401e
2 changed files with 38 additions and 5 deletions
+36
View File
@@ -0,0 +1,36 @@
"""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",
]