Skip to content

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

fix: preserve todo migrations and progress coverage

Steven Enamakel396a4431d27b
diff --git a/crates/openhuman-core/src/core/runtime/services.rs b/crates/openhuman-core/src/core/runtime/services.rs
index 15bf9eb6f9..58409fefe9 100644
--- a/crates/openhuman-core/src/core/runtime/services.rs
+++ b/crates/openhuman-core/src/core/runtime/services.rs
@@ -427,7 +427,9 @@ async fn run_legacy_migrations(config: &Config) {
match crate::agent::goals::migration::migrate_legacy_goals(&config.workspace_dir).await {
Ok(report) if report.total > 0 => log::info!(
"[thread_goals] legacy→crate migration: total={} copied={} skipped={}",
- report.total, report.copied, report.skipped
+ report.total,
+ report.copied,
+ report.skipped
),
Ok(_) => {}
Err(e) => log::warn!("[thread_goals] legacy→crate migration failed: {e}"),
@@ -436,7 +438,9 @@ async fn run_legacy_migrations(config: &Config) {
match crate::agent::tinyagents::todos::migrate_legacy_task_boards(&config.workspace_dir).await {
Ok(report) if report.total > 0 => log::info!(
"[todos] legacy→crate migration: total={} copied={} skipped={}",
- report.total, report.copied, report.skipped
+ report.total,
+ report.copied,
+ report.skipped
),
Ok(_) => {}
Err(e) => log::warn!("[todos] legacy→crate task-board migration failed: {e}"),
@@ -445,7 +449,9 @@ async fn run_legacy_migrations(config: &Config) {
match crate::agent::todos::runs::migrate_legacy_task_runs(&config.workspace_dir).await {
Ok(report) if report.total > 0 => log::info!(
"[todos] legacy→crate run-ledger migration: total={} copied={} skipped={}",
- report.total, report.copied, report.skipped
+ report.total,
+ report.copied,
+ report.skipped
),
Ok(_) => {}
Err(e) => log::warn!("[todos] legacy→crate run-ledger migration failed: {e}"),