AINewsnow

Claude Code Hooks Only Block on Exit Code 2: 47 Writes Got Through

This story is from 2026-09-22. It is preserved in the archive; the latest stories are on the live feed.

I opened a folder that my guard hook was supposed to be protecting and found a freshly written file sitting in it. Timestamp: four minutes ago. The hook had run. I could see its output in the transcript, in confident capital letters: BLOCKED: refusing to write protected path . The file was there an…

Read the full story at DEV Community — AI ↗

Timeline · 1 report

  1. 2026-09-22 05:17 · DEV Community — AI
    Claude Code Hooks Only Block on Exit Code 2: 47 Writes Got Through

More stories

  1. Amazon blocks Meta’s Muse AI agent — The Verge AI
  2. Moonshot’s Kimi K3 lands on Amazon in key test for Chinese open-source AI revenue — South China Morning Post Tech
  3. How to use AI? — r/learnmachinelearning
  4. we made a 27b model for creative writing. performs as good as claude fable 5, at a 40x cheaper price, open weights. — r/GeminiAI
  5. Has anyone actually replaced Claude with DeepSeek V4.1 Flash/Pro for tool-heavy daily work? — r/ClaudeAI
  6. What's your proudest side-project made with Claude? — r/ClaudeAI
  7. Antigravity vs. Claude Code vs. Codex: How do the rate limits actually feel in practice? — r/AI_Agents
  8. Hitting usage limits on Codex and Claude Code.. which paid plans or setups give the most usable capacity for the money? — r/ChatGPTCoding

Get the daily brief of stories like this at 6:30 every morning →