DETERMINISTIC AI CODE VERIFICATION · ZERO LLM TOKENS · 100% AIR-GAPPED

AI coding agents pass CI by faking tests. Cordis proves every AI PR works before human review.

Coding agents like Claude Code, Cursor, and Codex hit tough edge cases by weakening assertions, mocking the function under test, or hardcoding one input so pytest exits 0. Cordis runs inside your own CI runner and local hooks to catch tampered tests, surviving code mutants, and boundary regressions deterministically—with zero LLM calls and zero code leaving your environment.

Run 60s Live Demo
Start 14-Day Shadow-Mode Pilot Zero merge blocking · 1 repo · Executive Audit Report
uvx cordis-verify demo
Zero-install side-by-side catch of a fake-green AI PR
$0 / PR
0 LLM Tokens & 0 Code Egress
0 Deps
Pure Python Stdlib (MIT Core)
372 tests
anthropic #2053 · instructor #2878
1-Line CI
Native SARIF 2.1.0 & Agent Hooks
Built For Every Engineering Decision Maker

One deterministic engine. Clear ROI for leadership, platform, and AppSec.

Select your role to inspect the exact outcomes, verified proof, and deployment artifact tailored to your team.

VELOCITY WITHOUT INCIDENT SPIKES

Merge 5x more AI-authored PRs without multiplying senior review bottlenecks or prod incidents.

AI coding tools increase PR volume overnight, pushing validation onto your highest-paid staff engineers—or into production when agents game unit tests. Cordis automatically rejects hollowed tests, over-mocked diffs, and single-input overfits before a human ever opens the PR.

  • Ship 5x AI PR volume safely: Catch silent test-gaming and boundary regressions deterministically before merge, without slowing down clean PRs.
  • Reclaim senior review hours: Stop paying $130+/hr engineers to manually audit whether Cursor or Claude Code deleted an assertion or mocked out production logic.
  • Predictable $0-per-PR governance: Pure CPU execution inside your existing CI runners—no runaway per-token LLM reviewer invoices as PR volume scales.

Proven on Tier-1 AI SDKs: caught missing non-dict payload tests in anthropics/anthropic-sdk-python#2053 (5/6 → 6/6) and 5 surviving boundary/depth mutants in 567-labs/instructor#2878 (9/14 → 14/14).

Executive Impact Snapshot
Zero Merge Blocking

            
Interactive Prosecutor Demo

Watch standard CI approve a broken AI patch—and Cordis block it.

Select a real failure archetype grounded in cordis demo and cordis benchmark. Watch Gate 0 through Gate 3A execute sequentially, inspect the diff that fooled pytest, and copy the synthesized test or SARIF 2.1.0 output.

PR #418 · Fix discount tier for amount == 100.0
pytest: PASS (exit 0)
An AI agent patched parse_discount_tier by hardcoding amount == 100.0 and weakening an existing assertion to is not None. Standard CI and SWE-bench Fail-to-Pass both turn green.
billing/discounts.py Source Diff

            
tests/test_discounts.py Test Diff

            
Cordis Kinetic Gate Trace
BLOCKED — COUNTERFEIT RED DETECTED
exit 1 · 0 LLM tokens

            
Verified Engineering Evidence

Real catches on production AI SDKs—zero fabricated metrics.

We report only what Cordis deterministically surfaced and verified in our repository and upstream PR audits. Zero vanity numbers, fake customer logos, or unverified catch-rate promises.

Real Upstream Catch 6/6 Killed

anthropics/anthropic-sdk-python#2053

Target: src/anthropic/lib/environments/_worker.py · _sessions_token_from_secret

Upstream tests checked invalid base64 and plaintext, leaving if not isinstance(parsed, dict): return None unprotected against valid base64-encoded JSON scalars and lists.

Upstream Kill Rate
5/6 (1 survived)
Post-Patch Kill Rate
6/6 (100%)
Real Upstream Catch 14/14 Killed

567-labs/instructor#2878

Target: instructor/v2/core/json.py · extract_json_from_codeblock

Despite target_executed == True in CI, 5 boundary & depth mutants survived: exact 1 MiB cap (1_048_576), index 0 offset guard, work-budget limit, and 128-level nesting depth.

Upstream Kill Rate
9/14 (64.3%)
Post-Patch Kill Rate
14/14 (100%)
Codebase Verification 0 Runtime Deps

372 Tests & Zero-Bloat Core

Package: cordis-verify v0.3.0 · dependencies = [] in pyproject.toml

Verified across 372 tests (Python 3.12 pytest & Python 3.13 stdlib unittest). Includes a deterministic 5-archetype synthetic self-test (cordis benchmark) for gate regression checks.

