Repository coherence assessment

Your code, tests and documentation may no longer agree.
The agents writing your code can’t tell which one to trust.

When a document contradicts the code, an agent believes the document. An out-of-date one is worse than no document at all. We find those contradictions, tie each to the evidence behind it, and rank what to fix first.

  • Read-only access
  • Code deleted after analysis
  • Anthropic & Voyage AI
  • Details
01 — The problem

Three departments. Three sets of books.

Accounting, the warehouse and sales each keep records that are neat, internally consistent and confidently maintained — and have quietly stopped agreeing with one another. Nobody lied. And yet no decision can be made on any of it, because nobody knows which version is true.

This is what has happened inside a great deal of software over the past two years.

Book one
The product itself

What the code actually does today, read module by module.

Book two
The checks that prove it works

What the suite still asserts — and what it quietly stopped covering.

Book three
The documentation

What the specs promise your team, your client and your agents.

A developer treats the documentation as a hint and the code as the truth. An agent treats the documentation as the truth. When a developer gets it wrong, someone catches it in review - when an agent gets it wrong, the mistake is already in the codebase.

What that looks like in practice

The repository carries a reviewed specification saying a refused charge returns one of three outcomes. A fourth was added in code eight months ago, and the specification was never updated. The agent builds the retry logic from the specification — the fourth outcome falls through every branch it wrote, and the tests it wrote from the same specification pass.

It rarely arrives described as a technical problem.

It usually arrives described as a people problem, or a planning problem.

01

Output is up, but delivery is no more predictable than before. Estimates miss more often, not less.

02

Small, routine changes cause surprising breakage somewhere unrelated.

03

New developers take longer to become productive than two years ago — despite there being more documentation than ever.

04

Two or three senior people are the only ones who really know how things work, and the queue behind them keeps growing.

05

Those seniors spend most of the week checking other people’s work, while a growing share of changes ships unread.

06

If a client, a regulator or a buyer asked “what condition is this system in?”, producing an honest answer would take weeks.

None of these is a measurement. They are the shapes this usually arrives in — if several are familiar, there is something to go and look at.

02 — The evidence

An out-of-date document is worse than no document at all.

Not our opinion. Measured by independent researchers across models, harnesses, corporate repositories and agent-written pull requests.

How often an agent wrote a coding convention the better way, by the written standard it was given:

Standard agrees with the code
100%
No written standard, only the code
33%
Standard is out of date
0%

A stale document did not merely fail to help. It performed worse than handing the agent nothing.

Replicated independently: agents followed an outdated instruction file over the code in 90% of choices (649 of 720).

Preprint · Mohammadi et al., The Working Set of a Coding Agent: Coherence Debt in Repository-Scale Tasks, 2026 — 3,385 decisions, ten trials per condition.

Preprint · Xu & Wu, Stale Instruction Files Override the Code in Coding Agents, 2026 — 40 Python projects, two agents.

Of the AI instruction files that teams committed to their repositories, the share committed once and never changed again:

73.8%

The code keeps moving. The instructions your agents read stay as they were first written.

ASE 2026 · Denisov-Blanch et al., A Few Pages of Markdown, 2026 — 441 corporate repositories, about 14 months of history.

Of 86,156 test-file changes in pull requests written by coding agents, the share with weak or no explicit checks of the result:

80.2%

A passing test is not proof that the behaviour is checked. No build failure will ever point at the gap.

IEEE AITest 2026 · Banik, Chowdhury & Shamim, All Smoke, No Alarm: Oracle Signals in Agent-Authored Test Code, 2026 — 33,596 pull requests, 2,807 repositories.

03 — What we do

We check whether your repository still agrees with itself.

We assess the supplied repository and the engineering evidence around it — the product, the checks that are supposed to prove it works, and the documentation that describes it — comparing each against the others.

We only read what is in the repository. Where a finding depends on something we cannot see there — a service it calls, a library it relies on — the report says so and asks you to confirm it, rather than stating it as fact. Specifications committed to the repository are assessed like any other documentation.

Conventional tools
Coherence Auditor
Mostly look for defects within a single kind of artifact — the code, or the tests, or the docs
Cross-checks the sources of engineering truth against each other — code against tests, code against documentation, tests against documentation, and the code against itself
Produce a list of findings
Rate every finding by severity, with the impact and a recommended fix attached to each one
Report technical severity
Translate findings into business risk and decision options
Help a developer fix a pull request
Help a CTO, client or investor make a decision

