Skip to content
Dustin's AI Lab
Go back

Instead of Begging the Model Not to Lie, I Wrote a Hook That Stops It

The sequel to the Opus 4.8 confabulation post: I moved "don't make up numbers" from a plea in CLAUDE.md to a pending-guard hook that blocks git commit at PreToolUse.

This post has been merged into No Error Doesn’t Mean Success: Silent Failures, Opus Fabricating Tool Output, and the Hook That Finally Stops It. All of the original content lives there now, and that’s the only copy that gets updated.


15-Minute AI Adoption Diagnosis

Fill in a short form to book your free 1-on-1 diagnosis, and find out how you can work with AI without the pain and get a real productivity lift.

Book my free diagnosis
Share this post on:
Previous Post
Two Traps Running Claude Code on Local Ollama: Truncated Context, and A3B Buckling Under Heavy Verification
Next Post
Second Harness Diet: Global Skills From 58 Down to 40