When a coding agent tells us "done", we used to open the diff and hope. The tests were green, but nothing told us whether they covered what the issue actually asked for. So we built a small tool to check that, and we'd like honest feedback on it.
It's called okproof. The idea is simple: the acceptance criteria of an issue live in the repository, a test claims a criterion by name, and the merge check stays red until every criterion has a passing test behind it.
A proof file lists what "done" means for an issue:
## #142 Member can upgrade to Pro
- [ ] A member can upgrade from the settings page
- [ ] The receipt email is sent after the upgrade
A test claims a criterion with a tag in its title:
test('upgrade from settings [okproof:142.1]', async ({ page }) => {
// ...real assertions here
});
Then okproof reads your test results (Playwright, JUnit XML or CTRF) and says, per criterion, whether it is met, failed, untested, or backed by a test that asserts nothing. A criterion with no passing, asserting test blocks the merge.
npx okproof init
npx okproof check
There is also an optional "verifier" that attacks a running app with a model, but it only counts a bug if a replay without the model reproduces it.
We'd rather say this up front:
We want an independent reviewer from outside the project to read the security-sensitive parts and tell us where we're fooling ourselves. We recently did a review pass and fixed a handful of real issues, including forged evidence files and some injection paths. A second pair of eyes would still beat our own.
If you try it on a throwaway repo and it's confusing, or it flags something it shouldn't, please open an issue. Those reports are the most useful thing we can get right now.
npx okproof [