Bug Hunter Stage4 Consensus Judge

bug-hunter 阶段 4 技能。负责对缺陷桶执行加权共识投票,筛选过阈值问题,并输出裁决级结构化评审报告。

dragonos-community Updated

File contents

Stage 4 共识裁决

步骤

  1. 读取 artifacts/buckets.json
  2. 根据 persona 权重运行 scripts/weighted_vote.py --threshold 0.6
    • 默认使用脚本内置 DEFAULT_WEIGHTS(3 个角色:Security & Concurrency Sentinel 4.0、Logic & Correctness Reviewer 3.0、System & Performance Reviewer 3.0)。
    • 可用 --weights 叠加历史学习权重(兼容扁平映射与 suggested_weights 包装格式)。
  3. 运行 scripts/render_report.py 生成 Markdown 报告。
  4. 输出:
    • artifacts/verdict.json
    • artifacts/bug_hunter_report.md

裁决规则

  • 仅保留加权分数超过阈值的问题。
  • 对没有 fix_code 的条目额外惩罚 10%。
  • 严重级别排序:critical > major > minor

dragonos-community/dragonos/tree/main/.agents/skills/bug-hunter/subskills/bug-hunter-stage4-consensus-judge commit 117c97757e

Frequently asked questions

npx skillmds@latest add dragonos-community/bug-hunter-stage4-consensus-judge