A wait loop like `while pgrep -f "pytest evals"` matches its own shell and runs until its timeout even after the job exits. Tell Claude and Codex owners to save the job PID and wait with kill -0, or use a [p]attern that cannot match itself, and to confirm the job finished afterwards. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>