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
fix(rpc): scope parked plan review replay to the ambient tenant
Steven Enamakelbf7efd1e6bf2
diff --git a/crates/openhuman-rpc/src/server/socketio.rs b/crates/openhuman-rpc/src/server/socketio.rsindex 139c99b7aa..bb8830d55f 100644--- a/crates/openhuman-rpc/src/server/socketio.rs+++ b/crates/openhuman-rpc/src/server/socketio.rs@@ -1273,8 +1273,11 @@ fn replay_parked_approval(socket: &SocketRef, thread_id: &str) {/// plan review is a live, in-memory park (no SQLite row), but it reaches the/// UI the same fire-and-forget way, so the same reconciliation applies.fn replay_parked_plan_review(socket: &SocketRef, thread_id: &str) {- let Some(row) =- crate::core_host::plan_review::gate::global().parked_review_for_thread(thread_id)+ let Ok(tenant) = crate::core_host::core::runtime::DispatchCtx::ambient().tenant() else {+ return;+ };+ let Some(row) = crate::core_host::plan_review::gate::global()+ .parked_review_for_thread(&tenant, thread_id)else {return;};diff --git a/scripts/ci/agent-runtime-boundary-baseline.json b/scripts/ci/agent-runtime-boundary-baseline.jsonindex eca6141198..3caaf2c4dc 100644--- a/scripts/ci/agent-runtime-boundary-baseline.json+++ b/scripts/ci/agent-runtime-boundary-baseline.json@@ -64,7 +64,7 @@},{"rule": "openhuman-task-local",- "path": "crates/openhuman-core/src/agent/schemas.rs",+ "path": "crates/openhuman-core/src/agent_runs/schemas.rs","line": 438,"text": "crate::agent::turn_origin::with_origin(","occurrence": 1@@ -551,5 +551,29 @@"line": 68,"text": "pub use tinyagents_harness::store::{AppendStore, Store};","occurrence": 1+ },+ {+ "rule": "openhuman-upstream-reexport",+ "path": "crates/openhuman-embed/src/lib.rs",+ "line": 224,+ "text": "pub use tinyagents_hooks::stop::{StopDecision, StopHook};",+ "occurrence": 1,+ "reason": "Issue7929 explicitly keeps embed re-exports of the hook types under their public names; implementation belongs to tinyagents-hooks."+ },+ {+ "rule": "tinyagents-moved-symbol-alias",+ "path": "vendor/tinyagents/crates/tinyagents-runtime/src/hooks.rs",+ "line": 122,+ "text": "pub type SessionHookFuture<'a, T> = tinyagents_hooks::SessionHookFuture<'a, T, RuntimeError>;",+ "occurrence": 1,+ "reason": "Runtime binds its own RuntimeError to the generic hooks future; moving this binding into hooks would create a dependency cycle."+ },+ {+ "rule": "tinyagents-upstream-reexport",+ "path": "vendor/tinyagents/crates/tinyagents-runtime/src/lib.rs",+ "line": 10,+ "text": "pub use tinyagents_hooks::command as command_hooks;",+ "occurrence": 1,+ "reason": "tinyagents470 explicitly requires the runtime command_hooks compatibility re-export for one release."}]