Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

docs(security_gate): correct when shell skips the approval prompt

M3gA-Mindc7905bfdaf16
diff --git a/crates/openhuman-core/src/agent/tinyagents/host/security_gate.rs b/crates/openhuman-core/src/agent/tinyagents/host/security_gate.rs
index 42364f82d8..7a9d6cfc84 100644
--- a/crates/openhuman-core/src/agent/tinyagents/host/security_gate.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/host/security_gate.rs
@@ -366,8 +366,8 @@ impl OpenHumanSecurityGate {
///
/// A refusal is a `Deny` whose text names no human and no timeout — every
/// refusal reads the same — and rules out other routes explicitly, because
-/// `shell` never prompts below the full tier and was used to redo a refused
-/// call.
+/// `shell` never prompts while autonomy is disabled (`[autonomy] enabled =
+/// false`, the default) and was used to redo a refused call.
fn decision_for_outcome(tool_name: &str, outcome: GateOutcome) -> GateDecision {
match outcome {
GateOutcome::Allow => GateDecision::Prompted { approved: true },