pipe-through-tail-captures-tails-exit-code-not-scripts

When verifying a script’s exit code by piping output through tail (e.g., python3 lint.py | tail -5; echo $?), $? reflects tail’s exit code, not the script’s. This caused a false-positive finding that frontend-integrity-lint.py and frontend-integration-test.sh exited 0 on failure — they actually exit 1 correctly. Always capture exit codes before piping: python3 lint.py > out.txt; echo $?.