#!/usr/bin/env bash # Install a lock-pinned runtime, retrying only what a transient registry fault # can change. `npm ci` re-creates node_modules from the committed lockfile and # re-verifies every SHA-512 integrity on each attempt, so a retry can only # reproduce the identical tree — never a different one. Each attempt is bounded # so a hung registry cannot eat the job budget the model review needs. # # Usage: npm-ci-retry.sh