Pi Jev Auto Mode
A fail-closed permission gate for Pi that asks Jev to judge tool calls left undecided by hard rules.
A fail-closed permission gate for Pi that asks Jev to judge tool calls left undecided by hard rules.
Pi first applies deterministic hard-deny rules to proposed bash, write, and edit calls. Calls that reach the semantic layer are judged by Jev for allow/block decisions; configured thresholds and uncertainty handling determine the gate result.
Is the flagged tool call part of the user request or necessary to complete it?
A proposed Pi tool call and the user request are included in the bounded state. The intent_coverage rule is asked only for a deterministically flagged dangerous shape.
Block hard-denied patterns before they reach the model; determine which remaining calls enter semantic review.
Send the proposed tool call to Jev and obtain probability judgments for the policy rules.
Apply configured thresholds and uncertain-result policy; unavailable Jev blocks the call by default.
Use Pi commands to view thresholds, change uncertainty handling or scope, and review the active status.
The two-layer gate combines hard rules with a semantic decision and fails closed when Jev is unavailable. Operators can inspect and tune thresholds, scope, and uncertain-result behavior, with project overrides limited to trusted projects.