Skip to content

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

refactor(core): remove agent work namespace description

Steven Enamakel3311dd6aa383
diff --git a/crates/openhuman-core/src/agent/orchestration/running_subagents_tenant_tests.rs b/crates/openhuman-core/src/agent/orchestration/running_subagents_tenant_tests.rs
index 0be7ef0aee..fd3f47ca9d 100644
--- a/crates/openhuman-core/src/agent/orchestration/running_subagents_tenant_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/running_subagents_tenant_tests.rs
@@ -209,14 +209,6 @@ async fn saas_dispatch_exposes_only_the_callers_detached_worker_controls() {
Some(true)
);
assert!(crate::core::all::schema_for_rpc_method("openhuman.config_get_config").is_none());
- let unreviewed =
- crate::agent_runs::command_center::all_command_center_registered_controllers()
- .into_iter()
- .find(|controller| controller.schema.function == "list")
- .expect("existing Agent controller")
- .schema;
- let method = crate::core::all::rpc_method_name(&unreviewed);
- assert!(crate::core::all::schema_for_rpc_method(&method).is_none());
assert!(
crate::core::invoke::invoke_method(
DispatchCtx::process_default(),
diff --git a/crates/openhuman-core/src/agent_runs/schemas.rs b/crates/openhuman-core/src/agent_runs/schemas.rs
index c92cfe33be..dadbba9a9c 100644
--- a/crates/openhuman-core/src/agent_runs/schemas.rs
+++ b/crates/openhuman-core/src/agent_runs/schemas.rs
@@ -563,18 +563,6 @@ fn handle_registry_snapshot(ctx: DispatchCtx, _params: Map<String, Value>) -> Co
);
}
- // ── Graphs: structure-only topology reports ─────────────────────────
- let reports = crate::agent::tinyagents::tool_registration::host_graph_topologies();
- let graph_count = reports.len();
- for report in &reports {
- let mut meta = ComponentMetadata::new(report.name, ComponentKind::Graph)
- .with_tag(if report.ok { "ok" } else { "invalid" });
- if !report.ok {
- meta = meta.with_description("structural validation failed".to_string());
- }
- components.push(meta);
- }
-
// ── Agents: built-in archetypes ─────────────────────────────────────
let agent_defs = crate::agent_registry::agents::load_builtins()
.map_err(|e| format!("loading built-in agents for registry snapshot: {e}"))?;
@@ -601,7 +589,6 @@ fn handle_registry_snapshot(ctx: DispatchCtx, _params: Map<String, Value>) -> Co
tracing::debug!(
models = model_count,
tools = tool_count,
- graphs = graph_count,
agents = agent_count,
total = snapshot.len(),
"[registry][rpc][agent] registry_snapshot export"
@@ -612,7 +599,6 @@ fn handle_registry_snapshot(ctx: DispatchCtx, _params: Map<String, Value>) -> Co
"counts": {
"model": model_count,
"tool": tool_count,
- "graph": graph_count,
"agent": agent_count,
"total": snapshot.len(),
},
diff --git a/crates/openhuman-core/src/agent_runs/schemas_tests.rs b/crates/openhuman-core/src/agent_runs/schemas_tests.rs
index c9c36629b2..2841e52aee 100644
--- a/crates/openhuman-core/src/agent_runs/schemas_tests.rs
+++ b/crates/openhuman-core/src/agent_runs/schemas_tests.rs
@@ -78,22 +78,6 @@ fn deserialize_params_and_helpers_cover_success_and_failure_paths() {
assert!(matches!(json_output("result", "x").ty, TypeSchema::Json));
}
-#[test]
-fn host_graph_topology_projection_keeps_delegation_only() {
- let names: Vec<_> = crate::agent::tinyagents::tool_registration::host_graph_topologies()
- .into_iter()
- .map(|report| report.name)
- .collect();
- assert!(names.contains(&"delegation"), "saw {names:?}");
- assert!(
- !names.iter().any(|name| name.starts_with("agent_teams:")),
- "retired team graphs must not be projected: {names:?}"
- );
- assert!(
- !names.iter().any(|name| name.starts_with("workflow_runs:")),
- "retired workflow graphs must not be projected: {names:?}"
- );
-}
#[tokio::test]
async fn registry_snapshot_omits_retired_graphs_and_keeps_delegation() {
diff --git a/crates/openhuman-core/src/core/all.rs b/crates/openhuman-core/src/core/all.rs
index 8983ebc034..2922ccb2a4 100644
--- a/crates/openhuman-core/src/core/all.rs
+++ b/crates/openhuman-core/src/core/all.rs
@@ -839,9 +839,6 @@ pub fn namespace_description(namespace: &str) -> Option<&'static str> {
"run_ledger" => Some(
"Durable agent and workflow run state, child lineage, events, telemetry, and checkpoint references.",
),
- "agent_work" => Some(
- "Background agent command center — recent agent runs grouped by status (needs-input, working, completed, failed, stopped).",
- ),
"tool_registry" => Some(
"Read-only discovery for MCP stdio tools and controller-backed tools, including routes, schemas, version, allowed agents, and health.",
),