jev_guard_action
Evaluates exact terminal commands, migrations, and destructive edits before execution, returning ALLOW, ASK_USER, or BLOCK with calibrated risk probabilities to stop or confirm unsafe actions.
Instructions
Pre-flight safety & blast-radius gate for a terminal command, migration, or destructive edit. Put the literal command line in exact_command and the explanation in context. Returns ALLOW, ASK_USER, or BLOCK with calibrated probabilities. ASK_USER means a human must confirm before running it (jev_autopilot_decide cannot replace that confirmation); a prose description instead of a command always returns ASK_USER.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"exact_command": "<exact_command>"
},
"name": "jev_guard_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Why the command is run, what it should touch, and any explicit user authorization | |
| exact_command | Yes | The exact command line that will be executed, verbatim (program + arguments), e.g. `git add -- docs/a.md; git commit -m "docs: update"`. Not a description of the action. | |
| working_directory | No | Target working directory |