Skip to content

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

chore: files changed app/src/features/conversations/tools/toolSpecs.ts,crates/openhuman-core/src/age

Steven Enamakela68f8a7f2a4d
diff --git a/app/src/features/conversations/tools/toolSpecs.ts b/app/src/features/conversations/tools/toolSpecs.ts
index aa755dbd5c..320e724755 100644
--- a/app/src/features/conversations/tools/toolSpecs.ts
+++ b/app/src/features/conversations/tools/toolSpecs.ts
@@ -300,7 +300,6 @@ export const EXACT_TOOL_SPECS: Record<string, ToolSpec> = {
// ── Agents and delegation ──────────────────────────────────────────────
spawn_subagent: spec('delegateTask', BotIcon, 'agent', { chip: chip.text('agent_id') }),
spawn_async_subagent: spec('delegateTask', BotIcon, 'agent', { chip: chip.text('agent_id') }),
- spawn_worker_thread: spec('delegateTask', BotIcon, 'agent', { chip: chip.text('agent_id') }),
delegate_graph: spec('delegateTask', BotIcon, 'agent', { chip: chip.text('agent_id') }),
delegate: spec('delegateTask', BotIcon, 'agent', { chip: chip.text('agent') }),
delegate_to: spec('delegateTask', BotIcon, 'agent', { chip: chip.text('agent', 'agent_id') }),
diff --git a/crates/openhuman-core/src/agent_registry/agents/loader_tests_builtin_registration_tests.rs b/crates/openhuman-core/src/agent_registry/agents/loader_tests_builtin_registration_tests.rs
index 123e0e4ee8..e738ae7a68 100644
--- a/crates/openhuman-core/src/agent_registry/agents/loader_tests_builtin_registration_tests.rs
+++ b/crates/openhuman-core/src/agent_registry/agents/loader_tests_builtin_registration_tests.rs
@@ -260,13 +260,7 @@ fn master_agent_has_coding_hint_and_named_tools() {
assert_eq!(def.sandbox_mode, SandboxMode::Sandboxed);
match def.tools {
ToolScope::Named(tools) => {
- // spawn_subagent was removed in #1141. spawn_worker_thread is
- // disabled pending its UI (#1624) and unregistered, so the
- // named scope must not advertise it.
- assert!(
- !tools.iter().any(|t| t == "spawn_worker_thread"),
- "spawn_worker_thread is disabled (#1624) and must not be named"
- );
+ // The builtin scope contains only registered worker surfaces.
// Sub-agent surface taught by prompt.md, deliberately three
// tools (#5701): spawn, enumerate, resume. A sub-agent is
// always async and its result is delivered back on an idle
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 869c0705fb..4197012347 100644
--- a/crates/openhuman-core/src/agent_registry/agents/orchestrator/agent.toml
+++ b/crates/openhuman-core/src/agent_registry/agents/orchestrator/agent.toml
@@ -247,10 +247,6 @@ named = [
"storage_download_file",
"storage_list_files",
"storage_get_link",
- # NOTE: `spawn_worker_thread` is intentionally absent — the tool is
- # disabled pending a worker-thread UI (#1624) and is not registered, so
- # listing it here (and teaching it in prompt.md) only trained the model
- # to call a tool that does not exist.
# Sub-agent surface, deliberately three tools (#5701). A sub-agent is
# always async: `spawn_async_subagent` returns a task id immediately and
# the runner delivers the result back on an idle system turn via
diff --git a/crates/openhuman-core/src/tools/README.md b/crates/openhuman-core/src/tools/README.md
index 2b0e61ef99..d3b328137a 100644
--- a/crates/openhuman-core/src/tools/README.md
+++ b/crates/openhuman-core/src/tools/README.md
@@ -38,8 +38,7 @@ assembled. It is called by the session builder
feature- and config-gated families appended
flows, web3, voice, skills, mcp, documents, media, hosting,
memory (memory::engine::is_on), browser (browser.enabled),
- gitbooks (gitbooks.enabled), search, integrations, composio,
- lsp (OPENHUMAN_LSP_ENABLED), delegate
+ gitbooks (gitbooks.enabled), search, integrations, composio, delegate
|
v
post-filter 1: DomainSet drop tools whose DomainGroup is off
diff --git a/crates/openhuman-core/src/tools/impl/README.md b/crates/openhuman-core/src/tools/impl/README.md
index a67091b685..30ee95cca6 100644
--- a/crates/openhuman-core/src/tools/impl/README.md
+++ b/crates/openhuman-core/src/tools/impl/README.md
@@ -26,7 +26,7 @@ tested but no production assembly site constructs it today.
| Family | Tools | Registration gate |
| --- | --- | --- |
-| [`system/`](./system/) | `ShellTool`, `InstallToolTool`, `DetectToolsTool`, `CurrentTimeTool`, `ResolveTimeTool`, `ScheduleTool`, `ProxyConfigTool`, `PushoverTool`, `LspTool`, update tools, workspace and retrieval helpers. |
+| [`system/`](./system/) | `ShellTool`, `InstallToolTool`, `DetectToolsTool`, `CurrentTimeTool`, `ResolveTimeTool`, `ScheduleTool`, `ProxyConfigTool`, `PushoverTool`, update tools, workspace and retrieval helpers. |
| [`filesystem/`](./filesystem/) | Host adapter only: `SecurityPolicy` implements `tinytools_std::filesystem::FsGate`. The tools (`FileReadTool`, `FileWriteTool`, `EditFileTool`, `ApplyPatchTool`, `GrepTool`, `GlobTool`, `ListFilesTool`, `ReadDiffTool`, `CsvExportTool`, `GitOperationsTool`, `RunLinterTool`, `RunTestsTool`, `UpdateMemoryMdTool`) live in `tinytools_std::filesystem` and are imported directly by `tools/ops.rs` | always registered, except `ReadDiffTool`, `RunLinterTool`, and `RunTestsTool`, which are exported, not registered |
| [`browser/`](./browser/) | `BrowserTool` (TinyComputer browser members and tasks), `BrowserOpenTool` (simple TinyComputer navigation), `ImageInfoTool` | Both browser tools need `browser.enabled` and the `modules` feature, and are deferred until `tool_search`; `ImageInfoTool` remains direct. Browser navigation uses the shared `http_request.allowed_domains` policy, and the checksum-pinned TinyComputer release module. Consequential actions go through the forced approval gate; `browser_unattended.rs` lets trusted cron/background/approval-free workflow turns skip it for the kinds listed in `[browser] unattended_actions`. |
| [`network/`](./network/) | `HttpRequestTool`, `WebFetchTool`, `CurlTool`, `GitbooksSearchTool`, `GitbooksGetPageTool`, `GmailUnsubscribeTool`, and under the `mcp` Cargo feature `McpListServersTool`, `McpListToolsTool`, `McpCallTool`; `url_guard.rs` is the shared SSRF/allowlist validator, not a tool | `http_request`, `web_fetch`, `curl`, `gmail_unsubscribe` always registered; `gitbooks_*` need `gitbooks.enabled` and, when the active profile sets an `mcp_allowlist`, an entry named `gitbooks`; `mcp_list_servers`/`mcp_list_tools`/`mcp_call_tool` register only when the static `[[mcp_client.servers]]` registry (after the profile allowlist) is non-empty |
diff --git a/crates/openhuman-core/src/tools/orchestrator_tools_tests.rs b/crates/openhuman-core/src/tools/orchestrator_tools_tests.rs
index cc033a80d4..c98d595d18 100644
--- a/crates/openhuman-core/src/tools/orchestrator_tools_tests.rs
+++ b/crates/openhuman-core/src/tools/orchestrator_tools_tests.rs
@@ -129,10 +129,6 @@ fn collects_agentid_entries_and_expands_skills_wildcard_to_deferred_actions() {
assert_eq!(
names,
vec![
- // `spawn_worker_thread` is temporarily disabled upstream —
- // see tinyhumansai/openhuman#1624. Re-add the leading entry
- // when the registration in `collect_orchestrator_tools` is
- // restored.
"research", // researcher's delegate_name override
"delegate_critic", // critic has no delegate_name → default
// Actions sorted by toolkit, then action name.
@@ -210,7 +206,6 @@ fn skills_wildcard_with_no_integrations_produces_no_integration_tools() {
let reg = registry_with_targets();
let tools = collect_orchestrator_tools(&orch, &reg, &[]);
let names: Vec<&str> = tools.iter().map(|t| t.name()).collect();
- // `spawn_worker_thread` is temporarily disabled — see #1624.
assert_eq!(names, vec!["research", "delegate_critic"]);
}
@@ -291,7 +286,6 @@ fn unknown_subagent_id_is_skipped_not_fatal() {
let reg = registry_with_targets();
let tools = collect_orchestrator_tools(&orch, &reg, &[]);
let names: Vec<&str> = tools.iter().map(|t| t.name()).collect();
- // `spawn_worker_thread` is temporarily disabled — see #1624.
assert_eq!(names, vec!["research"]);
}
diff --git a/docs/TEST-COVERAGE-MATRIX.md b/docs/TEST-COVERAGE-MATRIX.md
index ce043d844a..1ded3df8b8 100644
--- a/docs/TEST-COVERAGE-MATRIX.md
+++ b/docs/TEST-COVERAGE-MATRIX.md
@@ -296,7 +296,7 @@ End-to-end coverage of the agent harness via the web-chat RPC surface against an
| 6.3.13 | continue_subagent durable resume (no pause checkpoint) | RU | `crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs::{continue_subagent_resumes_idle_durable_session_e2e,continue_subagent_without_checkpoint_or_durable_session_names_the_roster}` | ✅ | With no `ask_user_clarification` checkpoint, `continue_subagent` resolves the durable session by subagent_session_id / task id, resumes it via the reusable async path seeded with persisted history, and keeps the same durable id; missing sessions error with a pointer at the roster. |
| 6.3.14 | Workflow proposal durability (async builder → chat card) | RU+VU | `crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent.rs::{extract_workflow_proposal_finds_last_proposal_tool_result,attach_workflow_proposal_persists_thread_message_and_extends_summary,attach_workflow_proposal_without_proposal_returns_summary_unchanged}`, `app/src/lib/workflows/workflowProposal.test.ts` | ✅ | A `workflow_proposal` payload in a finished async child's history is persisted as a parent-thread message (metadata scope `workflow_proposal`) and embedded in the delivery notice; the frontend rehydrates the newest unconsumed proposal into the card on thread load, and Save/Dismiss mark the source message consumed. |
| 6.3.15 | Background reply persisted once (core-owned id, idempotent append) | RU+VU | `crates/openhuman-core/src/agent/orchestration/background_delivery.rs::run_system_turn_on_thread`, `crates/openhuman-core/src/memory/conversations/store/store_tests.rs::append_message_is_idempotent_by_message_id`, `crates/openhuman-core/src/web_chat/presentation_tests.rs::single_bubble_delivery_emits_one_unsegmented_chat_done`, `app/src/providers/__tests__/ChatRuntimeProvider.test.tsx` (system `chat_done`/`chat_error` reuse the core id), `app/src/services/api/threadApi.test.ts` (legacy `assistant` sender folded onto `agent`), `app/src/store/__tests__/threadSlice.test.ts` (same-id cache upsert) | ✅ | #5933 — background delivery persists a reply FIRST as `agent:<run_id>` (`sender: agent`, `extraMetadata.requestId`), then announces one unsegmented `chat_done`; the frontend reuses that id so the id-idempotent store keeps one row. |
-| 6.3.16 | Sub-agent spawn/delegate tool refusal (#4452 invariant) | RU | `crates/openhuman-core/src/agent/subagent_host/ops/graph_policy_tests.rs::{a_sub_agent_cannot_reach_a_spawn_tool_and_the_healthy_run_is_quiet,an_allowlist_that_readmits_a_spawn_tool_is_refused_loudly}`, `crates/openhuman-core/src/agent/subagent_host/tool_prep_tests.rs::{dynamic_tools_keep_ordinary_actions_and_lose_spawn_tools,dynamic_tools_lose_unprefixed_delegate_name_overrides,a_dynamic_tool_list_without_spawn_tools_is_untouched}` | 🟡 | Migration coverage: the host still fail-closes `spawn_subagent`/`delegate_*`/`spawn_worker_thread` while Phase 6 moves lifecycle ownership to TinyAgents. Completion requires the direct-driver and durable-resume checks in the extraction plan. |
+| 6.3.16 | Sub-agent spawn/delegate tool refusal (#4452 invariant) | RU | `crates/openhuman-core/src/agent/subagent_host/ops/graph_policy_tests.rs::{a_sub_agent_cannot_reach_a_spawn_tool_and_the_healthy_run_is_quiet,an_allowlist_that_readmits_a_spawn_tool_is_refused_loudly}`, `crates/openhuman-core/src/agent/subagent_host/tool_prep_tests.rs::{dynamic_tools_keep_ordinary_actions_and_lose_spawn_tools,dynamic_tools_lose_unprefixed_delegate_name_overrides,a_dynamic_tool_list_without_spawn_tools_is_untouched}` | 🟡 | Migration coverage: the host fail-closes `spawn_subagent` and `delegate_*` while Phase 6 moves lifecycle ownership to TinyAgents. Completion requires the direct-driver and durable-resume checks in the extraction plan. |
| 6.3.17 | Host-authored turns run on the thread's cached session (no competing root transcript) | RU | `crates/openhuman-core/src/web_chat/session_checkout_tests.rs::{checkout_cold_boots_from_the_thread_transcript_and_checkin_keeps_it_warm,checkin_if_vacant_yields_to_a_turn_that_re_cached_meanwhile,a_system_turn_adopts_the_cached_agent_and_its_fingerprint,a_fork_never_takes_or_returns_the_cached_agent}` | ✅ | Background delivery and goal continuation go through `web_chat::run_system_turn_on_thread` → `checkout_session_agent`, so they see the conversation and append to the thread's transcript. A throwaway host bound to the thread used to write a competing root transcript that the next cold-boot resume preferred (newest `created`), dropping every earlier turn after a restart. `checkin_session_agent_if_vacant` never clobbers a user turn that re-cached meanwhile; forks stay isolated. |
| 6.3.18 | Mid-conversation availability notes are status, not instructions | RU | `crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rs::availability_notes_are_status_not_instructions` | ✅ | `[integration update]` / `[MCP update]` / `[skills update]` prepended to the next user message no longer say "act on them immediately" (which sent the orchestrator to the integrations agent mid-conversation); they defer to the user's message and only forbid the "reconnect/restart" reply. |
| 6.3.19 | `use_skill` dispatches packed delegates with the live parent | RU | `crates/openhuman-core/src/agent/tinyagents/use_skill_dispatch_tests.rs::use_skill_dispatch_reaches_live_parent_for_packed_archetype_delegate` | ✅ | `use_skill {skill, tool:"create_image"}` routes through the typed delegation dispatch with the real parent `RunContext` instead of failing with "delegation requires a live harness run context"; disclosure and not-found paths unchanged. |
diff --git a/docs/gitbooks/en/features/native-tools/agent-coordination.md b/docs/gitbooks/en/features/native-tools/agent-coordination.md
index 46d88efb56..a210cc5e2d 100644
--- a/docs/gitbooks/en/features/native-tools/agent-coordination.md
+++ b/docs/gitbooks/en/features/native-tools/agent-coordination.md
@@ -16,7 +16,6 @@ Besides doing the work, the agent has tools for organizing it: planning multi-st
| `spawn_async_subagent` | A lower-level reusable async delegation tool with the same durable session identity. |
| `steer_subagent`, `wait_subagent` | Message or collect a running worker by durable `subagent_session_id` or transient `task_id`. |
| `list_subagents`, `close_subagent` | Inspect the reusable workers for the parent thread, or retire one. |
-| `spawn_worker_thread` | Explicit background work tracked as a separate worker thread. |
| `delegate` | Hands a task to a specialist, such as an archetype with different prompts, tools or permissions. |
| `spawn_parallel_agents` | Fans one task out to several specialists at once and merges what they return. |
| `use_skill` | Loads an inline skill's playbook and tools (coding, web3, system, scheduling, docs, mcp) so the agent can call them. |
diff --git a/tests/agent_harness_e2e.rs b/tests/agent_harness_e2e.rs
index 69c38ec2dc..bd685ccf5c 100644
--- a/tests/agent_harness_e2e.rs
+++ b/tests/agent_harness_e2e.rs
@@ -2036,7 +2036,7 @@ async fn provider_error_retry_inner() {
// spawn tools in their named lists. Verified: vision_agent's agent.toml
// (agent_registry/agents/vision_agent/agent.toml) names only `file_read` and
// `image_info`. It contains no
-// spawn_subagent, spawn_worker_thread, or spawn_parallel_agents. The only
+// spawn_subagent or spawn_parallel_agents. The only
// agents with spawn tools are orchestrator and trigger_reactor (loader.rs:383,
// 527). trigger_reactor is not in the orchestrator's subagents.allowlist.
// MAX_SPAWN_DEPTH=3 (spawn_depth_context.rs:16) is structurally unreachable
@@ -2210,7 +2210,7 @@ async fn parallel_subagent_fanout_inner() {
///
/// Depth behavior discovered: vision_agent's agent.toml names only `file_read`
/// and `image_info` (no spawn_subagent,
-/// spawn_worker_thread, spawn_parallel_agents). MAX_SPAWN_DEPTH=3
+/// spawn_parallel_agents). MAX_SPAWN_DEPTH=3
/// (spawn_depth_context.rs:16) is unreachable with built-in agents; it guards
/// runtime/workspace agents. The three-level synthesis (user-turn root →
/// vision_agent subagent → orchestrator synthesis) is the deepest path