---
name: acceptance-criteria-review
type: review_rule
when: '本地验收, 验收标准, acceptance review'
scope:
  - backend
  - frontend
products:
  - '*'
id: ka-review-rule-验收标准审查规则
asset_kind: review_rule
lifecycle_status: active
owner_mechanism_id: mc-local-acceptance
authority: supporting
routes:
  - code_change
primary_triggers:
  - 验收标准审查规则
secondary_triggers:
  - 验收审查
  - 验收标准
negative_triggers: []
priority: P1
specificity: 5
version: 1.1.0
last_reviewed: '2026-06-01'
stages: ["编码与单元测试", "联调验证"]
---

# 验收标准审查规则

## ACC-01: 验收场景覆盖三路径

pattern: 验收场景必须覆盖正常路径、边界条件和异常路径
severity: warning
scope: [backend, frontend]
description: 验收测试至少包含：正常业务流程（happy path）、边界值输入（最大/最小/空值）、异常处理（错误输入、网络超时、权限不足）

## ACC-02: 验收证据含截图或日志

pattern: 每个验收场景必须有执行证据
severity: warning
scope: [backend, frontend]
description: 验收证据可以是：UI 截图、API 响应日志、测试输出报告；纯文字描述不构成有效证据

## ACC-03: 用户确认记录

pattern: 验收结果必须经用户确认
severity: warning
scope: [backend, frontend]
description: sf_accept 返回的验收结果必须有用户确认的记录；AI 不得自行标记验收通过

## ACC-04: 回归验证

pattern: 验收必须包含回归验证
severity: warning
scope: [backend, frontend]
description: 变更代码的验收必须运行全量回归测试，确认变更未破坏已有功能
