Orchestrata Ultimate › Tests › Reference › scripts › test_single_gate_entrypoint

Tests reference — tests/scripts/test_single_gate_entrypoint.py

Module of tests/scripts, split out because the directory page would be too large.

Prose pending.

tests/scripts/test_single_gate_entrypoint.py

source · 7 tests · 170 lines

Tests for .claude/hooks/single-gate-entrypoint.sh — the PreToolUse(Bash)

Kind Name Line Description
function test_running_a_gate_directly_is_denied 73
function test_the_entry_point_and_its_escape_hatch_are_allowed 93
function test_naming_a_gate_is_not_running_it 110 The guard exists to stop gate-by-gate REVIEW RUNS, not to make the gate
function test_a_script_that_edits_a_gate_can_still_run 116 Measured 2026-08-08: a heredoc rewriting strings INSIDE
function test_an_unreadable_payload_is_denied_not_allowed 139
function test_hook_is_registered_as_a_bash_pretooluse_hook 154 RUL-023: a hook nothing invokes is not a delivery.
function test_the_hook_does_not_depend_on_jq 169