Skip to content

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

refactor(goals): import thread goal types from tinyagents_graph

Steven Enamakeld0f6999be27d
diff --git a/crates/openhuman-core/src/agent/goals/runtime.rs b/crates/openhuman-core/src/agent/goals/runtime.rs
index 78a70f241e..14fd457f33 100644
--- a/crates/openhuman-core/src/agent/goals/runtime.rs
+++ b/crates/openhuman-core/src/agent/goals/runtime.rs
@@ -25,10 +25,10 @@ use tinyagents_graph::goals::budget as crate_budget;
use tinyagents_graph::goals::{BudgetVerdict, GoalBudgetGuard};
use super::store::{self, goals_store};
-use super::{ThreadGoal, ThreadGoalStatus};
use crate::agent::stop_hooks::{StopDecision, StopHook, TurnState};
use crate::core::bus::BUS;
use crate::core::events::DomainEvent;
+use tinyagents_graph::goals::{ThreadGoal, ThreadGoalStatus};
/// Load the goal for an explicitly supplied chat thread.
pub async fn load_for_thread(workspace_dir: &Path, thread_id: Option<&str>) -> Option<ThreadGoal> {
diff --git a/crates/openhuman-core/src/tools/ops_tests_catalog_fixture_tests.rs b/crates/openhuman-core/src/tools/ops_tests_catalog_fixture_tests.rs
index 5223d6b6a6..a6f99b6b7a 100644
--- a/crates/openhuman-core/src/tools/ops_tests_catalog_fixture_tests.rs
+++ b/crates/openhuman-core/src/tools/ops_tests_catalog_fixture_tests.rs
@@ -49,6 +49,9 @@ fn full_product_features_enabled() -> bool {
.lines()
.map(|line| line.split('#').next().unwrap_or("").trim())
.filter(|line| !line.is_empty())
+ // This gate belongs only to the RPC host. It cannot change the core tool
+ // catalog and is deliberately not a core feature (see CHAIN_LOCAL_GATES).
+ .filter(|line| *line != "os-keyring")
.collect();
let checked: std::collections::BTreeSet<_> = flags.iter().map(|(name, _)| *name).collect();
assert_eq!(