AI writes the code. Who checks it?

  1. 8 months

    For eight months I built a product together with an AI agent. It wrote the code, I set the tasks. Five or six changes went out every day. I could not read them all.

  2. one day

    One day a single line got into the code. The tests passed. And on older iPhones the page stopped opening. I learned about it from error reports.

  3. then

    That is when I understood a simple thing. Telling an agent to “be more careful” does not work. You need a check that catches such a mistake by itself, before people see it.

  4. today

    Today I have 23 sets of such checks. I can set up the same in your project. In five working days.

20 minutes on a call. Your code stays on your screen. The button opens Telegram, @K_Damiroff.

checks1 failing
  • Should CI run?
  • Guards1 violation
  • Tests + buildskipped
  • Integrationskipped
GuardViolation: 1 violation: every API route checks the session

  app/api/orders/export/route.ts  [require]  does not call requireUser(request)

What to do: call requireUser(request) first and return its response when it fails,
or add the route to `allow` with the reason it is public.
checks4 passing
  • Should CI run?
  • Guards
  • Tests + build
  • Integration

All checks have passed

This is what a caught mistake looks like. The check names the file and says what to write instead.The mistake is fixed. The check is green, and the tests and the build run next.

What I do

First I find the places where a mistake is expensive. Usually there are three.

  • Money

    an example of a check

    No invoice goes out without a person's confirmation.

  • Access

    an example of a check

    Every page first checks that the person is signed in.

  • Personal data

    an example of a check

    When something breaks, other people's data is shown to no one.

For each place I set up a check. It is simple: it reads the code and looks whether the rule is kept. The agent forgot, and the check goes red. Your team sees it right away, not from a customer.

The check does not care who wrote the code: a person or an agent. It runs on every change. And it does not get tired.

I work with an agent too, and I say so openly. It reads your code. I check every one of its findings. And I answer for the report.

Who needs this

Come to me if

  • an AI agent writes most of your code, and you cannot read everything it brings;
  • the product handles money, access rights or personal data, and a mistake there is expensive;
  • you are the founder, the CTO or the developer who presses “merge”;
  • the project is written in TypeScript and lives on GitHub. My ready-made checks are built for them.

Not for you if

  • you need someone to build features or fix the code for you. I find the problems; what to change is your decision;
  • you need tests that click through the site by themselves, load testing or a penetration test. I do not do those;
  • you use another language or another home for your code. Write anyway: in 20 minutes we will see whether the approach fits.

What you get in five working days

Four things. All of them stay with you.

  • report

    A list of dangerous places

    Where an agent can break money, access and personal data. For each place: the file, the line and what is wrong.

  • test/guards

    Checks that already work

    They run by themselves on every change. Fast ones first, slow ones after. Old problems are not all fixed at once: we count them and set a rule, “fewer is fine, more is not”.

  • CLAUDE.md

    Rules for your agent

    A short file the agent reads before every task. And a check that runs before the code is even sent.

  • 90 days

    A 90-day plan

    What to add next, who is responsible, and which numbers show whether things got better.

I fix nothing and merge nothing without your yes. A red check is a question for your team: fix it, or write down why it is allowed here.

How it goes

First, free

  1. You install the free plugin

    Three commands. The plugin writes the first checks for your project and shows what they found. How it works.

  2. We talk for 20 minutes

    You share your screen with the findings. I do not see your code and do not ask for access. We decide whether you need the paid work. If the plugin is enough, we stop there.

Then the paid work: five working days

  1. We sign an agreement, you give access

    The agreement covers confidentiality and which AI reads your code. I need access to one project, for a week. I work in GitHub's cloud, next to your code. I do not copy it to my computer.

  2. The agent reads the code, I check the findings

    We look where a mistake costs the most: payments, access, personal data and what your own AI is allowed to do. Every finding is a check that fails on your code. You can run it yourself.

  3. The checks come to you for approval

    Not straight into the code, but as proposals. Your team reviews and accepts them.

  4. I hand everything over

    The list of dangerous places, the rules for the agent and the plan. You close my access, and the cloud environment is deleted with it. The checks stay as ordinary files in your project. There is no subscription.

What it gave me

I do not promise numbers for your team. Here are mine. Catch Club is a platform for paid Telegram communities. I built it alone, with the Claude Code agent, from 14 March 2026 to 7 November 2026. The agent wrote most of the code.

  • 1,373changes accepted into the main code in eight monthsGitHub
  • 15,826tests pass on every changecheck run 42307651951
  • 0times in 30 days the checks failed on the main version of the codeto 9 November 2026
  • 166tests on a real database
  • 23sets of checks for the main rules
  • 26 min 12 sis how long the full check of one change takes
  • 445klines of code, tests not counted
  • 5.7%of check runs in 30 days were red, all of them in drafts
  • 97.4%of code changes came with a change to the tests
  • 15 minis how long a check usually takes
  • 161changes accepted in the last 30 days

