Skip to content

For teams shipping with coding agents

Keep control of what your agents build

Agents write code faster than anyone can review it. Intentset writes down what your product is supposed to do, in short files beside the code, and stops a change in CI when the code moves and those files do not.

See how it works Get started


The problem

A change can pass every check and still change the product

An example

Your shop's password reset links work for one hour. Customers write in that their link has already expired by the time they click it, and an agent is asked to fix it. It finds the one-hour limit, raises it to 24 hours so that links don't run out before people get to them, and updates the test that expected one hour. The complaints stop, the tests pass and CI is green. The pull request says it fixes expired reset links, which is true, and it is approved.

Nobody decided that a reset link should last a day. How long a link into someone's account stays open is a security decision, and it was made as a bug fix. The only trace of it is one number in the diff.

Nobody made a mistake here. Every change makes small decisions about what the product does. When people wrote the code, those decisions passed through someone who knew the product. Now an agent makes them, and writes the tests that check them, in the same change. Green CI tells you the code does what the tests say. It cannot tell you whether anyone meant the product to change.


How it works

Write the promise down, and let CI hold the code to it

  1. Write down what the product promises. Each promise is a short Markdown file under product/, kept in your repository and reviewed in the same pull request as the code. Your agent drafts it, often from code you already have, and a person approves it. This is the shop's rule, without the header your agent fills in:

    # Reset links expire after one hour
    
    ## Constraint
    
    A password reset link stops working one hour after it is sent.
    
  2. Say which code keeps it. The records name the code that delivers each promise, so Intentset knows which promises a change to that code can affect.

  3. Check every pull request. When code changes and the records that describe it do not, CI fails and says why:

    ### SLICE-ACCOUNT-RESET: Password reset
    
    - Not acknowledged: update the records below, or say in a commit that no behavior changed.
    - Code changed: src/features/accounts/reset/policies/link-expiry.test.ts
    - Code changed: src/features/accounts/reset/policies/link-expiry.ts
    - Records describing it, none changed: ADR-RESET-LINK-LIFETIME, BEH-RESET-PASSWORD, RULE-RESET-LINK-EXPIRY, RULE-RESET-LINK-ONCE, SCN-RESET-EXPIRED, SLICE-ACCOUNT-RESET, TEST-RESET-LINK-EXPIRY
    

    Real output of intentset review --fail-on-drift on the example above, trimmed to the part that failed.

Now the change has to say what it means. If reset links really should last a day, the agent updates the rule, and the reviewer reads one line before any code:

-A password reset link stops working one hour after it is sent.
+A password reset link stops working 24 hours after it is sent.

If nothing the product does changed, as in a refactor, a line in the commit message says so. Either way, a person sees the decision in plain words before it merges.


What it is

Plain files, and a command that checks them


Start with one feature you already have

An agent writes down one feature from your code and tests. You review what it wrote and see what it finds.

Get started See how it works