Skip to content

Jev directory

Jev Commit

A pre-commit hook that answers five Jev questions about the commit message and staged diff together, warning on mismatches and blocking only on a credential-shaped line.
Stars
16
Language
Python
License
MIT
Reading time
4 min
Published by
Community
Author
valentynkit
Last verified
Sep 2026

valentynkit/jev-commit

User repository on GitHub

View on GitHub

pre-commit hook: one Jev call judges whether your commit message matches the diff, plus debug leftovers, scope creep, and a secret belt

Forks
2
Last pushed
Updated Oct 2026

Repo stats from the GitHub API, cached Oct 2026.

About this project

Your agent writes the code, then writes the commit message about the code. Nothing checks that the two agree. This does, in one call to Jev, before the commit lands. Four cents per thousand commits. It warns and gets out of the way. The one thing it stops is a credential on an added line. Five questions about the message and the staged diff together, in one request. A high number is always the bad direction.

Quoted from the project's README. Read the full README.

Highlights

  • Five questions in one request flag filler messages, claims absent from the hunks, debug leftovers, unmentioned work, and secret-shaped values.
  • Over a 152-commit corpus the median cost was $0.000044 per commit, about four cents per thousand commits.
  • Warnings never block; only a credential on an added line stops the commit, and --strict blocks on findings past the threshold.
  • Needs pre-commit install --hook-type commit-msg, since a plain pre-commit install will not run it.
  • Python 3.10+ with no dependencies, and the hook itself takes 240 ms median, 21 ms of it a loopback call.

Quickstart

bash
pipx install git+https://github.com/valentynkit/jev-commit
printf '#!/bin/sh\nexec jev-commit "$1"\n' > .git/hooks/commit-msg
chmod +x .git/hooks/commit-msg

Watch out

MIT-licensed. Needs a TypeSafe API key, and pre-commit refuses to install while core.hooksPath is set, so the hook must be added by hand there.

Questions about this entry

Short answers drawn from the linked project or page.

Reactions & coverage

Posts, threads, and videos about this entry from around the web.

X: Vercel's fx safety reviewer, measured at 18× faster

Reddit: Early experiments wiring Jev into Pi as a safety layer and model router.

X: Decision outputs in Grep

YouTube: Kubernetes admission control with a decision model, fail-closed.

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai