dev.to | 📄 原文链接 | 2026-09-08 收录

对照他们交付的模式校验,而不是对照你期望的模式

来源:dev.to — 2026-09-06

📋 概述

作者的测试 harness 标记模型发了错误参数,比对了模型实际发送与运行前预先冻结的对象,两者不符。失配是真的,但他从中得出的结论是错的,而比较器无法告诉他这一点。根因是模型被塞了两个相互矛盾的权威:provider 的 exec schema 要求 intent 与 command 两个字段(cwd、env 可选),而他的指令只给一个键。模型遵循了 provider 的模式、满足必填字段 schema,却漏了他「完全一致」的指令——因为他要的正是 schema 禁止的东西。结论不是「模型对了」,而是失配只能证明有差异,不能指出哪一端是权威。

🔑 核心要点

💡 金句

A control that fires wrongly is not evidence the control is too strict. It is evidence that something on one of its two sides is wrong, and you have to find out which before you touch it.
← 返回 dev.to 首页