jevbooks

← All projects

pi-verdict

jesset/pi-verdict

Minimal permission gate for Pi: allow, deny, or ask per tool call.

What it is

pi-verdict is a permission gate for the pi coding agent, in the style of Claude Code's auto mode. It checks every tool call before it runs and decides allow, deny, or ask, so users get safe automation rather than silent execution.

How it uses Jev

Jev is an optional classifier backend for gray-zone tool calls. Deterministic rules settle clear cases first; remaining calls go to Jev, which answers one Choice (allow/ask/deny) per call from the conversation context. Deny blocks, ask escalates to a human confirm, and errors or timeouts deny.

Primitives:choice

Technique worth stealing

Three-state adjudication instead of binary allow/block, so uncertainty routes to a human rather than silently passing.

Try it

pi install npm:pi-verdict, then set classifierModel to typesafe/jev-latest in pi-verdict.json.

View on GitHub

judged by Jevjev-1.13.0

Evidence

Each line is one question put to Jev about the README. ≥ 0.60 reads as yes, ≤ 0.40 as no; in between Jev is not making a call.

  • Jev-centricno0.12
  • Shows a System One patternyes0.85
  • Handles uncertaintyyes0.95
  • Measuredno0.06
  • Runnableyes0.95
  • Worth recommendingno0.22
  • Model replicano0.08
  • Problem scopescore on a 0–2 scale1.16
  • About Jevyes0.60

Signals by Jev jev-1.13.0, card written by DeepSeek V4.1 Flash from the README on 21 Sept 2026.