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(agent): complete explicit subagent control dispatch
Steven Enamakeleb1ef2ad82fc
diff --git a/crates/openhuman-core/src/agent/harness/subagent_runner/ops/mod.rs b/crates/openhuman-core/src/agent/harness/subagent_runner/ops/mod.rsindex 3cfaf28411..c7b94c9442 100644--- a/crates/openhuman-core/src/agent/harness/subagent_runner/ops/mod.rs+++ b/crates/openhuman-core/src/agent/harness/subagent_runner/ops/mod.rs@@ -68,7 +68,7 @@ pub(super) use crate::agent::harness::definition::{AgentDefinition, PromptSource#[cfg(test)]pub(super) use crate::agent::harness::fork_context::ParentExecutionContext;#[cfg(test)]-pub(super) use crate::agent::harness::{current_spawn_depth, with_spawn_depth, MAX_SPAWN_DEPTH};+pub(super) use crate::agent::harness::{with_spawn_depth, MAX_SPAWN_DEPTH};#[cfg(test)]use tinytools::ToolSpec;diff --git a/crates/openhuman-core/src/agent/harness/subagent_runner/ops/runner.rs b/crates/openhuman-core/src/agent/harness/subagent_runner/ops/runner.rsindex d780d2e850..ff96d70561 100644--- a/crates/openhuman-core/src/agent/harness/subagent_runner/ops/runner.rs+++ b/crates/openhuman-core/src/agent/harness/subagent_runner/ops/runner.rs@@ -670,6 +670,15 @@ pub async fn run_subagent(let mut outcome = run_result?;+ // Commit the completed subtree before the soft, awaited artifact+ // offload. A cancellation while that filesystem work is pending must+ // not erase direct model usage or descendants that already finished.+ usage_finalizer.finish(crate::agent::tinyagents::host::SubagentUsageEntry {+ task_id: task_id.clone(),+ agent_id: definition.id.clone(),+ usage: outcome.usage,+ });+// #3883: offload an oversized worker result to `action_dir/outputs/`// BEFORE the cap below truncates it, so the parent receives a path plus// an abstract and the full-fidelity body survives on disk instead of@@ -681,12 +690,6 @@ pub async fn run_subagent(// deterministic memory fast path via `apply_max_result_chars`).apply_max_result_chars(&mut outcome.output, definition.max_result_chars, &definition.id);- usage_finalizer.finish(crate::agent::tinyagents::host::SubagentUsageEntry {- task_id: task_id.clone(),- agent_id: definition.id.clone(),- usage: outcome.usage,- });-tracing::info!(agent_id = %definition.id,task_id = %task_id,diff --git a/crates/openhuman-core/src/agent/orchestration/tools.rs b/crates/openhuman-core/src/agent/orchestration/tools.rsindex 63eee9d59d..08b3a87d34 100644--- a/crates/openhuman-core/src/agent/orchestration/tools.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools.rs@@ -68,12 +68,14 @@ pub use agent_prepare_context::{run_context_scout, run_context_scout_with_catalog, AgentPrepareContextTool,};pub use archetype_delegation::{ArchetypeDelegationTool, DelegationTarget};+pub(crate) use close_subagent::CloseSubagentDispatch;pub use close_subagent::CloseSubagentTool;pub use collapsed_delegation::{CollapsedDelegationTool, DelegateTarget, DELEGATE_TO_TOOL_NAME};pub(crate) use continue_subagent::ContinueSubagentDispatch;pub use continue_subagent::ContinueSubagentTool;pub(crate) use delegate_graph::DelegateGraphDispatch;pub use delegate_graph::DelegateGraphTool;+pub(crate) use list_subagents::ListSubagentsDispatch;pub use list_subagents::ListSubagentsTool;pub use skill_delegation::{SkillDelegationTool, INTEGRATIONS_DELEGATE_TOOL_NAME};pub(crate) use spawn_async_subagent::SpawnAsyncSubagentDispatch;@@ -84,6 +86,8 @@ pub(crate) use spawn_subagent::SpawnSubagentDispatch;pub use spawn_subagent::SpawnSubagentTool;pub(crate) use spawn_worker_thread::SpawnWorkerThreadDispatch;pub use spawn_worker_thread::SpawnWorkerThreadTool;+pub(crate) use steer_subagent::SteerSubagentDispatch;pub use steer_subagent::SteerSubagentTool;pub use wait::{WaitLoopTool, WaitTool};+pub(crate) use wait_subagent::WaitSubagentDispatch;pub use wait_subagent::WaitSubagentTool;diff --git a/crates/openhuman-core/src/agent/orchestration/tools/agent_prepare_context/scout_run.rs b/crates/openhuman-core/src/agent/orchestration/tools/agent_prepare_context/scout_run.rsindex 0dca50f749..1d779882cb 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/agent_prepare_context/scout_run.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/agent_prepare_context/scout_run.rs@@ -103,8 +103,8 @@ pub async fn run_context_scout(question: &str, focus: Option<&str>) -> anyhow::R}/// Same as [`run_context_scout`] but with an **explicitly-supplied** tool-/// catalogue — for callers *outside* an agent turn that can't auto-derive the-/// parent's visible tool set from `current_parent()` (e.g. the subconscious+/// catalogue — for callers *outside* an agent turn that can't receive the+/// parent's visible tool set explicitly (e.g. the subconscious/// engine's structured tick).////// The caller passes the catalogue of tools the eventual decision agent candiff --git a/crates/openhuman-core/src/agent/orchestration/tools/close_subagent.rs b/crates/openhuman-core/src/agent/orchestration/tools/close_subagent.rsindex 8b6bd75a29..97df6686ef 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/close_subagent.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/close_subagent.rs@@ -1,14 +1,46 @@//! Tool: `close_subagent` - retire a reusable durable sub-agent session.-use crate::agent::harness::fork_context::current_parent;+use crate::agent::harness::fork_context::ParentExecutionContext;use crate::agent::orchestration::subagent_sessions::SubagentSessionStore;use crate::agent::orchestration::{running_subagents, subagent_sessions};use async_trait::async_trait;use serde_json::json;+use std::sync::Arc;+use tinyagents_harness::context::RunContext;+use tinyagents_harness::tool::{ToolDispatch, ToolExecutionContext};use tinytools::{PermissionLevel, Tool, ToolCallOptions, ToolResult, ToolRunContext};pub struct CloseSubagentTool;+pub(crate) struct CloseSubagentDispatch {+ tool: Arc<dyn Tool>,+}+impl CloseSubagentDispatch {+ pub(crate) fn new(tool: Arc<dyn Tool>) -> Self {+ Self { tool }+ }+}+#[async_trait]+impl ToolDispatch<(), crate::agent::tinyagents::host::OpenHumanRunContext>+ for CloseSubagentDispatch+{+ fn tool(&self) -> Arc<dyn Tool> {+ self.tool.clone()+ }+ async fn execute(+ &self,+ _state: &(),+ arguments: serde_json::Value,+ _options: ToolCallOptions,+ parent: &RunContext<crate::agent::tinyagents::host::OpenHumanRunContext>,+ ) -> anyhow::Result<ToolResult> {+ let context = ToolExecutionContext::from_run_context(parent);+ CloseSubagentTool::new()+ .execute_with_parent_context(arguments, parent.data.parent.clone(), Some(&context))+ .await+ }+}+impl CloseSubagentTool {pub fn new() -> Self {Self@@ -59,6 +91,18 @@ impl Tool for CloseSubagentTool {args: serde_json::Value,_options: ToolCallOptions,tool_context: Option<&dyn ToolRunContext>,+ ) -> anyhow::Result<ToolResult> {+ self.execute_with_parent_context(args, None, tool_context)+ .await+ }+}++impl CloseSubagentTool {+ async fn execute_with_parent_context(+ &self,+ args: serde_json::Value,+ parent: Option<ParentExecutionContext>,+ tool_context: Option<&dyn ToolRunContext>,) -> anyhow::Result<ToolResult> {let subagent_session_id = args.get("subagent_session_id")@@ -71,7 +115,7 @@ impl Tool for CloseSubagentTool {"close_subagent: `subagent_session_id` is required",));}- let parent = match current_parent() {+ let parent = match parent {Some(parent) => parent,None => {return Ok(ToolResult::error(diff --git a/crates/openhuman-core/src/agent/orchestration/tools/list_subagents.rs b/crates/openhuman-core/src/agent/orchestration/tools/list_subagents.rsindex 0ee2b51fe3..db7b423fb9 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/list_subagents.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/list_subagents.rs@@ -1,6 +1,6 @@//! Tool: `list_subagents` - inspect reusable sub-agent sessions for this parent.-use crate::agent::harness::fork_context::current_parent;+use crate::agent::harness::fork_context::ParentExecutionContext;use crate::agent::orchestration::{running_subagents,subagent_sessions::{@@ -9,11 +9,43 @@ use crate::agent::orchestration::{};use async_trait::async_trait;use serde_json::json;+use std::sync::Arc;use tinyagents_graph::orchestration::{OrchestrationTaskRecord, OrchestrationTaskStatus};+use tinyagents_harness::context::RunContext;+use tinyagents_harness::tool::{ToolDispatch, ToolExecutionContext};use tinytools::{PermissionLevel, Tool, ToolCallOptions, ToolResult, ToolRunContext};pub struct ListSubagentsTool;+pub(crate) struct ListSubagentsDispatch {+ tool: Arc<dyn Tool>,+}+impl ListSubagentsDispatch {+ pub(crate) fn new(tool: Arc<dyn Tool>) -> Self {+ Self { tool }+ }+}+#[async_trait]+impl ToolDispatch<(), crate::agent::tinyagents::host::OpenHumanRunContext>+ for ListSubagentsDispatch+{+ fn tool(&self) -> Arc<dyn Tool> {+ self.tool.clone()+ }+ async fn execute(+ &self,+ _state: &(),+ arguments: serde_json::Value,+ _options: ToolCallOptions,+ parent: &RunContext<crate::agent::tinyagents::host::OpenHumanRunContext>,+ ) -> anyhow::Result<ToolResult> {+ let context = ToolExecutionContext::from_run_context(parent);+ ListSubagentsTool::new()+ .execute_with_parent_context(arguments, parent.data.parent.clone(), Some(&context))+ .await+ }+}+impl ListSubagentsTool {pub fn new() -> Self {Self@@ -59,7 +91,19 @@ impl Tool for ListSubagentsTool {_options: ToolCallOptions,tool_context: Option<&dyn ToolRunContext>,) -> anyhow::Result<ToolResult> {- let parent = match current_parent() {+ self.execute_with_parent_context(_args, None, tool_context)+ .await+ }+}++impl ListSubagentsTool {+ async fn execute_with_parent_context(+ &self,+ _args: serde_json::Value,+ parent: Option<ParentExecutionContext>,+ tool_context: Option<&dyn ToolRunContext>,+ ) -> anyhow::Result<ToolResult> {+ let parent = match parent {Some(parent) => parent,None => {return Ok(ToolResult::error(diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rsindex 921aed2c2f..0c7ebc881c 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rs@@ -419,8 +419,12 @@ impl SpawnAsyncSubagentTool {// The detached child starts on a fresh task. Its explicit carrier keeps// authority, origin, thread, and workspace while deliberately dropping// the originating turn's accounting, dispatch refusal, and cancellation.+ // Approval/origin and workspace policy remain task-local until B2h+ // moves the security boundary onto this carrier, so propagation below+ // is a staging bridge for those two scopes only.let detached_run_context = run_context.detached_child();- let join = tokio::spawn(async move {+ let join = tokio::spawn(crate::agent::turn_origin::propagate(+ crate::agent::turn_workspace::propagate(async move {let options = SubagentRunOptions {skill_filter_override: None,toolkit_override,@@ -678,7 +682,8 @@ impl SpawnAsyncSubagentTool {}}}- });+ }),+ ));// Register *after* spawn so the AbortHandle is available. The task owns// `status_tx`; this side holds `status_rx` for `wait_subagent`.diff --git a/crates/openhuman-core/src/agent/orchestration/tools/steer_subagent.rs b/crates/openhuman-core/src/agent/orchestration/tools/steer_subagent.rsindex 75f337f8df..a8cb91faae 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/steer_subagent.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/steer_subagent.rs@@ -7,15 +7,47 @@//! redirect or feed data to a running sub-agent//! without waiting for it to finish or restarting it. Mirrors Codex `send_input`.-use crate::agent::harness::fork_context::current_parent;+use crate::agent::harness::fork_context::ParentExecutionContext;use crate::agent::harness::run_queue::QueueMode;use crate::agent::orchestration::running_subagents::{self, SteerError};use async_trait::async_trait;use serde_json::json;-use tinytools::{PermissionLevel, Tool, ToolResult};+use std::sync::Arc;+use tinyagents_harness::context::RunContext;+use tinyagents_harness::tool::{ToolDispatch, ToolExecutionContext};+use tinytools::{PermissionLevel, Tool, ToolCallOptions, ToolResult};pub struct SteerSubagentTool;+pub(crate) struct SteerSubagentDispatch {+ tool: Arc<dyn Tool>,+}+impl SteerSubagentDispatch {+ pub(crate) fn new(tool: Arc<dyn Tool>) -> Self {+ Self { tool }+ }+}+#[async_trait]+impl ToolDispatch<(), crate::agent::tinyagents::host::OpenHumanRunContext>+ for SteerSubagentDispatch+{+ fn tool(&self) -> Arc<dyn Tool> {+ self.tool.clone()+ }+ async fn execute(+ &self,+ _state: &(),+ arguments: serde_json::Value,+ _options: ToolCallOptions,+ parent: &RunContext<crate::agent::tinyagents::host::OpenHumanRunContext>,+ ) -> anyhow::Result<ToolResult> {+ let context = ToolExecutionContext::from_run_context(parent);+ SteerSubagentTool::new()+ .execute_with_parent_context(arguments, parent.data.parent.clone(), Some(&context))+ .await+ }+}+impl SteerSubagentTool {pub fn new() -> Self {Self@@ -70,6 +102,17 @@ impl Tool for SteerSubagentTool {}async fn execute(&self, args: serde_json::Value) -> anyhow::Result<ToolResult> {+ self.execute_with_parent_context(args, None, None).await+ }+}++impl SteerSubagentTool {+ async fn execute_with_parent_context(+ &self,+ args: serde_json::Value,+ parent: Option<ParentExecutionContext>,+ _tool_context: Option<&dyn tinytools::ToolRunContext>,+ ) -> anyhow::Result<ToolResult> {let task_id = args.get("task_id").and_then(|v| v.as_str())@@ -102,7 +145,7 @@ impl Tool for SteerSubagentTool {return Ok(ToolResult::error("steer_subagent: `message` is required"));}- let parent = match current_parent() {+ let parent = match parent {Some(parent) => parent,None => {return Ok(ToolResult::error(diff --git a/crates/openhuman-core/src/agent/orchestration/tools/wait_subagent.rs b/crates/openhuman-core/src/agent/orchestration/tools/wait_subagent.rsindex 5452de94ee..7bea7d7fab 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/wait_subagent.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/wait_subagent.rs@@ -7,13 +7,16 @@use std::time::Duration;-use crate::agent::harness::fork_context::current_parent;+use crate::agent::harness::fork_context::ParentExecutionContext;use crate::agent::orchestration::running_subagents::{self, SubagentStatus, WaitError, WaitOutcome,};use async_trait::async_trait;use serde_json::json;-use tinytools::{PermissionLevel, Tool, ToolResult, ToolTimeout};+use std::sync::Arc;+use tinyagents_harness::context::RunContext;+use tinyagents_harness::tool::{ToolDispatch, ToolExecutionContext};+use tinytools::{PermissionLevel, Tool, ToolCallOptions, ToolResult, ToolTimeout};const DEFAULT_TIMEOUT_SECS: u64 = 120;/// Ceiling on a single wait. Matches Codex's `wait_agent` maximum of one hour:@@ -41,6 +44,38 @@ fn requested_timeout_secs(args: &serde_json::Value) -> u64 {pub struct WaitSubagentTool;+pub(crate) struct WaitSubagentDispatch {+ tool: Arc<dyn Tool>,+}++impl WaitSubagentDispatch {+ pub(crate) fn new(tool: Arc<dyn Tool>) -> Self {+ Self { tool }+ }+}++#[async_trait]+impl ToolDispatch<(), crate::agent::tinyagents::host::OpenHumanRunContext>+ for WaitSubagentDispatch+{+ fn tool(&self) -> Arc<dyn Tool> {+ self.tool.clone()+ }++ async fn execute(+ &self,+ _state: &(),+ arguments: serde_json::Value,+ _options: ToolCallOptions,+ parent: &RunContext<crate::agent::tinyagents::host::OpenHumanRunContext>,+ ) -> anyhow::Result<ToolResult> {+ let context = ToolExecutionContext::from_run_context(parent);+ WaitSubagentTool::new()+ .execute_with_parent_context(arguments, parent.data.parent.clone(), Some(&context))+ .await+ }+}+impl WaitSubagentTool {pub fn new() -> Self {Self@@ -104,6 +139,17 @@ impl Tool for WaitSubagentTool {}async fn execute(&self, args: serde_json::Value) -> anyhow::Result<ToolResult> {+ self.execute_with_parent_context(args, None, None).await+ }+}++impl WaitSubagentTool {+ async fn execute_with_parent_context(+ &self,+ args: serde_json::Value,+ parent: Option<ParentExecutionContext>,+ _tool_context: Option<&dyn tinytools::ToolRunContext>,+ ) -> anyhow::Result<ToolResult> {let task_id = args.get("task_id").and_then(|v| v.as_str())@@ -124,7 +170,7 @@ impl Tool for WaitSubagentTool {let timeout_secs = requested_timeout_secs(&args);- let parent = match current_parent() {+ let parent = match parent {Some(parent) => parent,None => {return Ok(ToolResult::error(diff --git a/crates/openhuman-core/src/agent/tinyagents/harness_tool_registration.rs b/crates/openhuman-core/src/agent/tinyagents/harness_tool_registration.rsindex 1d3173dd66..778fdd38b7 100644--- a/crates/openhuman-core/src/agent/tinyagents/harness_tool_registration.rs+++ b/crates/openhuman-core/src/agent/tinyagents/harness_tool_registration.rs@@ -12,9 +12,10 @@ use tinyagents_registry::{};use crate::agent::orchestration::tools::{- AgentPrepareContextDispatch, ContinueSubagentDispatch, DelegateGraphDispatch,- DelegationDispatch, SpawnAsyncSubagentDispatch, SpawnParallelAgentsDispatch,- SpawnSubagentDispatch, SpawnWorkerThreadDispatch,+ AgentPrepareContextDispatch, CloseSubagentDispatch, ContinueSubagentDispatch,+ DelegateGraphDispatch, DelegationDispatch, ListSubagentsDispatch, SpawnAsyncSubagentDispatch,+ SpawnParallelAgentsDispatch, SpawnSubagentDispatch, SpawnWorkerThreadDispatch,+ SteerSubagentDispatch, WaitSubagentDispatch,};use crate::agent::tinyagents::host::OpenHumanRunContext;use crate::agent::tinyagents::tools::{CanonicalSharedToolAdapter, EarlyExitHook};@@ -112,6 +113,14 @@ pub(super) fn register_turn_tools_and_agents(} else if name == "continue_subagent" {harness.register_tool_dispatch(Arc::new(ContinueSubagentDispatch::new(adapter)));+ } else if name == "wait_subagent" {+ harness.register_tool_dispatch(Arc::new(WaitSubagentDispatch::new(adapter)));+ } else if name == "steer_subagent" {+ harness.register_tool_dispatch(Arc::new(SteerSubagentDispatch::new(adapter)));+ } else if name == "close_subagent" {+ harness.register_tool_dispatch(Arc::new(CloseSubagentDispatch::new(adapter)));+ } else if name == "list_subagents" {+ harness.register_tool_dispatch(Arc::new(ListSubagentsDispatch::new(adapter)));} else if name == "agent_prepare_context" {harness.register_tool_dispatch(Arc::new(AgentPrepareContextDispatch::new(adapter,diff --git a/scripts/ci/agent-runtime-boundary-baseline.json b/scripts/ci/agent-runtime-boundary-baseline.jsonindex d2442ff26c..2692b63fd9 100644--- a/scripts/ci/agent-runtime-boundary-baseline.json+++ b/scripts/ci/agent-runtime-boundary-baseline.json@@ -367,7 +367,7 @@"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/harness/subagent_runner/ops/mod.rs","line": 71,- "text": "pub(super) use crate::agent::harness::{current_spawn_depth, with_spawn_depth, MAX_SPAWN_DEPTH};",+ "text": "pub(super) use crate::agent::harness::{with_spawn_depth, MAX_SPAWN_DEPTH};","occurrence": 1},{@@ -512,72 +512,16 @@},{"rule": "openhuman-task-local",- "path": "crates/openhuman-core/src/agent/orchestration/tools/close_subagent.rs",- "line": 3,- "text": "use crate::agent::harness::fork_context::current_parent;",- "occurrence": 1- },- {- "rule": "openhuman-task-local",- "path": "crates/openhuman-core/src/agent/orchestration/tools/close_subagent.rs",- "line": 74,- "text": "let parent = match current_parent() {",- "occurrence": 1- },- {- "rule": "openhuman-task-local",- "path": "crates/openhuman-core/src/agent/orchestration/tools/list_subagents.rs",- "line": 3,- "text": "use crate::agent::harness::fork_context::current_parent;",- "occurrence": 1- },- {- "rule": "openhuman-task-local",- "path": "crates/openhuman-core/src/agent/orchestration/tools/list_subagents.rs",- "line": 62,- "text": "let parent = match current_parent() {",- "occurrence": 1- },- {- "rule": "openhuman-task-local",- "path": "crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent.rs",- "line": 8,- "text": "use crate::agent::harness::fork_context::{current_parent, with_parent_context};",+ "path": "crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rs",+ "line": 426,+ "text": "let join = tokio::spawn(crate::agent::turn_origin::propagate(","occurrence": 1},{"rule": "openhuman-task-local",- "path": "crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent.rs",- "line": 16,- "text": "use crate::agent::harness::fork_context::current_parent;",- "occurrence": 1- },- {- "rule": "openhuman-task-local",- "path": "crates/openhuman-core/src/agent/orchestration/tools/steer_subagent.rs",- "line": 10,- "text": "use crate::agent::harness::fork_context::current_parent;",- "occurrence": 1- },- {- "rule": "openhuman-task-local",- "path": "crates/openhuman-core/src/agent/orchestration/tools/steer_subagent.rs",- "line": 105,- "text": "let parent = match current_parent() {",- "occurrence": 1- },- {- "rule": "openhuman-task-local",- "path": "crates/openhuman-core/src/agent/orchestration/tools/wait_subagent.rs",- "line": 10,- "text": "use crate::agent::harness::fork_context::current_parent;",- "occurrence": 1- },- {- "rule": "openhuman-task-local",- "path": "crates/openhuman-core/src/agent/orchestration/tools/wait_subagent.rs",- "line": 127,- "text": "let parent = match current_parent() {",+ "path": "crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rs",+ "line": 427,+ "text": "crate::agent::turn_workspace::propagate(async move {","occurrence": 1},{@@ -1563,7 +1507,7 @@{"rule": "tinyagents-tool-calling-facade","path": "vendor/tinyagents/crates/tinyagents-harness/src/agent_loop/run_loop.rs",- "line": 1000,+ "line": 1002,"text": "use tinytools_agent::dialect::{DialectResponse, ToolDialect, XmlDialect};","occurrence": 1},