Skip to content

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

refactor(subagent-host): use open_store for terminal persistence

Steven Enamakel6d4eb091dc5b
diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle/persistence.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle/persistence.rs
index d1ce9eae14..72618fb044 100644
--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle/persistence.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle/persistence.rs
@@ -694,8 +694,7 @@ impl tinyagents_orchestration::subagent::SubagentPersistence for OpenHumanPersis
);
}
let disposition = tinyagents_orchestration::subagent::SubagentPersistence::record_terminal(
- &super::store::LifecycleStore::before_terminal(&self.checkpoint_dir)?
- .neutral_store()?,
+ &self.open_store(true)?,
key,
&durable_outcome,
replaces,