@@ -12,10 +12,15 @@ load_governance_defaults "$REPO_ROOT"
1212apply_runtime_env_defaults " $REPO_ROOT "
1313export PYTHONDONTWRITEBYTECODE=1
1414VERIFY_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
1617echo " ℹ️ verify_repo_final: repo-side governance scorecard only; use bash tooling/gates/quality_gate.sh for delivery-complete truth"
1718bash " $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+
1924governance_python " $REPO_ROOT " " $ROOT /scripts/check_root_layout.py" --root " $REPO_ROOT "
2025governance_python " $REPO_ROOT " " $ROOT /scripts/check_root_clean_after_mainflows.py" --root " $REPO_ROOT "
2126governance_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 "$
3742governance_python " $REPO_ROOT " " $ROOT /scripts/check_repo_runtime_residue.py" --root " $REPO_ROOT "
3843governance_python " $REPO_ROOT " " $ROOT /scripts/check_runtime_budget.py" --root " $REPO_ROOT "
3944governance_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[@]} "
4146governance_python " $REPO_ROOT " " $ROOT /scripts/check_run_bundle_contract.py" --root " $REPO_ROOT "
4247governance_python " $REPO_ROOT " " $ROOT /scripts/check_upstream_registry_completeness.py" --root " $REPO_ROOT "
4348governance_python " $REPO_ROOT " " $ROOT /scripts/check_patch_registry_alignment.py" --root " $REPO_ROOT "
0 commit comments