Skip to content

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

chore: files changed crates/openhuman-core/src/flows/tinyflows/caps/code.rs

Steven Enamakela3c8ba81a136
diff --git a/crates/openhuman-core/src/flows/tinyflows/caps/code.rs b/crates/openhuman-core/src/flows/tinyflows/caps/code.rs
index 83b179c481..b0674d722a 100644
--- a/crates/openhuman-core/src/flows/tinyflows/caps/code.rs
+++ b/crates/openhuman-core/src/flows/tinyflows/caps/code.rs
@@ -61,14 +61,7 @@ impl CodeRunner for OpenHumanCode {
// Autonomy-tier gate (Phase 2): sandboxed arbitrary-code execution is
// Write-class. A read-only run `Block`s here and never spawns anything;
// Supervised/Full fall through to the ApprovalGate below.
- let tier_decision = enforce_current_node_tier_gate(
- &self.ctx,
- &self.config,
- &self.security,
- CommandClass::Write,
- "code",
- )
- .await?;
+ let tier_decision = enforce_node_tier_gate(&self.security, CommandClass::Write, "code")?;
// Approval gate (mirrors OpenHumanTools/OpenHumanHttp): `gate_call_for_tier`
// is what turns a Supervised-tier `Prompt` decision into a real human