#!/usr/bin/env bash set -euo pipefail required=("README.md" "AGENTS.md" "docs/M5_OPERATIONAL_READINESS.md" "docs/BUILD_GOVERNANCE.md" "docs/V1_SCOPE_FREEZE.md" "backend" "frontend" "contracts/api" "contracts/database" "fixtures/geojson" "storage/originals" "storage/derived" "storage/exports") for path in "${required[@]}"; do if [ ! -e "$path" ]; then echo "Missing required path: $path" >&2; exit 1; fi done echo "Repo structure OK"