A stop hook that makes coding agents run your tests first

From the community · not tested by us

After an agent said all tests passed while changing zero files, they built agentreceipt, a free open-source Stop hook for Codex CLI and Claude Code that runs your tests before the agent is allowed to stop.

Details

Posted by@Landlyu
DateOct 16, 2026
Category🧪 Web dev & testing
Found viaX

Summary written by ToolPassed from the public post. Claims are the poster’s; we haven’t reproduced this.

Tools used, on ToolPassed

◇ChatGPT (Codex)Agent◇Claude CodeAgent
Sponsors