---
id: verify-enforced
kind: enforced
gate: verify-gate
title: verify 阶段确定性底线
sync_policy: engine_only
status: active
extra:
  owner_mechanism: mc-stage-gate-engine
checks:
  - id: REVIEW-STRUCT
    executor: document_structure
    rule: "代码审查报告须满足当前 artifact schema，finding、位置、引用、裁决和复验状态必须来自本次真实审查"
    severity: error
    check_type: deterministic
    required_artifact: 代码审查报告模版
    gate: verify-gate
    target: self
  - id: CODEREVIEW-BLOCK
    executor: document_structure
    check_type: deterministic
    severity: error
    gate: verify-gate
    required_artifact: 代码审查报告模版
    rule: "审查维度与 finding 表须有真实数据或有理由的 N/A，不能用散文或附件占位替代"
    block_check:
      item_pattern: '^##\s+(2|3)\.'
      require_table: true
      min_table_rows: 1
    target: self

  - id: TESTREPORT-STRUCT
    executor: document_structure
    rule: "测试报告须满足当前 artifact schema，未执行、失败、阻塞和 flaky 不得写成通过"
    severity: error
    non_waivable: true
    check_type: deterministic
    required_artifact: 测试报告模版
    existence_delegated: true
    gate: verify-gate
    target: self
  - id: VRF-G03
    executor: configured_command
    command_purpose: full
    rule: "执行项目声明的完整验证命令；适用的单元、集成、契约和端到端场景由项目配置纳入"
    severity: error
    non_waivable: true
    check_type: deterministic
    required_artifact: 测试报告模版
    gate: verify-gate
    target: self
  - id: REQ-INTEGRITY-COVERAGE
    executor: req_integrity_coverage
    rule: "测试报告须用真实证据说明本期需求从设计、实现、验证到结论的闭环；结构留痕不等于业务正确"
    severity: error
    check_type: deterministic
    required_artifact: 测试报告模版
    evidence_required: ["需求分析模版", "测试报告模版"]
    gate: verify-gate
    target: self
  - id: PROTO-INTEGRITY-COVERAGE
    executor: proto_integrity_coverage
    rule: "scope.frontend=true 时，每个原型页须有实现、适用交互验证和真实视觉验收证据；不适用交互须说明原因"
    severity: error
    check_type: deterministic
    required_artifact: 测试报告模版
    evidence_required: ["测试报告模版"]
    gate: verify-gate
    target: self

  - id: SCOPE-CONSISTENCY
    executor: scope_consistency_check
    check_type: deterministic
    severity: error
    gate: verify-gate
    rule: "任务归因制双层判定：本任务验证记录中出现 scope 外产物即矛盾（error）；磁盘存在产物且有其他任务归属（含已 cancel）=历史事实不判矛盾；磁盘存在但无任何任务归属=warning 提示不阻断。范围事实只能由显式任务上下文决定"
    target: self
---

# verify-gate 确定性底线

报告结构、真实项目命令和可追溯证据由代码检查；业务语义、代码风险、视觉忠实度与 finding 裁决由 `sf_review`、独立审查和用户验收闭环。不得把文档中出现某个词当成测试已执行。
