一键导入
synthesize-repair-fix-harness
Repair harness/build glue for crash-triaged harness bugs using evidence-first synthesis.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Repair harness/build glue for crash-triaged harness bugs using evidence-first synthesis.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Classify reproduced crashes into harness bug, upstream bug, or inconclusive using evidence only.
Generate complete fuzz scaffold artifacts aligned to selected targets and execution plan.
Discover, update, and rank vulnerability candidates before execution planning.
Apply minimal evidence-driven build fixes in fuzz scaffold files for next build attempt.
Repair fuzz scaffold after build failures with strategy change and mapping consistency.
Repair scaffold for coverage replan cycles using seed and harness feedback as primary signals.
| name | synthesize_repair_fix_harness |
| description | Repair harness/build glue for crash-triaged harness bugs using evidence-first synthesis. |
| compatibility | opencode |
| metadata | {"stage":"synthesize-repair-fix-harness","owner":"tianheng"} |
Produces concrete fuzz/ code changes to fix harness bugs while preserving execution-plan mapping.
Use this skill when repair_origin_stage=fix-harness after crash triage labeled the crash as harness_bug.
crash_info.mdcrash_triage.jsoncrash_analysis.md when present; if absent on the crash-triage repair path, continue with explicit degraded reasoningrepair_error_digest and recent repair attemptsfuzz/ scaffold filesfuzz/fuzz/harness_index.json aligned to fuzz/execution_plan.jsonfuzz/README.md, fuzz/repo_understanding.json, and fuzz/build_strategy.jsonfuzz/out/ as the sole text of ./done (run echo 'fuzz/out/' > ./done; do not copy the file's contents).fuzz/ code paths; doc-only/no-op patches are invalid.fuzz/crash_* paths.crash_analysis.md is unavailable on this route, proceed from crash_info.md + crash_triage.json and document crash_analysis_not_available_yet in fuzz/repo_understanding.json.main() in harness sourceLLVMFuzzerTestOneInput (or language-equivalent fuzz entrypoint only)fopen(argv[1], ...), read(argv[1], ...), manual corpus file loops).api_surface_exception evidence.non_public_api_usage, replace offending symbols first.execution_plan and harness_index naming consistent; avoid drift/mismatch.fuzz/repo_understanding.json.