The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(skills): record skill run outcomes in a run log
Steven Enamakelef0161f7a0dd
diff --git a/crates/openhuman-core/src/skills/run_log.rs b/crates/openhuman-core/src/skills/run_log.rsindex 2e6d75ab22..d110836be4 100644--- a/crates/openhuman-core/src/skills/run_log.rs+++ b/crates/openhuman-core/src/skills/run_log.rs@@ -448,7 +448,7 @@ pub fn find_run_log_path(workspace: &Path, run_id: &str) -> Option<PathBuf> {}/// Terminal outcome of a finished run, parsed from the `--- result ---`-/// footer: the status word (`DONE` / `DEGENERATE` / `FAILED`) and the+/// footer: the status word (`DONE` / `STOPPED` / `DEGENERATE` / `FAILED`) and the/// final output body that follows it. Used by `run_workflow` //// `await_workflow` to hand the spawned run's result straight back to the/// orchestrator instead of making it scrape the log itself.diff --git a/crates/openhuman-core/src/skills/runtime/run_machinery.rs b/crates/openhuman-core/src/skills/runtime/run_machinery.rsindex 27f7f03dcb..158abaa2f4 100644--- a/crates/openhuman-core/src/skills/runtime/run_machinery.rs+++ b/crates/openhuman-core/src/skills/runtime/run_machinery.rs@@ -35,7 +35,7 @@ pub struct WorkflowRunStarted {/// open).////// Returns immediately with the run handle; the actual work runs in the-/// background until DONE / DEGENERATE / FAILED. Errors (unknown skill,+/// background until DONE / STOPPED / DEGENERATE / FAILED. Errors (unknown skill,/// missing required inputs) surface as `Err(String)` *before* the spawn so/// callers can reject malformed invocations synchronously.pub async fn spawn_workflow_run_background(@@ -309,7 +309,7 @@ pub async fn spawn_workflow_run_background(/// Poll a spawned run's log file until its terminal footer lands or the/// `budget` elapses. Returns `Some(outcome)` the moment the footer is-/// readable (DONE / DEGENERATE / FAILED), or `None` if the run is still+/// readable (DONE / STOPPED / DEGENERATE / FAILED), or `None` if the run is still/// `RUNNING` when the budget runs out — the caller then auto-detaches and/// hands back the `run_id` so the work continues in the background.///