Zero-Dependency Integrations: pre-commit Hooks, uvx / pipx CLI & GitLab CI Templates

Run deterministic OpenAPI 3.x contract checks, RFC 7208 10-lookup SPF ceilings, and WCAG 2.2 AA / EN 301 549 accessibility ratchets locally before git push or inside GitLab CI/CD in one command—zero Docker containers, zero LLM tokens.

⚡ 1-Click Live Diagnostic • Zero Login • <1.5s Edge Execution

Run a Live Deterministic Check Right Now

Scan real corporate DNS via Cloudflare DoH, simulate a broken AI-agent OpenAPI PR, or audit WCAG 2.2 / EN 301 549 clauses instantly.

Test what happens when an AI coding agent makes an optional query parameter required and drops a response field without bumping MAJOR:

Optional: Paste or customize OpenAPI 3.x Base & Head JSON
Click Simulate Claude Code / Cursor Breaking PR to run POST /api/v1/diff live and inspect OAS-BREAK-* rules, SemVer MAJOR bump, and SOC 2 PR gating.

1. Drop-In .pre-commit-config.yaml (Local Pre-Push Gate)

Catch breaking OpenAPI 3.x edits, SPF PermError (>10 DNS lookups), and net-new axe-core WCAG 2.2 AA violations locally in <200ms—before a single broken commit reaches CI:

repos:
  - repo: https://github.com/profalexandrezamboni-ui/specgate-action
    rev: v1.2.0
    hooks:
      - id: specgate-openapi-diff
        args: ["--base", "openapi/base.json", "--head", "openapi/head.json"]

  - repo: https://github.com/profalexandrezamboni-ui/spfguard-cli
    rev: v1.2.0
    hooks:
      - id: spfguard-10-lookup-gate
        args: ["--domain", "acme.io", "--spf-file", "dns/spf.txt"]

  - repo: https://github.com/profalexandrezamboni-ui/a11yratchet-cli
    rev: v1.2.0
    hooks:
      - id: a11yratchet-wcag-gate
        args: ["--report", "axe-report.json"]

2. Ephemeral Zero-Install Execution via uvx & pipx

All three repositories ship PEP 621 pyproject.toml manifests with zero external dependencies. Run any gate instantly from any developer laptop, Makefile, or CI runner:

# H1 SpecGate — OpenAPI 3.x Breaking-Change & SemVer Calculator
uvx --from git+https://github.com/profalexandrezamboni-ui/specgate-action@v1.2.0 specgate-cli \
  --base openapi/base.json --head openapi/head.json

# H2 SPFGuard — RFC 7208 10-Lookup Analyzer & Deterministic CIDR Flattener
uvx --from git+https://github.com/profalexandrezamboni-ui/spfguard-cli@v1.2.0 spfguard-cli \
  --domain example.com --spf "v=spf1 include:_spf.google.com include:sendgrid.net -all"

# H3 A11yRatchet — WCAG 2.2 AA & EN 301 549 Chapter 9 Baseline Ratchet
pipx run --spec git+https://github.com/profalexandrezamboni-ui/a11yratchet-cli@v1.2.0 a11yratchet-cli \
  --report axe-report.json

3. Native .gitlab-ci.yml DevSecOps Merge-Request Gate

Using GitLab CI/CD instead of GitHub Actions? Copy this zero-Docker-build template using stock python:3.12-slim:

stages:
  - contract_gates

specgate_merge_request_gate:
  stage: contract_gates
  image: python:3.12-slim
  rules:
    - if: $CI_PIPELINE_SOURCE == "merge_request_event"
  script:
    - python3 -c "import urllib.request, json, pathlib, sys; req = urllib.request.Request('https://specgate.profalexandrezamboni.workers.dev/api/v1/diff', data=json.dumps({'base_spec': json.loads(pathlib.Path('openapi/base.json').read_text()), 'head_spec': json.loads(pathlib.Path('openapi/head.json').read_text())}).encode(), headers={'Content-Type': 'application/json'}); res = json.loads(urllib.request.urlopen(req, timeout=15).read()); print(json.dumps(res, indent=2)); sys.exit(0 if res.get('gate_passed') else 1)"
10-Second Onboarding Builder • Zero Docker

Generate Your Drop-In CI/CD or .pre-commit Config in 10 Seconds

Select your CI stack, deterministic gates, and repository scale to generate ready-to-commit YAML.

2. Deterministic Gates to Enforce
.github/workflows/specgate.yml
name: SpecGate Deterministic CI Gates
on: [pull_request]
jobs:
  deterministic-gates:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: profalexandrezamboni-ui/specgate-action@v1.2.0
        env:
          SPECGATE_API_KEY: ${{ secrets.SPECGATE_API_KEY }}
        with:
          base_spec: openapi/base.json
          head_spec: openapi/head.json
      - run: pipx run --spec git+https://github.com/profalexandrezamboni-ui/spfguard-cli@v1.2.0 spfguard-cli --domain example.com
Recommended for 3–15 Repositories: Starter Plan ($19/mo flat team rate) unlocks SPECGATE_API_KEY for up to 15 private/public repos, automated inline PR comments, and 1,000 checks/hr.

Transparent Pricing — Instant Activation via Paddle

Start free on up to 2 repositories or domains. Upgrade anytime for multi-repository governance, signed PR overrides, and compliance exports.

Free Open-Source

$0/mo
  • Up to 2 repositories / domains
  • Deterministic CLI & GitHub Action
  • Interactive Web Playground
  • 60 API requests/hour
Install from GitHub

Team & Compliance

$39/mo

Paddle Price ID: pri_01m72s8sgdake5vfj2ygs54x50

  • Unlimited repositories & domains
  • Auditable PR Sign-Off override workflow
  • SOC 2 Audit Trail & EN 301 549 exports
  • 10,000 API requests/hour
Subscribe Team — $39/mo

14-Day Self-Serve Refund Guarantee: Payments, sales tax, and VAT are handled by our Merchant of Record (Paddle). Cancel immediately or trigger an automated 14-day full refund anytime via POST /api/v1/support/ticket.

Frequently Asked Technical Questions

Do SpecGate, SPFGuard, and A11yRatchet require third-party pip packages or Docker containers?

No. Every CLI entrypoint in v1.2.0 is built exclusively on the Python 3.9+ standard library (json, urllib.request, argparse, pathlib). They execute in <200ms via pre-commit, uvx, pipx, or GitLab CI.

Can developers catch breaking OpenAPI or SPF >10 lookup errors locally before git push?

Yes. Adding our official .pre-commit-hooks.yaml repositories to your .pre-commit-config.yaml blocks breaking OpenAPI changes, RFC 7208 SPF PermErrors, and net-new WCAG 2.2 / EN 301 549 regressions on local commit.

When should a team upgrade from Free ($0) to Starter ($19/mo) or Team ($39/mo)?

Free covers up to 2 repositories or domains. Upgrade to Starter ($19/mo) for up to 15 private/public repos and 1,000 Edge API checks/hour, or Team ($39/mo) for unlimited repos, signed breaking-change overrides, and SOC 2 CC8.1 / EN 301 549 audit bundles.