The check runs in 30 days, to 9 November 2026

Every run that finished: 247 green and 15 red. Each dot is one run.
Runs on the main version of the code: 147 green, none red.

What these numbers do not say

  • This is one person's experience. A large team needs the same system set up differently: every check needs an owner.
  • I have no tests that click through the site by themselves. I check the Telegram screens by hand, with a list.
  • I do not yet count separately the mistakes that did reach people.

Every number, where it comes from and how to check it again is on the numbers page.

Price

What the price includes

  • A list of dangerous placesincluded
  • Checks that already workincluded
  • Rules for your agentincluded
  • A 90-day planincluded
  • The cost of the AI agentincluded

Total$2,000

for five working days: the audit and the setup in one project

  • The free 20-minute call comes first. It commits you to nothing.
  • The price does not change along the way. If there are several projects, we agree on the price before the start.
  • The plugin stays free.

Questions

Who reads our code: you or an AI?
An AI agent, Claude Code. I direct it, check every finding and answer for the report. A finding is not the model's opinion. It is a check that fails on your code. You can run it again and see for yourself.
Will our code go to the company that makes the AI?
Yes, to Anthropic: the agent is their Claude Code. It runs under my commercial account, not a personal subscription. On those terms your code is not used to train models, and our agreement says so. If that is not allowed for you, the agent runs under your account. What Anthropic does with the data.
What access do you need?
To one project, for a week: to read the code, see the check results and propose changes. I do not need access to the live site or your passwords. I work in GitHub's cloud, next to your code, and do not copy it to my computer. You close the access, and the cloud environment is deleted.
Can it be done with no access at all?
Yes. Then your developer runs the agent on their own machine, under your AI account. I lead over a call and check the findings on a shared screen. It takes your developer's time.
Do you sign an NDA?
Yes, before I see any code. Confidentiality is in my agreement. If you have your own NDA, send it. The first call does not need one: I do not see your code.
Will you change our code?
No. I add checks and rules for the agent, and only as proposals your team accepts. If a check is red, that is a finding. Whether to fix it or record an exception is your decision.
How is this better than an AI bot that reviews code?
A bot gives an opinion. One today, another tomorrow. A check gives the same answer for the same code. And the rule is written down in your project, where everyone can see it. The two do not get in each other's way.
What if we do not use Claude Code?
The checks do not care who wrote the code. They work with another agent and with a person. The plugin is made for Claude Code, but the same setup can be done by hand in about 15 minutes.
Do you guarantee there will be no mistakes?
No. A check catches the kind of mistake it was written for. Each one says honestly what it cannot see. But a mistake that already happened gets a check of its own. Next time the check catches it.
What if we only install the free plugin?
It writes the first checks for your project, runs them and shows the findings. It fixes nothing and saves nothing without your yes. If that is enough, you do not need the paid work.

Kamil Dashdamirov

Engineer, author of mainstay

My name is Kamil Dashdamirov, I am an engineer. For eight months I built Catch Club alone. It is a platform for paid Telegram communities: an owner's dashboard, bots, mini apps, payments and AI agents. Most of the code was written by the Claude Code agent.

To keep it from falling apart, I put together a system of checks along the way. Then I moved it into an open project, mainstay. It is free.

This service is the same system, set up for your project.

In short

Kamil Dashdamirov audits projects where AI agents write the code and sets up automatic checks in them: they run on every change and catch mistakes in money, access and personal data.

Service
Audit and setup of a quality system for AI-assisted development, done by Kamil Dashdamirov in the client's project.
Who it is for
Founders, CTOs and developers whose code is written by AI agents.
What the client gets
A list of dangerous places, working checks, rules for the agent and a 90-day plan.
How long it takes
Five working days.
Price
$2,000 — for five working days: the audit and the setup in one project
How the work is done
The code is read by an AI agent, Claude Code. Kamil Dashdamirov directs it, checks every finding and answers for the report.
Where the code stays
In a GitHub cloud environment next to the client's project. The auditor does not copy the code to his own computer.
AI provider
Claude Code sends the code to Anthropic under the auditor's commercial account, where it is not used to train models. The agent's cost is included in the price. On request the agent runs under the client's account.
Free part
mainstay, an open set of checks under the MIT license and a plugin for Claude Code. It installs with three commands.
Where it was tested
Catch Club: one engineer and Claude Code in eight months, from 14 March 2026 to 7 November 2026; 15,826 tests, 166 tests on a real database, 1,373 accepted changes.
Technology
The ready-made checks of mainstay are written for TypeScript, Vitest and GitHub Actions.
How to start
With a free 20-minute call: write to @K_Damiroff in Telegram.

Facts checked on 23 November 2026.

Start with 20 minutes

Tell me what your project is and what the agent writes in it. On the call you show what the plugin found. Then you decide.

20 minutes on a call. Your code stays on your screen. The button opens Telegram, @K_Damiroff.