← Deemwar decision model · All recipes
Yes/no about a command before running it.
curl -s localhost:21118/v1/systemone -d '{"state": "git push --force origin main", "questions": {"danger": {"type": "noul", "instructions": "Does this command overwrite history on a shared remote branch?"}}}' | jq -c .answers
Real answer (openjevx v0.4.0 8-bit model, CPU):
{"danger":{"action":{"act_probability":1},"answer_confidence":0.8278,"confidence":0.8278,"noul":0.8278,"probabilities":{"false":0.1722,"true":0.8278},"type":"noul"}}
jevx is --profile openjevx --no-context "Does this command overwrite history on a shared remote branch?" --in "git push --force origin main"
Real output:
yes 0.83
On yes, stop and ask the user before running it.
Right: yes 0.83, from curl and from jevx.