{
  "scenarioId": "delete-button",
  "candidate": "Demo Candidate",
  "totalScore": 82,
  "rank": "Evidence Engineer",
  "oneLiner": "Evidence Engineer：在 8 个隐藏风险中主动 surface 关键问题，并对 Feature Flag 灰度决策负责。",
  "dimensions": [
    {
      "key": "problem_framing",
      "score": 12,
      "maxScore": 20,
      "summary": "主动澄清软删除、权限、关联订单与审计要求。",
      "evidence_refs": ["E01", "E03"]
    },
    {
      "key": "agent_direction",
      "score": 13,
      "maxScore": 15,
      "summary": "把任务分阶段并明确约束，避免模糊指令。",
      "evidence_refs": ["E01", "E03"]
    },
    {
      "key": "evidence_verification",
      "score": 22,
      "maxScore": 25,
      "summary": "审查 Diff 与测试源码，发现测试不能证明访问控制。",
      "evidence_refs": ["E10", "E11", "E12"]
    },
    {
      "key": "debugging",
      "score": 13,
      "maxScore": 15,
      "summary": "基于日志建立非事务并发假设，要求事务化与幂等。",
      "evidence_refs": ["E14", "E15"]
    },
    {
      "key": "risk_ownership",
      "score": 15,
      "maxScore": 15,
      "summary": "识别不可逆操作并要求恢复方案，但恢复演练仍未执行。",
      "evidence_refs": ["E03", "E10", "E12", "E15", "E20"]
    },
    {
      "key": "shipping_efficiency",
      "score": 7,
      "maxScore": 10,
      "summary": "Feature Flag 灰度 + 单批 20 人 + 监控触发条件。",
      "evidence_refs": ["E20"]
    }
  ],
  "strengths": [
    "风险与责任：100% · 5 条行为证据",
    "证据验证：88% · 4 条行为证据",
    "Agent 驾驭：87% · 2 条行为证据",
    "故障诊断：87% · 2 条行为证据"
  ],
  "risks": [
    "服务端授权缺失仍是核心风险，需在真实部署前补齐 isServerAdmin 中间件",
    "并发删除非事务，需要事务包裹或显式部分成功语义",
    "批量上限 100 仍未在高并发场景下验证"
  ],
  "recommended_scope": "feature_ownership",
  "production_access": "standard_access",
  "confidence": 0.95,
  "counterfactual": {
    "title": "如果你直接批准测试全绿的 PR",
    "player_path": [
      "询问软删除策略",
      "审查 Diff",
      "审查测试源码",
      "拒绝不安全 PR",
      "暂停发布保留现场",
      "要求事务化",
      "Feature Flag 灰度"
    ],
    "blind_path": [
      "Approve green tests",
      "Deploy to all users",
      "137 partial deletes",
      "FK_ORDER_OWNER 500",
      "DB pool exhausted",
      "No audit, no rollback"
    ]
  }
}
