简介
Mev Engine
原始描述
MEV Engine v8.0 ⚔️ — OpenClaw原生。MEV五层指导思想+交付约定+教训生命周期,全部基于OpenClaw内置能力,零自定义脚本。
通过你的 Agent 添加
安装目录:mev-engine/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: mev-engine description: | MEV Engine v6.5 — Minimal-enforcement task execution framework. 1 preflight command + 9 gates with trust-but-verify validation. homepage: https://github.com/meta-evo-creator/mev-engine version: 2.20.0 metadata: openclaw: emoji: ⚙️ requires: bins: [python] env: []
MEV Engine v6.5 ⚙️
v6.5 principle: 1 preflight command + 9 gates with validation. No trust-without-verify.
When to Use
Non-trivial tasks / Research / Cron jobs / Multi-agent work
When NOT to Use
Simple Q&A / File-only operations / User says "skip"
Prime Directives
- Think first, act second — verify before external writes
- Memory is contract — write decisions to memory, not mental notes
- Never touch user files — only delete self-generated content
- Know your authority — legal matters ask first, technical work proceed
- ⏱️ Never guess time — verify before any temporal claim via
session_statusorpython3
Execution Model: 2 Phases × 9 Gates
All mandatory gates output as visible conversation blocks. No silent skip.
PHASE 1: PRE-FLIGHT (1 unified command + 2 explicit gates)
Run once at task start:
node scripts/mev-prefight.cjs
This single command covers:
- G1: Framework version + file integrity (24h cache)
- G2: Tavily API availability (degraded → use search fallback chain)
- G3: Current time (never guess)
Then output explicitly:
📊 Tier → L{1|2|3}
🔀 Agent E → {yes|no} reason: {context>50%|>=4 agents|N/A}
📉 Context → {green|yellow|red}%
📋 Gap Scan:
| Known | Unknown | Priority | Direction |
|-------|---------|----------|-----------|
| ... | ... | ... | ... |
Gate 1-3 (Script, unified): node scripts/mev-prefight.cjs
Gate 4 (Explicit): Tier + Agent E shunt + Context budget (mandatory since v6.5)
Gate 5 (Explicit): Gap Scan table — >=3 gaps. Check: are collection directions feasible given current search availability?
AGENT E SHUNT (G4 decision)
When >=4 sub-agents + heavy search -> Agent E isolated convergence:
Parent: spawn A/B/C/D, wait for all
Agent E (isolated): read findings -> cross-validate -> write report -> ima-upload -> push summary
Parent: receive summary -> run G5.5 verification -> delivery check
Shunt when: context >50% OR >=4 agents. Skip when: <=3 agents, report <8KB.
G5.5: E-VERIFY (new in v6.5)
After Agent E completes, before DELIVERY CHECK:
🔍 E-VERIFY
[✅/❌] Upload JSON valid: ima-upload returned {"ok":true}
[✅/❌] Judgment count: {n} (>=3)
[✅/❌] Source grading: A={n}, B={n}, C={n} (at least A+B > 0)
-> {PASS | PASS with note | FAIL (re-spawn Agent E)}
This gate prevents blind trust of Agent E output. Verifies metrics only (not content quality). If FAIL -> re-spawn E with error specifics.
PHASE 2: DELIVERY (3 explicit gates + fallback)
🔒 DELIVERY CHECK
[✅/❌] ima-upload -> {KB_ID} | 🆘 FALLBACK: saved to memory/ + push local path
[✅/❌] Falsifiable judgments -> {count} / >=3 (format: "Judgment: ... Support: ... Falsifiable: ...")
[✅/❌] Source grading -> A:{n} B:{n} C:{n} (minimum: A+B > 0)
-> {PASS | PASS with degradation note | FAIL}
Gate 6 (Explicit): IMA upload via node scripts/ima-upload.cjs. If upload fails: write to memory/ + push local path to user ("manual upload needed").
Gate 7 (Explicit): >=3 falsifiable judgments (format: "Judgment X: ... Support: ... Falsifiable condition: ...")
Gate 8 (Explicit): Source grading — at least A/B/C levels labeled. Minimum A+B > 0.
When Gates Can Be Skipped
| Condition | Skip which gates | Require reason |
|---|---|---|
| L1 task | G4-G8 | Yes (annotate) |
| Cron isolated | G4 Agent E = N/A | Yes |
| No search | G2 = N/A (preflight auto-detects) | No |
| No IMA upload needed | G6 = N/A | Yes |
| No Agent E used | G5.5 = N/A | No |
Scenario-Based Capabilities (NOT mandatory)
| Capability | When to use | When NOT to use |
|---|---|---|
| Bias quick-check | High-stakes analysis with subjective judgment | Routine research collection |
| Iterative loop | >=2 high-priority gaps remain unfilled after first round | Most tasks (1 round sufficient) |
| Multi-agent parallel | >=3 independent dimensions | 1-2 dimensions (sequential is fine) |
| Evolve lessons | Task reveals a new pattern worth recording | Routine task repetition |
Cron Session Rules
- No multi-agent parallel -> sequential collection
- No Evolve writes -> skip lessons.md and memory/cron
- Delivery quality check before push
- Failure auto-alert via failureAlert config
Scripts
| Script | Purpose | Called at |
|---|---|---|
scripts/mev-prefight.cjs |
Unified G1+G2+G3: framework + search + time | Phase 1 start |
scripts/framework-check.cjs |
Version + file integrity (24h cache) | Inside mev-prefight |
scripts/tavily-probe.cjs |
Tavily API availability | Inside mev-prefight |
scripts/ima-upload.cjs |
Universal IMA KB upload | Gate 6 |
Changelog
| Version | Date | Changes |
|---|---|---|
| v6.3 | 2026-05-12 | Honest audit: removed facade capabilities |
| v6.4 | 2026-05-12 | Radical simplification: 2 phases, 8 gates. Removed 15 capabilities |
| v6.5 | 2026-05-12 | Trust-but-verify: unified preflight script (1 cmd replaces 3), Agent E verification gate (G5.5), IMA upload fallback path, context budget added to G4. Inspired by multi-source-research auto-verification and deep-research-zh fault-tolerant output patterns |
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。