Skip to content

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

fix(running_subagents_tests): correct test assertion for subagent state

Steven Enamakel37bcdd34bb2f
diff --git a/crates/openhuman-core/src/agent/orchestration/running_subagents_tests.rs b/crates/openhuman-core/src/agent/orchestration/running_subagents_tests.rs
index e0cd56c546..5b802ce723 100644
--- a/crates/openhuman-core/src/agent/orchestration/running_subagents_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/running_subagents_tests.rs
@@ -1,5 +1,4 @@
use super::*;
-use crate::agent::tinyagents::orchestration::{
use crate::agent::harness::run_queue::QueueMode;
use crate::agent::harness::run_queue::RunQueue;
use crate::agent::orchestration::running_subagents::registry::DETACHED_LEDGER_TIMEOUT_MS;
@@ -11,12 +10,13 @@ use crate::agent::orchestration::running_subagents::steering::SteeringDirective;
use crate::agent::orchestration::running_subagents::steering::steer_directive;
use crate::agent::orchestration::running_subagents::wait::wait;
use crate::agent::tinyagents::orchestration::shared_steering_registry;
-use std::sync::Arc;
-use std::time::Duration;
-use std::path::PathBuf;
+use crate::agent::tinyagents::orchestration::{
openhuman_steering_handle, OrchestrationTaskStatus, SteeringHandle, SteeringPolicy,
SteeringRunClass,
};
+use std::sync::Arc;
+use std::time::Duration;
+use std::path::PathBuf;
use std::sync::MutexGuard;
/// Serializes every test that touches the global [`REGISTRY`]. We reuse the