prism0x2A
BLUE
AMBER
GREEN
🏗️ Frameworks
Fleet
Plans

Vercel Deployment Gate

Block Vercel deployments automatically when architecture drops below thresholds

← GREEN
NOT SCANNED

Run a PRISM scan first (GREEN → Cross-Layer) to enable gate evaluation.

Gate Configuration

40 (permissive)90 (strict)
https://your-prism/api/vercel/gate?minScore=70&maxCycles=0&branch=main&apiKey=YOUR_PRISM_API_KEY

Vercel Setup Instructions

1

Copy the gate URL above

2

In Vercel → Project Settings → Deployment Protection → Add Custom Protection

3

Paste the URL, set "Block if not 200"

Alternative: vercel.json (conceptual)

{
  "deploymentProtection": {
    "customEnvironments": [
      {
        "url": "https://your-prism/api/vercel/gate?minScore=70&maxCycles=0&branch=main&apiKey=YOUR_PRISM_API_KEY",
        "requiredStatus": 200
      }
    ]
  }
}

Note: conceptual config — check Vercel docs for current deployment protection API.

GitHub Actions Alternative (most reliable)

name: PRISM Architecture Gate
on: [push]
jobs:
  architecture-gate:
    runs-on: ubuntu-latest
    steps:
      - name: Check PRISM gate
        run: |
          STATUS=$(curl -s -o /dev/null -w "%{http_code}" \
            "https://your-prism/api/vercel/gate?minScore=70&maxCycles=0&branch=main&apiKey=YOUR_PRISM_API_KEY")
          if [ "$STATUS" != "200" ]; then
            echo "PRISM gate failed (HTTP $STATUS)"
            exit 1
          fi

README Badge

![Vercel Gate](https://your-prism/api/vercel/gate/status?minScore=70)

Live preview:

Vercel Gate status badge