feat(repair): regenerator + supplement 防御修复 + 迁移脚本

- 新增 app/tree/repair/regenerator.py(VLM 重生成 + 级联修复)
- supplement.py: deduplicate_field str() 防御 + inject_value strip
- patch.py: ruff format 格式化
- repair_trees.sh: conda source 激活修复
- 新增 migrate_from_trm4.sh 迁移工具
- enhance/__init__.py → repair/__init__.py 重命名

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-09 07:53:59 -04:00
parent ace0738546
commit 45403b23b4
7 changed files with 891 additions and 15 deletions
+2
View File
@@ -17,6 +17,8 @@ set -euo pipefail
CONCURRENCY="${CONCURRENCY:-16}"
# shellcheck source=/dev/null
source "$(conda info --base)/etc/profile.d/conda.sh"
conda activate Video-Tree-TRM
python tools/repair_trees.py \