DiffXray v2.1 · Zero Runtime Dependencies · MIT Open Source

GitHub diffs list files alphabetically.
See what quietly broke downstream.

Coding agents now generate 30-file pull requests in minutes with green exit-0 tests. DiffXray maps untouched callers in the blast radius, collapses moved blocks, and audits 12 silent failure modes—locally via CLI or 100% client-side right below.

$npx github:unbridled-41/diffxray --html --open
Interactive Scenarios:
100% client-side ESM · zero bytes leave your browser
The Verification Bottleneck

Three blind spots traditional diff viewers were never built to show.

Line-by-line alphabetical diffs worked when humans typed 80 lines a day. When an autonomous agent touches 28 files in 90 seconds, reviewers need structural truth—not red and green wallpaper.

01 / BLAST RADIUS

Untouched downstream callers

When verifySessionToken(token) adds a required orgId parameter, GitHub shows session.ts—never the three untouched routes and cron workers that still invoke it with one argument.

session.ts · arity 1 → 2
↳ routes/enterprise-sso.ts (untouched!)
↳ workers/renewal.ts (untouched!)
02 / CODE MOTION

Shingle Jaccard move pairing

Extracting a 120-line billing helper into a new file while tweaking one discount constant looks like 240 lines of churn. DiffXray collapses pure motion and spotlights only the edited line.

⇄ 118 lines moved (94% match · collapsed)
+ const tierDiscount = subtotal * 0.12;
03 / QUIETLY WRONG

Deterministic exit-0 hazard audit

Agents routinely make red tests turn green by skipping suites, deleting assertions, swallowing exceptions in empty handlers, dropping await keywords, or removing auth middleware.

[CRITICAL] auth-guard-removed
Caught our own MCP -32700 bug on PR #13
Deterministic Static & Graph Heuristics

Twelve silent hazards audited in under 50 milliseconds.

Zero LLM API keys, zero prompt flakiness, and full OASIS SARIF v2.1.0 export for GitHub Code Scanning.

Built for Humans & Agents

One isomorphic engine across CLI, Browser, CI, MCP, and Skills.

Enforced by automated CI checks on Ubuntu, macOS, and Windows: zero third-party node_modules and zero telemetry.

Capability GitHub PR Diff UI Cloud PR Bots ($15–30/mo) Static Repo Maps DiffXray v2.1
License & Cost Free Paid per seat MIT Free · MIT
Works on uncommitted local edits No No (requires pushed PR) Static files only Yes (< 1.5s locally)
Untouched downstream caller Blast Radius Hidden Partial text notes Whole-repo static Draggable node & lane canvas
Cross-file moved code collapsing + delta Whole-file rename only No N/A Shingle Jaccard + delta highlight
Zero API keys & 100% local privacy N/A Uploads diff to cloud LLMs Requires LLM session 100% deterministic & offline-ready
Runtime npm dependencies N/A Heavy 0 0