feishu-evolver-wrapper

TotalClaw 作者 totalclaw

飞书集成的能力进化器包装器。管理演化循环生命周期(启动/停止/确保),发送丰富的飞书卡片报告,并提供仪表板可视化。当运行带有飞书报告的evolver或管理evolution守护进程时使用。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw skills install shop:totalclaw:totalclaw~feishu-evolver-wrapper
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~feishu-evolver-wrapper/file -o feishu-evolver-wrapper.md
# 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.

---

## 中文说明

# Feishu Evolver Wrapper

`capability-evolver` 技能的轻量级包装器。
它注入飞书报告环境变量(`EVOLVE_REPORT_TOOL`),以在 Master 的环境中启用丰富的卡片报告。

## 用法

```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
```

## 架构

- **演化循环(Evolution Loop)**:运行带有飞书报告的 GEP 演化循环。
- **仪表板(Dashboard)**:可视化来自 `assets/gep/events.jsonl` 的指标和历史记录。
- **导出历史(Export History)**:将原始历史导出到飞书文档。
- **看门狗(Watchdog)**:通过 OpenClaw Cron 任务 `evolver_watchdog_robust` 管理(每 10 分钟运行一次 `lifecycle.js ensure`)。
  - 取代脆弱的系统 crontab 逻辑。
  - 确保循环在崩溃或挂起时重启。