Docs
Check a coding agent's changes against your app's business rules
A check needs rules to check against. A code reviewer can tell that a change is tidy; it cannot tell that “only an admin issues refunds” stopped being true unless that rule is written down and linked to the code that keeps it. Most apps built with a coding agent have no such list, so the first step is the rulebook, and every later step reads it.
1. Write the rulebook (free, now, no account)
Ask the agent, in the repository:
Follow https://pariter.ai/docs/rulebook.md to write this app's rulebook.
The agent reads the code without running it and writes RULES.md (a table of rules in plain words, each marked enforced, partly, not enforced or unclear, with the worst gaps first) and .pariter/rules.json (each rule with stable ids and the file and lines that enforce it). It adds a short block to CLAUDE.md or AGENTS.md so every later session reads the rules before changing code. You correct the rules in plain words; you know the business, the agent only knows the code.
2. The self-check before each change (free)
The same file has the self-check: the agent finds the rules whose code a change touches and says, for each, that it holds, changed on purpose, or broke, pointing at the line and giving the smallest fix. Ask:
Check this change against RULES.md the way pariter.ai/docs/rulebook.md describes.
3. An independent check on every push
A self-check is useful, but the agent that wrote a change is the one most likely to miss what it broke, and it only runs when someone asks. Pariter's connector, a remote MCP server at https://pariter.ai/api/connector, checks a push to the repository you connect by a separate model run that never sees the author's reasoning, and emails you once when a rule breaks, with the rule, the evidence and the fix. The connector is open to anyone: one proof push is free, and the check on every push is not on sale yet. See the docs to add it, and what it reads and keeps.
Also worth doing
- Turn the most important permission rules into tests that run on every push: user B tries to read or change user A's record and must be refused. See checking after every deploy.
- Watch for a change that edits a test and the code it tests at the same time.
What Pariter does
Pariter checks every change to your code against your app's business rules and tells you and your coding agent when one breaks. The rulebook and the self-check are free now, with no account: pariter.ai/docs/rulebook.md. The independent check on every push runs through Pariter's connector (add it): one proof alert is free, and the check on every push is not on sale yet. Leave your email and your app's address to hear when it is.