CLAUDE.md Is a Wish List: Hooks Make Your Agent's Rules Actually Enforceable
lasas · x · 2026-11-27
The quoted core of this post is a full guide on Claude Code Hooks: rules written in CLAUDE.md (like "never run rm -rf") are just requests the agent weighs against everything else in context — and by step 40 it runs them anyway. Hooks don't ask, they check: 6 events, 3 exit codes, and a Stop hook that makes "done" mean the tests actually passed.
The main text also reposts Yuval Noah Harari's Milan talk to 3,000 business leaders on AI bureaucrats deciding loans, jail terms and strikes, tracing a Words → Code → Agents → AI Bureaucrists path where humans leave the loop.
Related event: Developers Turn to Claude Code Hooks to Enforce Rules CLAUDE.md Can't(2 posts)→
More from AGI Musings
- Nate Silver: AI labs treat democracy as a medium-priority constraint, not an intrinsic good — soumitrashukla9 · 2026-11-27
- Stanford Agents Course Skims Past Hugging Face Hack, Sparking Safety Concerns — Despite55 · 2026-11-27
- Ramp VP of Design: Every Designer Built Their Own Chief of Staff Bot — soleio · 2026-11-27
- "You're not designing tools, you're designing new employees": the agent-era product shift — soleio · 2026-11-27
- Dan Faggella Launches Trajectory Forum on AGI Trajectories, Calls Out New Yorker — danfaggella · 2026-11-27
- Math community clash over AI proofs: critics say only AI-lab insiders are excited — francoisfleuret · 2026-11-27