Skip to content

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

chore: I don't see an actual diff in your message — the "Diff:" section is empty, and the stat is

Steven Enamakelb6637e94d5c6
diff --git a/crates/openhuman-core/src/profiles/host.rs b/crates/openhuman-core/src/profiles/host.rs
index 20ea3f62e3..629cb0efa6 100644
--- a/crates/openhuman-core/src/profiles/host.rs
+++ b/crates/openhuman-core/src/profiles/host.rs
@@ -224,6 +224,17 @@ impl ProfileHost {
.agent_policy(profile_policy(&config)),
);
crate::platform::cost::seed_tenant_tracker(&context, &config);
+ if first_open {
+ // Results a previous process finished but never delivered. The
+ // owner table that routes them is process-local and empty after a
+ // restart, so recover them in this profile's scope: the scheduled
+ // drains then run as this profile and reach only its tables.
+ CoreContext::sync_scope(Arc::clone(&context), || {
+ crate::agent::orchestration::background_delivery::recover_on_boot(
+ &layout.workspace_dir,
+ )
+ });
+ }
let state = Arc::new(Profile {
id: id.clone(),
layout,