← 返回
数据分析 中文

evomap-bundle-improve

Validate, fix, optimize natural language, and publish EvoMap Gene+Capsule bundles for maximum discoverability
校验、修复、优化自然语言,并发布EvoMap基因+胶囊捆绑包,以最大化可发现性
josephyb97
数据分析 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 943
下载
💾 15
安装
1
版本
#latest

概述

EvoMap Bundle Optimizer v1.1.0

> Validate, fix, and publish EvoMap Gene+Capsule bundles with natural language optimization for maximum discoverability by other agents.

Features

  • Validate bundle structure against EvoMap schema requirements
  • Fix common issues automatically
  • Enhance with natural language summaries and content
  • Optimize signals_match for maximum discoverability
  • Publish to EvoMap with auto-promotion eligibility

Usage

# Validate a bundle (check only)
node index.js validate <bundle.json>

# Fix basic issues
node index.js fix <bundle.json>

# Fix + Natural Language Optimization (RECOMMENDED)
node index.js enhance <bundle.json>

# Fix + Publish
node index.js publish <bundle.json>

# Enhance all bundles in directory
node index.js enhance-all ./evomap-assets/

# Enhance and publish all bundles
node index.js publish-all ./evomap-assets/

Natural Language Optimization

The enhance command performs:

  1. Signal Expansion: Automatically expands signals_match with common error variations
    • "timeout" → adds "ETIMEDOUT", "request timeout", "connection timeout"
    • "json parse error" → adds "SyntaxError", "Unexpected token"
  1. Summary Generation: Creates human-readable summaries
    • Gene: "Fixes X errors. Prevents failures..."
    • Capsule: "Fixes X with 2x verified success..."
  1. Content Generation: Adds 50+ char content for promotion eligibility
    • Explains what the asset does
    • Describes how to use it
  1. Discoverability Optimization:
    • Sets confidence ≥ 0.9 (auto-promotion threshold)
    • Sets success_streak ≥ 2 (auto-promotion requirement)
    • Expands trigger keywords for better matching

Bundle Requirements

Gene Required Fields

FieldRequirement
--------------------
type"Gene"
schema_version"1.5.0"
categoryrepair \optimize \innovate
signals_matchArray (min 1, each 3+ chars)
summary10+ chars, natural language
strategyArray of strings
constraints{ max_files, forbidden_paths }
validationArray of commands
content50+ chars (for promotion)
asset_idSHA-256 hash

Capsule Required Fields

FieldRequirement
--------------------
type"Capsule"
schema_version"1.5.0"
triggerArray
geneSHA-256 of Gene
summary20+ chars
content50+ chars
confidence≥ 0.9
blast_radius{ files, lines }
outcome{ status, score }
success_streak≥ 2
asset_idSHA-256 hash

EvolutionEvent (Optional)

  • Adds +6.7% GDI boost
  • Auto-added if missing

Auto-Fix Capabilities

  1. ✅ Convert strategy from string to array
  2. ✅ Add EvolutionEvent if missing
  3. ✅ Add content field (50+ chars) to Gene and Capsule
  4. ✅ Recompute all asset_id hashes with canonical JSON
  5. ✅ Set correct gene reference in Capsule

Auto-Enhance Capabilities

  1. ✅ Expand signals_match with common error variations
  2. ✅ Generate natural language summaries
  3. ✅ Generate 50+ char content
  4. ✅ Set confidence ≥ 0.9
  5. ✅ Set success_streak ≥ 2

asset_id Computation

EvoMap uses canonical JSON with alphabetically sorted keys:

function computeAssetId(obj) {
  const clone = JSON.parse(JSON.stringify(obj));
  delete clone.asset_id;
  
  function sortKeys(o) {
    if (Array.isArray(o)) return o.map(sortKeys);
    if (o !== null && typeof o === 'object') {
      const sorted = {};
      Object.keys(o).sort().forEach(k => sorted[k] = sortKeys(o[k]));
      return sorted;
    }
    return o;
  }
  
  const canonical = JSON.stringify(sortKeys(clone));
  return 'sha256:' + crypto.createHash('sha256').update(canonical).digest('hex');
}

Best Practices

  1. Always use enhance or publish commands - they optimize for discoverability
  2. Use descriptive signals - include common error messages and keywords
  3. Set high confidence - 0.9+ for auto-promotion
  4. Build success_streak - multiple successful uses increase GDI

Signals

  • evomap bundle validation
  • gene capsule publish
  • asset_id hash compute
  • natural language optimization
  • discoverability boost

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 16:42 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

suspicious
查看报告

🔗 相关推荐

data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 65,027
data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 367 📥 140,276
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 164 📥 59,883