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 remote-tracking branch 'origin/main' into remove-legacy-domains
Steven Enamakel0090781651b5
diff --cc src/openhuman/agent/orchestration/parent_context/builder.rsindex c7e149a3ff,c7e149a3ff..3bcbfa7c10--- a/src/openhuman/agent/orchestration/parent_context/builder.rs+++ b/src/openhuman/agent/orchestration/parent_context/builder.rs@@@ -1,9 -1,9 +1,8 @@@//! Shared root [`ParentExecutionContext`] builder for controller-spawned//! orchestration tasks (#3374 PR4, extracted from the #3375 workflow engine).//!--//! The workflow-run engine ([`workflow_runs::engine`]), the agent-team runtime--//! ([`agent_teams::runtime`]), and the subconscious tick--//! ([`crate::openhuman::subconscious`]) all need to spawn real sub-agents from a++//! The workflow-run engine ([`workflow_runs::engine`]) and the agent-team++//! runtime ([`agent_teams::runtime`]) both need to spawn real sub-agents from a//! background task that has **no** enclosing agent turn on the stack. Those//! spawns read their parent execution context from a task-local//! ([`current_parent`]) that is only set inside an agent turn — so a naive spawndiff --cc src/openhuman/agent/tinyagents/host/learning_sink.rsindex c43994d43b,c43994d43b..3ecac8feb7--- a/src/openhuman/agent/tinyagents/host/learning_sink.rs+++ b/src/openhuman/agent/tinyagents/host/learning_sink.rs@@@ -65,12 -65,12 +65,9 @@@//! driven (`ingest_transcript_path` / `ingest_session_transcript` take a//! session `.jsonl` on disk) and runs on session close, not per turn. A sink//! invocation has no transcript to point at.--//! - [`crate::openhuman::subconscious`] is scheduler-driven: its public entry--//! point is `SubconsciousInstance::tick`, polled by the heartbeat engine.--//! There is no per-turn ingestion API to call.//!--//! Both are reachable through the same `Memory` those hooks write to, so--//! nothing is lost by leaving them on their own cadence.++//! It is reachable through the same `Memory` those hooks write to, so nothing++//! is lost by leaving it on its own cadence.use std::sync::Arc;diff --cc src/openhuman/agent/turn_origin.rsindex eb81066e8f,eb81066e8f..64861b6e59--- a/src/openhuman/agent/turn_origin.rs+++ b/src/openhuman/agent/turn_origin.rs@@@ -5,7 -5,7 +5,7 @@@//! points without relying on the *absence* of other task-locals as a signal.//!//! Every entry point that drives the agent loop ([`crate::openhuman::web_chat`],--//! [`crate::openhuman::channels::runtime::dispatch`], [`crate::openhuman::subconscious`],++//! [`crate::openhuman::channels::runtime::dispatch`],//! [`crate::openhuman::cron`], CLI) MUST scope a real [`AgentTurnOrigin`]//! around its `run_turn` invocation. Any path that fails to do so is treated//! as [`AgentTurnOrigin::Unknown`] by the gate and the call fails closed.diff --cc src/openhuman/inference/provider/ops/http_error.rsindex c407ed59ac,c407ed59ac..df7dc83599--- a/src/openhuman/inference/provider/ops/http_error.rs+++ b/src/openhuman/inference/provider/ops/http_error.rs@@@ -694,9 -694,9 +694,7 @@@ pub fn log_context_window_exceeded/// gateway could wrap it) and covered by a verbatim-body test so a provider/// wording drift fails CI. Single source of truth shared by/// [`crate::core::observability::is_provider_user_state_message`] (Sentry--/// demotion of the `domain=agent` re-report) and the subconscious tick loop's--/// permanent-rejection circuit breaker--/// (`crate::openhuman::subconscious::provider`).++/// demotion of the `domain=agent` re-report).pub fn is_provider_rate_cap_exceeded_message(body: &str) -> bool {let lower = body.to_ascii_lowercase();lower.contains("request too large")diff --cc tests/raw_coverage/agent_archivist_debug_round21_raw_coverage_e2e.rsindex 281edb9999,281edb9999..0ba88f03cc--- a/tests/raw_coverage/agent_archivist_debug_round21_raw_coverage_e2e.rs+++ b/tests/raw_coverage/agent_archivist_debug_round21_raw_coverage_e2e.rs@@@ -437,6 -437,6 +437,7 @@@ fn debug_dump_writer_sanitizes_names_antext: "SYSTEM PROMPT\n".to_string(),tool_names: vec!["echo".to_string(), "search".to_string()],skill_tool_count: 1,++ tool_specs: Vec::new(),}];let summary = write_prompt_dumps(tmp.path(), &dumps)?;diff --cc tests/raw_coverage/inference_agent_raw_coverage_e2e.rsindex a936248543,a936248543..26ec7d0a41--- a/tests/raw_coverage/inference_agent_raw_coverage_e2e.rs+++ b/tests/raw_coverage/inference_agent_raw_coverage_e2e.rs@@@ -3876,6 -3876,6 +3876,7 @@@ async fn agent_debug_prompt_dump_and_idtext: "# planner\nbody\n".to_string(),tool_names: vec!["todo".to_string(), "delegate".to_string()],skill_tool_count: 0,++ tool_specs: Vec::new(),},DumpedPrompt {agent_id: "integrations_agent".to_string(),@@@ -3886,6 -3886,6 +3887,7 @@@text: "# integrations\nbody\n".to_string(),tool_names: vec!["GMAIL_SEND_EMAIL".to_string()],skill_tool_count: 1,++ tool_specs: Vec::new(),},];