feat: add universal resource activation policy profile flow
This commit is contained in:
@@ -188,6 +188,15 @@ else
|
||||
log_warn "Optional config/universal-resource-activation/policy-profiles.json missing; skipping"
|
||||
fi
|
||||
# Optional production gate: URA_STRICT_CLOSURE=1 fails if pilots/TBD/open reconciliation remain
|
||||
if [[ -f "$PROJECT_ROOT/config/universal-resource-activation/integration/omnl-ledger-mapping.v1.json" ]] && command -v node &>/dev/null && [[ -f "$PROJECT_ROOT/scripts/validate/validate-omnl-ledger-mapping.mjs" ]]; then
|
||||
log_ok "Found: config/universal-resource-activation/integration/omnl-ledger-mapping.v1.json"
|
||||
if node "$PROJECT_ROOT/scripts/validate/validate-omnl-ledger-mapping.mjs" "$PROJECT_ROOT/config/universal-resource-activation/integration/omnl-ledger-mapping.v1.json"; then
|
||||
log_ok "omnl-ledger-mapping.v1.json: JSON Schema OK"
|
||||
else
|
||||
log_err "omnl-ledger-mapping.v1.json: validation failed"
|
||||
ERRORS=$((ERRORS + 1))
|
||||
fi
|
||||
fi
|
||||
if [[ "${URA_STRICT_CLOSURE:-}" == "1" ]] && [[ -f "$PROJECT_ROOT/scripts/ura/validate-manifest-closure.mjs" ]]; then
|
||||
log_info "URA_STRICT_CLOSURE=1: running URA manifest closure gate…"
|
||||
if node "$PROJECT_ROOT/scripts/ura/validate-manifest-closure.mjs" --strict; then
|
||||
|
||||
Reference in New Issue
Block a user