cto/evals/runners/run-codex-cli.sh
2026-05-25 12:57:33 -04:00

16 lines
518 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
# Codex comparative readiness entrypoint.
# A real comparative run requires a local `codex` CLI. When unavailable, this
# exits with code 78 (EX_CONFIG) so automation can distinguish "not installed"
# from a failed benchmark.
if ! command -v codex >/dev/null 2>&1; then
echo "codex CLI not found; comparative parity cannot be executed on this host." >&2
exit 78
fi
codex --version
echo "codex CLI is available; full comparative task runner is not enabled in this rollout."