Skip to content

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

fix(todo): remove deprecated orchestrator-tasks board routing

Steven Enamakela78554fee6aa
diff --git a/crates/openhuman-core/src/agent/todos/ops.rs b/crates/openhuman-core/src/agent/todos/ops.rs
index 717edeeb75..ddd084498d 100644
--- a/crates/openhuman-core/src/agent/todos/ops.rs
+++ b/crates/openhuman-core/src/agent/todos/ops.rs
@@ -16,7 +16,6 @@ use crate::agent::todos::types::normalize_cards_for_wire;
pub use crate::agent::todos::types::{TaskApprovalMode, TaskBoardCard, TaskCardStatus};
pub const USER_TASKS_THREAD_ID: &str = "user-tasks";
-pub const ORCHESTRATOR_TASKS_THREAD_ID: &str = "orchestrator-tasks";
pub use tinyagents_graph::todos::{parse_status, render_markdown, CardPatch};
diff --git a/crates/openhuman-core/src/agent/tools/todo.rs b/crates/openhuman-core/src/agent/tools/todo.rs
index a1be0b8395..f3a26601c2 100644
--- a/crates/openhuman-core/src/agent/tools/todo.rs
+++ b/crates/openhuman-core/src/agent/tools/todo.rs
@@ -242,15 +242,11 @@ fn current_location(
let Some(parent) = parent else {
return BoardLocation::Scratch;
};
- // The orchestrator owns ONE global task board rather than a per-thread one:
- // its `todo` tool always targets the app-wide `orchestrator-tasks` board so a
- // single todo graph spans every delegation.
- if parent.agent_definition_id == "orchestrator" {
- return BoardLocation::Thread {
- workspace_dir: parent.workspace_dir.clone(),
- thread_id: ops::ORCHESTRATOR_TASKS_THREAD_ID.to_string(),
- };
- }
+ // Every agent, the orchestrator included, binds to the conversation thread
+ // it is running in. The orchestrator used to be routed to one app-wide
+ // `orchestrator-tasks` board instead; that board is deprecated and nothing
+ // renders it, so cards written there were invisible to the thread the
+ // user was looking at.
let Some(thread_id) = tool_context.and_then(ToolRunContext::thread_id) else {
return BoardLocation::Scratch;
};