What a gate looks like
wc -c < /srv/secrets/app/key # more than zero, or don't go on
diff a b && echo "1 OK: same as the repository"
An OK line stands out in the output. If it’s missing, stop — don’t decide it’s “probably fine”.
The number in the line (1 OK) shows which gates passed: the output of a long series shows where it stopped.