Orchestrata Ultimate › Tests › Reference › claude › test_run_detection_ignores_watchers

Tests reference — tests/claude/test_run_detection_ignores_watchers.py

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

Prose pending.

tests/claude/test_run_detection_ignores_watchers.py

source · 4 tests · 118 lines

A process that NAMES the runner is not a run; one that EXECUTES it is.

Kind Name Line Description
function test_a_watcher_that_greps_for_the_runner_is_not_a_run 52 The exact shape that broke a ship gate: a pgrep pattern as one argument.
function test_a_shell_payload_mentioning_the_runner_is_not_a_run 69 A -c script body naming the runner is text, not an invocation.
function test_executing_the_runner_is_still_a_run 86 The fix must not blind the detector to what it exists to find.
function test_authoritative_detection_by_argv 116 Table of the two classes, checked directly against the predicate.