d5bae868a4
core/env.py dual-read helper (D-108); 21 ACDL_*→NOVA_* env vars migrated across core/scripts/adapters/tests/workflows + .env/.env.secrets (key rename, values stay). G-106 binding: run_platform.sh:288-289 + regression_verify.py:309-312 dual-read (NOVA first, ACDL fallback). G-108 binding: Gitea NOVA_* secrets created via API + workflow secrets: refs updated (deploy.yml + modules-lifecycle.yml, .gitea + .github). acdl_tagging.py→nova_tagging.py (D-109 warn mode, nova:* enforced). .acdl/→.nova/ consumer path (resolver + deploy workflow + schema + tests + docs). Test fixtures updated; pytest + run_ci.sh PASS. ---ci--- project: acdl phase: 2 milestone: v1.15 status: execute ---/ci---
38 lines
1.3 KiB
Bash
Executable File
38 lines
1.3 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# scripts/run_regression.sh - regression-class VERIFY (D-091).
|
|
#
|
|
# Re-runs capability checks against the current codebase and tags each
|
|
# capability Verified / Decayed / Broken. Fails closed: any non-Verified
|
|
# capability blocks milestone completion.
|
|
#
|
|
# Usage:
|
|
# bash scripts/run_regression.sh # run all checks
|
|
# NOVA_REGRESSION_MILESTONE=v1.10 NOVA_REGRESSION_PHASE=52 \
|
|
# bash scripts/run_regression.sh # override metadata
|
|
# (ACDL_REGRESSION_* legacy fallback kept until P5)
|
|
#
|
|
# Output:
|
|
# .ciagent/REGRESSION_REPORT.md human-readable report
|
|
# .ciagent/REGRESSION_REPORT.json machine-readable report
|
|
set -euo pipefail
|
|
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
cd "$ROOT"
|
|
|
|
echo "=== Nova Regression VERIFY (D-091) ==="
|
|
# Dual-read: NOVA_* preferred, ACDL_* fallback (removed in P5).
|
|
echo "milestone: ${NOVA_REGRESSION_MILESTONE:-${ACDL_REGRESSION_MILESTONE:-v1.10}} phase: ${NOVA_REGRESSION_PHASE:-${ACDL_REGRESSION_PHASE:-52}}"
|
|
echo ""
|
|
|
|
python3 core/regression_verify.py
|
|
status=$?
|
|
|
|
if [ "$status" = "0" ]; then
|
|
echo ""
|
|
echo "=== REGRESSION PASS ==="
|
|
echo "all capabilities Verified; milestone gate open"
|
|
else
|
|
echo ""
|
|
echo "=== REGRESSION FAIL ==="
|
|
echo "non-Verified capabilities surfaced; milestone gate blocks" >&2
|
|
fi
|
|
exit "$status" |