GauntletCI

GauntletCI Logo

Pre-commit change-risk detection for pull request diffs.

GauntletCI analyzes what changed in a pull request or from a pre-commit and flags behavior that may no longer be properly validated.

Did this change introduce behavior that is not properly tested, reviewed, or understood?


Why this exists

Experienced developers still miss things in diffs.

Not because they are careless. Because diffs are deceptive.

A change can look small and still introduce real risk:

These often pass:

And they still cause regressions.

GauntletCI exists to catch those changes earlier.


What GauntletCI does

GauntletCI is a .NET CLI tool that analyzes pull request diffs and detects:

It focuses on one thing:

What changed, and what risk did that change introduce?


What GauntletCI is not

GauntletCI is not:

It complements those tools by focusing on change-risk in the diff itself.


How it works

  1. Parse the pull request diff
  2. Identify meaningful change patterns
  3. Apply deterministic rules to changed code
  4. Correlate findings with test impact where possible
  5. Output actionable findings with file paths, line numbers, and reasons

High level flow:

PR Diff -> GauntletCI -> Risk Findings -> Developer Action

Why this is different

Most tools answer questions like:

GauntletCI answers a different question:

Did this diff change behavior in a way that deserves more scrutiny?

That is where a lot of costly mistakes hide.


Examples

Example 1: New exception path

- return order.Total;
+ if (order == null) throw new ArgumentNullException(nameof(order));
+ return order.Total;

Potential finding:


Example 2: Public contract change

- Task SaveAsync(Order order)
+ Task SaveAsync(Order order, CancellationToken cancellationToken)

Potential finding:


Example 3: Logic branch change

- if (user.IsActive)
+ if (user.IsActive && user.EmailVerified)

Potential finding:


Example 4: Dependency behavior change

- await _paymentGateway.ChargeAsync(order);
+ await _paymentGateway.AuthorizeAsync(order);

Potential finding:


Where it fits

GauntletCI can run:

It works alongside:


Use cases

Catch risky changes before commit

Find behavior changes before they even leave your machine.

Strengthen pull request review

Highlight subtle risks that are easy to overlook in normal review.

Detect missing test updates

Spot logic changes that deserve new or updated tests.

Reduce avoidable regressions

Catch the kinds of “how did I miss that?” mistakes that damage confidence and reputation.


Quick start

Install:

dotnet tool install -g GauntletCI

Run:

gauntletci analyze --diff pr.diff

Then review the findings and decide which changes need additional validation, tests, or scrutiny.


Current focus

GauntletCI is actively being developed.

Current focus areas include:


Source code

GitHub repository:

https://github.com/EricCogen/GauntletCI


Get started


Final note

GauntletCI was built around a very real developer problem:

Even seasoned engineers can miss obvious risk in code changes.

This tool exists to reduce those misses before they become production problems.