Merge trail: Fix #524: hooks don't short-circuit when disabled

main

Commit

pjbgf2mo ago

fix(hooks): short-circuit immediately when disabled