Skip to content

Docs

Keep your app's business rules linked to the code that enforces them

A rule your coding agent cannot see is a rule it will break. “A customer sees only their own orders” or “a refund never exceeds what was paid” usually lives in the owner's head and in a few lines of code nobody points to. A rulebook writes each rule down in plain words and links it to the exact lines that keep it true, so the agent knows which rules a change touches before it makes the change.

What a rulebook holds

Write it now (free, no account)

In the repository, ask your coding agent (Claude Code, Codex, Cursor):

Follow https://pariter.ai/docs/rulebook.md to write this app's rulebook.

The agent reads the code without running it, on your own assistant, and needs no account. “Enforced” means it saw the line that refuses the wrong person or the wrong value; it never guesses. It asks you up to five plain questions about rules it is unsure of, then commits the files and the block on a branch for you to review. You correct the rules in plain words: you know the business, the agent only knows the code.

Keep it current

Ids never change, so a rule keeps its history when its code moves. When a change alters a rule on purpose, the agent updates both files in the same change. To refresh after a lot of changes, ask it to follow the method again: it keeps each id, updates the links and marks a rule the code no longer has as retired. Before a change, the same file has a self-check:

Check this change against RULES.md the way pariter.ai/docs/rulebook.md describes.

The self-check is done by the agent that wrote the change, which is the one most likely to miss what it broke. See checking an agent's changes for what an independent check adds.

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.