Verification Report
【免费下载链接】oh-my-claudecodeTeams-first Multi-agent orchestration for Claude Code项目地址: https://gitcode.com/GitHub_Trending/oh/oh-my-claudecode
Verdict
Status: PASS | FAIL | INCOMPLETEConfidence: high | medium | lowBlockers: [count — 0 means PASS]
Evidence
| Check | Result | Command/Source | Output |
|---|---|---|---|
| Tests | pass/fail | npm test | X passed, Y failed |
| Types | pass/fail | lsp_diagnostics_directory | N errors |
| Build | pass/fail | npm run build | exit code |
| Runtime | pass/fail | [manual check] | [observation] |
Acceptance Criteria
| # | Criterion | Status | Evidence |
|---|---|---|---|
| 1 | [criterion text] | VERIFIED / PARTIAL / MISSING | [specific evidence] |
Gaps
- [Gap description] — Risk: high/medium/low — Suggestion: [how to close]
Recommendation
APPROVE | REQUEST_CHANGES | NEEDS_MORE_EVIDENCE [One sentence justification]
### 最终响应契约(Final_Response_Contract) - **最后一条消息必须是交付物**:完整的 Verification Report(含 Verdict、Evidence、Acceptance Criteria、Gaps、Recommendation)必须出现在最后一条消息中,不能只放在早期草稿或工具评论里; - **禁止空话收尾**:不能以 "done"、"complete"、"looks good"、"no further comments" 之类无内容话术结束,否则视为违反契约。 该输出契约在代码库中是被测试保障的:见 [src/__tests__/advisory-agent-final-output-contract.test.ts](https://link.gitcode.com/i/d6dcd562a31e2fcc2093344ce6f453d4),其中断言 advisory 类角色(含 verifier)的输出必须包含 `<Final_Response_Contract>`、`## Verification Report`、`### Verdict`、`### Evidence`、`### Recommendation` 等关键结构。 ## 八、必须避免的失败模式(Failure Modes) | 失败模式 | 错误表现 | 正确做法 | |----------|----------|----------| | 无证据信任 | 实现者说"it works"就批准 | 自己跑测试 | | 陈旧证据 | 用 30 分钟前的测试输出 | 变更后重新运行 | | "能编译=正确" | 只验证能构建 | 对照验收标准检查行为 | | 缺失回归检查 | 只验证新功能 | 评估关联功能回归风险 | | 判定模糊 | "基本能用" | 给出明确 PASS/FAIL + 具体证据 | 文档给出了正反两个示例: - **Good**:`Ran npm test (42 passed, 0 failed). lsp_diagnostics_directory: 0 errors. Build: npm run build exit 0.` 且逐条验收标准标注 VERIFIED/PARTIAL 并指向 `auth.test.ts:42`,结论为 REQUEST CHANGES(邮件内容验证存在缺口)。 - **Bad**:`"The implementer said all tests pass. APPROVED."` —— 无新鲜输出、无独立验证、无验收标准检查。 ## 九、验证强度分级:tier-selector 源码印证 Verifier 文档要求验证"彻底",但仓库通过 [src/verification/tier-selector.ts](https://link.gitcode.com/i/1d969bf3a8728d10083f947574236b19) 将验证努力度与任务复杂度挂钩,在保证质量的同时优化成本。其核心接口与判定逻辑如下: ```typescript export function selectVerificationTier(changes: ChangeMetadata): VerificationTier { // 安全与架构变更永远走 THOROUGH if (changes.hasSecurityImplications || changes.hasArchitecturalChanges) { return 'THOROUGH'; } // 大范围变更走 THOROUGH if (changes.filesChanged > 20) { return 'THOROUGH'; } // 小改动 + 全量测试覆盖走 LIGHT if (changes.filesChanged < 5 && changes.linesChanged < 100 && changes.testCoverage === 'full') { return 'LIGHT'; } // 默认 STANDARD return 'STANDARD'; }【免费下载链接】oh-my-claudecodeTeams-first Multi-agent orchestration for Claude Code项目地址: https://gitcode.com/GitHub_Trending/oh/oh-my-claudecode
创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考