The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore: files changed crates/openhuman-core/src/flows/tinyflows/caps/tier.rs,crates/openhuman-core/sr
Steven Enamakel52c6543a7900
diff --git a/crates/openhuman-core/src/flows/tinyflows/caps/tier.rs b/crates/openhuman-core/src/flows/tinyflows/caps/tier.rsindex 3839b9d35a..3059c57de0 100644--- a/crates/openhuman-core/src/flows/tinyflows/caps/tier.rs+++ b/crates/openhuman-core/src/flows/tinyflows/caps/tier.rs@@ -80,11 +80,15 @@ pub(crate) async fn current_tier_policy() -> Result<SecurityPolicy> {let live = match ctx.autonomy_tier_source() {crate::core::runtime::AutonomyTierSource::Captured => None,- crate::core::runtime::AutonomyTierSource::LiveConfig => Some(- crate::config::ops::reload_config_snapshot_with_timeout(captured_config)+ crate::core::runtime::AutonomyTierSource::LiveConfig => {+ let live = crate::config::ops::reload_config_snapshot_with_timeout(captured_config).await- .map_err(|error| tier_config_error(&error))?,- ),+ .map_err(|error| tier_config_error(&error))?;+ if live.recovered_from_corruption {+ return Err(tier_config_error("live config was recovered from corruption"));+ }+ Some(live)+ }};tier_policy_from_config(ctx, captured_config, live.as_ref(), baseline)}diff --git a/crates/openhuman-core/src/flows/tinyflows/caps/tools/composio.rs b/crates/openhuman-core/src/flows/tinyflows/caps/tools/composio.rsindex 0a1b71bef6..77e943669b 100644--- a/crates/openhuman-core/src/flows/tinyflows/caps/tools/composio.rs+++ b/crates/openhuman-core/src/flows/tinyflows/caps/tools/composio.rs@@ -101,6 +101,12 @@ impl ToolBackend for ComposioToolBackend {tinytools::status::POLICY_BLOCKED_MARKER))})?;+ if live_config.recovered_from_corruption {+ return Err(EngineError::Capability(format!(+ "{} flows autonomy and Composio settings could not be refreshed; refusing the node",+ tinytools::status::POLICY_BLOCKED_MARKER+ )));+ }// Autonomy-tier gate (Phase 2, made effect-aware): the node's// [`CommandClass`] is derived from the action's curated// [`ToolScope`](crate::integrations::composio::contract::ToolScope)