Files
geointel/scripts/codex_preflight.sh
T
Jens d5ea270329
GeoIntel release gates / Compile, test, contracts and builds (push) Canceled after 0s
GeoIntel release gates / Python and npm vulnerability policy (push) Canceled after 0s
GeoIntel release gates / GIS image, SBOM and container scan (push) Canceled after 0s
Update GeoIntel project files
2026-07-25 23:43:08 +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"