How a fix is made and proven
From a problem to a change your tests prove, without anything touching your repository or your servers until people say yes.
From errors to problems#
Every place sends its errors as codes and counts. The same error from anywhere (the same type at the same innermost place in your code) is one problem, with how often, on which places and versions, and since when. An expectation that didn't hold is a problem too, though nothing crashed. Problems that come from the same cause are linked, so one fix covers them all.
What the fixer is given#
| Evidence | What it's for |
|---|---|
| Every frame, mapped back to your source (source maps) | Where it happened, outermost to innermost |
| The error code, in words, with what to do | Why it failed (http-429, play-403, 23505) |
| The steps before it | How the app got there: the route, calls out and their answers, switches |
| The shape of what failed | What the failing code was given, to write a test that fails the same way first |
| For an expectation: its name | What must hold, so the fix makes it hold rather than removing the check |
Your guide (CLAUDE.md, AGENTS.md…) and protected files | How your code is laid out, and what it must never change |
No message or value is in any of it: the fixer finds the cause in your code.
A fix, step by step#
- A copy of your code. Controxity keeps its own copy of your repository. Each fix gets a new branch in it. Your repository isn't touched.
- Your tests, before. In a throwaway container,
installruns, the network goes off, and your tests run on today's code, so Controxity knows what already fails. - The AI works. Claude Code (or another tool you choose) reads the problem and its evidence (above) and your guide, writes a test that fails the same way, and changes the code. It's told what it must never change and why.
- The rules are checked. Every changed file is checked against your protected files and the built-in rules. A change to one is refused; a
reviewone waits for a person. - Your tests, after. A test that failed before and passes now is the proof. If nothing failed before, Controxity looks for the fix's own new test failing on the old code and passing on the new. Tests that were weakened or removed don't count.
- What you see. On Fixes: what was wrong, what changed, the proof, and a QA checklist. It's called Fixed only with proof; otherwise Changed, not proven.
From a fix to running#
A fix goes on a branch, a pull request, or straight to staging, as far as the product allows. Production waits for the yeses: see Approvals and roles. It's Released when it ships with a version, and Running when a place reports that version, or a later one, or a release whose commit holds it (Releases from CI). If the problem comes back on a version that has the fix, it opens again by itself.
You can fix it yourself, or with your own coding agent, too: put Fixes code:error:… in the commit message, and it ships as that problem's fix the same way.
What it costs#
Each fix shows its AI cost. Each product, team and the company can have a monthly AI limit, which is a hard stop.