#1910 — hook envelope
hookEventName
Pick a helper + the firing event. See why the old envelope was validator-rejected and what the fix emits. Block always works (rides on
continue:false
); only the envelope was malformed.
Output helper
outputSilentAllow() — permission auto-approve
outputBlock(reason) — generic hard block
outputDeny(reason) — PreToolUse structured deny (already correct)
firing event
PreToolUse
PostToolUse
SubagentStop
Elicitation
UserPromptSubmit
ConfigChange
BEFORE (#1910 bug)
AFTER (fix)