#!/usr/bin/env bash # Offline multi-round prompt smoke: builds the agent and runs the prompt # contract unit test (no API key). Used by local loops and CI-adjacent checks. set -euo pipefail ROOT="$(cd "$(dirname "$0")/.." && pwd)" cd "$ROOT" jobs="$(nproc 2>/dev/null || echo 4)" make -j"$jobs" tests/test_prompt_contract cst-agent ./tests/test_prompt_contract echo "prompt_smoke: OK"