Lewati ke konten utama
Halaman ini belum tersedia dalam bahasa Anda, atau terjemahannya sedang menunggu tinjauan teknis. Teks asli dalam bahasa Inggris ditampilkan di bawah. Buka halaman berbahasa Inggris

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​