Compares two states
The baseline is an input, not an assumption. AIDetent judges each commit against the version your owners approved, not against the working tree alone.
AIDetent // by DigitalExprt Inc.
AIDetent compares a sealed baseline of your specification files (tests, config, CLAUDE.md, spec documents) against every proposed commit. It blocks the merge when a guarantee was weakened or a protected file was edited without owner approval.
Built for banks, insurers, healthcare providers, and government agencies, where every edit to the rules a system runs under has to be approved and recorded.
Promo reel
What AIDetent catches, how the check runs on every pull request, and how an owner approves an exception for one exact edit.
The gap
An AI coding agent aims at one target: a passing run. Give it a red test and a loose instruction, and it can reach green by editing what the test expects instead of what the code does. Then it reports that everything passes.
The tests are green. The guarantee is gone. Your pipeline asks whether the tests pass, and nothing in it asks whether these are still the tests your team agreed to.
The same failure reaches past tests. An agent that edits CLAUDE.md, a spec document, or a directive file is editing the instructions that every later round of code generation follows.
Inside AIDetent
AIDetent runs one operation. It takes the sealed baseline and the proposed commit, classifies every protected artifact, applies the exceptions your owners approved, and reports a verdict for each artifact with its location.
The baseline is an input, not an assumption. AIDetent judges each commit against the version your owners approved, not against the working tree alone.
A guarantee can be strengthened, preserved, weakened, removed, added, or incomparable. For executable artifacts, only weakened and removed block the merge.
No program can decide whether one paragraph is weaker than another, so AIDetent does not try. Any edit to a protected prose file without an authorized exception is blocked.
AIDetent detects, blocks, and explains. It does not rewrite code or prose, and it does not feed fixes back to the agent.
What it guards
Every protected artifact goes through the same check. The tier decides what kind of verdict AIDetent can give, not whether the artifact is guarded.
| Tier | Artifacts | Verdict |
|---|---|---|
| Executable | Test files: assertions, matchers, input domains | Strengthened, preserved, weakened, removed, or added, decided automatically |
| Structured | Config, deny rules, thresholds, front matter | Graded where the semantics allow it, incomparable otherwise |
| Prose | CLAUDE.md and other prompt, spec, and directive files | Sealed. Any edit without an authorized exception blocks the merge |
Local
Checks staged edits in a second or two, before the commit exists, and stops Claude Code before it writes to a protected file. Developers can skip local hooks, so this tier gives an early warning, not enforcement.
CI
This is where AIDetent enforces. Set it as a required status check, and a pull request cannot merge while AIDetent blocks it.
Regulated industries and government
Banks, insurers, healthcare providers, and public agencies already have to show who approved each modification to the systems they run, and why. AI coding agents now commit faster than any review board can read line by line.
An agent that loosens a test or rewrites a spec file to get past a failing check leaves no approval behind. The gap shows up months later, in an audit or an incident review, when it is hardest to explain.
An exception authorizes a single exact edit: the file, its baseline seal, and its candidate seal. It cannot be reused for a later edit.
The exceptions file sits under CODEOWNERS review, and the list of protected files is itself protected by AIDetent.
A missing or unreadable manifest or exceptions file blocks the merge instead of letting it through.
Each verdict names the artifact, its location, and the reason, as plain text or as JSON for your records.
AIDetent supports the approval and segregation-of-duties controls your auditors already test. It is not a compliance certification.
Release plan
AIDetent is built test-first, one release at a time. We list only what each release does today or is scheduled to do.
Source and release notes: github.com/alexbunardzic/aidetent. The GitHub Action: GitHub Marketplace.
Release 0.1 // Released
Sealed prose files, owner-approved exceptions, rename
detection, CLI, pre-commit hook, and GitHub Action. Release
0.1.2 adds a Claude Code PreToolUse hook that
stops the agent before it writes to a protected file.
Release 0.2 // In development
Graded checks for .claude/settings.json deny rules,
Jest coverage thresholds, tsconfig strict flags,
and ESLint rule levels.
Release 0.3 // Planned
A mutation-score gate in CI (StrykerJS), scoped to the test files a pull request touches, followed by assertion-level grading of test files.
Early access
AIDetent is a commercial product, sold by subscription. We are onboarding a small group of early-access customers, with priority for regulated and public-sector teams. Any team running AI coding agents on repositories with CLAUDE.md, spec documents, and test files is a fit.
Advisory services
For organizations that want help beyond the tool, DigitalExprt still offers the advisory practice it was founded on: diagnostics, delivery architecture, pilot teams, and workshops on AI-assisted delivery.
Surface the hidden risks, false assumptions, and delivery bottlenecks that AI is already accelerating inside the business.
Reconnect engineering choices to business outcomes so the system can change safely without constant crisis management.
Prove the new operating model on a high-leverage team before scaling it across the wider organization.
Give CTOs and VPs of Engineering a pragmatic sparring partner for navigating architecture, delivery risk, and AI adoption.
Bring practical refactoring, TDD, and AI-quality thinking into the room without hype or empty futurism.
Install quality, safety, security, and accountability into the way work moves, not just into the policy deck.
Pressure test
Move the controls to see which advisory engagement fits the pressure in your delivery system.
Advisory operating model
Advisory engagements follow three stages: make the drag visible, prove a better motion in a real team, then institutionalize the discipline.
01
Map the pressure points across architecture, team behavior, product flow, and AI usage so leadership can see the real shape of the problem.
Outcome: boardroom-visible risk and direction.
02
Apply TDN, test-first thinking, and focused coaching inside a pilot team to create a credible, repeatable success pattern.
Outcome: a lighthouse result with lower blast radius.
03
Embed governance, leadership habits, and engineering standards so AI adoption improves the system rather than accelerating its decay.
Outcome: durable velocity instead of temporary heroics.
Guild alignment
Alex Bunardzic is Founder & President of the AI Craftspeople Guild, which advocates a professional code of conduct for engineers who use AI to build automated solutions. AIDetent puts one of the Guild's positions into a tool: AI output gets checked against what humans approved.
Read the Guild siteExplore what AI makes possible without confusing novelty with value.
Reject half-tested output and insist on disciplined verification.
Design the harness, guardrails, and accountability before scale arrives.
Preserve agency, psychological safety, and human-centered responsibility.
Leadership
34+
Years of founder experience designing and delivering software
TDN
Test-Driven Navigation, created by Alex Bunardzic
2021
Organizer of the first International TDD Conference
ACG
Founder & President of the AI Craftspeople Guild
Contact
Write to us about early access, pricing, a call with the team, or advisory work.