Core Dependencies
0 external
Automated Suite
372 tests
3D Engine Deep-Dive · Gates 0–3A

AST mutation & 200-input fuzzing expose fake-green PRs in seconds.

Instead of sending diffs to probabilistic LLM bots, Cordis structurally decomposes modified functions, injects AST mutations, and runs 200 differential edge-case probes inside your own runner.

3D render of an AST Code Tree crystal probed by four mutation and fuzzing laser beams
AST Crystal Probe Diff-Scoped Only 200 Edge Inputs
Git Diff base → HEAD
Gate 0 Hook Firewall
Gate 1 AST Anti-Tamper
Gate 2 Diff Mutation
Gate 3A 200-Input Fuzz
GATE 0 · LOCAL & CI FIREWALL

ForgeGuard & Agent Hook Firewall

Production

Blocks git commit --no-verify, hook tampering, and output suppression via idempotent pre-commit and Claude Code PreToolUse / Stop hooks. Verifies CI actor provenance (GITHUB_ACTOR vs GITHUB_TRIGGERING_ACTOR).

GATE 1 · TEST INTEGRITY AUDIT

AST Anti-Tamper & Mock-to-Assertion Ratio

Production

Computes version-stable 64-bit BLAKE2b AST anchors (ast.unparse). Flags deleted assertions, tautologies (assert True), is not None weakenings, skipped tests, and excessive @patch mocking (default mar_threshold = 0.25).

GATE 2 · PROOF OF TEST STRENGTH

Diff-Scoped AST Mutation Engine

Production

Mutates only Python functions touched in the diff, executes stem-matched tests first with fail-fast (pytest -x) + full-suite fallback (full_suite_verify=True), and synthesizes missing assertions via --suggest-test.

GATE 3A · OVERFIT DETECTOR

200-Input Differential Property Fuzzing

Production

Harvests co_consts and AST literals to probe base_ref vs candidate across 200 adversarial inputs (NaN, -0.0, boundary ints, empty collections). Explicitly logs SKIPPED for live DB/network functions.

3D Security Enclave · Zero Code Egress

100% air-gapped on your runner. Tamper-evident BLAKE2b merge receipts.

Cloud AI code reviewers transmit proprietary diffs to third-party inference APIs. Cordis runs entirely inside your own runner with zero network calls, zero external dependencies, and cryptographic AST receipts.

01 · Zero Egress

Zero Data Retention

Not a single byte of source code, diff context, or credential telemetry leaves your network boundary. Zero SaaS telemetry proxies.

02 · Zero Tokens

Zero LLM API Calls

Executes deterministically using Python stdlib (ast, hashlib, subprocess, tomllib)—immune to prompt injection and drift.

03 · Supply Chain

Zero Runtime Deps

dependencies = [] in pyproject.toml eliminates transitive PyPI supply-chain exposure. Auditable end-to-end inside your repo.

04 · Compliance

SARIF 2.1.0 & Air-Gap Ready

Emits native SARIF 2.1.0 directly into GitHub Code Scanning and runs cleanly inside disconnected enterprise runners.

cordis verify-outbox · BLAKE2b AST Receipt
================================================================================
                CORDIS ARCHITECT OUTBOX MERGE RECEIPT
================================================================================
Receipt ID      : 5fe1e11b2853
Base Ref        : origin/main
Target Ref      : HEAD
Status          : APPROVED
Modified Files  : 2 file(s)
Collateral Check: PASSED (0 unintended modifications)
Syntax Integrity: PASSED (0 SyntaxErrors)
Gate 1 Tamper   : PASSED (0 test tampering smells)
Signature       : ¶5fe1e11b2853#f9e4e244f8697f10
================================================================================
3D render of Cordis air-gapped obsidian and cyan runner enclave showing zero code egress
0 Bytes Egress BLAKE2b AST Anchors 0 PyPI Deps
Interactive ROI & Risk Model

Quantify the senior review tax—and silent CI escapes—on your AI PR volume.

Adjust the three team inputs below to model weekly review hours reclaimed and illustrative fake-green PRs flagged in shadow mode.

Illustrative Planning Model

Calculations below use transparent, documented engineering assumptions—not fabricated customer telemetry or guaranteed catch rates. Run the 14-Day Shadow-Mode Pilot on your own repository to measure your exact baseline.

