失败根因诊断
causal-diagnosis
在提出变更(mutation)之前使用,依据评估器结果、追踪记录、历史以及用于控制的候选面(candidate surfaces)对已测得的失败进行诊断。
- License 许可
- MIT
- 最近更新
- 2026-11-04
- Stars
- ★ 251
- Forks
- 21
01 前言 Front Matter
- name
- causal-diagnosis
- description
- Use before proposing a mutation to diagnose measured failures from evaluator outcomes, traces, history, and the controlling candidate surfaces.
03 SKILL.md 正文
Causal Diagnosis (Core)
Purpose (Core)
Use this skill before proposing any mutation. Diagnosis identifies why the current candidate produced a measured failure and which candidate surface most directly controls it. A symptom summary or evaluator paraphrase is not a diagnosis.
Procedure (Core)
For every target failure:
- Read the evaluator outcome and complete available training trace across all repetitions.
- State required behavior and observed behavior separately.
- Locate the first decision, action, output, or runtime boundary where they diverge.
- Identify exactly what the agent or system could observe and do at that point.
- Follow the relevant prompt, description, schema, configuration, implementation, hook, or loop path end to end.
- Explain the causal chain from visible input to decision, runtime effect, and evaluator result.
- Compare repetitions and note consistent or conflicting observations.
- Cross-check prior attempts and lessons for the same case, failure pattern, and changed unit.
- Classify the cause as behavior or description, missing capability, implementation, configuration, or infrastructure.
Intervention Test (Core)
List the plausible mutation surfaces allowed by the plugin. Choose the approach that most robustly repairs the causal boundary and generalizes beyond the sampled case. The diagnosis must explain:
- why this intervention can change the observed behavior;
- which passing behavior, callers, or companion surfaces could be affected;
- how the proposed effect can be checked before evaluation.
Quality Checklist (Core)
A useful diagnosis is:
- specific: identifies the exact divergence and controlling surface;
- causal: explains why the candidate produced the outcome;
- evidence-cited: relies only on staged training evidence and code;
- actionable: implies a permitted, testable intervention;
- distinct: does not repeat a failed prior explanation without new evidence;
- generalizable: targets a reusable mechanism rather than a case answer.
If any item is unsupported, state the uncertainty.
04 同仓库更多 Skills
候选变更验证
verification-baseline
在应用候选变更之后使用,在返回该变更之前,验证其差异(diff)、作用范围、语法、集成行为及一致性。
演进历史分析
history-analysis
用于系统分析完整的演进历史(不受输出截断影响),并生成一份聚焦的摘要,供选择、诊断或反思使用。
智能体行为引导补丁
steering-patch
在引导(steering)阶段选用,通过提示词、工具描述或钩子提醒来优化智能体行为,而无需修改可执行代码。
Meta-ARE 补丁验证
patch-verification
在应用 Meta-ARE 补丁后使用,检查语法、导入、集成行为、钩子、变更范围以及结果一致性。
智能体能力补丁
capability-patch
在能力(capability)阶段选用,用于添加工具、开放参数、修复实现,或移除限制智能体的基础设施约束。
智能体引导策略调整
steering-patch
在引导(steering)阶段选用 —— 通过修改提示词、工具描述或钩子提醒来优化智能体行为,而不更改可执行代码。