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
merge: integrate current main with Embed reviewer contracts
Steven Enamakel2c5eed94faca
diff --cc Cargo.lockindex 0ebf8a6377,c411456f34..07575975db--- a/Cargo.lock+++ b/Cargo.lock@@@ -4825,10 -4670,9 +4827,10 @@@ dependencies ="chrono","dirs 6.0.0","env_logger",+ "jsonschema","log","openhuman",- "reqwest",+ "reqwest 0.12.28","sentry","serde","serde_json",diff --cc crates/openhuman-embed/tests/isolation_autonomy.rsindex 73f806dc94,941ef82dfc..cf31cb3a72--- a/crates/openhuman-embed/tests/isolation_autonomy.rs+++ b/crates/openhuman-embed/tests/isolation_autonomy.rs@@@ -71,18 -71,21 +71,22 @@@ fn every_agent_answers_policy_from_its_).expect("a instantiates");assert_eq!(a.config().autonomy.level, AutonomyLevel::ReadOnly);- a.run("write the marker").await.expect("a's turn returns");+ let a_out = a.run("write the marker").await.expect("a's turn returns");assert!(!a_file.exists(), "a read-only agent must not write");- // A refused tool call is fed back to the model; the final reply- // comes from the provider and need not repeat the policy error.+ // The scripted final reply is advisory; the tool result sent back+ // to the model proves the policy denied execution.let a_requests = chat_requests(&a_provider).await;+ let a_denial =+ tool_results(a_requests.get(1).expect("a continued after its tool call"));assert!(- a_requests- .iter()- .any(|request| tool_results(request).contains("read-only mode")),- "a's tool result must report refusal by its own read-only tier"+ a_denial.contains("[policy-blocked]") && a_denial.contains("read-only mode"),+ "a's shell call is refused by its own tier: {}",+ a_denial);+ assert_eq!(+ a_out.reply, "a-done",+ "the model continues after the refused write"+ );// ── B: supervised, shell on its own allowlist; runs without parking ──let b_file = scratch.path().join("b-wrote");