The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore: remove stale comments and consolidate test module declarations
Steven Enamakelaa41142796e2
diff --git a/src/openhuman/agent/harness/session/builder/factory.rs b/src/openhuman/agent/harness/session/builder/factory.rsindex 8d23577c4c..af80e83ac1 100644--- a/src/openhuman/agent/harness/session/builder/factory.rs+++ b/src/openhuman/agent/harness/session/builder/factory.rs@@ -1280,12 +1280,6 @@ impl Agent {&config.workspace_dir,profile_skills_root.as_deref(),);- // Saved Flows automations join the same catalogue. The prompt- // section that renders this used to carry a paragraph- // explaining that it deliberately omitted them and that the- // obvious tool "will error" on one; closing the gap is cheaper- // than describing it, and a user asking "what can this already- // do for me" never drew the distinction anyway.#[cfg(feature = "flows")]catalogue.extend(crate::openhuman::flows::catalogue::flow_entries(config));cataloguediff --git a/src/openhuman/agent/prompts/sections.rs b/src/openhuman/agent/prompts/sections.rsindex acd2312226..3b80071640 100644--- a/src/openhuman/agent/prompts/sections.rs+++ b/src/openhuman/agent/prompts/sections.rs@@ -714,12 +714,6 @@ impl PromptSection for UserIdentitySection {_ => return Ok(String::new()),};- // Render the field list FIRST, then decide whether to ship the- // heading. `UserIdentity::is_empty()` only checks `None`-ness —- // a struct whose fields are all `Some("")` / whitespace would- // otherwise leave the prompt with a `## User` heading + intro- // pointing at zero fields, which is exactly the empty-prompt- // failure mode we're trying to suppress (#926).let mut fields = String::new();if let Some(name) = identity.name.as_deref().filter(|s| !s.trim().is_empty()) {let _ = writeln!(fields, "- name: {}", sanitize_identity_field(name));@@ -744,10 +738,6 @@ impl PromptSection for UserIdentitySection {}}-// ─────────────────────────────────────────────────────────────────────────────-// Private helpers-// ─────────────────────────────────────────────────────────────────────────────-/// Collapse newlines and runs of whitespace in a user-identity field so/// it fits on a single markdown bullet without breaking the prompt/// structure. Values come from `auth_get_me` (server-controlled), butdiff --git a/src/openhuman/skills/ops_discover.rs b/src/openhuman/skills/ops_discover.rsindex a75e67b953..8cc34e4b58 100644--- a/src/openhuman/skills/ops_discover.rs+++ b/src/openhuman/skills/ops_discover.rs@@ -747,10 +747,5 @@ fn resolve_workflow_for_resource(}}-#[cfg(test)]-#[path = "ops_discover_include_skills_tests_tests.rs"]-mod include_skills_tests;--#[cfg(test)]-#[path = "ops_discover_profile_scope_tests_tests.rs"]-mod profile_scope_tests;+#[cfg(test)] #[path = "ops_discover_include_skills_tests_tests.rs"] mod include_skills_tests;+#[cfg(test)] #[path = "ops_discover_profile_scope_tests_tests.rs"] mod profile_scope_tests;