Files
geointel/scripts/codex_preflight.sh
Jens faeb58ef6d
GeoIntel release gates / Compile, test, contracts and builds (push) Successful in 1m49s
GeoIntel release gates / Python and npm vulnerability policy (push) Successful in 21s
GeoIntel release gates / Production AI image, SBOM and container scan (push) Successful in 5m39s
GeoIntel release gates / Deploy exact gated revision to Unraid (push) Failing after 58m43s
Initial public release
2026-08-31 21:56:53 +02:00

31 lines
620 B
Bash

#!/usr/bin/env bash
set -euo pipefail
echo "== GeoIntel Codex preflight =="
required=(
"AGENTS.md"
"docs/CODEX_MASTER_PROMPT.md"
"docs/V1_SCOPE_FREEZE.md"
"docs/M6_AUTONOMY_BOUNDARIES.md"
"docs/M6_QUALITY_GATES.md"
"prompts/codex/PASS_00_REPO_AUDIT.md"
".env.example"
"docker-compose.yml"
)
for path in "${required[@]}"; do
if [[ ! -e "$path" ]]; then
echo "Missing required file: $path" >&2
exit 1
fi
echo "OK: $path"
done
if grep -R "<<<<<<<\|>>>>>>>\|=======" -n . --exclude-dir=.git --exclude='*.zip'; then
echo "Merge conflict markers found" >&2
exit 1
fi
echo "Preflight OK"