Skip to content

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

fix(skills): remove skills from domain component mapping

Steven Enamakel4e53128f55b1
diff --git a/crates/openhuman-core/src/platform/about_app/ops.rs b/crates/openhuman-core/src/platform/about_app/ops.rs
index 409cc42bec..0f4ece111c 100644
--- a/crates/openhuman-core/src/platform/about_app/ops.rs
+++ b/crates/openhuman-core/src/platform/about_app/ops.rs
@@ -11,7 +11,6 @@ use crate::core::runtime::ComponentSet;
pub fn component_for_domain(domain: &str) -> Option<&'static str> {
Some(match domain {
"flows" | "workflow_runs" => "flows",
- "skills" => "skills",
"memory" => "memory",
"channels" => "channels",
"voice" => "voice",
diff --git a/crates/openhuman-core/src/skills/ops_discovery_tests.rs b/crates/openhuman-core/src/skills/ops_discovery_tests.rs
index 829ea2a726..ea4dc3255f 100644
--- a/crates/openhuman-core/src/skills/ops_discovery_tests.rs
+++ b/crates/openhuman-core/src/skills/ops_discovery_tests.rs
@@ -274,21 +274,16 @@ fn workflow_metadata_is_reused_until_invalidated() {
#[tokio::test]
async fn skills_component_off_yields_no_catalogue_and_skips_bundled_install() {
- use crate::core::runtime::{ComponentSet, ContextOverlay, CoreContext, DomainSet};
+ use crate::core::runtime::{ComponentSet, CoreContext};
let ws_dir = tempfile::tempdir().unwrap();
write(
&ws_dir.path().join("skills").join("ws-only").join("SKILL.md"),
"---\nname: ws-only\ndescription: workspace skill\n---\n",
);
- let mut config = crate::config::Config::default();
- config.workspace_dir = ws_dir.path().to_path_buf();
let mut off = ComponentSet::all();
off.skills = false;
- let base = CoreContext::for_test(DomainSet::full(), None);
- let ctx = base.derive_with(
- ContextOverlay::new(config, DomainSet::full(), Default::default()).with_components(off),
- );
+ let ctx = CoreContext::for_test_with_components(off);
let ws = ws_dir.path().to_path_buf();
let (names, installed) = CoreContext::scope(ctx, async move {