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. Dev News Digest: 6 Nov 2026, 06:00 — DEV Community — AI
  2. Claude Code drives wave of community-built apps, tools and workflows — DEV Community — AI
  3. Anthropic launches Claude Personal Finance in the US with read-only bank access — Engadget
  4. Perplexity launches Teammates, always-on AI agents for ongoing work — The Verge AI
  5. Anthropic simplifies repo setup for Claude Code cloud sessions — Anthropic (X)
  6. Anthropic launches Personal Finance beta in Claude for US users — Anthropic (X)
  7. Anthropic tests Claude as an agent in two EVE online games — Anthropic News
  8. Developers share techniques for running parallel Claude Code agents and sessions — DEV Community — AI

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