Skip to content

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

refactor(flows): clean up ops module and update lifecycle tests

Steven Enamakel7b35e2b55486
diff --git a/crates/openhuman-core/src/flows/ops.rs b/crates/openhuman-core/src/flows/ops.rs
index 854de35e6f..e552801d39 100644
--- a/crates/openhuman-core/src/flows/ops.rs
+++ b/crates/openhuman-core/src/flows/ops.rs
@@ -113,7 +113,6 @@ const FLOW_PARKED_TTL_SECS: i64 = tinyflows_catalog::run_management::PARKED_RUN_
// `auto_approve` short-circuits the ApprovalGate — matching `curl`/`shell`.
// `Write` (code) is `Allow` under full, so trusted automations run sandboxed
// code unattended; read-only blocks both outright.
-
mod approval_manifest;
mod builder;
mod builder_gates;
diff --git a/crates/openhuman-core/src/flows/ops_run_lifecycle_tests.rs b/crates/openhuman-core/src/flows/ops_run_lifecycle_tests.rs
index 53215d5adf..da519d5aec 100644
--- a/crates/openhuman-core/src/flows/ops_run_lifecycle_tests.rs
+++ b/crates/openhuman-core/src/flows/ops_run_lifecycle_tests.rs
@@ -51,7 +51,10 @@ async fn flows_resume_rejects_a_stale_graph_without_mutating_the_parked_run_summ
)
.await
.expect_err("the module must refuse a resume against a stale graph");
- assert!(error.contains("graph changed after the run parked"), "{error}");
+ assert!(
+ error.contains("graph changed after the run parked"),
+ "{error}"
+ );
let after_run = flows_get_run(&config, &run_id).await.unwrap().value;
assert_eq!(after_run.status, before_run.status);