feat: seed carries frozen pools.json into training workspace

This commit is contained in:
2026-07-16 05:02:16 -04:00
parent a39846af6e
commit 4d60a545f6
4 changed files with 53 additions and 0 deletions
+7
View File
@@ -196,6 +196,13 @@ def init_workspace_from_seed(
shutil.copytree(seed_dir / "prompts", workspace_dir / "prompts" / "v1")
shutil.copy2(seed_dir / "baseline.db", workspace_dir / "harness.db")
seed_pools = seed_dir / "pools.json"
if seed_pools.exists():
shutil.copy2(seed_pools, workspace_dir / "pools.json")
seed_manifest = seed_dir / "split_manifest.json"
if seed_manifest.exists():
shutil.copy2(seed_manifest, workspace_dir / "split_manifest.json")
logger.info("Workspace 从种子 '{}' 初始化完成: {}", seed_name, workspace_dir)
return meta["baseline_run_id"]