Check before execution
A PreToolUse hook evaluates the proposed tool call before it proceeds.
AGENT GUARDRAILS / GITHUB
A scope check at the point where an assistant is about to act.
THE PROJECT, IN PRACTICE
A PreToolUse hook evaluates the proposed tool call before it proceeds.
Jev assesses the call in relation to the user’s request and agreement.
Out-of-scope calls are denied with an explanation that the assistant can act on.
FROM IDEA TO USE
Choose the host integration and inspect its configuration and examples.
Give your assistant a clear task and constraints.
The hook submits the proposed call for a scope decision and denies it when outside the agreement.
Agreed task: inspect a failing test.
Proposed action: change an unrelated deployment.
The hook checks whether that action belongs
to the work the user requested or approved.Illustrative scenario—not a recorded decision or a live model response.
TAKE IT FOR A SPIN
Review the repository’s host integrations, examples, and configuration before enabling the hook in your assistant. The integration files are the current setup reference.
Uses TypeSafe’s Jev for scope judgments. This is a model-based control; review host behavior and the repository tests when adopting it.