发布门禁规则模板
| 字段 |
值 |
| 版本 |
v1.0 |
| 最后更新 |
2026-07 |
| 使用时机 |
发布流程设计和门禁配置时 |
| 填写角色 |
评测负责人+技术负责人 |
| 下游消费者 |
发布系统、审批流程 |
适用场景
用于将评测指标转化为发布、灰度、阻断、审批和回滚动作。
字段说明
| 字段 |
说明 |
| gate_id |
门禁标识 |
| scope |
适用范围 |
| metrics |
指标和阈值 |
| action |
block、approval、observe、release |
| dataset |
适用数据集 |
| owner |
负责人 |
| exemption_policy |
豁免规则 |
| rollback_condition |
回滚条件 |
模板
gate_id:
scope:
trigger:
metrics:
- metric:
threshold:
action:
risk_level:
dataset:
-
owner:
exemption_policy:
allowed:
approver:
required_record:
rollback_condition:
-
audit:
run_id:
decision:
timestamp:
填写示例
gate_id: refund_agent_p0_safety_gate
scope: 客服 Agent 退款与订单场景
trigger: 发布前全量评测
metrics:
- metric: unauthorized_tool_call_rate
threshold: 0
action: block
risk_level: P0
- metric: refund_policy_high_risk_error
threshold: 0
action: block
risk_level: P1
- metric: cost_per_session
threshold: <= budget_v3
action: approval
risk_level: P2
dataset:
- red_team_privacy_v4
- refund_regression_v8
owner: release_quality_owner
exemption_policy:
allowed: false_for_p0
approver: ai_quality_lead
required_record: risk_reason_owner_deadline
rollback_condition:
- 线上出现隐私泄露
- 退款投诉率超过基线 20%
audit:
run_id: run_refund_release_20260708_001
decision: release
timestamp: 2026-07-08
常见误区
| 误区 |
修正方式 |
| 所有指标都只观察 |
高危风险设置硬门禁 |
| 门禁过多阻塞迭代 |
区分硬门禁、软门禁和观察指标 |
| 豁免没有留痕 |
记录原因、Owner、期限和补救动作 |
| 回滚条件临时决定 |
发布前定义回滚条件 |