Skip to content

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

chore(tests): add boot guard test module

Steven Enamakelc2ef72e3d382
diff --git a/crates/openhuman-core/src/core/runtime/boot_guard_tests.rs b/crates/openhuman-core/src/core/runtime/boot_guard_tests.rs
index 2dd31e5c45..eb3b38c73f 100644
--- a/crates/openhuman-core/src/core/runtime/boot_guard_tests.rs
+++ b/crates/openhuman-core/src/core/runtime/boot_guard_tests.rs
@@ -93,13 +93,13 @@ fn domain_families_are_refused_until_they_are_isolated() {
let mut i = inputs(&f, &[]);
i.domains = DomainSet::harness();
let found = violations(&i);
- for name in ["agent", "config", "security"] {
+ for name in ["config", "security"] {
assert!(
found.contains(&Violation::Domain(name)),
"{name}: {found:?}"
);
}
- for isolated in ["threads", "memory"] {
+ for isolated in ["agent", "threads", "memory"] {
assert!(
!found.contains(&Violation::Domain(isolated)),
"{isolated} is isolated per user: {found:?}"