Quinn LottPraxon
Work

Krites

AI agent verification harness

An open-source Claude Code plugin that runs the repository’s checks itself, blocks the agent’s stop when one fails, and signs a receipt of what ran.

2026 · Node.js · TypeScript · WebGL2

Problem

A coding agent will report that the tests pass. Asking it to run them is a request it can skip.

Krites removes the request. When the agent tries to stop, a hook outside the agent loop runs the repository’s own checks and reads their exit codes. The first failure blocks the stop and goes back to the agent, up to three times in a row by default.

Execution

Four Claude Code hooks in plain Node, with no runtime dependencies. One denies the agent’s edit tools on protected paths, such as the tests. One runs the checks at every stop. One holds the agent’s commit until the last run passed on the same tree. One records the baseline each session is judged against.

Fig. 1 — the hooks, and what each one decides

A repository’s krites.toml runs nothing until a person has reviewed and approved it. The approved hash is kept outside the repository, so a cloned or changed config cannot run checks on its own.

A run exports as a receipt: each command, its exit code, the files changed, and the commit, signed with Ed25519. Tokens, passwords, and home-directory paths are scrubbed first. One dependency-free file verifies a receipt offline.

Krites banner: the line “Don’t ask your agent to run the tests. Force it.” beside a signed receipt listing four cargo checks, each exiting 0.
Fig. 2 — a receipt: commands, exit codes, verdict, signature

The site at krites.dev draws its figures in hand-written WebGL2, with zero Three.js.

The krites.dev homepage: a serif headline, an install command, and the pixel-grid K mark on black.
Fig. 3 — krites.dev

Numbers

Plugin
11k lines of JavaScript, 7.6k of them tests
Runtime dependencies
0
Hooks
Protect · stop gate · commit hold · session baseline
Receipts
Ed25519-signed, verified offline
License
Apache-2.0, open source
Site
3.1k lines · WebGL2 · zero Three.js