feat(openclaw): 週日 02:00 Meta-Analysis + 全排程表完成
All checks were successful
CD Pipeline / deploy (push) Successful in 1m6s
All checks were successful
CD Pipeline / deploy (push) Successful in 1m6s
openclaw_strategist_service.py: - generate_meta_analysis_report(): 從 ai_insights 抽取週統計 (高頻 SKU / relearn 事件 / 歸檔數) → Gemini 綜合分析 → 雙寫 KM + Telegram scheduler.py: - run_openclaw_meta_analysis_task() 排程包裝 run_scheduler.py: - 週日 02:00 掛入 run_openclaw_meta_analysis_task P1 三層 Agent 自主學習排程全部完成: 02:00 DB備份 / 03:00 去重 / 04:00 品質重算 週一 07:00 週報 / 週日 02:00 Meta-Analysis Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
12
scheduler.py
12
scheduler.py
@@ -1805,6 +1805,18 @@ def run_backup_monitor_task():
|
||||
_save_stats('backup_monitor', {"status": "Error", "error": str(e)})
|
||||
|
||||
|
||||
def run_openclaw_meta_analysis_task():
|
||||
"""每週日 02:00 — OpenClaw 週報 Meta-Analysis(AI 系統學習效能自我審視)"""
|
||||
try:
|
||||
from services.openclaw_strategist_service import generate_meta_analysis_report
|
||||
report = generate_meta_analysis_report()
|
||||
logging.info(f"[Scheduler] [MetaAnalysis] 完成 | 長度={len(report)} 字元")
|
||||
_save_stats('meta_analysis', {"status": "OK", "length": len(report)})
|
||||
except Exception as e:
|
||||
logging.error(f"[Scheduler] [MetaAnalysis] Meta-Analysis 任務異常: {e}")
|
||||
_save_stats('meta_analysis', {"status": "Error", "error": str(e)})
|
||||
|
||||
|
||||
def run_dedup_batch_task():
|
||||
"""每日 03:00 — ai_insights 去重批次(同 SKU 同 type 同 period 保留最高品質)"""
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user