IntentiAI

Check what your coding agent changed before you push

Coding agents finish the way they were told to: tests green, task marked done. Ship Check reads everything you have not pushed yet and tells you, in plain words, what a passing run hides, from deleted assertions to a migration that breaks the version of your app that is still running, and what to do before you deploy.

npx intentiai

Runs on your machine and never uploads a line of your code. intentiai check is the same command under its older name. Works after any agent, or any person.

What it looks like

$ npx intentiai

  3 files · +118 −4 · 5 functions · touches 2 settings
  Reviewed: your work that is not pushed yet

  This change has 2 things to fix before you push.

  What to fix:

  • Fix now: Anyone can fake a payment and get the pro plan free
    Check that each payment message really comes from Stripe
    before acting on it.
    Also breaks your check: Payment events are trusted only
    after Stripe's signature is checked

  • Fix now: 3 checks were removed from the payment tests
    Put the checks back, or say why they no longer apply.

  • Fix soon: A scheduled job now runs 288 times more often
    Confirm the new schedule is intended.

  Before you push: 2 things to do
   - Add STRIPE_WEBHOOK_SECRET in Vercel: Project → Settings →
     Environment Variables (Production and Preview).
   - Run the database change in 0007_add_plans.sql on your
     live database before you deploy.

  Your checks: 1 failed, 1 passed
   - Failed: Payment events are trusted only after Stripe's
     signature is checked. See: Anyone can fake a payment
   - Passed: Every new API route checks the user's plan

  Reviewed by your Claude Code in 95s.
  Fix these before you push. Full report: .intentiai/report.html

Example output. Open a full sample report.

What it checks

Your own agent as a second reviewer

When Claude Code, Codex or Gemini CLI is installed, every run hands the change and the findings to it, read-only. It confirms or disputes each finding with a reason (a disputed one stays on the list), reports problems the deterministic checks cannot see, and adds to the list of what to do before you push. Add --fast for the checks alone. --thorough adds a second pass over the existing code the change can break and runs your project’s own tests, and intentiai new also reviews a new feature’s design and gives you prompts to improve it. See the docs for every mode, supported agents and running it automatically after every task.

Modes and time limits

ModeWhat it doesTime limit
Fast --fastBuilt-in checks and cost rules only, no AI review. Takes seconds.1 min
NormalBuilt-in checks, cost rules, the app map and one AI review of the change.6 min
Thorough --thoroughEverything in normal, plus a second AI pass over the existing code this change can break, every AI call in the repository, and your project's own tests.15 min
New feature newEverything in thorough, plus a feature review: does it fit the codebase, is the database design sound, is there a better way to build it.20 min

The time limit is hard, and it is the same number --help prints and the report shows. Each step gets what is left of it. A step that would not fit is skipped, and the report lists what was skipped and why. The report and the terminal say how long it took, for example “Took 3 min 58 s of its 20 min limit”.

Thorough and new mode also build your app once when it fits in the time left, and record each page’s size (the JavaScript each visitor downloads for it) so the next run can compare. When the build ran and passed and the tests ran and passed, the report shows a “Built and tested” badge. When the build would not fit in the time left, it is skipped and the report says why.

Before you push

Every report ends with a list of what the change needs outside the code: migrations to run in every environment, rows the code now looks up, new environment variables, webhooks and sign-in providers to register, scheduled jobs and storage buckets your host must know about, and a lockfile to commit. Each item says where to do it: when your project is on Vercel, Netlify, Fly.io, Render or Railway, it names the settings page there. The fixed checks write the list; your agent adds what they cannot see.

Your own checks

Put one plain-language check per line in .intentiai/checks.md, or run npx intentiai remember "Every new API route checks the user's plan". Your coding agent checks each one on every run and reports it as passed, failed or not applicable. When a failed check is about the same code as an issue, it is shown on that issue as “Also breaks your check”, so you fix it once. See the docs.

How it stays honest

It is built to be right when it speaks, and to say plainly when a check could not run. Every finding quotes the real line it is about, in the report on your computer. Anything your agent adds is kept only if the line it quotes exists where it says, and is labelled as found by your agent.

Questions

Which coding agents does Ship Check work with?

Any of them. It reads the git diff, not the agent, so it works the same after Claude Code, Codex, Cursor, Copilot or a human. It can also run automatically when an agent finishes a task.

Does it use an LLM?

Yes, your own. The checks themselves are deterministic and run offline. Then, if Claude Code, Codex or Gemini CLI is installed, it reviews the change read-only (on a subscription this costs nothing extra; with an API key it uses your API credits): it confirms or disputes each finding, adds what the checks cannot see, and fills in what to do before you push. Add --fast for the checks alone, or --thorough for a second pass over the existing code the change can break, plus your own tests.

What does it review?

Everything not yet pushed, committed or not: the commits your remote does not have yet, plus staged, unstaged and new files. With no remote, it reviews what changed since your last commit. --base main compares against a branch instead, and --base HEAD reviews uncommitted work only.

Does my code leave my machine?

No lines of your code are uploaded. Each run sends its result to your free account, grouped by project: names, file paths, line numbers, plain sentences and counts. The code each finding quotes, the output of your tests and the values of your settings stay in the HTML report on your machine, and whole files, the diff and your git history are never sent. --private replaces every name from your project with a made-up one before upload; --local uploads nothing. The AI review runs in your own coding agent, which sends the change to its provider (Anthropic, OpenAI or Google) under your account, as it does whenever you code with it. --no-agent turns that off.

What can it not catch?

Mistakes about meaning, such as a condition applied to the wrong users or a subtly wrong default. A model reviewer catches more of those, which is why your coding agent reviews every run by default.

Ship Check: review AI-generated code before you push | IntentiAI