1250500
≈ 3.0 / eng / wk
11,0002,000
$50$225$400
Transparent Model Assumptions (Editable Formula Basis)
18 min (0.30 hrs) / AI PR
Illustrative time a senior reviewer spends checking whether an AI PR’s tests assert behavior instead of mocking or overfitting.
35% Pre-filter efficiency
Illustrative share of test-audit time saved when Cordis blocks tampered tests and synthesizes missing assertions (--suggest-test).
4.0% Planning escape rate
Illustrative planning assumption for AI PRs with weakened assertions, mock bypasses, or surviving boundary mutants despite green pytest.
$0.12 / PR LLM reviewer contrast
Illustrative external LLM reviewer API/seat amortized cost per PR versus Cordis’s verified $0 token cost.
Weekly Senior Review Reclaimed 7.9 hrs / wk 409 hrs / yr reclaimed
Est. Annual Capacity Reclaimed $55,282 / yr Based on senior review hours saved
Illustrative Escapes Flagged 13.0 PRs / mo At 4.0% illustrative planning assumption
Cordis LLM & Runtime Cost $0 vs. $1,200 / 10k PRs at $0.12/PR LLM spend

Want exact metrics on your own pull requests without blocking developers?

Measure Your Real Escape Rate in a 14-Day Shadow Pilot →
Competitive Moat

Why probabilistic LLM reviewers and line coverage miss agent-gamed tests.

LLM reviewers guess from prose. Coverage checks execution, not assertions. Cordis deterministically mutates changed code and audits test integrity inside your runner.

Evaluation Dimension Cordis (cordis-verify) LLM Code Reviewers
CodeRabbit / Greptile / Copilot
Coverage Tools
pytest-cov / Coverage.py
Raw CI
pytest / unittest
Catches Test Tampering
Weakened assertions, @patch abuse, --no-verify
Yes · Deterministic BLAKE2b AST diff detects deleted/weakened assertions, high MAR, and blocks --no-verify. Inconsistent May comment on style, but lacks deterministic AST diffing or local PreToolUse hooks. No assert res is not None and target mocks still hit 100% line coverage. No Exits 0 as long as weakened or mocked tests pass.
Catches Overfit Patches
Hardcoded inputs, missing boundary guards
Yes · Deterministic Diff-scoped AST mutation + 200-input fuzzing vs base_ref prove behavioral gaps. Probabilistic Reads diff text statically; cannot execute code or prove surviving mutants. No instructor#2878 had target_executed == True while 5 mutants survived. No Hardcoding if x == 100: passes narrow unit tests cleanly.
Cost per 10k PRs $0 (MIT Core) Runs on existing CI CPU with 0 LLM tokens and 0 external fees. High / Variable Per-seat SaaS fees plus LLM token usage scaling with diff size. $0 (OSS) Runs on existing CI CPU. $0 (OSS) Runs on existing CI CPU.
Code Egress / Privacy 0 Bytes Egress 100% local / self-hosted runner; air-gap ready; 0 runtime deps. Cloud Egress Transmits proprietary diffs and repo context to third-party LLMs. 0 Bytes Egress Runs locally on CI runner. 0 Bytes Egress Runs locally on CI runner.
Deterministic Repeatability 100% Repeatable Identical BLAKE2b AST anchors, mutants, and exit code on every run. Non-Deterministic Model updates and temperature cause drifting feedback across runs. Execution Only Deterministic only for line execution counts. Existing Only Deterministic only for existing assertions.

“We already use Copilot Review / CodeRabbit.”

Keep them for prose and naming suggestions—pair them with Cordis for deterministic proof. LLM reviewers cannot execute your code to kill a > vs >= mutant or block git commit --no-verify in .claude/settings.json. Cordis adds $0 in token fees.

“Isn’t mutation testing too slow for PRs?”

Whole-repo mutation testing is slow. Cordis runs diff-scoped AST mutation: it mutates only Python functions modified in the PR diff, runs stem-matched tests first with fail-fast (pytest -x), and runs full-suite fallback only when needed.

“What about TypeScript, Go, or Rust repos?”

Python (3.10–3.13) has full production Gate 0–3A coverage. TypeScript, Go, and Rust currently ship as experimental lexical/regex Gate 1 scanners (ts_gate.py, polyglot_gate.py), with an optional Tree-sitter AST backend on the roadmap.

Drop-In Integration

Enforce deterministic gates in 60 seconds.

Run locally before every AI commit, wire into GitHub Actions with native PR comments and SARIF 2.1.0 Code Scanning, or probe a single critical function.

.github/workflows/cordis.yml

          
Zero-Friction Rollout

Generate your repo’s cordis.toml & CI workflow.

Configure your team’s enforcement policy right here—100% client-side, zero account required. Copy directly into your repository or configure a 14-Day Shadow Pilot below.

Typical PR base ref in GitHub Actions or local diffs (e.g. HEAD~1, origin/main).
0.25
Gate 1 flags tests whose mock-patch density exceeds this threshold.
Active Verification Gates
CI Action Options
cordis.toml

            
.github/workflows/cordis.yml

            
Radical Technical Honesty

