The tools

Five tools. One job each.

Each tool can be said in one sentence, and each works without the others. Together they keep one rule: what is judged cannot touch what judges it.

Read the framework

Open source, on npm as promptwheel

PromptWheel

It says whether a change made a number better, by measuring before and after.

You name a number that matters: tests that pass, a build size, a score. PromptWheel reads it before the change and after. It says when the change made something worse, and when a number moved only because the thing that measures it was changed. No model judges.

Where it keeps the rule: Change time. The agent cannot reach the tests, the graders or the rules of the check.

Part of PromptWheel, as promptwheel improve

PromptWheel's loop

It tries changes one at a time and keeps only the ones that measure better.

An agent makes a try in a copy of your code. Only its files come back. The keep step holds the try against the best so far, keeps it or puts it back, and writes the try down either way. The agent cannot edit that record.

Where it keeps the rule: Loop time. The agent cannot reach the record of tries, the number to beat, the gate or git's own files.

Open source, on npm as sawbuck, and a Claude Code plugin

Sawbuck

It checks that a passing test was earned, not gamed.

When your agent says it is done, Sawbuck runs the tests again from the code changes alone. A green that came from editing a test, a grader or a config does not count. It also writes down the rules you keep repeating, in your own words, where the agent reads them.

Where it keeps the rule: Change time, inside your agent's session and on every pull request.

Open source, a Claude Code plugin

Logbook

It turns a repo's git history into memory an agent can use.

What was tried here before, what was undone and why, where the code keeps breaking. A new session reads it before it touches the file, so it does not make the same mistake a second time.

Where it keeps the rule: It keeps no part of the rule by itself. It gives the agent what the judge already knows.

Open source, a Drupal module

MCP Tools

An AI agent can run a Drupal site through tools, inside rules you set.

Tools for content, structure, menus, users and more, served over the Model Context Protocol. A policy layer decides what a call may do: scopes, a read-only mode, limits and an audit log. The agent cannot change any of those.

Where it keeps the rule: Run time. The agent cannot reach its own permissions, its limits or its audit log.

In our own use, not released

Two more tools run in our own work every day. They are not packaged for anyone else yet, so there is nothing to install.

  • A reader of failed runs. It reads every failed run and says why, counted. On 33 failed runs it gave the same cause as a reading by hand for 31.
  • A lock for a shared graphics card. It lends the card to one job at a time, writes every loan down, and shows who used the card without one.

What our own runs found