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
test(storage): update agent scope assertions in workspace tests
Steven Enamakelb0ad59cd7d2b
diff --git a/crates/openhuman-core/src/storage/sessions/workspace_tests.rs b/crates/openhuman-core/src/storage/sessions/workspace_tests.rsindex 4b2c7dfaf6..12fd1da820 100644--- a/crates/openhuman-core/src/storage/sessions/workspace_tests.rs+++ b/crates/openhuman-core/src/storage/sessions/workspace_tests.rs@@ -109,12 +109,14 @@ fn artifact_scope_uses_agent_scope_only_for_unprofiled_named_agents() {.expect("the default agent has the local scope");assert!(default_agent.scope().is_local());- let explicitly_named_default =- artifact_scoped_for_in(ws.path(), &context_for(Some(super::DEFAULT_AGENT)))- .expect("an explicitly named agent uses the agent scope");+ let explicitly_named_default = artifact_scoped_for_in(+ ws.path(),+ &context_for(Some(crate::storage::sessions::DEFAULT_AGENT)),+ )+ .expect("an explicitly named agent uses the agent scope");assert_eq!(explicitly_named_default.scope(),- &crate::storage::scope_for_agent(super::DEFAULT_AGENT)+ &crate::storage::scope_for_agent(crate::storage::sessions::DEFAULT_AGENT));}