feat: add online evolution loop and 5% gray risk-policy rollout

This commit is contained in:
2026-02-28 22:03:30 +08:00
parent fec5aaf8f3
commit d497e8d42a
9 changed files with 948 additions and 0 deletions

View File

@@ -64,6 +64,7 @@ curl http://localhost:6060/api/health
|------|------|
| **项目功能汇总.md** | 全部功能详细说明(工作流、报价、风险、派单、数据库等) |
| **部署文档.md** | 部署、API 接口、天网集成、多进程、故障排查 |
| **features/self_evolution_mvp.md** | 自我进化 MVP采样、评测、建议、灰度门禁 |
---
@@ -80,3 +81,11 @@ curl http://localhost:6060/api/health
├── skills/ # Agent 技能定义
└── run.py # 统一入口(--api-only / --tianwang / 默认 WebSocket
```
## 自我进化 MVP
```bash
python scripts/evolution_cycle.py --hours 24 --publish
```
默认从线上 MySQL 读取对话数据(可用 `--source` 切换)。