**Show HN: PatchWard 通过预注册规则验证 AI 代理修复代码的准确性** _Show HN: I pre-registered the r
原帖
**Show HN: PatchWard 通过预注册规则验证 AI 代理修复代码的准确性**
_Show HN: I pre-registered the rules,then measured AI agents shipping wrong fixes_
> PatchWard 提出了一种“裁决层”方法,将 AI 代码生成的概率性与独立确定性检查分离。在 50 个预注册任务的测试中,未受控的 AI 代理有 17/50 次静默提交错误修复,而使用 PatchWard 后错误率降至 0/50。该系统提供绿色(已验证)、黄色(需人工审查)和红色(拦截)三种状态,旨在解决 AI 代理自我评分导致的虚假信任问题,确保 CI 环境中的代码变更安全。
**来源信息**
- **来源**:Hacker News:AI 热帖
- **分类**:ai-products
- **发布时间**:2026-07-06 22:12(北京时间)
- **原文**:[打开原文](https://github.com/kolesnikov-arch/patchward)