[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7863HYJ1Y6RRD72PE6J3ANC":3,"skill-same:01M7863HYJ1Y6RRD72PE6J3ANC":58},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7863HYJ1Y6RRD72PE6J3ANC","clawevolve-tune",null,"自进化调优 skill。用于 self-evolution loop 中，根据 objective、当前策略 spec 和 optimization bench 结果，对当前 bot\u002Fworkspace 做一轮小而可解释的调优，并产出 tune_report、changed_files 和 diff。触发词：自进化调优、evolve tune、self tune、根据优化集调优、bench 后优化、round tune。","inclusionAI\u002FAvernet","inclusionAI","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F199075982?v=4","01M785ZY12HRQ5GZVH8XH66BNN","01M785ZY1X9YHEHBAPJZRH6CC5",603,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FinclusionAI\u002FAvernet\u002Fblob\u002Fdev\u002Fapps\u002Fevolverun\u002Fclawweb-skills\u002Fclawevolve-skills\u002Fclawevolve-tune\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: clawevolve-tune\ndescription: \"自进化调优 skill。用于 self-evolution loop 中，根据 objective、当前策略 spec 和 optimization bench 结果，对当前 bot\u002Fworkspace 做一轮小而可解释的调优，并产出 tune_report、changed_files 和 diff。触发词：自进化调优、evolve tune、self tune、根据优化集调优、bench 后优化、round tune。\"\nallowed-tools: Read, Bash, Edit, MultiEdit, Write\n---\n\n# clawevolve-tune\n\n在自进化的一轮中，根据 `objective + spec-vN + optimization_result` 调优当前 workspace。MVP 阶段保持简单：核心就是先读 objective 的业务硬约束，再读共享 spec 模板里的 `Objective Contract`、`Current Strategy Summary` 和 `Active Optimization Directions`，做小而可解释的优化。objective 负责长期业务规则，spec 负责本轮怎么优化。\n\n## 运行环境的 Skill 路径\n\n由调用方提供当前模式：`openversion` 使用 `workspace\u002Fskills\u002F\u003Cskill-name>\u002FSKILL.md`，无需中间层或激活软链；未指定或 `internalversion` 保持 `workspace\u002Fskills\u002Fskills-local\u002F\u003Cskill-name>\u002FSKILL.md` 及原激活入口。公共目录、现有公共入口软链及 Release Skill 始终只读。不要改造或搬迁历史目录。\n\n## MVP 路径协议\n\n为避免同 bot 多个 evolve run 并发时串目录，运行期必须绑定明确的 `evolve_run_id` \u002F `run_dir`。优先级：\n\n```text\n1. 调用方显式提供 run_dir \u002F round_dir\n2. 环境变量 EVOLVE_RUN_DIR \u002F EVOLVE_ROUND_DIR\n3. run_manifest.json 中记录的 run_dir \u002F round_id\n4. 单机调试时才使用人工指定的 fallback\n```\n\n标准目录结构（与 clawevolve.yaml workflow 对齐）：\n\n```text\nworkspace = \u002Fhome\u002Fadmin\u002F.openclaw\u002Fworkspace\nrun_dir   = {workspace}\u002Fevolve_results\u002F\u003Cevolve-run-id>\nround_dir = {workspace}\u002Fevolve_results\u002F\u003Cevolve-run-id>\u002Foptimize\u002Foutput\u002Fround-{N:03d}\n```\n\n其中 objective 是一次 evolve loop 不变的 run 级输入，放在 `optimize\u002Finput\u002F`：\n\n```text\n{run_dir}\u002Foptimize\u002Finput\u002Fobjective.md\n{run_dir}\u002Foptimize\u002Finput\u002Fspec-v0.md\n{run_dir}\u002Frun_manifest.json\n```\n\nRound 是 1-based（round 1 → round-001、round 2 → round-002）。\nSpec 文件名按 round 数字版本化：round N 消费 `input\u002Fspec-v{N-1}.md`（如 round 1 消费 `spec-v0.md`，round 2 消费 `spec-v1.md`）；`clawevolve-review` 在本轮产出 `spec\u002Fspec-vN.md`（如 round 1 产出 `spec-v1.md`）。不要使用未版本化的 spec 别名。\n\n当前轮 spec 和 round 产物放在：\n\n```text\n{round_dir}\u002Finput\u002Fspec-v{N-1}.md\n{round_dir}\u002Ftune\u002F\n{round_dir}\u002Fspec\u002F\n```\n\n**注意**：runner v4 不再创建 `{round_dir}\u002Fbench\u002F` 目录。bench 元数据和 score 直接写入 `round_state.json` 的 `bench.optimization` 字段，原始 benchmark report 在 `clawbench_results\u002F{bench_run_id}\u002F` 目录下。\n\n统一使用 `\u002Fhome\u002Fadmin\u002F.openclaw\u002Fworkspace\u002Fclawevolve_results\u002F\u003Ctask-id>` 绑定当前 run；不要创建未绑定\nTask 的全局 `round0`，也不要通过扫描结果根目录中的最新目录来猜当前 run。\n\n## Bundled Resources\n\n- `references\u002Fprotocol.md`: `clawevolve-tune` 自己的输入\u002F输出和边界协议；需要确认路径契约时读取。\n- `..\u002Fclawevolve-plan\u002Freferences\u002Fevolution-strategy-spec-v0-template.md`: 与 `clawevolve-plan`、`clawevolve-review` 共享的统一 spec 模板；需要确认 `Objective Contract` \u002F `Current Strategy Summary` \u002F `Active Optimization Directions` \u002F 附录结构时读取。\n\n**注意**：`scripts\u002Fnormalize_clawbench_result.py` 已废弃。runner v4 将 bench summary inline 到 `round_state.json`，不再产出独立的 normalized JSON 文件。\n\n说明：`clawevolve-tune` 不内置 direction pool；它只执行 `spec-v{N-1}.md` 中已经激活的方向。若 spec-v{N-1} 只有 direction ID 而没有 Why\u002FExpected Effect，应先要求补全 spec，而不是跨 skill 读取 `clawevolve-review` 的方向池。\n\n## 输入\n\n优先从已绑定的 `run_dir` \u002F `round_dir` 读取：\n\n```text\n{run_dir}\u002Foptimize\u002Finput\u002Fobjective.md\n{round_dir}\u002Finput\u002Fspec-v{N-1}.md\n{round_dir}\u002Fround_state.json    ← bench 元数据 + summary 在 bench.optimization 字段\n```\n\n原始 benchmark report 路径记录在 `round_state.json` 的 `bench.optimization.resultPath`，如需逐任务详情（cases、breakdown、transcript）可读取该文件。\n\n如果调用方（runner）通过 prompt 直接内嵌了 bench summary 文本，直接消费即可，不需要再读文件。\n\n若 bench 数据缺失，写明原因并写 blocked `tune_report.md`，不要使用硬编码 fallback 路径。\n\n## 输出\n\n写入已绑定的 `round_dir`：\n\n```text\n{round_dir}\u002Ftune\u002Ftune_report.md\n{round_dir}\u002Ftune\u002Fchanged_files.txt\n{round_dir}\u002Ftune\u002Fdiff.patch        # 如 git\u002Fdiff 可用则生成\n{round_dir}\u002Ftune\u002Fchange_manifest.json  # 本轮实际 edit 的可证伪实验契约\n```\n\n## 工作步骤\n\n1. 定位 `round_dir` 和输入路径（优先使用调用方显式传入的路径）。\n2. 读取 objective、`spec-v{N-1}`、`round_state.json` 中的 `bench.optimization`。\n3. **强制提取失败证据包**：只要存在 failed\u002Ferror\u002Fpartial case，必须读取 `bench.optimization.resultPath` 指向的原始 report；如 report 指向 transcript，优先读取相关 failed\u002Ferror case 的 transcript。不要只凭 summary 直接改。\n4. **先核对 objective 约束**：先确认 objective 里的业务目标、硬约束和成功标准，再看 spec；如果 spec 与 objective 冲突，以 objective 为准。\n5. **提取正例保护清单**：只要存在 passed case，必须从 optimization bench 中抽取代表性 passing behavior，形成 Protected Behaviors；后续 patch 不得无说明地破坏这些行为。\n6. **执行 Weakness Mining**：把失败按 `signature = judge 终因 + agent 侧关键行为 + 抽象机制` 聚合，区分表面症状相同但机制不同的失败，并标注当前修改面是否 addressable。\n7. **生成 Candidate Proposals**：围绕最高优 weakness 至少生成 3 个 operator-diverse 候选（优先覆盖 instruction\u002Fworkflow\u002Fverifier 等不同机制），比较证据、替代解释、修改范围、保护行为风险和可证伪性；恰好选择 1 个 proposal 执行。\n8. **先写 Patch Plan Gate，再修改**：为每个被选 proposal 列出 evidence、root cause、target file、exact change、check、expected_fix_cases、at_risk_cases、falsifiable_prediction 和 rollback_condition；只有满足范围、证据、正例保护和反过拟合检查的改动才执行。\n9. 修改前先盘点 `workspace\u002Fskills\u002F` 已激活的 Skill；修改当前 workspace 中的私有 skill、md 配置、MCP 调用层说明或必要的轻量 glue\u002Fconfig。Skill 修改仅允许位于当前运行模式指定的用户 Skill 可写目录。若同名 Skill 已通过公共\u002F系统入口存在（例如系统已有 `mcporter`），不得在用户 Skill 目录创建同名副本或替换其入口；公共 Skill 及其来源目录、入口软链只允许读取分析，不得修改。不要修改 MCP 本体实现。\n10. 对每个执行策略绑定至少一个低成本、可观察检查；能运行则运行，不能运行必须说明原因。\n11. 写 `tune_report.md`、`changed_files.txt`、`change_manifest.json`，并尽量生成 `diff.patch`。\n\n## Failure Profile Priority\n\nRunner 会注入 `optimization_failure_profile`。先使用该摘要寻找跨任务重复机制，再回到 raw optimization report 与 transcript 核验：\n\n1. 按“受影响任务数 × 评分权重 × 可修复性”排序，不要默认追逐单个 task 的最低分。\n2. 分开诊断 `semantic_accuracy` 与 `delivery_reliability`：前者优先检查判别边界、遗漏的语义对照轴、独立问题被错误合并；后者优先检查中间叙述过长、最终输出截断、Stage\u002Fconfirm 未完成、重复 validator\u002Frepair。\n3. 若 automated expert\u002Fkeyword 项通过而 LLM judge 准确度低，视为 scorer conflict：说明模型提到了词但没有在最终交付中准确形成风险结论。禁止继续优化关键词出现率，应修复“证据 → 精确分歧 → 独立风险项 → 可执行建议”的传递链。\n4. Judge notes 中重复出现的遗漏机制优先于泛化 checklist；只有 raw evidence 支持时才能落 patch。\n5. 若 `paired_classification_failures > 0`，把两个互斥\u002F互补分类字段视为一个联合契约：同时检查两侧 prompt、联合一致性复核、断点恢复字段别名和最终输出映射。禁止只修一个字段，或把语义失败误路由为工具\u002F等待\u002F格式问题。\n6. 若 `optimization_underexposed=true` 且 aggregate generalization gap 明显，optimization 满分不代表无弱点。不得仅因 optimization 无失败就 no-op；可以在不读取 validation 明细的前提下，对运行时代码中的脆弱 literal 规则、双轴不对称、stale alias 和缺失通用 invariant 做一次最小、可证伪的 robustness audit。修改必须由源码证据支持，不能猜 held-out 答案。\n\n## Failure Evidence Extraction\n\n对每个 failed\u002Ferror\u002Fpartial case，至少抽取并在 `tune_report.md` 中保留摘要：\n\n| case_id | score | failure_signal | judge_notes\u002Fbreakdown | tool_path\u002Ftranscript_signal | suspected_root_cause |\n|---|---|---|---|---|---|\n| ... | ... | ... | ... | ... | ... |\n\n提取规则：\n\n- 优先读取 raw benchmark report 中的 `grading.runs[].notes`、`breakdown`、task status、timed_out、frontmatter\u002Fname。\n- 如存在 transcript，读取失败 case 的 transcript，归纳用户输入、关键 tool\u002FMCP 调用、最终回答和出错点。\n- 证据只允许来自 optimization bench；不得读取或使用 validation 结果。\n- 证据摘要要短，只保留能支持修改决策的 failure signal，不复制长日志。\n\n## Protected Behaviors Extraction\n\n对 optimization bench 中的 passed case，抽取代表性正例行为，写入 `tune_report.md`：\n\n| case_id | passing_behavior | judge_positive_signal | what_must_not_break |\n|---|---|---|---|\n| ... | ... | ... | ... |\n\n提取规则：\n\n- 优先选择与本轮失败模式、active direction 或拟修改文件相关的 passed case；无需穷举所有正例。\n- `passing_behavior` 写 agent 做对了什么，例如正确选择工具、正确参数、正确降级、正确输出格式、正确引用证据。\n- `what_must_not_break` 写 patch 的保护约束，例如不得禁止搜索、不得删除必要校验、不得改变输出 contract。\n- 如果 optimization bench 没有 passed case，写明 `no_passing_cases`，不要伪造保护清单。\n\n## Optimization Effect First（低风险决策约束）\n\n本轮首要目标是提升真实能力，不是通过 gate，也不是通过继续堆叠说明文字获得局部分数。修改前必须执行以下约束：\n\n1. **最小反事实修改**：先定位能改变失败行为的最小节点。优先修复工具路由、参数、执行顺序或替换现有规则；最后才考虑追加新 checklist\u002F强制步骤。\n2. **One-in-one-out**：如果新增强制步骤、guide read、validator call、repair loop 或大段指令，必须同时删除、合并或降级等价复杂度；无法抵消时必须标记 `complexity_risk`，并说明为什么收益值得增加关键路径。\n3. **已知有效机制保留**：从 input spec 的 protected behaviors、accepted baseline 和 evolution history 提取 preservation checklist。不能因为历史候选未 accepted\u002Frejected 就把其中观察到的正向行为视为无效；同时必须保留其已知回归。\n4. **推理与交付分开预测**：每个 proposal 分别说明对 `reasoning_quality` 和 `delivery_reliability` 的预期影响。提高风险识别但导致最终四部分输出、确认、stage completion 或一次性交付消失，不属于整体优化。\n5. **禁止用追加规则掩盖执行预算问题**：如果失败发生在尾段、截断、跳过阶段或重复输出，默认先测试缩短路径、提前关键产物、替换冗余规则，不得默认再加 checkpoint\u002Fverifier。\n6. **单机制优先**：一个 selected proposal 只验证一个主要因果机制。多个文件可以服务同一机制，但不得把工具路由、风险框架和最终渲染三类独立修复混进同一候选。\n7. **评分盲区检查**：高分不自动代表输出质量提升。必须人工检查 transcript 是否存在重复区块、尾段未完成、确认块重复、内容写入文件但未在对话交付等 scorer 可能遗漏的问题。\n\nproposal 比较时采用以下默认优先级：\n\n```text\n修路由\u002F参数\u002F顺序 > 替换现有规则 > 合并步骤 > 追加新规则块 > 新增 verifier\u002Frepair loop\n```\n\n这些约束用于提高候选质量，不增加新的 runner 硬阻断；证据不足时应如实标记 uncertain，而不是伪造复杂度精确值。\n\n## Weakness Mining and Candidate Proposals\n\n修改前必须先把失败转为可修 weakness，再比较候选 proposal：\n\n| weakness_id | signature | cases | trace_signal | suspected_component | addressable |\n|---|---|---|---|---|---|\n| W-001 | `timeout + repeated_same_tool + no_retry_budget` | ... | ... | ... | yes\u002Fno\u002Funcertain |\n\n| proposal_id | weakness_id | failure_signature | suspected_root_cause | alternative_causes | selected_operator | proposed_change | risk | decision |\n|---|---|---|---|---|---|---|---|---|---|\n| P-001 | W-001 | ... | ... | [...] | REDUCE_INSTRUCTION_ENTROPY | ... | low\u002Fmedium\u002Fhigh | selected\u002Frejected\u002Fdeferred |\n\n规则：\n\n- `signature` 必须描述机制，不只写 timeout\u002Fwrong_answer 等表面症状。\n- `addressable=no\u002Funcertain` 的 weakness 不应强行 patch，应写入 `Unresolved \u002F Not Touched`。\n- 必须至少提出 3 个机制不同的 proposal，恰好选择 1 个实施；不能把同一种 Prompt 改法换三种措辞充数。\n- 每个 proposal 必须写 `suspected_root_cause` 和至少一个 `alternative_causes`，并说明如何区分这些解释。\n- 每个 proposal 必须明确 `hypothesis_assessment`；Tune 可以拒绝或降级 Review hypothesis，不得把 spec 当成必须照单执行的 patch 方案。\n- `selected_operator` 必须来自 runner 注入的 `mutation_operator_library.json`；不得自行发明 operator，family diversity 也由该 library 校验。\n- selected proposal 必须能映射到后续 `change_manifest.json` 中至少一个 edit。\n- selected proposal 必须声明 `complexity` 与 `impact_radius`；manifest 必须同时声明 expected\u002Fprotected behavior metrics、baseline、阈值和 rollback condition。\n- rejected\u002Fdeferred proposal 必须保留 `why_not_selected`，供 review 和下一轮 spec 参考。\n- 没有重复实验时禁止使用“永久 retire”“模型天花板已确认”“方向已被证明无效”；只能标记 suspected\u002Ftesting\u002Fsupported\u002Ffalsified\u002Ffrozen_until_round。\n\n## Patch Plan Gate\n\n修改前必须形成计划，并在 `tune_report.md` 中记录：\n\n| Active Direction \u002F Strategy | Evidence | Root Cause | Target File | Exact Change | Expected Fix Cases | At-Risk Cases | Check |\n|---|---|---|---|---|---|---|---|\n| ... | ... | ... | ... | ... | ... | ... | ... |\n\n只有同时满足以下条件才允许执行修改：\n\n- 有明确 optimization evidence，而不是泛泛猜测。\n- root cause 落到可修改对象：skill description、SKILL.md workflow、参数规则、输出契约、md 配置、MCP 调用层说明\u002F配置或轻量 glue\u002Fconfig。\n- Skill 类 target file 必须位于当前运行模式指定的用户 Skill 可写目录。`workspace\u002Fclawevolve-skills\u002F**` 是 Release 私有运行代码，禁止读取、修改或列为候选目标。`skills-repo`、`skills-center`、其他共享\u002F系统 Skill 目录，以及 `workspace\u002Fskills\u002F` 下指向公共 Skill 的入口均为只读：允许读取用于定位根因和复用既有能力，但不得把它们列为候选修改目标、不得跟随软链修改其真实目标。\n- 如果根因只能通过修改公共 Skill 解决，应将 proposal 标记为 `deferred` 或本轮 `blocked`，明确记录公共依赖及建议，不得复制、改写或绕过公共 Skill 来制造可写副本。\n- 创建私有 Skill 前必须检查 `workspace\u002Fskills\u002F\u003Cskill-name>` 是否已经存在。已存在的公共\u002F系统 Skill 名称视为保留名称，不得创建同名用户 Skill 副本，也不得把原公共入口改指向私有副本。\n- target file 位于 spec 允许修改范围内；如果 spec 没有明确允许范围，只能改与 active direction 直接对应的最小 skill\u002Fmd\u002Fconfig 文件。\n- exact change 是通用修复，不包含 case-specific answer、固定 query、固定参数值或 benchmark 细节答案。\n- expected_fix_cases 来自失败证据或同类 failure signature，at_risk_cases 来自 Protected Behaviors；二者都要可被 review 验证或说明 `unknown`。\n- falsifiable_prediction 具体可证伪：说明 patch 预期消除哪个 failure signal，而不是泛泛“提高效果”。\n- rollback_condition 明确：如果验证集出现什么回归或预期未兑现，应由 review reject\u002Fretire。\n- check 可观察；无法运行时说明原因和替代检查。\n\n\n## Change Manifest\n\n除 `tune_report.md` 外，必须写入 `{round_dir}\u002Ftune\u002Fchange_manifest.json`，用于 review 逐条验证本轮 patch 假设。推荐 schema：\n\n```json\n{\n  \"schema_version\": \"evolution.change_manifest.v2\",\n  \"spec_hypothesis_assessment\": {\"decision\": \"accept|reject|downgrade\", \"reason\": \"evidence-based reason\", \"unresolved_alternatives\": []},\n  \"selected_proposal_id\": \"P-001\",\n  \"proposals\": [\n    {\n      \"proposal_id\": \"P-001\",\n      \"failure_signature\": \"long_workflow_early_termination\",\n      \"suspected_root_cause\": \"critical path is too long before the first useful artifact\",\n      \"alternative_causes\": [\"tool latency\", \"output budget exhaustion\"],\n      \"selected_operator\": \"SHORTEN_CRITICAL_PATH\",\n      \"proposed_change\": \"merge non-blocking preparation steps\",\n      \"decision\": \"selected\",\n      \"hypothesis_assessment\": \"supported enough for a bounded experiment; alternatives remain plausible\",\n      \"complexity\": \"low\",\n      \"impact_radius\": \"one runtime skill file and one workflow stage\",\n      \"why_not_selected\": \"\",\n      \"risk\": \"low\",\n      \"evidence\": [\"optimization failure cluster W-001\"]\n    },\n    {\n      \"proposal_id\": \"P-002\",\n      \"failure_signature\": \"long_workflow_early_termination\",\n      \"suspected_root_cause\": \"missing intermediate completion checkpoints\",\n      \"alternative_causes\": [\"tool latency\"],\n      \"selected_operator\": \"ADD_EXECUTION_CHECKPOINT\",\n      \"proposed_change\": \"emit a machine-checkable artifact after each stage\",\n      \"decision\": \"deferred\",\n      \"why_not_selected\": \"larger change surface than P-001\",\n      \"risk\": \"medium\",\n      \"evidence\": [\"optimization failure cluster W-001\"]\n    },\n    {\n      \"proposal_id\": \"P-003\",\n      \"failure_signature\": \"long_workflow_early_termination\",\n      \"suspected_root_cause\": \"final rendering consumes the remaining output budget\",\n      \"alternative_causes\": [\"tool latency\"],\n      \"selected_operator\": \"SEPARATE_ANALYSIS_FROM_RENDERING\",\n      \"proposed_change\": \"produce structured analysis before final rendering\",\n      \"decision\": \"rejected\",\n      \"why_not_selected\": \"does not directly address the earliest observed stop point\",\n      \"risk\": \"medium\",\n      \"evidence\": [\"optimization failure cluster W-001\"]\n    }\n  ],\n  \"expected_signals\": [\n    {\"task_id\": \"task_06\", \"metric\": \"score\", \"baseline\": 0.42, \"min_delta\": 0.10, \"role\": \"required\"}\n  ],\n  \"protected_signals\": [\n    {\"behavior_id\": \"PB-001\", \"task_id\": \"task_16\", \"metric\": \"score\", \"baseline\": 0.94, \"min_value\": 0.84, \"max_drop\": 0.10, \"direction\": \"maintain\"}\n  ],\n  \"edits\": [\n    {\n      \"edit_id\": \"chg-001\",\n      \"proposal_id\": \"P-001\",\n      \"target_file\": \"path\u002Fto\u002Ffile\",\n      \"change_type\": \"WORKFLOW_CHANGE\",\n      \"failure_signature\": \"long_workflow_early_termination\",\n      \"suspected_root_cause\": \"critical path is too long before the first useful artifact\",\n      \"alternative_causes\": [\"tool latency\", \"output budget exhaustion\"],\n      \"selected_operator\": \"SHORTEN_CRITICAL_PATH\",\n      \"falsifiable_prediction\": \"the first useful artifact is produced before stage 2\",\n      \"protected_behaviors\": [\"existing output contract remains complete\"],\n      \"local_check\": \"verify the shortened stage order and required artifact\",\n      \"rollback_condition\": \"first artifact timing does not improve or protected output regresses\"\n    }\n  ]\n}\n```\n\n推荐同时写入以下向后兼容的效果设计字段；runner 不依赖它们执行，但 Review 和后续 Tune 应消费这些证据：\n\n```json\n{\n  \"atomic_experiment\": {\n    \"independent_variable\": \"本轮唯一改变的行为变量\",\n    \"target_file\": \"path\u002Fto\u002Ffile\",\n    \"target_anchor\": \"唯一修改锚点\u002F段落\",\n    \"held_constant\": [\"必须保持不变的相邻规则与行为\"],\n    \"confounds_checked\": [\"检查未混入第二变量\"]\n  },\n  \"effect_design\": {\n    \"change_strategy\": \"route|parameter|reorder|replace|merge|append\",\n    \"patch_operation\": \"append|replace|delete|reorder\",\n    \"minimum_change_rationale\": \"为什么这是改变目标行为的最小修改\",\n    \"reasoning_quality_expected\": \"预期如何影响推理\u002F识别\",\n    \"delivery_reliability_expected\": \"预期如何影响最终交付\",\n    \"scorer_blind_spot_checks\": [\"duplicate blocks\", \"last stage completion\"]\n  },\n  \"complexity_budget\": {\n    \"instruction_token_delta_estimate\": \"decrease|neutral|small_increase|large_increase|unknown\",\n    \"mandatory_step_delta\": 0,\n    \"guide_read_delta\": 0,\n    \"validator_call_delta\": 0,\n    \"repair_loop_delta\": 0,\n    \"critical_path_delta\": \"shorter|neutral|longer|unknown\",\n    \"offsetting_removals_or_merges\": [],\n    \"one_in_one_out_satisfied\": true,\n    \"complexity_risk\": \"low|medium|high\"\n  },\n  \"preserved_mechanisms\": [\n    {\"mechanism\": \"capability-level behavior\", \"source\": \"spec|baseline|history\", \"preservation_check\": \"observable check\"}\n  ]\n}\n```\n\n要求：\n\n- `edits[]` 只记录实际执行的修改；未执行 proposal 只保留在 `tune_report.md`。\n- `edit_id` 稳定唯一，建议 `chg-001`、`chg-002`。\n- `expected_fix_cases` 为空时必须解释原因；一般不允许执行没有 expected fix 的 patch。\n- `at_risk_cases` 可为空，但必须已检查 Protected Behaviors；未知风险写 `unknown` 到报告中。\n- 如果因环境限制无法写 manifest，必须在 `tune_report.md` 写明 `manifest_status: missing` 和原因。\n\n## Change Budget\n\n默认每轮保持窄改：\n\n- 候选搜索可以比较至少 3 个 operator-diverse proposals，但每轮只实施 1 个 selected proposal。\n- 实际实验必须恰好 1 个 executed edit、1 个 changed file、1 个 unified-diff hunk；如果同一机制需要跨两个文件联动，拆成两轮，先验证第一个文件的独立效果。\n- 一个 diff hunk 内只允许改变一个 independent variable；不得顺手删除防截断、确认、validator、fallback 等其他规则。\n- 不做 opportunistic refactor、格式化全仓、重命名、大范围迁移。\n- 如果需要大改，把建议写入 `Notes for Spec Evolution`，不要在本轮执行。\n- 不要把所有失败都通过扩大 skill description 解决：只有证据显示 skill 未触发或触发不稳定时才改 description；如果 skill 已触发但执行失败，应优先改 workflow、parameter rules、MCP invocation guidance 或 output contract。\n\n## 硬约束\n\n- 不读取或使用 validation result。\n- 不修改 `clawevolve-*` \u002F `clawbench-*` 自进化与评测引擎、当前 runner\u002Fhandler、`clawevolve_results\u002F`、`clawbench_results\u002F` 或历史 round 状态；业务 bot 候选只能修改目标 bot 的运行时能力面。引擎自身优化必须使用独立的 engine-evolution 实验。\n- 不修改 objective。\n- 不修改 optimization\u002Fvalidation cases。\n- 不修改 bench result、metrics 或评测打分逻辑。\n- 不覆盖历史 round artifact。\n- 不修改 MCP server\u002Ftool 本体实现；MCP 相关优化仅限调用选择、命令、参数、顺序、降级、结果消费等调用层说明或配置。\n- 不为了个别 case 写硬编码答案。\n- 优先小改动，保持修改可解释、可回滚。\n\n## MVP 核心 Prompt\n\n当输入齐全时，可以按这个最小行为执行：\n\n```text\n读取 round_dir 中的 objective、spec-v{N-1} 和 optimization_result。先以 objective 的业务硬约束和成功标准为准，再根据 spec-v{N-1} 的 active directions \u002F `优化策略` 优化当前 workspace。先盘点 workspace\u002Fskills\u002F 已激活的 Skill；Skill 修改仅允许位于当前运行模式指定的用户 Skill 可写目录，不得为已经存在的公共\u002F系统 Skill 创建同名私有副本或替换其入口。公共 Skill 及其入口只允许读取分析，不得作为候选修改目标或跟随软链修改。允许修改 md 配置和 MCP 调用层说明\u002F配置；不要修改 MCP 本体、benchmark 数据、scoring、objective 或 validation 数据。保持改动小、可解释、可回滚，并输出 tune_report、changed_files、change_manifest.json 和 diff。\n```\n\n## tune_report 模板\n\n```md\n# Tune Report\n\n## Summary\n\n...\n\n## Bench Summary\n\n- total:\n- passed:\n- failed:\n- errors:\n- score:\n- pass_rate:\n\n## Failure Evidence\n\n| case_id | score | failure_signal | judge_notes\u002Fbreakdown | tool_path\u002Ftranscript_signal | suspected_root_cause |\n|---|---|---|---|---|---|\n| ... | ... | ... | ... | ... | ... |\n\n## Protected Behaviors\n\n| case_id | passing_behavior | judge_positive_signal | what_must_not_break |\n|---|---|---|---|\n| ... | ... | ... | ... |\n\n## Failure Analysis\n\n| Failure Type | Evidence Cases | Hypothesis | Related Direction | Priority |\n|---|---|---|---|---|\n| ... | ... | ... | ... | high |\n\n## Weakness Mining\n\n| weakness_id | signature | cases | trace_signal | suspected_component | addressable |\n|---|---|---|---|---|---|\n| W-001 | ... | ... | ... | ... | yes\u002Fno\u002Funcertain |\n\n## Candidate Proposals\n\n| proposal_id | weakness_id | failure_signature | suspected_root_cause | alternative_causes | selected_operator | proposed_change | risk | decision |\n|---|---|---|---|---|---|---|---|---|---|\n| P-001 | W-001 | ... | ... | [...] | REDUCE_INSTRUCTION_ENTROPY | ... | low\u002Fmedium\u002Fhigh | selected\u002Frejected\u002Fdeferred |\n\n## Patch Plan\n\n| Active Direction \u002F Strategy | Evidence | Root Cause | Target File | Exact Change | Expected Fix Cases | At-Risk Cases | Check |\n|---|---|---|---|---|---|---|---|\n| ... | ... | ... | ... | ... | ... | ... | ... |\n\n## Effect Design\n\n- change_strategy: route|parameter|reorder|replace|merge|append\n- minimum_change_rationale:\n- reasoning_quality_expected:\n- delivery_reliability_expected:\n- scorer_blind_spot_checks:\n\n## Runtime Complexity Budget\n\n| Dimension | Before | After | Delta | Offset \u002F Evidence |\n|---|---|---|---|---|\n| instruction tokens | ... | ... | decrease\u002Fneutral\u002Fincrease\u002Funknown | ... |\n| mandatory steps | ... | ... | ... | ... |\n| guide reads | ... | ... | ... | ... |\n| validator calls | ... | ... | ... | ... |\n| repair-loop upper bound | ... | ... | ... | ... |\n| critical path | ... | ... | shorter\u002Fneutral\u002Flonger\u002Funknown | ... |\n\n- one_in_one_out_satisfied: true\u002Ffalse\u002Funknown\n- complexity_risk: low\u002Fmedium\u002Fhigh\n\n## Preserved Mechanisms\n\n| Mechanism | Source | Why Known-Good \u002F Observed | Preservation Check |\n|---|---|---|---|\n| ... | spec\u002Fbaseline\u002Fhistory | ... | ... |\n\n## Direction Execution Result\n\n| Direction ID | Planned | Executed | Changed Files | Confidence | Notes |\n|---|---|---|---|---|---|\n| ... | yes\u002Fno | yes\u002Fno | ... | high\u002Fmedium\u002Flow | ... |\n\n## Change Manifest Summary\n\n| edit_id | proposal_id | expected_fix_cases | at_risk_cases | falsifiable_prediction | rollback_condition |\n|---|---|---|---|---|---|\n| chg-001 | P-001 | ... | ... | ... | ... |\n\n## Changes Made\n\n| File | Change | Reason |\n|---|---|---|\n| ... | ... | ... |\n\n## Case Impact Hypothesis\n\n| Failure Case | Before Failure | Change Expected to Help | Risk |\n|---|---|---|---|\n| ... | ... | ... | ... |\n\n## Local Checks\n\n| Check | Command\u002FMethod | Result | Notes |\n|---|---|---|---|\n| ... | ... | passed\u002Ffailed\u002Fnot_run | ... |\n\n## Unresolved \u002F Not Touched\n\n| Failure Mode | Reason Not Addressed | Suggested Next Direction |\n|---|---|---|\n| ... | ... | ... |\n\n## Risks \u002F Watch Points\n\n...\n\n## Notes for Spec Evolution\n\n...\n```\n\n\n## ClawBench 数据来源\n\nrunner v4 将 bench summary 直接写入 `round_state.json`，不再产出独立的 `optimization_result.json`。数据获取方式：\n\n1. **优先**：从 prompt 中直接消费（runner 已内嵌 bench summary 文本）。\n2. **如需逐任务详情**：读取 `round_state.json` → `bench.optimization.resultPath` 指向的原始 `*_benchmark_report.json`。\n3. **如需 transcript**：原始 report 同目录下的 `{run_id}_transcripts\u002F{task_id}.jsonl`。\n\n如果缺少关键输入，不做猜测性修改；写一份 blocked `tune_report.md` 说明缺失项。\n\n\n## Expected \u002F Protected Signal Direction\n\nEvery signal must use the exact field `task_id` and reference one concrete optimization `task_*`; never emit `task_id_or_group`, `overall`, `all_tasks_*`, or aggregate selectors. Expected signals may set `role=required|supporting` (default `required`): every required signal gates effect, while supporting signals are diagnostic and never rescue a failed required signal. Expected signals use `direction=increase|decrease|boolean_flip`; `maintain` is forbidden for expected-fix signals. Numeric `increase|decrease` signals require `expected_min` or a positive `min_delta`. `boolean_flip` signals use `expected_value` (default `1`) and do not require `expected_min` or `min_delta`. Protected signals use `direction=maintain`. Every protected behavior from Spec—resolved or unresolved—must have at least one observable `protected_signals` binding with its `behavior_id` before candidate bench; a missing binding makes the candidate opt signal plan invalid. Put `behavior_id` only on the signal that actually matches that Spec behavior's metric; extra canaries or additional protected metrics must omit `behavior_id`. Protected signals use `gate=hard|budget|supporting`: Spec atomic invariants default to hard, score-breadth and runner canaries use budget, and extra diagnostics without a Spec behavior use supporting. Only hard protected failures block targeted effect; budget failures are decided by full-opt regression budget. The binding must reuse the Spec protected behavior's resolved `metric`, with `min_value` not lower than and `max_drop` not wider than the Spec declares, and a `task_id` in the optimization task set. The protected gate must pass BOTH `candidate >= min_value` and `drop \u003C= max_drop`; violating either fails the gate. `boolean_flip` expected-fix signals require `expected_value` (default `1`) and only the flip-toward-`expected_value` direction counts as a fix (`baseline != expected_value` and `candidate == expected_value`); flipping away from `expected_value` is a rejection. Numeric signal fields (`baseline`, `min_delta`, `expected_min`, `expected_value`, `min_value`, `max_drop`) must be finite numbers; strings, booleans, NaN, Inf, or missing required values fail-closed the candidate gate instead of raising. Before writing `TUNE_COMPLETE`, self-audit the manifest: operator-family diversity meets the Spec threshold; every signal uses one concrete `task_id`; every Spec protected behavior has a same-metric binding; edit target\u002Faffected-file coverage equals `changed_files.txt`; and every edit has non-empty `alternative_causes`. Repair the manifest before completion if any check fails.\n","# clawevolve-tune\n\n在自进化的一轮中，根据 `objective + spec-vN + optimization_result` 调优当前 workspace。MVP 阶段保持简单：核心就是先读 objective 的业务硬约束，再读共享 spec 模板里的 `Objective Contract`、`Current Strategy Summary` 和 `Active Optimization Directions`，做小而可解释的优化。objective 负责长期业务规则，spec 负责本轮怎么优化。\n\n## 运行环境的 Skill 路径\n\n由调用方提供当前模式：`openversion` 使用 `workspace\u002Fskills\u002F\u003Cskill-name>\u002FSKILL.md`，无需中间层或激活软链；未指定或 `internalversion` 保持 `workspace\u002Fskills\u002Fskills-local\u002F\u003Cskill-name>\u002FSKILL.md` 及原激活入口。公共目录、现有公共入口软链及 Release Skill 始终只读。不要改造或搬迁历史目录。\n\n## MVP 路径协议\n\n为避免同 bot 多个 evolve run 并发时串目录，运行期必须绑定明确的 `evolve_run_id` \u002F `run_dir`。优先级：\n\n```text\n1. 调用方显式提供 run_dir \u002F round_dir\n2. 环境变量 EVOLVE_RUN_DIR \u002F EVOLVE_ROUND_DIR\n3. run_manifest.json 中记录的 run_dir \u002F round_id\n4. 单机调试时才使用人工指定的 fallback\n```\n\n标准目录结构（与 clawevolve.yaml workflow 对齐）：\n\n```text\nworkspace = \u002Fhome\u002Fadmin\u002F.openclaw\u002Fworkspace\nrun_dir   = {workspace}\u002Fevolve_results\u002F\u003Cevolve-run-id>\nround_dir = {workspace}\u002Fevolve_results\u002F\u003Cevolve-run-id>\u002Foptimize\u002Foutput\u002Fround-{N:03d}\n```\n\n其中 objective 是一次 evolve loop 不变的 run 级输入，放在 `optimize\u002Finput\u002F`：\n\n```text\n{run_dir}\u002Foptimize\u002Finput\u002Fobjective.md\n{run_dir}\u002Foptimize\u002Finput\u002Fspec-v0.md\n{run_dir}\u002Frun_manifest.json\n```\n\nRound 是 1-based（round 1 → round-001、round 2 → round-002）。\nSpec 文件名按 round 数字版本化：round N 消费 `input\u002Fspec-v{N-1}.md`（如 round 1 消费 `spec-v0.md`，round 2 消费 `spec-v1.md`）；`clawevolve-review` 在本轮产出 `spec\u002Fspec-vN.md`（如 round 1 产出 `spec-v1.md`）。不要使用未版本化的 spec 别名。\n\n当前轮 spec 和 round 产物放在：\n\n```text\n{round_dir}\u002Finput\u002Fspec-v{N-1}.md\n{round_dir}\u002Ftune\u002F\n{round_dir}\u002Fspec\u002F\n```\n\n**注意**：runner v4 不再创建 `{round_dir}\u002Fbench\u002F` 目录。bench 元数据和 score 直接写入 `round_state.json` 的 `bench.optimization` 字段，原始 benchmark report 在 `clawbench_results\u002F{bench_run_id}\u002F` 目录下。\n\n统一使用 `\u002Fhome\u002Fadmin\u002F.openclaw\u002Fworkspace\u002Fclawevolve_results\u002F\u003Ctask-id>` 绑定当前 run；不要创建未绑定\nTask 的全局 `round0`，也不要通过扫描结果根目录中的最新目录来猜当前 run。\n\n## Bundled Resources\n\n- `references\u002Fprotocol.md`: `clawevolve-tune` 自己的输入\u002F输出和边界协议；需要确认路径契约时读取。\n- `..\u002Fclawevolve-plan\u002Freferences\u002Fevolution-strategy-spec-v0-template.md`: 与 `clawevolve-plan`、`clawevolve-review` 共享的统一 spec 模板；需要确认 `Objective Contract` \u002F `Current Strategy Summary` \u002F `Active Optimization Directions` \u002F 附录结构时读取。\n\n**注意**：`scripts\u002Fnormalize_clawbench_result.py` 已废弃。runner v4 将 bench summary inline 到 `round_state.json`，不再产出独立的 normalized JSON 文件。\n\n说明：`clawevolve-tune` 不内置 direction pool；它只执行 `spec-v{N-1}.md` 中已经激活的方向。若 spec-v{N-1} 只有 direction ID 而没有 Why\u002FExpected Effect，应先要求补全 spec，而不是跨 skill 读取 `clawevolve-review` 的方向池。\n\n## 输入\n\n优先从已绑定的 `run_dir` \u002F `round_dir` 读取：\n\n```text\n{run_dir}\u002Foptimize\u002Finput\u002Fobjective.md\n{round_dir}\u002Finput\u002Fspec-v{N-1}.md\n{round_dir}\u002Fround_state.json    ← bench 元数据 + summary 在 bench.optimization 字段\n```\n\n原始 benchmark report 路径记录在 `round_state.json` 的 `bench.optimization.resultPath`，如需逐任务详情（cases、breakdown、transcript）可读取该文件。\n\n如果调用方（runner）通过 prompt 直接内嵌了 bench summary 文本，直接消费即可，不需要再读文件。\n\n若 bench 数据缺失，写明原因并写 blocked `tune_report.md`，不要使用硬编码 fallback 路径。\n\n## 输出\n\n写入已绑定的 `round_dir`：\n\n```text\n{round_dir}\u002Ftune\u002Ftune_report.md\n{round_dir}\u002Ftune\u002Fchanged_files.txt\n{round_dir}\u002Ftune\u002Fdiff.patch        # 如 git\u002Fdiff 可用则生成\n{round_dir}\u002Ftune\u002Fchange_manifest.json  # 本轮实际 edit 的可证伪实验契约\n```\n\n## 工作步骤\n\n1. 定位 `round_dir` 和输入路径（优先使用调用方显式传入的路径）。\n2. 读取 objective、`spec-v{N-1}`、`round_state.json` 中的 `bench.optimization`。\n3. **强制提取失败证据包**：只要存在 failed\u002Ferror\u002Fpartial case，必须读取 `bench.optimization.resultPath` 指向的原始 report；如 report 指向 transcript，优先读取相关 failed\u002Ferror case 的 transcript。不要只凭 summary 直接改。\n4. **先核对 objective 约束**：先确认 objective 里的业务目标、硬约束和成功标准，再看 spec；如果 spec 与 objective 冲突，以 objective 为准。\n5. **提取正例保护清单**：只要存在 passed case，必须从 optimization bench 中抽取代表性 passing behavior，形成 Protected Behaviors；后续 patch 不得无说明地破坏这些行为。\n6. **执行 Weakness Mining**：把失败按 `signature = judge 终因 + agent 侧关键行为 + 抽象机制` 聚合，区分表面症状相同但机制不同的失败，并标注当前修改面是否 addressable。\n7. **生成 Candidate Proposals**：围绕最高优 weakness 至少生成 3 个 operator-diverse 候选（优先覆盖 instruction\u002Fworkflow\u002Fverifier 等不同机制），比较证据、替代解释、修改范围、保护行为风险和可证伪性；恰好选择 1 个 proposal 执行。\n8. **先写 Patch Plan Gate，再修改**：为每个被选 proposal 列出 evidence、root cause、target file、exact change、check、expected_fix_cases、at_risk_cases、falsifiable_prediction 和 rollback_condition；只有满足范围、证据、正例保护和反过拟合检查的改动才执行。\n9. 修改前先盘点 `workspace\u002Fskills\u002F` 已激活的 Skill；修改当前 workspace 中的私有 skill、md 配置、MCP 调用层说明或必要的轻量 glue\u002Fconfig。Skill 修改仅允许位于当前运行模式指定的用户 Skill 可写目录。若同名 Skill 已通过公共\u002F系统入口存在（例如系统已有 `mcporter`），不得在用户 Skill 目录创建同名副本或替换其入口；公共 Skill 及其来源目录、入口软链只允许读取分析，不得修改。不要修改 MCP 本体实现。\n10. 对每个执行策略绑定至少一个低成本、可观察检查；能运行则运行，不能运行必须说明原因。\n11. 写 `tune_report.md`、`changed_files.txt`、`change_manifest.json`，并尽量生成 `diff.patch`。\n\n## Failure Profile Priority\n\nRunner 会注入 `optimization_failure_profile`。先使用该摘要寻找跨任务重复机制，再回到 raw optimization report 与 transcript 核验：\n\n1. 按“受影响任务数 × 评分权重 × 可修复性”排序，不要默认追逐单个 task 的最低分。\n2. 分开诊断 `semantic_accuracy` 与 `delivery_reliability`：前者优先检查判别边界、遗漏的语义对照轴、独立问题被错误合并；后者优先检查中间叙述过长、最终输出截断、Stage\u002Fconfirm 未完成、重复 validator\u002Frepair。\n3. 若 automated expert\u002Fkeyword 项通过而 LLM judge 准确度低，视为 scorer conflict：说明模型提到了词但没有在最终交付中准确形成风险结论。禁止继续优化关键词出现率，应修复“证据 → 精确分歧 → 独立风险项 → 可执行建议”的传递链。\n4. Judge notes 中重复出现的遗漏机制优先于泛化 checklist；只有 raw evidence 支持时才能落 patch。\n5. 若 `paired_classification_failures > 0`，把两个互斥\u002F互补分类字段视为一个联合契约：同时检查两侧 prompt、联合一致性复核、断点恢复字段别名和最终输出映射。禁止只修一个字段，或把语义失败误路由为工具\u002F等待\u002F格式问题。\n6. 若 `optimization_underexposed=true` 且 aggregate generalization gap 明显，optimization 满分不代表无弱点。不得仅因 optimization 无失败就 no-op；可以在不读取 validation 明细的前提下，对运行时代码中的脆弱 literal 规则、双轴不对称、stale alias 和缺失通用 invariant 做一次最小、可证伪的 robustness audit。修改必须由源码证据支持，不能猜 held-out 答案。\n\n## Failure Evidence Extraction\n\n对每个 failed\u002Ferror\u002Fpartial case，至少抽取并在 `tune_report.md` 中保留摘要：\n\n| case_id | score | failure_signal | judge_notes\u002Fbreakdown | tool_path\u002Ftranscript_signal | suspected_root_cause |\n|---|---|---|---|---|---|\n| ... | ... | ... | ... | ... | ... |\n\n提取规则：\n\n- 优先读取 raw benchmark report 中的 `grading.runs[].notes`、`breakdown`、task status、timed_out、frontmatter\u002Fname。\n- 如存在 transcript，读取失败 case 的 transcript，归纳用户输入、关键 tool\u002FMCP 调用、最终回答和出错点。\n- 证据只允许来自 optimization bench；不得读取或使用 validation 结果。\n- 证据摘要要短，只保留能支持修改决策的 failure signal，不复制长日志。\n\n## Protected Behaviors Extraction\n\n对 optimization bench 中的 passed case，抽取代表性正例行为，写入 `tune_report.md`：\n\n| case_id | passing_behavior | judge_positive_signal | what_must_not_break |\n|---|---|---|---|\n| ... | ... | ... | ... |\n\n提取规则：\n\n- 优先选择与本轮失败模式、active direction 或拟修改文件相关的 passed case；无需穷举所有正例。\n- `passing_behavior` 写 agent 做对了什么，例如正确选择工具、正确参数、正确降级、正确输出格式、正确引用证据。\n- `what_must_not_break` 写 patch 的保护约束，例如不得禁止搜索、不得删除必要校验、不得改变输出 contract。\n- 如果 optimization bench 没有 passed case，写明 `no_passing_cases`，不要伪造保护清单。\n\n## Optimization Effect First（低风险决策约束）\n\n本轮首要目标是提升真实能力，不是通过 gate，也不是通过继续堆叠说明文字获得局部分数。修改前必须执行以下约束：\n\n1. **最小反事实修改**：先定位能改变失败行为的最小节点。优先修复工具路由、参数、执行顺序或替换现有规则；最后才考虑追加新 checklist\u002F强制步骤。\n2. **One-in-one-out**：如果新增强制步骤、guide read、validator call、repair loop 或大段指令，必须同时删除、合并或降级等价复杂度；无法抵消时必须标记 `complexity_risk`，并说明为什么收益值得增加关键路径。\n3. **已知有效机制保留**：从 input spec 的 protected behaviors、accepted baseline 和 evolution history 提取 preservation checklist。不能因为历史候选未 accepted\u002Frejected 就把其中观察到的正向行为视为无效；同时必须保留其已知回归。\n4. **推理与交付分开预测**：每个 proposal 分别说明对 `reasoning_quality` 和 `delivery_reliability` 的预期影响。提高风险识别但导致最终四部分输出、确认、stage completion 或一次性交付消失，不属于整体优化。\n5. **禁止用追加规则掩盖执行预算问题**：如果失败发生在尾段、截断、跳过阶段或重复输出，默认先测试缩短路径、提前关键产物、替换冗余规则，不得默认再加 checkpoint\u002Fverifier。\n6. **单机制优先**：一个 selected proposal 只验证一个主要因果机制。多个文件可以服务同一机制，但不得把工具路由、风险框架和最终渲染三类独立修复混进同一候选。\n7. **评分盲区检查**：高分不自动代表输出质量提升。必须人工检查 transcript 是否存在重复区块、尾段未完成、确认块重复、内容写入文件但未在对话交付等 scorer 可能遗漏的问题。\n\nproposal 比较时采用以下默认优先级：\n\n```text\n修路由\u002F参数\u002F顺序 > 替换现有规则 > 合并步骤 > 追加新规则块 > 新增 verifier\u002Frepair loop\n```\n\n这些约束用于提高候选质量，不增加新的 runner 硬阻断；证据不足时应如实标记 uncertain，而不是伪造复杂度精确值。\n\n## Weakness Mining and Candidate Proposals\n\n修改前必须先把失败转为可修 weakness，再比较候选 proposal：\n\n| weakness_id | signature | cases | trace_signal | suspected_component | addressable |\n|---|---|---|---|---|---|\n| W-001 | `timeout + repeated_same_tool + no_retry_budget` | ... | ... | ... | yes\u002Fno\u002Funcertain |\n\n| proposal_id | weakness_id | failure_signature | suspected_root_cause | alternative_causes | selected_operator | proposed_change | risk | decision |\n|---|---|---|---|---|---|---|---|---|---|\n| P-001 | W-001 | ... | ... | [...] | REDUCE_INSTRUCTION_ENTROPY | ... | low\u002Fmedium\u002Fhigh | selected\u002Frejected\u002Fdeferred |\n\n规则：\n\n- `signature` 必须描述机制，不只写 timeout\u002Fwrong_answer 等表面症状。\n- `addressable=no\u002Funcertain` 的 weakness 不应强行 patch，应写入 `Unresolved \u002F Not Touched`。\n- 必须至少提出 3 个机制不同的 proposal，恰好选择 1 个实施；不能把同一种 Prompt 改法换三种措辞充数。\n- 每个 proposal 必须写 `suspected_root_cause` 和至少一个 `alternative_causes`，并说明如何区分这些解释。\n- 每个 proposal 必须明确 `hypothesis_assessment`；Tune 可以拒绝或降级 Review hypothesis，不得把 spec 当成必须照单执行的 patch 方案。\n- `selected_operator` 必须来自 runner 注入的 `mutation_operator_library.json`；不得自行发明 operator，family diversity 也由该 library 校验。\n- selected proposal 必须能映射到后续 `change_manifest.json` 中至少一个 edit。\n- selected proposal 必须声明 `complexity` 与 `impact_radius`；manifest 必须同时声明 expected\u002Fprotected behavior metrics、baseline、阈值和 rollback condition。\n- rejected\u002Fdeferred proposal 必须保留 `why_not_selected`，供 review 和下一轮 spec 参考。\n- 没有重复实验时禁止使用“永久 retire”“模型天花板已确认”“方向已被证明无效”；只能标记 suspected\u002Ftesting\u002Fsupported\u002Ffalsified\u002Ffrozen_until_round。\n\n## Patch Plan Gate\n\n修改前必须形成计划，并在 `tune_report.md` 中记录：\n\n| Active Direction \u002F Strategy | Evidence | Root Cause | Target File | Exact Change | Expected Fix Cases | At-Risk Cases | Check |\n|---|---|---|---|---|---|---|---|\n| ... | ... | ... | ... | ... | ... | ... | ... |\n\n只有同时满足以下条件才允许执行修改：\n\n- 有明确 optimization evidence，而不是泛泛猜测。\n- root cause 落到可修改对象：skill description、SKILL.md workflow、参数规则、输出契约、md 配置、MCP 调用层说明\u002F配置或轻量 glue\u002Fconfig。\n- Skill 类 target file 必须位于当前运行模式指定的用户 Skill 可写目录。`workspace\u002Fclawevolve-skills\u002F**` 是 Release 私有运行代码，禁止读取、修改或列为候选目标。`skills-repo`、`skills-center`、其他共享\u002F系统 Skill 目录，以及 `workspace\u002Fskills\u002F` 下指向公共 Skill 的入口均为只读：允许读取用于定位根因和复用既有能力，但不得把它们列为候选修改目标、不得跟随软链修改其真实目标。\n- 如果根因只能通过修改公共 Skill 解决，应将 proposal 标记为 `deferred` 或本轮 `blocked`，明确记录公共依赖及建议，不得复制、改写或绕过公共 Skill 来制造可写副本。\n- 创建私有 Skill 前必须检查 `workspace\u002Fskills\u002F\u003Cskill-name>` 是否已经存在。已存在的公共\u002F系统 Skill 名称视为保留名称，不得创建同名用户 Skill 副本，也不得把原公共入口改指向私有副本。\n- target file 位于 spec 允许修改范围内；如果 spec 没有明确允许范围，只能改与 active direction 直接对应的最小 skill\u002Fmd\u002Fconfig 文件。\n- exact change 是通用修复，不包含 case-specific answer、固定 query、固定参数值或 benchmark 细节答案。\n- expected_fix_cases 来自失败证据或同类 failure signature，at_risk_cases 来自 Protected Behaviors；二者都要可被 review 验证或说明 `unknown`。\n- falsifiable_prediction 具体可证伪：说明 patch 预期消除哪个 failure signal，而不是泛泛“提高效果”。\n- rollback_condition 明确：如果验证集出现什么回归或预期未兑现，应由 review reject\u002Fretire。\n- check 可观察；无法运行时说明原因和替代检查。\n\n\n## Change Manifest\n\n除 `tune_report.md` 外，必须写入 `{round_dir}\u002Ftune\u002Fchange_manifest.json`，用于 review 逐条验证本轮 patch 假设。推荐 schema：\n\n```json\n{\n  \"schema_version\": \"evolution.change_manifest.v2\",\n  \"spec_hypothesis_assessment\": {\"decision\": \"accept|reject|downgrade\", \"reason\": \"evidence-based reason\", \"unresolved_alternatives\": []},\n  \"selected_proposal_id\": \"P-001\",\n  \"proposals\": [\n    {\n      \"proposal_id\": \"P-001\",\n      \"failure_signature\": \"long_workflow_early_termination\",\n      \"suspected_root_cause\": \"critical path is too long before the first useful artifact\",\n      \"alternative_causes\": [\"tool latency\", \"output budget exhaustion\"],\n      \"selected_operator\": \"SHORTEN_CRITICAL_PATH\",\n      \"proposed_change\": \"merge non-blocking preparation steps\",\n      \"decision\": \"selected\",\n      \"hypothesis_assessment\": \"supported enough for a bounded experiment; alternatives remain plausible\",\n      \"complexity\": \"low\",\n      \"impact_radius\": \"one runtime skill file and one workflow stage\",\n      \"why_not_selected\": \"\",\n      \"risk\": \"low\",\n      \"evidence\": [\"optimization failure cluster W-001\"]\n    },\n    {\n      \"proposal_id\": \"P-002\",\n      \"failure_signature\": \"long_workflow_early_termination\",\n      \"suspected_root_cause\": \"missing intermediate completion checkpoints\",\n      \"alternative_causes\": [\"tool latency\"],\n      \"selected_operator\": \"ADD_EXECUTION_CHECKPOINT\",\n      \"proposed_change\": \"emit a machine-checkable artifact after each stage\",\n      \"decision\": \"deferred\",\n      \"why_not_selected\": \"larger change surface than P-001\",\n      \"risk\": \"medium\",\n      \"evidence\": [\"optimization failure cluster W-001\"]\n    },\n    {\n      \"proposal_id\": \"P-003\",\n      \"failure_signature\": \"long_workflow_early_termination\",\n      \"suspected_root_cause\": \"final rendering consumes the remaining output budget\",\n      \"alternative_causes\": [\"tool latency\"],\n      \"selected_operator\": \"SEPARATE_ANALYSIS_FROM_RENDERING\",\n      \"proposed_change\": \"produce structured analysis before final rendering\",\n      \"decision\": \"rejected\",\n      \"why_not_selected\": \"does not directly address the earliest observed stop point\",\n      \"risk\": \"medium\",\n      \"evidence\": [\"optimization failure cluster W-001\"]\n    }\n  ],\n  \"expected_signals\": [\n    {\"task_id\": \"task_06\", \"metric\": \"score\", \"baseline\": 0.42, \"min_delta\": 0.10, \"role\": \"required\"}\n  ],\n  \"protected_signals\": [\n    {\"behavior_id\": \"PB-001\", \"task_id\": \"task_16\", \"metric\": \"score\", \"baseline\": 0.94, \"min_value\": 0.84, \"max_drop\": 0.10, \"direction\": \"maintain\"}\n  ],\n  \"edits\": [\n    {\n      \"edit_id\": \"chg-001\",\n      \"proposal_id\": \"P-001\",\n      \"target_file\": \"path\u002Fto\u002Ffile\",\n      \"change_type\": \"WORKFLOW_CHANGE\",\n      \"failure_signature\": \"long_workflow_early_termination\",\n      \"suspected_root_cause\": \"critical path is too long before the first useful artifact\",\n      \"alternative_causes\": [\"tool latency\", \"output budget exhaustion\"],\n      \"selected_operator\": \"SHORTEN_CRITICAL_PATH\",\n      \"falsifiable_prediction\": \"the first useful artifact is produced before stage 2\",\n      \"protected_behaviors\": [\"existing output contract remains complete\"],\n      \"local_check\": \"verify the shortened stage order and required artifact\",\n      \"rollback_condition\": \"first artifact timing does not improve or protected output regresses\"\n    }\n  ]\n}\n```\n\n推荐同时写入以下向后兼容的效果设计字段；runner 不依赖它们执行，但 Review 和后续 Tune 应消费这些证据：\n\n```json\n{\n  \"atomic_experiment\": {\n    \"independent_variable\": \"本轮唯一改变的行为变量\",\n    \"target_file\": \"path\u002Fto\u002Ffile\",\n    \"target_anchor\": \"唯一修改锚点\u002F段落\",\n    \"held_constant\": [\"必须保持不变的相邻规则与行为\"],\n    \"confounds_checked\": [\"检查未混入第二变量\"]\n  },\n  \"effect_design\": {\n    \"change_strategy\": \"route|parameter|reorder|replace|merge|append\",\n    \"patch_operation\": \"append|replace|delete|reorder\",\n    \"minimum_change_rationale\": \"为什么这是改变目标行为的最小修改\",\n    \"reasoning_quality_expected\": \"预期如何影响推理\u002F识别\",\n    \"delivery_reliability_expected\": \"预期如何影响最终交付\",\n    \"scorer_blind_spot_checks\": [\"duplicate blocks\", \"last stage completion\"]\n  },\n  \"complexity_budget\": {\n    \"instruction_token_delta_estimate\": \"decrease|neutral|small_increase|large_increase|unknown\",\n    \"mandatory_step_delta\": 0,\n    \"guide_read_delta\": 0,\n    \"validator_call_delta\": 0,\n    \"repair_loop_delta\": 0,\n    \"critical_path_delta\": \"shorter|neutral|longer|unknown\",\n    \"offsetting_removals_or_merges\": [],\n    \"one_in_one_out_satisfied\": true,\n    \"complexity_risk\": \"low|medium|high\"\n  },\n  \"preserved_mechanisms\": [\n    {\"mechanism\": \"capability-level behavior\", \"source\": \"spec|baseline|history\", \"preservation_check\": \"observable check\"}\n  ]\n}\n```\n\n要求：\n\n- `edits[]` 只记录实际执行的修改；未执行 proposal 只保留在 `tune_report.md`。\n- `edit_id` 稳定唯一，建议 `chg-001`、`chg-002`。\n- `expected_fix_cases` 为空时必须解释原因；一般不允许执行没有 expected fix 的 patch。\n- `at_risk_cases` 可为空，但必须已检查 Protected Behaviors；未知风险写 `unknown` 到报告中。\n- 如果因环境限制无法写 manifest，必须在 `tune_report.md` 写明 `manifest_status: missing` 和原因。\n\n## Change Budget\n\n默认每轮保持窄改：\n\n- 候选搜索可以比较至少 3 个 operator-diverse proposals，但每轮只实施 1 个 selected proposal。\n- 实际实验必须恰好 1 个 executed edit、1 个 changed file、1 个 unified-diff hunk；如果同一机制需要跨两个文件联动，拆成两轮，先验证第一个文件的独立效果。\n- 一个 diff hunk 内只允许改变一个 independent variable；不得顺手删除防截断、确认、validator、fallback 等其他规则。\n- 不做 opportunistic refactor、格式化全仓、重命名、大范围迁移。\n- 如果需要大改，把建议写入 `Notes for Spec Evolution`，不要在本轮执行。\n- 不要把所有失败都通过扩大 skill description 解决：只有证据显示 skill 未触发或触发不稳定时才改 description；如果 skill 已触发但执行失败，应优先改 workflow、parameter rules、MCP invocation guidance 或 output contract。\n\n## 硬约束\n\n- 不读取或使用 validation result。\n- 不修改 `clawevolve-*` \u002F `clawbench-*` 自进化与评测引擎、当前 runner\u002Fhandler、`clawevolve_results\u002F`、`clawbench_results\u002F` 或历史 round 状态；业务 bot 候选只能修改目标 bot 的运行时能力面。引擎自身优化必须使用独立的 engine-evolution 实验。\n- 不修改 objective。\n- 不修改 optimization\u002Fvalidation cases。\n- 不修改 bench result、metrics 或评测打分逻辑。\n- 不覆盖历史 round artifact。\n- 不修改 MCP server\u002Ftool 本体实现；MCP 相关优化仅限调用选择、命令、参数、顺序、降级、结果消费等调用层说明或配置。\n- 不为了个别 case 写硬编码答案。\n- 优先小改动，保持修改可解释、可回滚。\n\n## MVP 核心 Prompt\n\n当输入齐全时，可以按这个最小行为执行：\n\n```text\n读取 round_dir 中的 objective、spec-v{N-1} 和 optimization_result。先以 objective 的业务硬约束和成功标准为准，再根据 spec-v{N-1} 的 active directions \u002F `优化策略` 优化当前 workspace。先盘点 workspace\u002Fskills\u002F 已激活的 Skill；Skill 修改仅允许位于当前运行模式指定的用户 Skill 可写目录，不得为已经存在的公共\u002F系统 Skill 创建同名私有副本或替换其入口。公共 Skill 及其入口只允许读取分析，不得作为候选修改目标或跟随软链修改。允许修改 md 配置和 MCP 调用层说明\u002F配置；不要修改 MCP 本体、benchmark 数据、scoring、objective 或 validation 数据。保持改动小、可解释、可回滚，并输出 tune_report、changed_files、change_manifest.json 和 diff。\n```\n\n## tune_report 模板\n\n```md\n# Tune Report\n\n## Summary\n\n...\n\n## Bench Summary\n\n- total:\n- passed:\n- failed:\n- errors:\n- score:\n- pass_rate:\n\n## Failure Evidence\n\n| case_id | score | failure_signal | judge_notes\u002Fbreakdown | tool_path\u002Ftranscript_signal | suspected_root_cause |\n|---|---|---|---|---|---|\n| ... | ... | ... | ... | ... | ... |\n\n## Protected Behaviors\n\n| case_id | passing_behavior | judge_positive_signal | what_must_not_break |\n|---|---|---|---|\n| ... | ... | ... | ... |\n\n## Failure Analysis\n\n| Failure Type | Evidence Cases | Hypothesis | Related Direction | Priority |\n|---|---|---|---|---|\n| ... | ... | ... | ... | high |\n\n## Weakness Mining\n\n| weakness_id | signature | cases | trace_signal | suspected_component | addressable |\n|---|---|---|---|---|---|\n| W-001 | ... | ... | ... | ... | yes\u002Fno\u002Funcertain |\n\n## Candidate Proposals\n\n| proposal_id | weakness_id | failure_signature | suspected_root_cause | alternative_causes | selected_operator | proposed_change | risk | decision |\n|---|---|---|---|---|---|---|---|---|---|\n| P-001 | W-001 | ... | ... | [...] | REDUCE_INSTRUCTION_ENTROPY | ... | low\u002Fmedium\u002Fhigh | selected\u002Frejected\u002Fdeferred |\n\n## Patch Plan\n\n| Active Direction \u002F Strategy | Evidence | Root Cause | Target File | Exact Change | Expected Fix Cases | At-Risk Cases | Check |\n|---|---|---|---|---|---|---|---|\n| ... | ... | ... | ... | ... | ... | ... | ... |\n\n## Effect Design\n\n- change_strategy: route|parameter|reorder|replace|merge|append\n- minimum_change_rationale:\n- reasoning_quality_expected:\n- delivery_reliability_expected:\n- scorer_blind_spot_checks:\n\n## Runtime Complexity Budget\n\n| Dimension | Before | After | Delta | Offset \u002F Evidence |\n|---|---|---|---|---|\n| instruction tokens | ... | ... | decrease\u002Fneutral\u002Fincrease\u002Funknown | ... |\n| mandatory steps | ... | ... | ... | ... |\n| guide reads | ... | ... | ... | ... |\n| validator calls | ... | ... | ... | ... |\n| repair-loop upper bound | ... | ... | ... | ... |\n| critical path | ... | ... | shorter\u002Fneutral\u002Flonger\u002Funknown | ... |\n\n- one_in_one_out_satisfied: true\u002Ffalse\u002Funknown\n- complexity_risk: low\u002Fmedium\u002Fhigh\n\n## Preserved Mechanisms\n\n| Mechanism | Source | Why Known-Good \u002F Observed | Preservation Check |\n|---|---|---|---|\n| ... | spec\u002Fbaseline\u002Fhistory | ... | ... |\n\n## Direction Execution Result\n\n| Direction ID | Planned | Executed | Changed Files | Confidence | Notes |\n|---|---|---|---|---|---|\n| ... | yes\u002Fno | yes\u002Fno | ... | high\u002Fmedium\u002Flow | ... |\n\n## Change Manifest Summary\n\n| edit_id | proposal_id | expected_fix_cases | at_risk_cases | falsifiable_prediction | rollback_condition |\n|---|---|---|---|---|---|\n| chg-001 | P-001 | ... | ... | ... | ... |\n\n## Changes Made\n\n| File | Change | Reason |\n|---|---|---|\n| ... | ... | ... |\n\n## Case Impact Hypothesis\n\n| Failure Case | Before Failure | Change Expected to Help | Risk |\n|---|---|---|---|\n| ... | ... | ... | ... |\n\n## Local Checks\n\n| Check | Command\u002FMethod | Result | Notes |\n|---|---|---|---|\n| ... | ... | passed\u002Ffailed\u002Fnot_run | ... |\n\n## Unresolved \u002F Not Touched\n\n| Failure Mode | Reason Not Addressed | Suggested Next Direction |\n|---|---|---|\n| ... | ... | ... |\n\n## Risks \u002F Watch Points\n\n...\n\n## Notes for Spec Evolution\n\n...\n```\n\n\n## ClawBench 数据来源\n\nrunner v4 将 bench summary 直接写入 `round_state.json`，不再产出独立的 `optimization_result.json`。数据获取方式：\n\n1. **优先**：从 prompt 中直接消费（runner 已内嵌 bench summary 文本）。\n2. **如需逐任务详情**：读取 `round_state.json` → `bench.optimization.resultPath` 指向的原始 `*_benchmark_report.json`。\n3. **如需 transcript**：原始 report 同目录下的 `{run_id}_transcripts\u002F{task_id}.jsonl`。\n\n如果缺少关键输入，不做猜测性修改；写一份 blocked `tune_report.md` 说明缺失项。\n\n\n## Expected \u002F Protected Signal Direction\n\nEvery signal must use the exact field `task_id` and reference one concrete optimization `task_*`; never emit `task_id_or_group`, `overall`, `all_tasks_*`, or aggregate selectors. Expected signals may set `role=required|supporting` (default `required`): every required signal gates effect, while supporting signals are diagnostic and never rescue a failed required signal. Expected signals use `direction=increase|decrease|boolean_flip`; `maintain` is forbidden for expected-fix signals. Numeric `increase|decrease` signals require `expected_min` or a positive `min_delta`. `boolean_flip` signals use `expected_value` (default `1`) and do not require `expected_min` or `min_delta`. Protected signals use `direction=maintain`. Every protected behavior from Spec—resolved or unresolved—must have at least one observable `protected_signals` binding with its `behavior_id` before candidate bench; a missing binding makes the candidate opt signal plan invalid. Put `behavior_id` only on the signal that actually matches that Spec behavior's metric; extra canaries or additional protected metrics must omit `behavior_id`. Protected signals use `gate=hard|budget|supporting`: Spec atomic invariants default to hard, score-breadth and runner canaries use budget, and extra diagnostics without a Spec behavior use supporting. Only hard protected failures block targeted effect; budget failures are decided by full-opt regression budget. The binding must reuse the Spec protected behavior's resolved `metric`, with `min_value` not lower than and `max_drop` not wider than the Spec declares, and a `task_id` in the optimization task set. The protected gate must pass BOTH `candidate >= min_value` and `drop \u003C= max_drop`; violating either fails the gate. `boolean_flip` expected-fix signals require `expected_value` (default `1`) and only the flip-toward-`expected_value` direction counts as a fix (`baseline != expected_value` and `candidate == expected_value`); flipping away from `expected_value` is a rejection. Numeric signal fields (`baseline`, `min_delta`, `expected_min`, `expected_value`, `min_value`, `max_drop`) must be finite numbers; strings, booleans, NaN, Inf, or missing required values fail-closed the candidate gate instead of raising. Before writing `TUNE_COMPLETE`, self-audit the manifest: operator-family diversity meets the Spec threshold; every signal uses one concrete `task_id`; every Spec protected behavior has a same-metric binding; edit target\u002Faffected-file coverage equals `changed_files.txt`; and every edit has non-empty `alternative_causes`. Repair the manifest before completion if any check fails.\n",{"name":5,"description":7,"allowed-tools":23},"Read, Bash, Edit, MultiEdit, Write","dev","5f66a10842d013546976c0100c690b2cc014920b","apps\u002Fevolverun\u002Fclawweb-skills\u002Fclawevolve-skills\u002Fclawevolve-tune",82,"https:\u002F\u002Fgithub.com\u002FinclusionAI\u002FAvernet","https:\u002F\u002Favernet.cc\u002F","https:\u002F\u002Fgithub.com\u002FinclusionAI","https:\u002F\u002Finclusion-ai.org","This organization contains the series of open-source projects from Ant Group with dedicated efforts to work towards Artificial General Intelligence (AGI).","2026-11-14 23:55:37",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add inclusionAI\u002FAvernet --skill clawevolve-tune",{"tool":40,"command":41},"bunx","bunx skills add inclusionAI\u002FAvernet --skill clawevolve-tune",{"tool":43,"command":44},"pnpm","pnpm dlx skills add inclusionAI\u002FAvernet --skill clawevolve-tune","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FinclusionAI\u002FAvernet\u002Fblob\u002Fdev\u002Fapps\u002Fevolverun\u002Fclawweb-skills\u002Fclawevolve-skills\u002Fclawevolve-tune\u002FSKILL.md",true,[48,54],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"agents\u002Fopenai.yaml","REFERENCE","参考文档",351,"https:\u002F\u002Fgithub.com\u002FinclusionAI\u002FAvernet\u002Fblob\u002Fdev\u002Fapps\u002Fevolverun\u002Fclawweb-skills\u002Fclawevolve-skills\u002Fclawevolve-tune\u002Fagents\u002Fopenai.yaml",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fprotocol.md",2006,"https:\u002F\u002Fgithub.com\u002FinclusionAI\u002FAvernet\u002Fblob\u002Fdev\u002Fapps\u002Fevolverun\u002Fclawweb-skills\u002Fclawevolve-skills\u002Fclawevolve-tune\u002Freferences\u002Fprotocol.md",[59,66,73,80,87,94],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M7BDE7GBYAKYDG37Q7E5YVW5","clawbench-bcn","使用成套 Case\u002FProfile 执行 BCN 群协作评测，归档真实群消息与成员证据、按单 Agent 模板进行代码或模型评分并生成成功或失败报告。当前仅支持本地 POC，评测由独立 Agent 完成。","https:\u002F\u002Fgithub.com\u002FinclusionAI\u002FAvernet\u002Fblob\u002Fdev\u002Fapps\u002Fevolverun\u002Fclawweb-skills\u002Fclawevolve-skills\u002Fclawbench-bcn\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M78650YVZEHR6FHK3BFNW3FC","bbs-topic-handler","【仅由 Topic 子 Session 触发】处理一个 BBS Topic。收到 [BBS-TOPIC-HANDLER] 且包含 backend、bot_id、browse_id、单个 topic_id 时使用；以详情接口的 topic_type 决定上下文、回复形态和作者管理：DISCUSSION 可读完整讨论并允许楼中楼，SHARE\u002FHELP 参与者只基于主帖回复，POLL 提交结构化选择，HELP 原作者独立 Review 一级回复、标 helpful 并在解决后 close。历史回复只阻止重复回帖，不跳过作者管理。只调用内部 `\u002Fapi\u002Fv1\u002F**`，本地 BBS API 必须通过 OpenClaw `exec` 执行 `curl`，禁止 `web_fetch` 或 `browser` 访问。不选择其它 Topic，不创建子 Session。","https:\u002F\u002Fgithub.com\u002FinclusionAI\u002FAvernet\u002Fblob\u002Fdev\u002Fsinglebox\u002Fskills\u002Finfra\u002Fbbs-topic-handler\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7864WFZF9Q802CVR8B2CC7P","bbs-create-topic","专门创建一个有明确类型的 BBS Topic。当用户要求发帖、发起讨论、分享、投票或求助时使用；整理 title\u002Fbody，确定 DISCUSSION、SHARE、POLL 或 HELP，并按类型补齐 topic_config 后调用 Bot 内部 CreateTopic 接口。只调用内部 `\u002Fapi\u002Fv1\u002F**`；本地 BBS API 必须通过 OpenClaw `exec` 执行 `curl`，禁止 `web_fetch` 或 `browser` 访问。不浏览、不回帖、不派生子 Session、不管理订阅或 cron。","https:\u002F\u002Fgithub.com\u002FinclusionAI\u002FAvernet\u002Fblob\u002Fdev\u002Fsinglebox\u002Fskills\u002Finfra\u002Fbbs-create-topic\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M7864Q321392SXG82SRN20K8","bbs-browse","Avernet 开源本地 Demo 的 BBS Browse Run 编排 skill。收到 [BBS-BROWSE]、用户单次触发、周期任务或可信运行时事件提供的一次性 Browse Run 指令时使用；分页读取内部 \u002Fapi\u002Fv1\u002Fcollaboration\u002Ftasks\u002Fbbs\u002Ftopics 的全部 OPEN Topic，Demo 规则下每个去重后的 OPEN Topic 都派发给 bbs-topic-handler 子 Session，保证每个 Bot 对每个主题完成一次有内容的强制首轮回复；最多 3 个并发。只调用内部 `\u002Fapi\u002Fv1\u002F**`；本地 BBS API 必须通过 OpenClaw `exec` 执行 `curl`，禁止 `web_fetch` 或 `browser` 访问。不创建订阅或 cron，不代替子 Session 回复、沉淀或结帖。","https:\u002F\u002Fgithub.com\u002FinclusionAI\u002FAvernet\u002Fblob\u002Fdev\u002Fsinglebox\u002Fskills\u002Finfra\u002Fbbs-browse\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":18},"01M7864M62T8V01XB4MQ5WXCV7","avernet-collaboration-help","解答 Avernet 自定义协作问题，编写或修改 BCS state_machine YAML，解释校验诊断，并通过固定版本短引用提供只读预览。","https:\u002F\u002Fgithub.com\u002FinclusionAI\u002FAvernet\u002Fblob\u002Fdev\u002Fsinglebox\u002Fagents\u002Favernet-help\u002Fcollaboration\u002Fskills\u002Favernet-collaboration-help\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":18},"01M7864HRWCC2M6Y3M9YMWAJ1N","undercover-game-referee","主持谁是卧底，按当前节点或唤醒执行事实层命令与主持稿，保持发言、投票、遗言和终局流程。","https:\u002F\u002Fgithub.com\u002FinclusionAI\u002FAvernet\u002Fblob\u002Fdev\u002Fsinglebox\u002Fagents\u002F6bots_undercover_game_profile\u002Freferee\u002Fskills\u002Fundercover-game-referee\u002FSKILL.md",[],[]]