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
test(harness): update redaction test to use bearer credential format
Steven Enamakel38d0364f9d70
diff --git a/crates/openhuman-core/src/agent/harness/tool_result_artifacts/mod_tests.rs b/crates/openhuman-core/src/agent/harness/tool_result_artifacts/mod_tests.rsindex bfc571a760..67ab46d307 100644--- a/crates/openhuman-core/src/agent/harness/tool_result_artifacts/mod_tests.rs+++ b/crates/openhuman-core/src/agent/harness/tool_result_artifacts/mod_tests.rs@@ -23,7 +23,7 @@ async fn threshold_persists_outside_the_project_and_reads_back() {let raw = format!("{} {}","x".repeat(4096),- "credential-marker-redact-me-123456"+ "Bearer credential-marker-redact-me-123456");let (out, outcome) = apply_per_result_persistence(@@ -45,7 +45,7 @@ async fn threshold_persists_outside_the_project_and_reads_back() {);assert!(out.contains("original_bytes:"));assert!(out.contains("[preview]"));- assert!(!out.contains("credential-marker-redact-me-123456"));+ assert!(!out.contains("Bearer credential-marker-redact-me-123456"));assert!(expected.is_file());assert_eq!(std::fs::read_dir(&project).unwrap().count(),@@ -63,7 +63,7 @@ async fn threshold_persists_outside_the_project_and_reads_back() {let read = reader.execute(json!({"path": pointer})).await.unwrap();assert!(!read.is_error, "{}", read.output());assert!(read.output().contains("xxxx"));- assert!(!read.output().contains("credential-marker-redact-me-123456"));+ assert!(!read.output().contains("Bearer credential-marker-redact-me-123456"));}/// The legacy store still reads the layout older builds wrote, so its sweep