Skip to content

Jev directory

Jev Pre-flight Gate

UserPromptSubmit hook for WorkBuddy (and a pre_llm_call shell hook for Hermes Agent) that has Jev judge every prompt in about a second and inject the verdict as routing hints, aiming to cut main-model tool calls and turnarounds.
Stars
1
Language
Python
License
MIT
Reading time
2 min
Published by
Community
Author
adamwdff
Last verified
Oct 2026

adamwdff/jev-gate

User repository on GitHub

View on GitHub

WorkBuddy UserPromptSubmit hook: judge each prompt with TypeSafe System One before the model sees it, to cut main-model token spend.

Forks
0
Last pushed
Updated Oct 2026

Repo stats from the GitHub API, cached Oct 2026.

Highlights

  • Judges each prompt before the main model reads it and injects cues like 'do not ask to confirm', aiming to stop wasteful tool calls.
  • Injects a verdict line with dimensions such as task_type, needs_files, ambiguity, risk, scope, depth and skill_route, plus routing hints.
  • Fail-open by design: no key, timeout, error or empty answer passes the prompt through; three consecutive failures trigger a 10-minute circuit breaker.
  • The README measures about 300-400 tokens injected per turn, a net loss near 1% on simple requests and positive in expectation overall.
  • Key lives at ~/.workbuddy/.typesafe_key with 0600 permissions; /jev status, /jev on and /jev off are self-consumed and cost zero model tokens.

Quickstart

bash
git clone https://github.com/adamwdff/jev-gate.git && cd jev-gate && python3 install.py

Watch out

Copy reviewed against the repo README on 2026-10-15; the README is mostly Chinese and the excerpt covers the WorkBuddy path plus the Hermes differences. The 300-400 token cost and 1% loss estimates are the author's own measurements, not an independent audit.

Questions about this entry

Short answers drawn from the linked project or page.

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