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.


3-month 1-on-1 AI coaching

A prompt handbook written around your own work, two 2-hour 1-on-1 sessions, and DMs answered for three months. At the end you rerun the whole workflow yourself.

See what the program includes

Or book a free 15-minute diagnosis first

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