feat: Auto-Verify闭环 — verify API+定时验证+OKR联动+周报

This commit is contained in:
Hermes CI Fix
2026-08-10 23:15:19 +08:00
parent 7fed66d58c
commit e1ea5cd14d
9 changed files with 601 additions and 6 deletions
+5
View File
@@ -210,6 +210,11 @@ class ActionPlan(Base):
auto_verify_rule = Column(JSON, nullable=True, comment="自动验证规则: {\"condition\": \"value > target\"}")
verify_result = Column(String(20), nullable=True, comment="验证结果: pass/fail/pending")
verify_log = Column(JSON, nullable=True, comment="验证历史日志")
verify_status = Column(String(20), default="pending", comment="验证状态: pending/passed/failed/retrying/escalated")
verify_attempts = Column(Integer, default=0, comment="验证尝试次数")
verified_at = Column(DateTime, nullable=True, comment="验证完成时间")
kpi_current_before = Column(Float, nullable=True, comment="执行前KPI值")
kpi_current_after = Column(Float, nullable=True, comment="执行后KPI值")
created_by = Column(String(100), nullable=True, comment="创建人")
created_at = Column(DateTime, server_default=func.now())
updated_at = Column(DateTime, server_default=func.now(), onupdate=func.now())