feat: add universal resource activation policy profile flow

This commit is contained in:
defiQUG
2026-04-24 22:06:26 -07:00
parent 0035a787fe
commit 566cecd8f9
71 changed files with 2705 additions and 153 deletions

View File

@@ -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