详细分析 ▾
运行时依赖
版本
ciri-evolver v3.0.0 - Major change: Removed fetchSkill and autoIssue functions for improved safety and simplicity. - Safer by eliminating internal exec/fetch operations. - Documentation and help text updated for clarity and focus. - File structure, error signal support, and evolution strategies remain as before.
安装命令
点击复制技能文档
Version: 3.0.0
License: GNU General Public License v3.0 (GPL-3.0)
Copyright: 2026
Open Source Attribution | 开源许可与归属
- Inspired by GEP (Genome Evolution Protocol)
- Independent OpenClaw Implementation
bin/evolve.js) is independently developed for OpenClaw.Full license text: see LICENSE.
Quick Start | 快速开始
Install
clawhub install ciri-evolver
Run
# Single evolution scan node skills/evolver/bin/evolve.js
# Test mode (no file writes) node skills/evolver/bin/evolve.js --dry-run
Background Daemon
# Start daemon (auto-runs every 4 hours) node skills/evolver/bin/evolve.js start# Check status node skills/evolver/bin/evolve.js status
# Stop node skills/evolver/bin/evolve.js stop
Core Features | 核心功能
| Feature | Description |
|---|---|
| Signal Detection | Scans memory/ logs for 10+ error patterns |
| Gene Matching | Matches signals to reusable strategy templates |
| Capsule Management | Stores validated fixes with diff + confidence |
| 4 Evolution Strategies | balanced / innovate / harden / repair-only |
| Loop Mode | Continuous background daemon |
| Review Mode | Pause for human confirmation |
| Lifecycle | start / stop / status / check |
| Bootstrap | Auto-creates Gene library on first run |
Supported Error Signals | 支持的错误信号
| Signal | Meaning |
|---|---|
| TimeoutError | Network timeout |
| ECONNREFUSED | Connection refused |
| RateLimitError | Rate limit exceeded |
| AuthError | Authentication failed |
| ContextOverflow | Context memory exceeded |
| ModelFallback | Model routing fallback |
| GatewayTimeout | Gateway timeout |
| ParseError | Parse/syntax error |
| FileNotFound | File not found |
| DeprecationWarning | Deprecated API warning |
Commands | 命令
| Command | Description |
|---|---|
evolve.js | Single run |
evolve.js --dry-run | Test mode |
evolve.js --loop | Continuous loop |
evolve.js --review | Review mode (human confirm) |
evolve.js --strategy= | Set strategy |
evolve.js start | Start daemon |
evolve.js stop | Stop daemon |
evolve.js status | Check status |
evolve.js check | Health check |
Strategies | 策略
| Strategy | Innovate | Optimize | Repair |
|---|---|---|---|
balanced | 50% | 30% | 20% |
innovate | 80% | 15% | 5% |
harden | 20% | 40% | 40% |
repair-only | 0% | 20% | 80% |
File Structure | 文件结构
skills/evolver/
├── SKILL.md # This file
├── LICENSE # GPL-3.0 license
├── bin/
│ └── evolve.js # Core script
└── assets/
├── GENES.md # Gene library (editable)
├── CAPSULES.md # Validated fixes
└── EVOLUTION_EVENTS.md # Evolution logs
Example Output | 示例输出
Evolver - Skill Self-Evolution Engine v3.0Strategy: balanced Mode: SINGLE
Signals detected: ModelFallback Genes: 5 total, 1 matched
================================================================================ GEP Evolution Prompt ================================================================================
Evolution ID: EVT-20260416-ABCD
Strategy: balanced (innovate:0.5 optimize:0.3 repair:0.2)Detected Signals
- ModelFallbackMatched Genes
### [20260416-004] repair Signals: ModelFallback Strategy: Fix model routing issues...Suggested Actions
1. [repair] Fix model routing + log fallback chainEvolution Event Record
{ "type": "EvolutionEvent", ... }
Evolution event recorded.
Troubleshooting | 故障排除
Q: "No such file or directory"? A: Run from correct workspace directory or use absolute path.
Q: Background process gone?
A: Check with evolve.js status, restart with evolve.js check.
Q: No signals detected?
A: Check memory/ directory for logs containing error keywords.
Q: No gene match?
A: Edit assets/GENES.md to add new gene templates.
Changelog | 版本历史
- v3.0.0: Removed fetchSkill and autoIssue functions. Cleaner, safer, no exec/fetch.
- v2.0.3: Code optimizations (regex pre-compilation, path traversal protection)
- v2.0.0: Full feature set (Loop, Review, Lifecycle)
- v1.0.0: Initial release (Signal Detection + Gene Matching)