Tools

Rule 19 says standards are enforced by machines. These are the guardrails that keep our clankers disciplined. Each one is a check that a pull request has to pass before it merges.

Made by imps

  • Huff, the purple imp, purses his lips and blows two orange cards away. He keeps a third card in his hand, and his little orange robot sits at his feet on its leash.

    Deterministic · Ruby and Rails

    exhale

    No pull request merges while it leaves duplication or complexity behind.

    Agents duplicate by default, and every change adds a little complexity. exhale dry sweeps a whole Rails codebase for copied Ruby and ERB, and exhale complexity fails a pull request that leaves a method harder to follow. Anything kept on purpose is declared in the Contract, next to the reason for it.

    It serves rule 12: Simplicity: breathe in, breathe out.

    gem install exhaleexhale dryexhale complexity
  • Huff, the purple imp, grins as he swaps a plus block for a minus block in a row of toy blocks. His little orange robot jumps back on its leash, flinching.

    Deterministic · Go

    flinch

    No pull request merges while code the Contract covers can break unnoticed.

    Agents will happily write tests that pass whatever the code does. flinch breaks the code the Contract covers, one small change at a time, and fails the build when no test notices. Each catch is credited to an obligation, which gives you the kill matrix from rule 26 for free.

    It serves rule 20: Agree on the Contract, and make it executable.

    go install github.com/tools4imps/flinch/cmd/flinch@latestflinch
  • Huff, the purple imp, sits at a desk with a stern look and holds an open rulebook toward his little orange robot. The robot stands on the desk on its leash and squints at the book through a magnifying glass, next to a page of work and two stacks of papers, one marked with a green check and one with a red circle.

    Subjective · Any language

    praxis

    No pull request merges while a file breaks a convention your team wrote down.

    Some standards only a reader can check, like an error message written for the person who hits it. praxis turns a README spec into LLM reviewers that hold every file it governs to that spec, and fails the build on a violation. Verdicts are cached, so a pull request only pays to review what it changed.

    It serves rule 19: Standards are enforced by machines.

    npm install -g @zarpay/praxis-clipraxis eval ci
  • Huff looks up at a teetering tower of gears, funnels and pipes that ends in one tiny light bulb, a hand on his chin and one eyebrow raised. His little orange robot stands beside the tower on its leash, proud of it.

    Subjective · Any language

    qualm

    No pull request merges while a reviewer would ask for the change to be simplified.

    When green merges itself, something has to decide which changes still get human eyes. qualm asks Jev, TypeSafe's decision model, whether an experienced reviewer would push back on each changed file, with reasons a coding agent can act on.

    It serves rule 27: Green merges itself.

    gem install qualm   # or go install, or a binary from GitHubqualm
  • Huff, the purple imp, grins as he holds up a long scroll with three green check marks on it. His little orange robot, wearing its collar, presses a red wax seal onto the bottom of the scroll with a stamp.

    Deterministic · Elixir

    covenant

    No pull request merges while the Contract has an obligation no passing test proves.

    A Contract nobody checks drifts from the code within a week. covenant binds every contract test to the numbered obligations it proves, fails the build when one is left unproven, and publishes contract coverage. It also re-checks the premises behind decision records, writes regeneration packs, and mutates a component to show which obligation's tests notice.

    It serves rule 29: The Contract must be met, and contract coverage is published.

    {:covenant, "~> 0.2", only: [:dev, :test], runtime: false}mix covenant.check

Where they sit in a pull request

  1. The agent builds. This is the inhale. The code sprawls until the feature takes shape.
  2. covenant holds the code to the Contract. Every obligation needs a passing test that proves it, and the coverage gets published.
  3. exhale checks for copies and complexity. The answer is the same every time. A copy, or a method that got harder to follow, either has a reason in the Contract or gets cleaned up.
  4. flinch breaks the code on purpose. One small change at a time. Any break the Contract's tests sleep through blocks the merge.
  5. praxis holds the change to the house rules. LLM reviewers check each file against the conventions your team wrote down.
  6. qualm asks for a second opinion. Would a reviewer push back on this change? If so, the agent gets told what to fix.
  7. Green merges itself. Human eyes are saved for the changes that could do real damage.

The full directory

Our tools are only four of hundreds that can be useful to Imps. The directory sorts 539 guardrail tools by what they watch, with a place to start for each stack. Tools that have gone quiet sit in a fold at the bottom of each section.

Know a tool we're missing? Suggest it.