Skip to main content

E1503. Hook returned the wrong decision key

Severity: ERROR. Fixed in controlzero 1.5.3.

What happened

Claude Code's hook spec accepts decision: 'approve' or decision: 'block'. An older controlzero version emitted decision: 'allow', which Claude silently discarded -- bypassing the policy entirely. The 1.5.3 host-agent adapter base fixed this.

How to fix

Upgrade to controlzero >= 1.5.3:

pip install -U controlzero

See also