三重言行不一预警 · 零代码上传Three-Way Mismatch Detection · Zero Code Upload

Agent 改的代码太大看不完?按优化点聚合 Diff,同步揪出漏改与暗改 Too Much Agent Code to Review? Group Diffs by Optimization Point & Catch Every Mismatch

ClaimDiff 将 AI 汇报的每个功能点、文件路径与函数符号和真实 git diff 做确定性交叉校验,一眼标红所有言行不一之处。 ClaimDiff deterministically cross-checks every feature, file path, and symbol your coding agent claims against the actual local git diff and highlights every mismatch automatically.

三类自动预警机制Three Automatic Mismatch Warnings

claimedButNoCode

AI 在总结里声称完成了某项功能或修复,但真实 git diff 中找不到对应改动或声明的路径不存在——直接标红提示漏改虚报。

The summary claims a feature or fix was implemented, but no backing hunk exists in git diff or the cited file was never touched.

unclassified

真实 git diff 里存在改动块,但总结里没有任何功能点认领——集中归类为未解释改动,防止 AI 顺手删改无关逻辑。

Real diff hunks exist that no claimed feature accounts for — surfaced in a dedicated unexplained-changes bucket so silent edits cannot slip through.

inListedFileButNotNamed

文件虽然出现在总结里,但改动块压根没碰到声明的函数或类名——提醒你检查同文件内的越界修改。

A hunk lives inside a listed file, yet touches none of the declared functions or classes — flagging unexpected edits inside the same file.