docs/testing.md asks every shell test to start with set -euo pipefail and source base-test.sh through BASH_SOURCE; without it a failed mktemp leaves test_home empty and reset_scenario goes on to rm -rf /data. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>