Files
myWiki/concepts/verification-before-delivery.md
2026-07-20 14:14:55 +08:00

45 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: "交付前验证 (Verification Before Delivery)"
created: 2026-07-13
updated: 2026-07-13
type: concept
tags: [agent, verification, quality, prompt-engineering]
sources:
- https://developers.openai.com/api/docs/guides/prompt-guidance-gpt-5p6
- openai-gpt5p6-prompt-guide-2026
---
# 交付前验证
## 定义
GPT-5.6 Prompt 指南反复强调的核心原则:**模型生成了结果,不代表任务已经完成。** Agent 必须在交付前验证其产出。
## 验证清单
### 代码任务
- 运行测试unit / integration
- 类型检查
- Lint
- 构建检查
- 最小冒烟测试
### 前端 / 视觉任务
- 查看实际渲染结果
- 检查布局、裁切、间距
- 确认内容完整性
### 无法验证时
- **说明原因**(为什么当前环境无法验证)
- **给出下一步检查方法**(用户应该怎么做)
- 不要把结果表述为"已经完成"
## 与脚手架验证的关系
交付前验证是 [[verification-governance|V 组件]] 在 Prompt 层面的轻量实现——将验证责任编入 Agent 的行为指令,而非仅在运行时层面执行。
## 参考
- [[openai-gpt5p6-prompt-guide-2026|GPT-5.6 Prompt 指南]]
- [[verification-governance|验证与治理]]
- [[outcome-first-prompting|结果优先提示]]