Skip to content

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

feat(agent): add artifact wiring and subagent graph tests

Steven Enamakel87060de64f48
diff --git a/crates/openhuman-core/src/agent/session_host/artifact_wiring_tests.rs b/crates/openhuman-core/src/agent/session_host/artifact_wiring_tests.rs
index 4a0f782be9..a6b770a2ab 100644
--- a/crates/openhuman-core/src/agent/session_host/artifact_wiring_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/artifact_wiring_tests.rs
@@ -69,7 +69,7 @@ async fn a_stored_result_survives_a_session_reload() {
apply_per_result_persistence(raw, None, Some(&first), "shell", Some("call-1"), 1024).await;
assert!(outcome.persisted, "{out}");
let key = outcome.artifact_path.expect("pointer");
- assert!(key.starts_with("tool-results/thread-1/shell/"), "{key}");
+ assert!(key.starts_with("harness/tool_results/thread-1/shell/"), "{key}");
let reloaded = build_artifact_store(&workspace, "thread-1");
let mut args = json!({"path": key});
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/graph_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops/graph_tests.rs
index f0ec662f3a..9f7a1e263d 100644
--- a/crates/openhuman-core/src/agent/subagent_host/ops/graph_tests.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/ops/graph_tests.rs
@@ -63,7 +63,7 @@ fn a_subagent_writes_to_its_turn_trees_store_else_its_contexts() {
.expect("a workspace store names its destination");
assert!(
fallback.ends_with(&format!(
- "/{}/transcripts",
+ "/local/agent:{}/transcripts",
crate::agent::session_store::DEFAULT_AGENT
)),
"{fallback}"