clawchain/scripts/check-phase17-operator-bootstrap-gate.sh
caelum0x 22a55b5f87 fix: make all 162 scripts executable + add P21 to execution board
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 18:00:00 +03:00

28 lines
923 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
required_files=(
docs/operator-quickstart.md
scripts/fresh-machine-acceptance.sh
Makefile
)
for file in "${required_files[@]}"; do
if [[ ! -f "$file" ]]; then
echo "ERROR: missing required file '$file'." >&2
exit 1
fi
done
if ! rg -n '^openclaw-up-profile-vps:|^openclaw-up-profile-macmini:|^openclaw-up-profile-local:|^fresh-machine-acceptance:' Makefile >/dev/null; then
echo "ERROR: Makefile missing required profile/bootstrap targets for Track A." >&2
exit 1
fi
if ! rg -n 'Platform parity startup flow|openclaw-up-profile-vps|openclaw-up-profile-macmini|openclaw-up-profile-local|make runtime-readiness-gate|make fresh-machine-acceptance|artifacts/bootstrap/' docs/operator-quickstart.md >/dev/null; then
echo "ERROR: operator quickstart missing platform parity/bootstrap evidence flow." >&2
exit 1
fi
echo "phase17 operator bootstrap gate passed."