Orchestrata Ultimate › Tests › Reference › scripts › test_no_preexisting_excuse

Tests reference — tests/scripts/test_no_preexisting_excuse.py

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

Prose pending.

tests/scripts/test_no_preexisting_excuse.py

source · 7 tests · 199 lines

Tests for .claude/hooks/no-preexisting-excuse.sh — the Stop hook enforcing

Kind Name Line Description
function test_diagnosis_without_disposition_is_blocked 96 Proving a failure predates the change is evidence about cause, never
function test_diagnosis_with_a_disposition_is_allowed 133 RUL-024 forbids the diagnosis standing ALONE, not the word.
function test_disposition_of_one_defect_does_not_excuse_another 143 The window is local, not whole-turn: fixing one thing must not launder
function test_quoted_evidence_is_not_a_classification 161 Code fences hold quoted tool output, not the model's own claim.
function test_clean_turn_is_silent 168
function test_malformed_input_is_silent 173 A hook that errors must not become a hook that blocks every turn.
function test_hook_is_registered_as_a_stop_hook 188 RUL-023: a hook nothing invokes is not a delivery.