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/ops_tier_gate_and_timeouts_tests

Steven Enamakeld4b9845a1d43
diff --git a/crates/openhuman-core/src/flows/tinyflows/caps/ops_tier_gate_and_timeouts_tests.rs b/crates/openhuman-core/src/flows/tinyflows/caps/ops_tier_gate_and_timeouts_tests.rs
index 7b55e47e41..bbd2a8d654 100644
--- a/crates/openhuman-core/src/flows/tinyflows/caps/ops_tier_gate_and_timeouts_tests.rs
+++ b/crates/openhuman-core/src/flows/tinyflows/caps/ops_tier_gate_and_timeouts_tests.rs
@@ -153,13 +153,15 @@ async fn malformed_live_config_is_denied_without_echoing_its_contents() {
}
#[tokio::test]
-async fn captured_agent_tier_and_host_ceiling_are_not_replaced_by_parent_file() {
+async fn captured_agent_and_config_fn_tiers_are_not_replaced_by_parent_file() {
use crate::security::AutonomyLevel;
let dir = tempfile::tempdir().unwrap();
let mut parent_file = persisted_tier_config(dir.path(), true, AutonomyLevel::Full);
save_tier_config(&parent_file).await;
let mut captured = parent_file.clone();
+ // This is the effective autonomy after AgentSpec's config_fn escape hatch;
+ // embed construction marks that final in-memory config as Captured.
captured.autonomy.level = AutonomyLevel::ReadOnly;
let parent = crate::core::runtime::CoreContext::for_test(
crate::core::runtime::DomainSet::full(),