32 lines
1.2 KiB
Markdown
32 lines
1.2 KiB
Markdown
|
|
---
|
||
|
|
name: feishu-evolver-wrapper
|
||
|
|
description: "能力进化器的飞书集成包装器。管理进化循环生命周期(启动/停止/确保),发送丰富的飞书卡片报告,并提供仪表板可视化。在运行带有飞书报告的进化器或管理进化守护进程时使用。"
|
||
|
|
---
|
||
|
|
|
||
|
|
# Feishu Evolver Wrapper
|
||
|
|
|
||
|
|
A lightweight wrapper for the `capability-evolver` skill.
|
||
|
|
It injects the Feishu reporting environment variables (`EVOLVE_REPORT_TOOL`) to enable rich card reporting in the Master's environment.
|
||
|
|
|
||
|
|
## Usage
|
||
|
|
|
||
|
|
```bash
|
||
|
|
# Run the evolution loop
|
||
|
|
node skills/feishu-evolver-wrapper/index.js
|
||
|
|
|
||
|
|
# Generate Evolution Dashboard (Markdown)
|
||
|
|
node skills/feishu-evolver-wrapper/visualize_dashboard.js
|
||
|
|
|
||
|
|
# Lifecycle Management (Start/Stop/Status/Ensure)
|
||
|
|
node skills/feishu-evolver-wrapper/lifecycle.js status
|
||
|
|
```
|
||
|
|
|
||
|
|
## Architecture
|
||
|
|
|
||
|
|
- **Evolution Loop**: Runs the GEP evolution cycle with Feishu reporting.
|
||
|
|
- **Dashboard**: Visualizing metrics and history from `assets/gep/events.jsonl`.
|
||
|
|
- **Export History**: Exports raw history to Feishu Docs.
|
||
|
|
- **Watchdog**: Managed via OpenClaw Cron job `evolver_watchdog_robust` (runs `lifecycle.js ensure` every 10 min).
|
||
|
|
- Replaces fragile system crontab logic.
|
||
|
|
- Ensures the loop restarts if it crashes or hangs.
|