Exact v0.3.0 capabilities—and explicit boundaries.

Engineering leaders deserve ground truth, not vaporware. Here is exactly what runs in production today versus what is experimental or on our roadmap.

Capability Status Technical Truth
Gate 0: ForgeGuard & Agent Hooks Production Bot-actor / self-approval checks + idempotent git pre-commit and Claude Code PreToolUse / Stop hooks.
Gate 1: Python AST Anti-Tamper & MAR Production Python stdlib ast + version-stable 64-bit BLAKE2b anchors (ast.unparse) across Python 3.10–3.13.
Gate 2: Python Diff-Scoped Mutation Production Diff-scoped AST mutator with repo pytest execution, full-suite fallback, in-memory fallback, and --suggest-test.
Gate 3A: Python Differential Fuzzing Production 200-input edge-case fuzzer comparing base_ref vs candidate; cleanly logs SKIPPED when live DB/network prevents in-process runs.
PR Annotations & SARIF 2.1.0 Production Zero-dep cordis/annotations.py emits GitHub Actions annotations, PR Markdown, HTML scorecards, and SARIF 2.1.0.
TypeScript / Go / Rust Gate 1 Experimental Lexical/regex scanners—explicitly not full AST parsers yet. Gate 2 mutation in verify-git is Python-only today.
Gate 3B: Mann-Whitney U Latency Demo / Library Intentionally marked SKIPPED in verify-git CI runs so shared-runner noise is never reported as a false pass.
Hosted GitHub App & Tree-sitter AST Roadmap Ephemeral sandboxed PR Check Runs and optional Tree-sitter AST backend for TypeScript, Go, and Rust.
Deployment & Pricing

Open-source core forever. Built for teams scaling AI PRs.

Start immediately with the MIT-licensed CLI and GitHub Action at zero cost, or start a 14-Day Shadow-Mode Pilot for managed org-wide enforcement.

Open Source Core
$0 MIT License · Forever

Full deterministic verification running locally or inside your own GitHub Actions runners.

  • Gates 0, 1, 2 & 3A (Python 3.10–3.13)
  • cordis init git & Claude Code hooks
  • GitHub Actions composite action (action.yml)
  • SARIF 2.1.0, PR Markdown & HTML scorecards
  • Unlimited public & private self-hosted repos
Install cordis-verify
Enterprise & Air-Gapped
Custom Annual contract · Volume seats

For regulated engineering orgs needing zero-egress compliance and custom language gates.

  • 100% air-gapped self-hosted deployment
  • Zero code egress · zero external LLM calls
  • Priority Tree-sitter polyglot AST packs
  • Custom organizational anti-tamper rules
  • Dedicated onboarding & engineering SLA
Generate Air-Gapped Brief
Dual Enterprise Funnel · Zero Risk

Start locally in 10 seconds—or configure your 14-Day Shadow-Mode Pilot.

Run the self-serve CLI wedge today, or generate an instant tailored 14-Day Shadow-Mode rollout & security brief client-side with zero tracking.

Self-Serve Developer Wedge

Verify Cordis on your terminal in 10 seconds.

  1. 01 Run the offline adversarial demo (no install):
    uvx cordis-verify demo

    Compares a fake-green AI patch against a verified patch across Gates 1–3 with zero LLM tokens.

  2. 02 Arm your local repo & AI agent hooks:
    pip install cordis-verify; cordis init

    Creates cordis.toml and idempotently adds pre-commit + Claude Code PreToolUse/Stop guards without overwriting existing hooks.

  3. 03 Drop into CI in non-blocking shadow mode:
    Shadow-Mode Action Snippet
    - uses: janmejai2002/cordis@v0.3.0
      with:
        base-ref: origin/main
        sarif-output: cordis.sarif
        fail-on-blocked: "false" # Shadow Mode
Enterprise Evaluation · Zero Merge Blocking

Run a 14-Day Shadow-Mode Pilot on 1 Python repository.

  • Zero merge friction: Runs silently alongside CI (fail-on-blocked: "false")—zero broken builds.
  • Zero security review delay: Runs 100% inside your own runner (zero code egress, zero LLM keys).
  • Day-14 Executive Audit Report: Consolidated Markdown, HTML Scorecard, and SARIF 2.1.0 summary.
Tailored 14-Day Shadow-Mode Rollout & Security Brief Updates live from your 4 selections · 100% client-side

              
Engineering FAQ

Answers for skeptical CTOs, Platform Leads & CISOs.

Ready in One Command

See a fake-green AI patch caught live on your machine.

No signup, no API keys, no runtime dependencies. Run the self-contained demo via uvx in under 15 seconds.

uvx cordis-verify demo
Start 14-Day Shadow Pilot