verify-this
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseVerify This
验证此声明
Adapted from Cursor's (MIT, see THIRD_PARTY.md), with this app's surfaces.
cursor-team-kit/verify-thisVerification is not a recap. It proves or disproves a specific claim with repeatable evidence.
改编自 Cursor 的 (MIT,见 THIRD_PARTY.md),并适配了本应用的验证入口。
cursor-team-kit/verify-this验证不是简单的复述。它通过可重复的证据证明或推翻一项具体声明。
When To Use
何时使用
- The person asks "verify this", "prove it works", "did this fix it", or "show me the evidence".
- A bug fix needs a before/after repro.
- A page, API, agent-output or performance claim needs measurement.
- A test passes but the user-visible behaviour still needs confirmation.
Do not use this for vague claims like "the code is cleaner". Ask for a measurable claim first.
- 用户提出“验证这个”“证明它有效”“这是否修复了问题”或“展示证据”。
- 某个 bug 修复需要修复前后的复现对比。
- 页面、API、Agent 输出或性能声明需要实际测量。
- 测试已经通过,但用户可见的行为仍需确认。
不要将此流程用于“代码更清晰”之类的模糊声明。请先要求用户提供可测量的声明。
Workflow
工作流
- Restate the claim in falsifiable form: condition, metric, and threshold.
- Pick the smallest local surface that can disprove it (below).
- Capture a baseline from the old state: the merge base, the parent commit, or the current broken repro (a git worktree of the base gets its own verify instance).
- Capture the treatment from the changed state with the same command, data and environment.
- Compare raw artifacts: numbers, snapshots, HTTP responses, run rows, eval tables.
- Return exactly one verdict: ,
VERIFIED, orNOT VERIFIED.INCONCLUSIVE
- 将声明改写为可证伪的形式:条件、指标和阈值。
- 选择能够将其证伪的最小本地验证入口(见下文)。
- 从旧状态采集基线:合并基点(merge base)、父提交(parent commit),或当前故障的复现结果(基线的 git worktree 应拥有独立的 verify 实例)。
- 使用相同的命令、数据和环境,从变更后的状态采集处理组(treatment)。
- 对比原始产物:数值、快照、HTTP 响应、运行记录行、评测表格。
- 严格返回以下判定之一:、
VERIFIED或NOT VERIFIED。INCONCLUSIVE
Local surfaces in this app
本应用中的本地验证入口
- Code behaviour: a focused unit test ().
node --test test/unit/<file> - The page: (the verify-app skill):
node scripts/verify.mjs,snapshot,screenshot,network-summary --since-mark.trace - The API and the wire: before and after.
verify api <path> - What an agent writes: and drive it, or the evals of hachej/boring-stack for the expert's skill.
node scripts/verify.mjs up --real - Performance: , or timings from the same machine for baseline and treatment.
verify perf
- 代码行为:聚焦的单元测试()。
node --test test/unit/<file> - 页面:(verify-app skill):
node scripts/verify.mjs、snapshot、screenshot、network-summary --since-mark。trace - API 及其传输结果:在变更前后分别运行 。
verify api <path> - Agent 写入的内容:运行 并进行操作,或使用 hachej/boring-stack 中针对 expert skill 的 evals。
node scripts/verify.mjs up --real - 性能:运行 ,或在同一台机器上分别采集基线与处理组的计时数据。
verify perf
Verdict Rules
判定规则
- : baseline and treatment differ in the predicted direction, by the claimed threshold, with no obvious confound.
VERIFIED - : the behaviour is unchanged, moves the wrong way, or misses the threshold.
NOT VERIFIED - : no valid baseline, noisy signal (agent outputs on 3 cases are noisy), failed measurement, or an environment difference invalidates the comparison.
INCONCLUSIVE
- :基线与处理组在预期方向上存在差异,差异达到声明的阈值,且不存在明显的混杂因素。
VERIFIED - :行为没有变化、朝错误方向变化,或未达到阈值。
NOT VERIFIED - :缺少有效基线、信号存在噪声(Agent 在 3 个用例上的输出噪声较大)、测量失败,或环境差异导致比较无效。
INCONCLUSIVE
Output
输出
text
VERIFIED | NOT VERIFIED | INCONCLUSIVE
Claim: <falsifiable claim>
Evidence:
<metric/artifact>: baseline=<...>, treatment=<...>, delta=<...>, threshold=<...>
Reasoning:
<one tight paragraph naming the evidence and any confounds>Do not soften a negative result. A clear is useful. Never put real user data in an artifact you commit.
NOT VERIFIEDtext
VERIFIED | NOT VERIFIED | INCONCLUSIVE
Claim: <falsifiable claim>
Evidence:
<metric/artifact>: baseline=<...>, treatment=<...>, delta=<...>, threshold=<...>
Reasoning:
<one tight paragraph naming the evidence and any confounds>不要弱化负面结果。明确的 同样有价值。绝不要将真实用户数据放入要 commit 的产物中。
NOT VERIFIED