Skip to content

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

feat(agent): remove task-board tools from task manager agent

Steven Enamakelc8d5601e84ba
diff --git a/crates/openhuman-core/src/agent/registry/agents/orchestrator/agent.toml b/crates/openhuman-core/src/agent/registry/agents/orchestrator/agent.toml
index a9c39ba8f3..186ffafb90 100644
--- a/crates/openhuman-core/src/agent/registry/agents/orchestrator/agent.toml
+++ b/crates/openhuman-core/src/agent/registry/agents/orchestrator/agent.toml
@@ -99,10 +99,10 @@ allowlist = [
"researcher",
"planner",
"code_executor",
- # Task-board/source/workflow specialist. Route any request to create,
- # edit, approve/reject, fetch, clear, remove, or summarize agent tasks,
- # proactive task sources, workflow bundles, task evidence, or artifacts
- # here instead of letting the generic tools agent see the full family.
+ # Task-source/workflow/artifact specialist. Route any request to add,
+ # preview, fetch, update, remove, or summarize proactive task sources,
+ # workflow bundles, or artifacts here instead of letting the generic
+ # tools agent see the full family.
"task_manager_agent",
# Settings/system specialist. Route app/core config, diagnostics,
# service lifecycle, update, proxy, health, model-health, and cost
diff --git a/crates/openhuman-core/src/agent/registry/agents/task_manager_agent/agent.toml b/crates/openhuman-core/src/agent/registry/agents/task_manager_agent/agent.toml
index 2d37daf352..af1d519dd7 100644
--- a/crates/openhuman-core/src/agent/registry/agents/task_manager_agent/agent.toml
+++ b/crates/openhuman-core/src/agent/registry/agents/task_manager_agent/agent.toml
@@ -1,7 +1,7 @@
id = "task_manager_agent"
display_name = "Task Manager Agent"
delegate_name = "manage_tasks"
-when_to_use = "Task-board and task-source specialist: todo cards, proactive feeds, workflow bundles, artifacts, evidence and status. Use when the user asks to create, edit, route, approve, reject, clear or summarize tasks or sources."
+when_to_use = "Task-source, workflow-bundle and artifact specialist: proactive feeds from GitHub/Linear/Notion/ClickUp, workflow install/uninstall, artifacts. Use when the user asks to add, preview, fetch, update, remove or summarize task sources, workflows or artifacts."
temperature = 0.2
max_iterations = 8
iteration_policy = "extended"
@@ -18,16 +18,6 @@ hint = "agentic"
[tools]
named = [
- "todo_list",
- "todo_add",
- "todo_edit",
- "todo_update_status",
- "todo_decide_plan",
- "todo_remove",
- "todo_replace",
- "todo_clear",
- "todo",
- "update_task",
"task_source_list",
"task_source_get",
"task_source_fetch",
diff --git a/crates/openhuman-core/src/agent/registry/agents/task_manager_agent/prompt.md b/crates/openhuman-core/src/agent/registry/agents/task_manager_agent/prompt.md
index 9d02c0452c..ec32ea3a5c 100644
--- a/crates/openhuman-core/src/agent/registry/agents/task_manager_agent/prompt.md
+++ b/crates/openhuman-core/src/agent/registry/agents/task_manager_agent/prompt.md
@@ -1,15 +1,13 @@
# Task Manager Agent
-You own the user's agent task surfaces: per-thread todo boards, proactive task-source feeds, workflow bundles, and task evidence.
+You own the user's task-source feeds, workflow bundles, and artifacts.
-Operate as a stateful task-board specialist:
+Operate as a stateful specialist:
-- Always read before you write. Inspect the current board/source/workflow with the narrowest read tool before changing it.
-- Preserve user-authored task content, acceptance criteria, allowed tools, evidence, blockers, and source metadata unless the user explicitly asks to replace them.
-- Prefer partial updates (`todo_edit`, `todo_update_status`, `update_task`, `task_source_update`) over wholesale replacement.
-- Use destructive tools (`todo_remove`, `todo_replace`, `todo_clear`, `artifact_delete`, `agent_workflow_uninstall`, `task_source_remove`) only when the user explicitly names what should be removed or confirms your proposed removal.
+- Always read before you write. Inspect the current source/workflow/artifact with the narrowest read tool before changing it.
+- Prefer partial updates (`task_source_update`) over remove-and-recreate.
+- Use destructive tools (`artifact_delete`, `agent_workflow_uninstall`, `task_source_remove`) only when the user explicitly names what should be removed or confirms your proposed removal.
- For task-source setup, preview filters before adding or updating a persistent source. After adding/updating, fetch once and summarize counts plus any skipped/duplicate tasks.
- For workflow changes, read the existing workflow first and explain the phase or install/uninstall effect before running a mutating action.
-- When marking work done, attach concrete evidence. When blocking, include the blocker and the next user decision needed.
-Return a concise task-state summary with changed ids and final statuses.
+Return a concise summary with changed ids and final state.
diff --git a/crates/openhuman-core/src/agent/triage/escalation_tests.rs b/crates/openhuman-core/src/agent/triage/escalation_tests.rs
index cbeaaac468..5cf9c3893b 100644
--- a/crates/openhuman-core/src/agent/triage/escalation_tests.rs
+++ b/crates/openhuman-core/src/agent/triage/escalation_tests.rs
@@ -184,78 +184,6 @@ async fn apply_decision_acknowledge_only_publishes_evaluated() {
)));
}
-async fn seed_task_card() -> (
- tempfile::TempDir,
- crate::agent::todos::ops::BoardLocation,
- String,
-) {
- use crate::agent::todos::ops::{self, BoardLocation, CardPatch};
- let dir = tempfile::tempdir().unwrap();
- let location = BoardLocation::Thread {
- workspace_dir: dir.path().to_path_buf(),
- thread_id: "task-sources".to_string(),
- };
- let card_id = ops::add(&location, "ingested issue", CardPatch::default())
- .await
- .unwrap()
- .cards[0]
- .id
- .clone();
- (dir, location, card_id)
-}
-
-#[tokio::test]
-async fn apply_decision_drop_gates_linked_card_to_rejected() {
- use crate::agent::todos::ops;
- use crate::agent::todos::types::TaskCardStatus;
-
- let _events_guard = test_events_guard().await;
- crate::core::bus::init().await.expect("bus init");
- let (_dir, location, card_id) = seed_task_card().await;
-
- let envelope = envelope("esc-drop-card");
- apply_decision(run(TriageAction::Drop), &envelope)
- .await
- .expect("drop should not fail");
-
- let status = ops::list(&location)
- .await
- .unwrap()
- .cards
- .into_iter()
- .find(|c| c.id == card_id)
- .map(|c| c.status);
- assert_eq!(
- status,
- Some(TaskCardStatus::Todo),
- "triage no longer mutates task-board cards after dispatcher removal"
- );
-}
-
-#[tokio::test]
-async fn apply_decision_acknowledge_gates_linked_card_to_rejected() {
- use crate::agent::todos::ops;
- use crate::agent::todos::types::TaskCardStatus;
-
- let _events_guard = test_events_guard().await;
- crate::core::bus::init().await.expect("bus init");
- let (_dir, location, card_id) = seed_task_card().await;
-
- let envelope = envelope("esc-ack-card");
- apply_decision(run(TriageAction::Acknowledge), &envelope)
- .await
- .expect("acknowledge should not fail");
-
- let status = ops::list(&location)
- .await
- .unwrap()
- .cards
- .into_iter()
- .find(|c| c.id == card_id)
- .map(|c| c.status);
- assert_eq!(status, Some(TaskCardStatus::Todo));
-}
-
#[tokio::test]
async fn apply_decision_react_failure_publishes_failed_event() {
let _events_guard = test_events_guard().await;
diff --git a/crates/openhuman-core/src/tools/toolpacks/registry.rs b/crates/openhuman-core/src/tools/toolpacks/registry.rs
index 92ccbfd907..1041332d0c 100644
--- a/crates/openhuman-core/src/tools/toolpacks/registry.rs
+++ b/crates/openhuman-core/src/tools/toolpacks/registry.rs
@@ -314,7 +314,7 @@ pub const PACKS: &[ToolPack] = &[
},
ToolPack {
id: "tasks",
- summary: "Agent task board: create, edit, approve, clear, summarize tasks and sources.",
+ summary: "Task sources, workflow bundles and artifacts: add, preview, fetch, update, remove, summarize.",
tools: &["manage_tasks"],
owners: &["task_manager_agent"],
},
diff --git a/crates/openhuman-core/src/tools/user_filter.rs b/crates/openhuman-core/src/tools/user_filter.rs
index 6792c9a35a..45aea23bfb 100644
--- a/crates/openhuman-core/src/tools/user_filter.rs
+++ b/crates/openhuman-core/src/tools/user_filter.rs
@@ -188,7 +188,7 @@ const TOOL_FAMILIES: &[ToolFamily] = &[
// expansion). Only the destructive/persistent-config mutators are listed
// here so the onboarding toggle surface can default them OFF and let users
// opt in; the read-only + bounded-write siblings (e.g. `artifact_list`,
- // `todo_add`, `task_source_fetch`) are intentionally NOT listed, so they
+ // `task_source_fetch`) are intentionally NOT listed, so they
// are always-retained infrastructure. Grouped one toggle per risk family.
ToolFamily {
id: "agent_workflow_uninstall",
@@ -200,11 +200,6 @@ const TOOL_FAMILIES: &[ToolFamily] = &[
rust_names: &["artifact_delete"],
default_enabled: false,
},
- ToolFamily {
- id: "todo_destructive",
- rust_names: &["todo_remove", "todo_replace", "todo_clear"],
- default_enabled: false,
- },
ToolFamily {
id: "task_source_manage",
rust_names: &[