Skip to content

v0.7.1 — Instant high-risk approvals

Choose a tag to compare

@lavindeep lavindeep released this 14 Jun 12:35

v0.7.1 — Instant high-risk approvals

High-risk command approvals now appear instantly. The risk-purpose explanation shown before a dangerous command is generated deterministically from the policy classifier's reasons, instead of via a separate blocking model call. That removed a per-command LLM round-trip — and its context-window reconfigure — that could stall the approval prompt for minutes on small local models (the rm was always instant; the wait was the model narrating).

No change to safety behavior — risk classification, the approval decision, and the typed-run gate are untouched. Only how the explanation text is produced changed. Sensitive-file reads still show no purpose line, exactly as before.

  • New deterministic explain_risk in the policy layer, with a sentence for every classifier reason (kept honest by a drift-guard test).
  • Removed the LLM explainer plumbing (EXPLAINER_PROMPT, the _explain_purpose round-trip, and the injection seam) — the last blocking per-command model call.
  • 874 tests; CI green on Python 3.11 and 3.14.