PulseAugur
EN
LIVE 14:56:03

Claude Code bug ignored user approvals due to incorrect hook output format

A bug in Claude Code's PermissionRequest hook allowed hooks to be ignored without error, leading to lost approvals for remote device actions. The issue stemmed from hooks outputting a string decision like "allow" instead of the required JSON object format, which Claude Code's validator would reject. This oversight caused all approvals to be discarded for weeks. Developers are advised to strictly adhere to the validator's JSON schema for hook outputs and implement end-to-end tests to verify actual execution, rather than just intended behavior. AI

IMPACT This bug highlights the critical need for precise output formatting in AI tool integrations to ensure proper functionality and user trust.

RANK_REASON The item details a bug and its resolution within a specific feature of a software product.

Read on dev.to — Claude Code tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

Claude Code bug ignored user approvals due to incorrect hook output format

How we ranked this

Signal score
24 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
The item details a bug and its resolution within a specific feature of a software product.
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
product, other
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

Full methodology in our editorial standards.

COVERAGE [1]

  1. dev.to — Claude Code tag TIER_1 English(EN) · Marco Belini ·

    Your Claude Code hook can say "allow" and be ignored, without a single error

    <p>You wrote a <code>PermissionRequest</code> hook. It decides, it prints "allow", your log says "allowed", and Claude Code shows the ordinary prompt anyway. No error, no warning. It looks exactly like a hook that chose to leave the question to you.</p> <p>We shipped that bug. Ev…