How a finding is made.

The same pipeline runs on every repository, and the report shows its working at each step.

  1. Repository scan
  2. Per-question evidence
  3. Dimension score (0–1)
  4. Weighted category average
  5. Overall grade
Fact vs signal

A signal is something we noticed; a fact is something we checked and can point at. Only facts reach your report.

Evidence

Every finding specifies which check produced it, which files were read, and any paths that could not be reached.

Gaps

A check that could not run says so on the page, rather than passing quietly and inflating the score.

04 — What you receive

A decision-grade report, not a list of findings.

Everything below is the paid assessment.

01
Executive summary

The condition of the system in plain language, readable by someone who does not write code.

02
Critical & high-risk findings

Ranked by severity, each tied to the check that produced it, the scope it read, and how much of that evidence a tool measured rather than a model read.

03
A recorded baseline

This run’s findings and scores, kept as a fixed point, so a later assessment has something to compare against.

05 — See it for yourself

This isn't a pitch. It's a preview of what you'll actually get.

The opening page
Sample report opening page: an overall coherence grade of C, the repository’s languages and frameworks, and the Codebase Quality and Codebase Alignment dimensions with their ratings.
A couple of findings, mid-report
Sample report findings: the Security and Maintainability dimensions, each listing strengths and severity-tagged findings with an explanation of why each one matters.

Findings from a sample report, as the report writes them.

Security

Good

No hardcoded secrets or credentials in source; Azure AD config uses public client IDs only

  • Medium severity

    No automated security scanning tools (Dependabot, Snyk, Renovate, Trivy, Grype) are configured in the project

    Unpatched dependencies are the leading cause of production breaches. Without automated scanning, critical CVEs can sit in your dependency tree for months before anyone notices.

  • Medium severity

    Security headers (X-Frame-Options, Content-Security-Policy, HSTS, X-Content-Type-Options) are not configured in Nginx

    Browsers rely on these headers to enforce same-origin policies, block clickjacking, and prevent MIME-type sniffing. Without them, even well-written app code is exposed to a class of attacks that cost nothing to execute.

Maintainability

Needs Attention

TypeScript strict mode enabled, eliminating implicit any and null-safety gaps

  • Critical severity

    No semantic version tags present in git repository; package.json defines version 1.3.0 but no corresponding git tags exist.

    Without version tags there is no reliable way to roll back to a known-good state, generate changelogs automatically, or tell consumers exactly what changed between releases. Hotfixes become guesswork.

06 — Why now

The bill for the productivity gain arrives later.

The gain from AI coding tools was immediate and visible. The cost is slower, quieter, and arrives later — and for many teams it is arriving right about now.

The best time to check your system's condition is before someone else has to ask.

07 — Fair questions

What people ask before they say yes.

“We already have code review, and we use good tools.”

Both look at one change at a time. A change can be individually correct and still push the system further out of alignment — that is exactly how this problem accumulates. Nobody is currently looking at whether the whole thing still hangs together, because it is not any one person’s job.

“Our tests pass.”

That is worth checking rather than assuming. One of the most common findings is a test suite that is green because it is testing a copy of the same mistaken assumption the product contains. Passing tests prove consistency. They do not prove correctness. It is common in agent-written code: in 86,156 test-file changes from agent pull requests, 80% carried weak or no explicit checks of the result (Banik et al., 2026).

“Can’t we just run an AI tool over the repository ourselves?”

For one class of defect, no — and it is the class that matters most here. Coding agents work by running the suite and fixing what fails, so a test that passes while no longer checking anything never enters their loop. Measured on 314 project-level tasks, agents identified stale-but-passing tests far less reliably than tests that plainly fail: an F1 score of 36% against 60% (TEBench, 2026, Java projects). You also get the prioritisation, and the fact that it comes from outside the team that built the system.

“How do we know your findings are right?”

Every finding names the check that produced it and what that check actually read — which files, how many lines, and what it could not reach. Facts, signals, and assumptions are separated and labelled, and a check that could not run says so rather than passing quietly. You can go and verify any of it — that is the point of the format.

“Won’t the next model just fix this?”

