Skip to content

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

docs(runtime): update flow-run reconciliation doc comment

Steven Enamakel9b1eee6e497f
diff --git a/crates/openhuman-core/src/core/runtime/services.rs b/crates/openhuman-core/src/core/runtime/services.rs
index f20b209c72..4fa5b92e89 100644
--- a/crates/openhuman-core/src/core/runtime/services.rs
+++ b/crates/openhuman-core/src/core/runtime/services.rs
@@ -215,11 +215,10 @@ pub fn spawn_update_scheduler() -> tokio::task::JoinHandle<()> {
})
}
-/// Boot-time flow-run reconciliation (bug B42): reconciles any `flow_runs` row
-/// left at `running` by a prior process (crash/SIGKILL/power loss — where the
-/// in-process `RunRowFinalizer` drop-guard never got to run) to a terminal
-/// `interrupted`, so the run-details sidebar never shows a perpetual blank
-/// spinner for a run nothing is executing.
+/// Boot-time flow-run reconciliation: asks the TinyFlows Runs module to mark
+/// eligible local orphan rows left at `running` by a prior process as
+/// `interrupted`. The module owns the boot floor, live-actor checks, CAS,
+/// summary, checkpoint and terminal-event cleanup.
///
/// Owned by the flows domain rather than piggybacked on cron bootstrap: runs
/// can be started by the RPC "Run" control, the agent `run_flow` tool and the