# SpecGate Deterministic CI/CD Suite — Complete Technical & Architectural Reference (`llms-full.txt`) > Canonical URL: https://specgate.profalexandrezamboni.workers.dev/llms-full.txt > Concise Index: https://specgate.profalexandrezamboni.workers.dev/llms.txt > Remote MCP Endpoint (Streamable HTTP, Zero-Auth): https://specgate.profalexandrezamboni.workers.dev/mcp > MCP Discovery Manifest: https://specgate.profalexandrezamboni.workers.dev/.well-known/mcp.json > MCP Setup Guide (Cursor, Claude Code, VS Code): https://specgate.profalexandrezamboni.workers.dev/integrations/mcp-server-cursor-claude-code > GitHub Code Scanning SARIF v2.1.0 Guide: https://specgate.profalexandrezamboni.workers.dev/integrations/github-code-scanning-sarif-ci-gate > FastAPI & Pydantic v2 Guide: https://specgate.profalexandrezamboni.workers.dev/integrations/fastapi-pydantic-openapi-ci-gate > NestJS, TypeScript & Zod Guide: https://specgate.profalexandrezamboni.workers.dev/integrations/nestjs-typescript-zod-openapi-ci-gate > Java & Spring Boot (springdoc-openapi) Guide: https://specgate.profalexandrezamboni.workers.dev/integrations/spring-boot-springdoc-openapi-ci-gate > Terraform & Cloudflare DNS Guide: https://specgate.profalexandrezamboni.workers.dev/integrations/terraform-cloudflare-spf-mta-sts > AWS Route53 & Amazon SES Guide: https://specgate.profalexandrezamboni.workers.dev/integrations/aws-route53-ses-spf-dmarc-mta-sts > Google Workspace + Microsoft 365 + SendGrid SPF Fix: https://specgate.profalexandrezamboni.workers.dev/integrations/google-workspace-microsoft-365-sendgrid-spf-permerror-fix > Next.js & Playwright WCAG 2.2 Guide: https://specgate.profalexandrezamboni.workers.dev/integrations/nextjs-playwright-axe-wcag-ci-gate > Product Feed: https://specgate.profalexandrezamboni.workers.dev/openai-product-feed.jsonl > Target Markets: United States, United Kingdom, European Union, Canada, Australia (100% English B2B DevSecOps). ## 1. Architectural Philosophy: Deterministic Verification Over Probabilistic Self-Report Modern engineering teams use AI coding agents (**Claude Code**, **Cursor**, **GitHub Copilot**, **OpenAI Codex**) that generate Pull Requests 5x–10x faster than human review queues can inspect. When an AI coding agent modifies both a backend controller and its unit test, green unit tests only prove internal consistency—not backward compatibility for external API consumers, receiving mail servers, or assistive-technology users. The **SpecGate Suite** provides three 100% deterministic, zero-LLM CI/CD gates: 1. **Zero Hallucinations & Zero Data Exfiltration:** Pure AST/JSON/DNS-tree algorithms. Proprietary OpenAPI schemas, DNS topologies, and DOM reports are never sent to external LLMs. 2. **Sub-15ms Edge & Sub-Second CLI Execution:** Runs standalone via Python 3 standard library in GitHub Actions or via stateless Cloudflare Edge endpoints (`<15ms` compute). 3. **Auditable Governance:** Cryptographic `SHA-256` verification digests, explicit reviewer sign-off workflows for intentional breaking changes, and predictable flat team pricing. --- ## 2. Honest Technical Comparison Matrices ### 2.1 OpenAPI Contract Gates: `SpecGate` vs. `oasdiff` vs. `openapi-diff` vs. `Optic` (plus `Spectral` & `Redocly`) Full interactive benchmark page: https://specgate.profalexandrezamboni.workers.dev/compare/openapi-diff-vs-oasdiff-vs-optic Style linter vs. contract gate guide: https://specgate.profalexandrezamboni.workers.dev/compare/specgate-vs-spectral-vs-redocly Online OpenAPI 3.0/3.1 playground: https://specgate.profalexandrezamboni.workers.dev/tools/openapi-breaking-change-playground RFC 8461 MTA-STS & TLS-RPT validator: https://specgate.profalexandrezamboni.workers.dev/tools/mta-sts-tls-rpt-validator-generator | Capability | `openapi-diff` (Java) | `oasdiff` (Go) | `Optic` (Node.js) | `SpecGate` | | :--- | :--- | :--- | :--- | :--- | | **CI Cold Start** | ~8–25s (JVM/Docker) | <1s (Go binary) | ~2–5s (Node CLI) | **<0.5s CLI / <15ms Edge** | | **OpenAPI 3.0 / 3.1 + JSON Schema** | OpenAPI 3.0 | OpenAPI 3.0 / 3.1 | OpenAPI 3.0 / 3.1 | **OpenAPI 3.0 / 3.1 + JSON Schema** | | **Exact SemVer Output (`MAJOR`/`MINOR`/`PATCH`)** | Manual | Diff flags | Changelog tags | **Native GitHub Action Output + SVG Badge** | | **Auditable PR Breaking-Change Sign-Off** | None (must bypass CI) | Paid / custom script | Cloud workflow | **Built-in Reviewer Sign-Off + Justification** | | **SOC 2 CC8.1 Signed Bundle Export** | No | No native CC8.1 bundle | Enterprise tier | **SHA-256 Signed JSON/CSV Bundle ($39/mo Team)** | | **Published Pricing** | Free OSS | ~$100/mo (hosted tiers) | Custom / Per-seat | **$0 Free · $19/mo Starter · $39/mo Team** | *When to choose alternatives:* Choose `oasdiff` if you specifically want a compiled Go binary with 200+ granular lint rules and do not need built-in `SOC 2 CC8.1` sign-off bundles. Choose `SpecGate` when you want zero-container setup, automatic `MAJOR/MINOR/PATCH` SemVer outputs, auditable PR sign-off overrides, and flat `$19–$39/mo` pricing. ### 2.2 SPF 10-Lookup Flattening: `SPFGuard` vs. `EasyDMARC` vs. `dmarcian` Full comparison page: https://specgate.profalexandrezamboni.workers.dev/compare/spfguard-vs-easydmarc-vs-dmarcian-spf-flattening | Capability | `EasyDMARC` (Dynamic SPF) | `dmarcian` | `SPFGuard` | | :--- | :--- | :--- | :--- | | **Flattening Architecture** | Hosted CNAME / Dynamic DNS macros | DMARC analytics + SPF guidance | **Pre-merge CI/CD deterministic CIDR flattening** | | **Third-Party Live DNS Dependency** | Yes (vendor DNS sits in live SMTP path) | Optional / partner tools | **Zero (your authoritative DNS stays 100% yours)** | | **RFC 7208 (>10 Lookups) Detection** | Yes | Yes | **Yes (recursive tree + exact lookup counter)** | | **RFC 8461 MTA-STS + RFC 8460 TLS-RPT** | Paid tier add-on | Policy generators | **Included deterministically in CLI & API** | | **GitOps / Terraform PR Gate** | No native PR blocker | No native PR blocker | **Native GitHub Action & CLI exit code gate** | | **Published Pricing** | Volume/domain tiers ($35–$100+/mo) | Per-domain/enterprise tiers | **$0 Free (2 domains) · $19/mo (15) · $39/mo (Unlimited)** | *When to choose alternatives:* Choose `EasyDMARC` or `dmarcian` if you need a full hosted DMARC XML (`rua`/`ruf`) forensic inbox dashboard for non-technical admins. Choose `SPFGuard` if your infrastructure is managed as code (Terraform, Cloudflare, Route53) and you refuse to introduce a third-party runtime DNS single point of failure. ### 2.3 Accessibility CI Gates: `A11yRatchet` vs. `axe-linter` vs. `pa11y-ci` Full comparison page: https://specgate.profalexandrezamboni.workers.dev/compare/a11yratchet-vs-axe-linter-vs-pa11y-ci | Capability | `axe-linter` (Deque) | `pa11y-ci` | `A11yRatchet` | | :--- | :--- | :--- | :--- | | **Analysis Layer** | Static HTML/JSX AST only | Rendered headless DOM | **Rendered `axe-core` JSON + Monotonic Ratchet** | | **Computed Contrast & Target Size (2.5.8)** | No (requires rendered CSS) | Yes | **Yes (ingests full rendered `axe-core` output)** | | **Legacy Debt Ratchet (Per-Rule Baseline)** | Binary / PR diff | Global numeric threshold | **Per-rule committed baseline (blocks net-new only)** | | **EN 301 549 V3.2.1 Chapter 9 Clause Mapping** | WCAG tags only | WCAG tags only | **Deterministic WCAG 2.2 AA + EN 301 549 `9.x.y.z` table** | | **Published Pricing** | Free tier / Per-seat Enterprise | Free OSS | **$0 Free (2 repos) · $19/mo (15) · $39/mo (Unlimited)** | *When to choose alternatives:* Use `axe-linter` inside VS Code for instant static JSX feedback while typing, `pa11y-ci` or Playwright + `@axe-core/playwright` to render pages in CI, and pipe the resulting JSON into `A11yRatchet` so legacy findings never block unrelated PRs while net-new `EN 301 549` regressions are stopped immediately. --- ## 3. Minimal 5-Line GitHub Actions, pre-commit, uvx & GitLab CI Integration Full multi-platform guide: https://specgate.profalexandrezamboni.workers.dev/integrations/pre-commit-uvx-gitlab-ci Drop SpecGate into `.github/workflows/specgate.yml`: ```yaml - uses: actions/checkout@v4 - uses: profalexandrezamboni-ui/specgate-action@v1.2.0 with: base_spec: openapi/base.json head_spec: openapi/head.json ``` Or run ephemerally via `uvx` / `pre-commit` (`v1.2.0`): ```bash uvx --from git+https://github.com/profalexandrezamboni-ui/specgate-action@v1.2.0 specgate-cli --base openapi/base.json --head openapi/head.json uvx --from git+https://github.com/profalexandrezamboni-ui/spfguard-cli@v1.2.0 spfguard-cli --domain acme.io uvx --from git+https://github.com/profalexandrezamboni-ui/a11yratchet-cli@v1.2.0 a11yratchet-cli --report axe-report.json ``` --- ## 4. Real Deterministic Edge API Examples (`<15ms`, Zero LLM Calls) ### 4.1 H1 `SpecGate` — OpenAPI Breaking-Change & SemVer Check (`POST /api/v1/diff`) ```bash curl -sS -X POST "https://specgate.profalexandrezamboni.workers.dev/api/v1/diff" \ -H "Content-Type: application/json" \ -d '{ "base_spec": {"openapi":"3.1.0","paths":{"/v1/orders":{"get":{"parameters":[{"name":"limit","in":"query","required":false}]}}}}, "head_spec": {"openapi":"3.1.0","paths":{"/v1/orders":{"get":{"parameters":[{"name":"limit","in":"query","required":true}]}}}} }' ``` Returns deterministic JSON with `"gate_passed": false`, `"verdict": "FAIL_BREAKING_CHANGE"`, `"recommended_semver_bump": "MAJOR"`, and rule `"OAS-BREAK-005"`. ### 4.2 H2 `SPFGuard` — RFC 7208 10-Lookup Tree & CIDR Flattener (`POST /api/v1/spfguard/analyze`) ```bash curl -sS -X POST "https://specgate.profalexandrezamboni.workers.dev/api/v1/spfguard/analyze" \ -H "Content-Type: application/json" \ -d '{ "domain": "acme.io", "spf_record": "v=spf1 include:_spf.google.com include:spf.protection.outlook.com include:sendgrid.net include:_spf.salesforce.com -all", "mta_sts_mode": "enforce" }' ``` Returns `"exceeds_rfc7208_limit": true`, `"verdict": "FAIL_PERMERROR_RISK"`, zero-lookup `"flattened_spf_record"`, and `"mta_sts"` policy bundle. ### 4.3 H3 `A11yRatchet` — WCAG 2.2 AA & EN 301 549 Ratchet (`POST /api/v1/a11yratchet/evaluate`) ```bash curl -sS -X POST "https://specgate.profalexandrezamboni.workers.dev/api/v1/a11yratchet/evaluate" \ -H "Content-Type: application/json" \ -d '{ "axe_report": { "violations": [ {"id": "color-contrast", "impact": "serious", "nodes": [{"target": ["#cta"]}]}, {"id": "target-size", "impact": "serious", "nodes": [{"target": ["#icon-btn"]}]} ] }, "baseline_counts": {"color-contrast": 0, "target-size": 0} }' ``` Returns `"verdict": "FAIL_RATCHET_REGRESSION"`, `"en_301_549_clauses_impacted": ["9.1.4.3", "9.2.5.8"]`, and full clause remediation mappings. --- ## 5. Standards Coverage & Engineering Disclaimers - **SOC 2 Trust Services Criteria `CC8.1` (Change Management):** SpecGate produces deterministic `SHA-256` change-verification bundles and records reviewer handle + justification on intentional breaking-change sign-offs. - **IETF `RFC 7208` Section 4.6.4 & `RFC 8461`:** SPFGuard enforces the strict 10 DNS-querying mechanism limit and generates standards-compliant `STSv1` policies. Because cloud ESPs periodically rotate IP blocks, flattened CIDR records should be re-verified on a scheduled GitHub Actions cron. - **W3C `WCAG 2.2 AA` & European Standard `EN 301 549 V3.2.1` Chapter 9:** A11yRatchet maps `axe-core` rule IDs to `9.x.y.z` web clauses. **Mandatory Engineering Disclaimer:** Automated DOM/AST accessibility scanners detect approximately 30%–40% of WCAG 2.2 and EN 301 549 criteria; they prevent regressions in CI/CD and complement—never replace—manual keyboard, screen-reader, and legal compliance audits. --- ## 6. Transparent Pricing & Unconditional 14-Day Refund Policy All paid subscriptions are processed by **Paddle.com Market Limited** acting as authorized **Merchant of Record** (handling global sales tax, VAT, GST, and invoicing): - **Free Open-Source (`$0.00 USD/month`):** Up to 2 repositories or domains, standalone CLI & GitHub Action, 60 Edge API requests/hour. - **Starter Plan (`$19.00 USD/month`):** Up to 15 private or public repositories/domains, automated PR SemVer & diff comments, 1,000 API requests/hour. - **Team Plan (`$39.00 USD/month`):** Unlimited repositories & domains, auditable PR breaking-change sign-off overrides, `SOC 2 CC8.1` & `EN 301 549` compliance bundle exports, 10,000 API requests/hour. - **14-Day Unconditional Refund Guarantee:** Cancel immediately at any time or trigger an automated full refund within 14 calendar days of any charge via `https://specgate.profalexandrezamboni.workers.dev/refund-policy` or `POST https://specgate.profalexandrezamboni.workers.dev/api/v1/support/ticket`.