Skip to content

ProjectForge v0.4.2

Choose a tag to compare

@Zi-Yi-Ming Zi-Yi-Ming released this 14 Sep 15:23
· 35 commits to master since this release

修复 LLM planner 链路与审计产物隔离。

Fixed

  • --planner llm 完全不可用(UnboundLocalError):规则版 planner 的 import 被误关在 rule 分支内,命令直接崩溃
  • LlmPlanner 缺省 client 缺失导致 AttributeError 逃出降级捕获,破坏"永不抛错"契约
  • LLM 调用沿用 httpx 默认 5 秒超时,真实往返必然超时并静默降级;改为显式 300 秒
  • 审计产物被卷入逐任务 git checkpoint,污染 diff;产物改存 runs/<run_id>/artifacts 且提交显式排除 artifacts

Added

  • tests/test_planner_factory.py:工厂四条路径 + 降级契约
  • tests/test_artifact_isolation.py:产物位置与 checkpoint 隔离

验证

  • 本地:395 passed, 19 skipped
  • VM:412 passed(新增 11 项全过);2 项 Hermes 真实推理用例因缺 LLM 凭据失败,已用 v0.4.1 基线对照确认为既存环境问题