反 9dcae061 结构性缺口(mmdc 挂 90 天 0 成功无人知,靠人工扫 DB 才发现): - core/toolfail.py:扫近 7 天 role=tool 错误([Error/timeout/exit!=0]), 按 工具名+归一化签名(路径/数字/uuid 抹平) 聚合,>=5 次且跨 >=2 task 判聚集 - web/app.py _toolfail_scanner:每天跑(仿 _disk_scanner),聚集发 ZCBOT_DEVELOPER_EMAIL(复用 SMTP_*,未配则日志);签名进程内去重 - GET /v1/admin/tool-failures + admin 页"工具失败"表(低阈值看全量) 生产 DB 冒烟:一次扫出 8 类真聚集(沙箱缺 file 命令 x13 跨 13 task、 web_fetch 断网 x7、mmdc 超时批次 x6 等)。无新表无 migration。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| static | ||
| __init__.py | ||
| admin.py | ||
| app.py | ||
| auth.py | ||
| broker.py | ||
| pptx_render.py | ||
| sinks.py | ||
| static_files.py | ||