Assert a COMPILED hook (a vigiles/hook program) denies an event — evaluated
in-process, no subprocess, no model. The cheapest way to test a gate's logic:
pass the hook's default export and a raw event. (For the wired-into-the-real-CLI
check, use assertHookBlocked over runHook.)
Assert a COMPILED hook (a
vigiles/hookprogram) denies an event — evaluated in-process, no subprocess, no model. The cheapest way to test a gate's logic: pass the hook's default export and a raw event. (For the wired-into-the-real-CLI check, use assertHookBlocked overrunHook.)