A jevhook
Find out at the start of a session that Jev answers
jevhooks checks what Claude Code does by asking Jev, a small model, and when Jev cannot answer, every check simply lets things through. Switch this on and each session starts with three questions whose answers are known; the command jevhooks status then says whether they came back right. A key that does not work shows up at the start and not half way through your work. It costs one request a session and looks at nothing of yours.
It is off until you switch it on. It acts at SessionStart.
Jev is the small, fast model jevhooks asks. It writes nothing: it is handed a question whose answers are already written down, and says how likely each one is, in about a quarter of a second. jevhooks is a plugin for Claude Code that asks it at the moments Claude Code lets a plugin step in, and a jevhook is one such question with what is done about the answer.
- It asks three questions about one known fact (water boils at 100 degrees Celsius at sea level), one of each kind Jev answers: a yes or no, a choice and a score.
- Jev is asked afresh each time, never answered from a stored reply, so jevhooks status says whether Jev answers as expected now.
- It checks nothing of yours and costs one request a session, so it is off until you switch it on.
Say something
A jevhook is off, in shadow or on. To change this one, put this in ~/.config/jevhooks/config.toml:
[jevhooks.SessionStart] self-test = "on"
In shadow Jev is asked and nothing is changed. The log (jevhooks recent, or /jev in a session) then says what would have been done: for this one, nothing more: it judges nothing, so shadow and on are the same to it.
It shows nothing in a session, so there is no screen of it here. What it finds is in jevhooks status and in the log.
What this site keeps about a visit, and how to refuse it, is said in one place: what is kept.