Skip to content

fix: replace invalid 'decision: allow' with {} in hooks (closes #872)#885

Merged
igorls merged 1 commit intodevelopfrom
fix/hook-invalid-decision
Apr 14, 2026
Merged

fix: replace invalid 'decision: allow' with {} in hooks (closes #872)#885
igorls merged 1 commit intodevelopfrom
fix/hook-invalid-decision

Conversation

@milla-jovovich
Copy link
Copy Markdown
Collaborator

One-line fix in each hook. "decision": "allow" is not valid — return {} to not block.

Thank you from Milla and Lu✨

Closes #872. The top-level decision field only recognizes "block".
To not block, return empty JSON {}. "allow" was silently ignored
by Claude Code, causing unpredictable behavior.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants