Agent Skillsruvnet/RuView › evolve

evolve

GitHub

基于达尔文模式的自进化测试工具,通过沙箱化变异、评分和筛选机制自动优化代码框架。支持真实与模拟环境运行,具备严格的安全限制和性能基准指导。

harness/wifi-densepose-sar/.claude/skills/evolve/SKILL.md ruvnet/RuView

Trigger Scenarios

需要自动化迭代改进代码或配置时 希望在不改变模型的前提下优化测试执行效率时

Install

npx skills add ruvnet/RuView --skill evolve -g -y
More Options

Non-standard path

npx skills add https://github.com/ruvnet/RuView/tree/main/harness/wifi-densepose-sar/.claude/skills/evolve -g -y

Use without installing

npx skills use ruvnet/RuView@evolve

指定 Agent (Claude Code)

npx skills add ruvnet/RuView --skill evolve -a claude-code -g -y

安装 repo 全部 skill

npx skills add ruvnet/RuView --all -g -y

预览 repo 内 skill

npx skills add ruvnet/RuView --list

SKILL.md

Frontmatter
{
    "name": "evolve",
    "description": "Evolve this harness with Darwin Mode — frozen model, evolving harness (real, sandboxed, safety-gated)."
}

evolve — Darwin Mode self-improvement

wifi-densepose-sar-harness ships with Darwin Mode (@metaharness/darwin, ADR-070…146): the model is frozen; the harness evolves. Each generation mutates ONE of the 7 surface files (planner, contextBuilder, reviewer, retry/tool/memory/score policy), sandboxes each child, scores it, and keeps only variants that measurably improve — building an archive of successful descendants.

Run it

npm run evolve        # real substrate: runs your test command per variant (deterministic mutator — no API key, no network)
npm run evolve:dry    # mock substrate: fast, fully offline, no test execution

Or directly:

npx metaharness-darwin evolve . --sandbox real --generations 3 --children 4

Safety (secure by default)

  • Deterministic mutator is the default — no network, no API key, air-gapped.
  • Every mutation passes the validateGeneratedCode gate: no new imports, network, filesystem, shell, env access, or dependencies — pure refactor/tuning only.
  • Mutations run in a sandbox; only variants that pass your tests are archived.
  • Nothing is promoted without measured improvement (guard against Goodharting).

See @metaharness/darwin for selection strategies (--selection, --crossover, --curriculum), statistical gates (--fdr, --bench), and the real-LLM mutator (library API).

What the benchmarks taught us (measured, full SWE-bench Lite 300)

Defaults worth carrying into how you evolve and run this harness (full evidence + CIs in @metaharness/darwin's LEARNINGS.md / bench/results/RESULTS.md):

  1. Closed-loop repair is the #1 lever (~2×). Feeding test/compiler failure back and retrying took resolve-rate 7.7% → 15.3% on the same cheap model. Iterate against ground truth, don't single-shot.
  2. Cheap-first + cost-aware routing. Track $/resolve, not just resolve-rate; a cheap model resolved 31× cheaper per fix than a frontier one. Reserve frontier for measured capability gaps.
  3. Tier the models (Barbarian & Scholar). Cheap sweep + frontier on only the residual = 33.3% at ~6× lower cost than running frontier everywhere.
  4. Put the output-format contract in a system message + example, and size prompts to the model's real context window — this alone took a weak local model from 0% to ~50% valid output.
  5. Only trust batch evaluation of the final artifact — in-loop counters drift 1.5–5×.
  6. The harness multiplies the model; it can't rescue one below the task's reasoning floor. Pick the smallest model above the floor, then let evolution do the rest.

Version History

  • a3b6e1d Current 2026-08-20 13:11

Same Skill Collection

.claude/skills/agentdb-advanced/SKILL.md
.claude/skills/agentdb-learning/SKILL.md
.claude/skills/agentdb-memory-patterns/SKILL.md
.claude/skills/agentdb-optimization/SKILL.md
.claude/skills/agentdb-vector-search/SKILL.md
.claude/skills/browser/SKILL.md
.claude/skills/github-code-review/SKILL.md
.claude/skills/github-multi-repo/SKILL.md
.claude/skills/github-project-management/SKILL.md
.claude/skills/github-release-management/SKILL.md
.claude/skills/github-workflow-automation/SKILL.md
.claude/skills/hooks-automation/SKILL.md
.claude/skills/pair-programming/SKILL.md
.claude/skills/reasoningbank-agentdb/SKILL.md
.claude/skills/reasoningbank-intelligence/SKILL.md
.claude/skills/skill-builder/SKILL.md
.claude/skills/sparc-methodology/SKILL.md
.claude/skills/stream-chain/SKILL.md
.claude/skills/swarm-advanced/SKILL.md
.claude/skills/swarm-orchestration/SKILL.md
.claude/skills/v3-cli-modernization/SKILL.md
.claude/skills/v3-core-implementation/SKILL.md
.claude/skills/v3-ddd-architecture/SKILL.md
.claude/skills/v3-integration-deep/SKILL.md
.claude/skills/v3-mcp-optimization/SKILL.md
.claude/skills/v3-memory-unification/SKILL.md
.claude/skills/v3-performance-optimization/SKILL.md
.claude/skills/v3-security-overhaul/SKILL.md
.claude/skills/v3-swarm-coordination/SKILL.md
.claude/skills/verification-quality/SKILL.md
harness/homecore/.claude/skills/explore/SKILL.md
harness/homecore/.claude/skills/migrate/SKILL.md
harness/homecore/.claude/skills/operate-server/SKILL.md
harness/homecore/.claude/skills/secure-plugin/SKILL.md
harness/homecore/.claude/skills/verify/SKILL.md
harness/ruview/.claude/skills/calibrate-room/SKILL.md
harness/ruview/.claude/skills/onboard/SKILL.md
harness/ruview/.claude/skills/provision-node/SKILL.md
harness/ruview/.claude/skills/train-pose/SKILL.md
harness/ruview/.claude/skills/verify/SKILL.md
harness/wifi-densepose-sar/.claude/skills/plan-change/SKILL.md
plugins/ruview/skills/ruview-advanced-sensing/SKILL.md
plugins/ruview/skills/ruview-applications/SKILL.md
plugins/ruview/skills/ruview-cli-api/SKILL.md
plugins/ruview/skills/ruview-configure/SKILL.md
plugins/ruview/skills/ruview-hardware-setup/SKILL.md
plugins/ruview/skills/ruview-mmwave/SKILL.md
plugins/ruview/skills/ruview-model-training/SKILL.md
plugins/ruview/skills/ruview-quickstart/SKILL.md

Metadata

Files
0
Version
a3b6e1d
Hash
05965b34
Indexed
2026-08-20 13:11

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-25 07:37
浙ICP备14020137号-1 $방문자$