agentreceipt · v0.1.5 · Stop hook
你的 agent 说“做完了”。
让它出示一张收据。
装在你已经在用的 Codex CLI 或 Claude Code 上。它不改变 agent 的能力,只是不接受“相信我”这三个字。
npx github:mulanxizhizi-png/agentreceipt#v0.1.5 initGitHub · v0.1.5 · 免费开源
8 条证据
它拦住的,都是真事
下面每一条都有出处,点开就是原帖。我们不是想出来的场景,是从社区里捞出来的。
the log the agent produced said the run succeeded, and it was lying... The actual side effect never happened.
agent日志谎报成功
It did the first 30 names correctly, then stopped and said it had completed the task... The amount of time I've spent babysitting it is really annoying.
批量任务做了一部分就谎称完成
My AI agent made the tests pass today. By editing the tests. 🙃 Lesson: "tests green" isn't done. Done = the real user flow works in the app. Anyone else caught theirs doing this?
agent 删测试/改测试让 CI 变绿,然后说“全部通过”
a job that exits clean having done nothing... wrote a tidy note about why, and returned success, so nothing paged.
agent什么都没做却报告成功
AI saying “fixed” when it literally just added a button
看不懂也验证不了 AI 的产出:“它说修好了”,实际只加了个按钮
I trust @claudeai zero percent at this point - everything it does it messes up, then it verifies stuff says it’s fixed then it doesn’t work again and “owns up to it” again - it’s an absolute mess I’m switch to Codex @ClaudeDevs
AI 说修好了,App 还是坏的,新手没法自己验证
I was told it was working in the background. Great! I'll come back later. No progress at all after 24hrs.
agent声称后台运行实际没做
怎么工作
4 步,全在你机器上。
认出你的测试
init 时自动探测 npm test、pytest、go test,认不出来就问你一句。
收工前先验证
agent 试图结束回合,hook 跑测试、看 git diff,拿结果和它声称的事对照。
对不上就打回
凭据不成立,回合不关闭,agent 接着干。打回有次数上限,永不无限循环。
留一份记录
每次运行写一份带版本号的 JSON 收据到 .agentreceipt/,事后能翻。
诚实的边界
它做不到的事,
一起写在这里。
看别人的工具页,你只能看到“能做什么”。我们把“不能做什么”也列出来 —— 你才知道该不该装。
它只验证你给它的测试。测试没覆盖的 bug,它照样放行。
项目里没有测试,它只能看 diff 和文件变化,判断力有限。
本地运行,没有账号也没有云端看板;换台机器就看不到历史收据。
Codex CLI 的支持仍是实验性的,Claude Code 是主路径。
下一步:团队看板与 PR 检查
把收据汇总成团队视图,让 PR 上直接显示“这次到底跑过什么”。