We asked ourselves the same question — and the evidence says no. The issue isn't how well the model reasons or how large its context window is. A fact still works correctly even if it's placed 128,000 characters away from where it's used. But a fact that's missing or wrong will break the work, no matter how much context or token budget you give it. Making the context window bigger doesn't fix that. Better models get better at reasoning — but they can't invent facts that your repository never actually gave them.

“Isn’t this just technical debt with a new name?”

It is a specific, measurable part of it, and it now has a name outside marketing. Independent researchers (Mohammadi et al., “Coherence debt in repository-scale tasks”, 2026), cited in section 02, named and measured it: facts about a system that an agent can reach neither from its context nor from the model’s memory. Ordinary technical debt slows people down. This particular kind misleads machines that are writing your code.

“Do you look at our specifications and tickets?”

Specifications, yes, when they are committed to the repository: a spec checked in beside the code is documentation, and it is compared against the code like any other document. Tickets and pull-request descriptions are not, because they live in a tracker rather than in the repository — and we would rather say so than imply otherwise. Ticket-to-code and PR-description-to-diff are the next modules on the roadmap; they are the largest remaining gap and we know it.

“We’re not really using AI that heavily.”

Then this is a legacy assessment rather than an AI one, and it works the same way. Drift between code, tests and documentation predates AI by decades. AI-assisted development has simply made it accumulate faster.

08 — Who does this

Who is behind the audit.

WaveAccess

A software engineering company with 25+ years in complex delivery, project recovery, legacy modernisation, AI, and enterprise projects.

Las Vegas, USA
Rochester, UK
Copenhagen, Denmark
Oslo, Norway
Karlsruhe, Germany
Rheine, Germany
Yerevan, Armenia
Tbilisi, Georgia
09 — FAQ

AI, data and access.

Which AI does the analysis?

Claude models from Anthropic read the repository and reason about it. Voyage AI turns code and documentation into search vectors, so each check finds the files it needs.

Is our code used to train AI models?

No. Our Terms forbid using your repository for model training, benchmarking or unrelated marketing, Anthropic’s commercial terms exclude training on the content we send, and our Voyage AI account is opted out of data retention, so Voyage keeps nothing it could train on.

Where is our code processed?

The application and its data are hosted in the EU, on Hetzner servers in Falkenstein, Germany. For the analysis, repository content is sent over TLS to Anthropic and Voyage AI in the United States, under EU Standard Contractual Clauses. Nobody else receives it.

How long do you keep our code?

The repository itself is deleted from our servers as soon as the report is ready. Without a subscription, nothing else is kept: the analysis cache is deleted with the job. With a subscription we keep an analysis cache for each repository, so repeat audits are faster and cost less: the model's answers, which can quote your code, and search vectors of code fragments. A cache entry not used for 90 days is deleted, and the whole cache is deleted when the subscription ends. Anthropic may keep requests for up to 30 days for security and misuse prevention, then deletes them. Voyage AI keeps nothing. The details are in the Privacy Policy, section 5.

What access do you need to our repository?

Read-only access to one repository, and nothing in your pipeline changes. A public repository needs only its URL. For a private one you give a token that can only read: a fine-grained GitHub token with Contents: Read-only, a GitLab personal access token, or a Bitbucket repository access token. The token is stored encrypted while the run waits and is discarded when it ends. If you would rather give no access at all, upload the repository as a zip or tar archive from your account.

Do you run our code?

No. The analysis reads files. It does not build the project, install its dependencies or run its tests, and nothing runs inside your infrastructure.

Is the report written by AI?

Yes, and the report says so: AI can be wrong, so verify a finding before acting on it. To make that possible, findings are grouped under the check that produced them, and each check lists the files it looked at and anything it could not reach.

Can we sign a data processing agreement?

Yes. For business customers we process repository content under a Data Processing Agreement. Write to privacy@coherenceaudit.ai.

How do we get our data deleted?

Repository content is deleted automatically after the analysis. For anything else we hold, such as your email address, write to privacy@coherenceaudit.ai. GDPR, CCPA and the other rights are listed in the Privacy Policy.

Find out what your repository is telling everyone else.

Read-only access, no pipeline changes. Pricing on request.

Create an account and run the demo on one repository — your most critical, most AI-heavy, or most worrying. The demo is a short automated run: fewer than 20 of the audit's questions, and no human review. The full assessment comes with a subscription.

We delete your code from our servers once the report is ready. Processed by Anthropic and Voyage AI. Never used for training. Full data handling →