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(profiles): drop redundant confinement assertion from layout test
Steven Enamakelba457f6e4151
diff --git a/crates/openhuman-core/src/profiles/layout_tests.rs b/crates/openhuman-core/src/profiles/layout_tests.rsindex 3bd65ba0a5..20bc73dcfb 100644--- a/crates/openhuman-core/src/profiles/layout_tests.rs+++ b/crates/openhuman-core/src/profiles/layout_tests.rs@@ -54,8 +54,6 @@ fn the_memory_root_is_a_valid_layout_root() {#[test]fn a_profile_binds_its_user_root_never_an_org_root() {use crate::memory::scope;- use tinymemory_api::Reach;- use tinymemory_tools::confine::{Confinement, Policy};let id = ProfileId::for_user("65f1c0ffee0123456789abcd", ProfileIdMode::Raw).unwrap();assert_eq!(id.as_str(), "65f1c0ffee0123456789abcd");let layout = profile_layout(Path::new("/srv/oh"), &id);@@ -73,11 +71,7 @@ fn a_profile_binds_its_user_root_never_an_org_root() {let bound = tinymemory_tools::layout::identity::Identity::root().resolve(&crate::memory::scope::identity_pins(&config));assert_eq!(bound.root().to_string(), "user:65f1c0ffee0123456789abcd");assert_eq!(bound.agent_id, id.as_str());- let confined = Confinement {- allowed: Reach::subtree(bound.root().clone()),- policy: Policy::Clamp,- };- assert_eq!(confined.allowed.at.to_string(), "user:65f1c0ffee0123456789abcd");+ assert_eq!(bound.root().to_string(), "user:65f1c0ffee0123456789abcd");}#[test]