Skip to content

Commit 77cc295

Browse files
committed
fix: allow host verify gate summary fallback
1 parent 36dcc40 commit 77cc295

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

tooling/gates/verify_repo_final.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,15 @@ load_governance_defaults "$REPO_ROOT"
1212
apply_runtime_env_defaults "$REPO_ROOT"
1313
export PYTHONDONTWRITEBYTECODE=1
1414
VERIFY_GATE_RUN_ID="${VERIFY_REPO_FINAL_FORCED_RUN_ID:-verify-repo-final-$(date -u +%Y%m%dT%H%M%SZ)-$$}"
15+
GATE_LOG_ARGS=(--root "$REPO_ROOT" --allow-missing-gate platform-alignment)
1516

1617
echo "ℹ️ verify_repo_final: repo-side governance scorecard only; use bash tooling/gates/quality_gate.sh for delivery-complete truth"
1718
bash "$ROOT/cleanup/prune_repo_runtime.sh" "$REPO_ROOT" >/dev/null 2>&1 || true
1819

20+
if [ "${MOVI_IN_CONTAINER:-0}" != "1" ] && [ "${MOVI_ALLOW_HOST_EXECUTION:-0}" = "1" ]; then
21+
GATE_LOG_ARGS+=(--gate quality-gate --summary-path ".runtime-cache/logs/quality-gate/host-summary.json")
22+
fi
23+
1924
governance_python "$REPO_ROOT" "$ROOT/scripts/check_root_layout.py" --root "$REPO_ROOT"
2025
governance_python "$REPO_ROOT" "$ROOT/scripts/check_root_clean_after_mainflows.py" --root "$REPO_ROOT"
2126
governance_python "$REPO_ROOT" "$ROOT/scripts/check_root_public_surface.py" --root "$REPO_ROOT"
@@ -37,7 +42,7 @@ governance_python "$REPO_ROOT" "$ROOT/scripts/check_runtime_layout.py" --root "$
3742
governance_python "$REPO_ROOT" "$ROOT/scripts/check_repo_runtime_residue.py" --root "$REPO_ROOT"
3843
governance_python "$REPO_ROOT" "$ROOT/scripts/check_runtime_budget.py" --root "$REPO_ROOT"
3944
governance_python "$REPO_ROOT" "$ROOT/scripts/check_logging_contract.py" --root "$REPO_ROOT" --gate-run-id "$VERIFY_GATE_RUN_ID" --gate-name "verify-repo-final"
40-
governance_python "$REPO_ROOT" "$ROOT/scripts/check_gate_log_correlation.py" --root "$REPO_ROOT"
45+
governance_python "$REPO_ROOT" "$ROOT/scripts/check_gate_log_correlation.py" "${GATE_LOG_ARGS[@]}"
4146
governance_python "$REPO_ROOT" "$ROOT/scripts/check_run_bundle_contract.py" --root "$REPO_ROOT"
4247
governance_python "$REPO_ROOT" "$ROOT/scripts/check_upstream_registry_completeness.py" --root "$REPO_ROOT"
4348
governance_python "$REPO_ROOT" "$ROOT/scripts/check_patch_registry_alignment.py" --root "$REPO_ROOT"

0 commit comments

Comments
 (0)