Run the check in a set -eu subshell so a failed cd, copy, git ls-tree or comparison stops it before any verdict is printed, and remove the scratch directory from an EXIT trap that preserves the check's status. Spell out the reading rule: none, listed versions, or stop on error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>